]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix tst-setgetname for Linux kernels < 2.6.33.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f877c4f2
CD
12014-02-05 Carlos O'Donell <carlos@rehdat.com>
2
3 * sysdeps/unix/sysv/linux/kernel-features.h
4 [__LINUX_KERNEL_VERSION >= 0x020621]
5 (__ASSUME_PROC_PID_TASK_COMM): Define.
6
68159946
SP
72014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8
9 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11 Leonard and Allan McRae.
12
0ff82463
AZ
132014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14
c01603f7
AZ
15 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
16 file
17 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18 New file
19 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
20 file.
21 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
22 file.
23 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24 New file.
25 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
26 file.
27 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
28 file.
29 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30 New file.
31 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32 New file.
33 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34 New file.
35 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36 New file.
37 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38 New file.
39 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40 New file.
41
422014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43
0ff82463
AZ
44 * nptl/shlib-versions: Change powerpc*le start to 2.17.
45 * shlib-versions: Likewise.
46
1695c773
AZ
472014-02-04 Roland McGrath <roland@hack.frob.com>
48 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49
50 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
51 (abilist-pattern): New variable, set to %-le.abilist.
52
53 * Makerules (abilist-pattern): New variable.
54 (vpath): Use $(abilist-pattern) in place of %.abilist.
55 (check-abi-% pattern rule): Likewise.
56 (check-abi, update-abi): Likewise.
57
6c0ce4b4
EW
582014-02-04 Eric Wong <normalperson@yhbt.net>
59
60 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61
dc98b8f5
EW
622014-02-04 Eric Wong <normalperson@yhbt.net>
63
64 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65
481e3524
CD
662014-02-03 Carlos O'Donell <carlos@redhat.com>
67
68 * manual/startup.texi: Add next, previous, and top entries for
69 the `Program Arguments' and `Environment Variables' nodes.
70
375592d3
AO
712014-02-03 Alexandre Oliva <aoliva@redhat.com>
72
73 * manual/macros.texi: Add comments before MTASC-safety macros.
74
f54838ba
AO
75 * manual/users.texi: Document MTASC-safety properties.
76
909e12ad
AO
77 * manual/threads.texi (pthread_key_create, pthread_key_delete,
78 pthread_getspecific, pthread_setspecific): Format with
79 @deftypefun, and add @safety note.
80 * manual/signal.texi: Move comments that analyze the above
81 functions to their home place.
82
fd3daba4
AM
832014-02-03 Allan McRae <allan@archlinux.org>
84
85 * po/sl.po: Update Slovenian translation from translation project.
86
597636d7
AO
872014-02-02 Alexandre Oliva <aoliva@redhat.com>
88
89 * manual/time.texi (timegm): Add missing blank after @c.
90 Reported by Joseph Myers <joseph@codesourcery.com>.
91
ee196e3c
AO
922014-02-01 Alexandre Oliva <aoliva@redhat.com>
93
94 * manual/check-safety.sh: New.
95 * manual/Makefile ($(objpfx)stamp-summary): Run it.
96
f8d529d5
AO
97 * manual/terminal.texi: Document MTASC-safety properties.
98
de55fdf4
AO
99 * manual/filesys.texi: Document MTASC-safety properties.
100
c3299c08
AO
101 * manual/errno.texi: Document MTASC-safety properties.
102
06e90b14
AO
103 * manual/intro.texi: Document safety identifiers and
104 conditionals.
105
1acd4371
AO
106 * manual/string.texi (wcstok): Fix prototype.
107 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
108
23e5b8cb
AO
109 * manual/time.texi: Document MTASC-safety properties.
110
11087373
AO
111 * manual/string.texi: Document MTASC-safety properties.
112
5da2c93d
AO
113 * manual/threads.texi: Document MTASC-safety properties.
114
171e9210
AO
115 * manual/stdio.texi: Document MTASC-safety properties.
116
d9e02532
AO
117 * manual/syslog.texi: Document MTASC-safety properties.
118
6af8bab7
AO
119 * manual/sysinfo.texi: Document MTASC-safety properties.
120
663b02d7
AO
121 * manual/startup.texi: Document MTASC-safety properties.
122
973f180b
AO
123 * manual/socket.texi: Document MTASC-safety properties.
124
8f3c25c8
AO
125 * manual/signal.texi: Document MTASC-safety properties.
126
542210fb
AO
1272014-01-31 Alexandre Oliva <aoliva@redhat.com>
128
129 * manual/setjmp.texi: Document MTASC-safety properties.
130
433c45a2
AO
131 * manual/search.texi: Document MTASC-safety properties.
132
c8ce789c
AO
133 * manual/resource.texi: Document MTASC-safety properties.
134
19f5d29c
AO
135 * manual/process.texi: Document MTASC-safety properties.
136
e2dfb7f4
AO
137 * manual/platform.texi: Document MTASC-safety properties.
138
8c1413f5
AO
139 * manual/pipe.texi: Document MTASC-safety properties.
140
03483ada
AO
141 * manual/pattern.texi: Document MTASC-safety properties.
142
29e7e2df
AO
143 * manual/message.texi: Document MTASC-safety properties.
144
9f529d7c
AO
145 [BZ #12751]
146 * manual/memory.texi: Document MTASC-safety properties.
147
27aaa791
AO
148 * manual/math.texi: Document MTASC-safety properties.
149
f2d58726
AO
150 * manual/locale.texi: Document MTASC-safety properties.
151
2cc3615c
AO
152 * manual/llio.texi: Document MTASC-safety properties.
153
d9f0ec97
AO
154 * manual/libdl.texi: New.
155
e7c4409a
AO
156 * manual/lang.texi: Document MTASC-safety properties.
157
27bdc63c
AO
158 * manual/job.texi: Document MTASC-safety properties.
159
a7b90ea9
AO
160 * manual/getopt.texi: Document MTASC-safety properties.
161
c49130e3
AO
162 * manual/ctype.texi: Document MTASC-safety properties.
163
0d23a5c1
MR
1642014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
165
166 [BZ #16046]
167 * csu/libc-tls.c (static_map): Remove variable.
168 (__libc_setup_tls): Use main executable's link map for TLS data.
169 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
170 casing for LM_ID_BASE and GL(dl_nns).
171 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
172 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
173 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
174 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
175 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
176 member.
177 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
178 l_phnum members.
179
0037bb60
AO
1802014-01-30 Alexandre Oliva <aoliva@redhat.com>
181
182 * manual/debug.texi: Document MTASC-safety properties.
183
409e00bd
L
1842014-01-29 H.J. Lu <hongjiu.lu@intel.com>
185
186 [BZ #16510]
187 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
188 of __x86_64__ when disabling x87 inline functions.
189
86e60666
AO
1902014-01-29 Alexandre Oliva <aoliva@redhat.com>
191
192 * manual/charset.texi: Document MTASC-safety properties.
193
76167637
AO
194 * manual/crypt.texi: Document MTASC-safety properties.
195
e567f2a0
AO
196 * manual/conf.texi: Document MTASC-safety properties.
197
b719dafd
AO
198 * manual/arith.texi: Document MTASC-safety properties.
199
4a16c662
AO
200 * manual/argp.texi: Document MTASC-safety properties.
201
0a57b83e
AO
202 * manual/macros.texi: Introduce macros to document multi
203 thread, asynchronous signal and asynchronous cancellation
204 safety properties.
205 * manual/intro.texi: Introduce the properties themselves.
206
feab2397
KK
2072014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
208
209 * sysdeps/sh/sh4/Makefile: New file.
210
1c0d11bc
AS
2112014-01-27 Andreas Schwab <schwab@linux-m68k.org>
212
213 * math/gen-libm-test.pl ($srcdir): New variable.
214 ($auto_input): Use it.
215
af37a8a3
SP
2162014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
217
d7b00f98
SP
218 [BZ #16506]
219 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
220 access beyond array bounds when parsing netgroups file.
221
af37a8a3
SP
222 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
223 the old buffer before realloc.
224
0c00f062
AM
2252014-01-27 Allan McRae <allan@archlinux.org>
226
227 * po/fr.po: Update French translation from translation project.
228
7d69a1b0
KK
2292014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
230
231 * sysdeps/sh/libm-test-ulps: Regenerate.
232
6e697ff7
DM
2332014-01-24 David S. Miller <davem@davemloft.net>
234
235 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
236
9cadb35c
KK
2372014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
238
239 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
240 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
241
5d41dadf
SP
2422013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
243
244 [BZ #16474]
245 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
246 string pointers after reallocation.
247
0bad441c
KK
2482014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
249
250 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
251 __SH4A__ instead of __SH_FPU_ANY__.
252
7007c661
KK
2532014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
254
255 * sysdeps/sh/fpu_control.h: New file.
256 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
257 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
258 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
259 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
260 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
261 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
262 * sysdeps/sh/sys/ucontext.h: Remove.
263 * sysdeps/sh/sys: Remove directory.
264
0f0c35e4
AK
2652014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
266
267 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
268 s390/sys/ucontext.h.
269 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
270 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
271
4959e284
L
2722014-01-20 H.J. Lu <hongjiu.lu@intel.com>
273
274 [BZ #15605]
275 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
276
d98720e0
AZ
2772014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
278
279 [BZ#16431]
280 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
281 Adjust the vDSO correctly for internal calls.
282 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
283
91cbd0bc
AM
2842014-01-20 Allan McRae <allan@archlinux.org>
285
286 * po/ca.po: Update Catalan translation from translation project.
287
7a02cfad
MF
2882014-01-16 Mike Frysinger <vapier@gentoo.org>
289
290 * sysdeps/s390/sotruss-lib.c: New file.
291
736c304a
AZ
2922014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
293
294 [BZ#16430]
6e077ee5 295 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
296 (__GI___gettimeofday): Alias for a different internal symbol to avoid
297 local calls issues by not having a PLT stub required for IFUNC calls.
298 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
299
94d0cea0
JM
3002014-01-16 Joseph Myers <joseph@codesourcery.com>
301
302 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
303 * math/test-fpucw-static.c: Likewise.
304
980cb518
SP
3052013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
306
307 [BZ #16453]
308 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
309
2393fc01
AZ
3102014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
311
312 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
313 implementation for powerpc.
314
d359bcc2
OB
3152014-01-15 Ondřej Bílka <neleai@seznam.cz>
316
317 [BZ #14782]
318 * sysdeps/posix/system.c (__libc_system): Do not enable
319 asynchronous cancellation.
320
7beb48cb
AK
3212014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
322
323 [BZ #16427]
324 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
325 handling only for numbers special also in the IEEE case.
326
c20d5bf5
AK
3272014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
328
329 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
330
e83bd4ee
AM
3312014-01-11 Allan McRae <allan@archlinux.org>
332
76d0ea69
AM
333 * po/bg.po: Update Bulgarian translation from translation project.
334
e83bd4ee
AM
335 * po/de.po: Update German translation from translation project.
336
bc2ba20a
RM
3372014-01-10 Roland McGrath <roland@hack.frob.com>
338
339 * sysdeps/generic/gcc-compat.h: New file.
340
649ecea2
SP
3412014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
342
343 * benchtests/asin-inputs: Correct slow inputs.
344 * benchtests/acos-inputs: Likewise.
345
1b19c006
AM
3462014-01-10 Allan McRae <allan@archlinux.org>
347
a46dab08
AM
348 * po:sv.po: Update Swedish translation from translation project.
349
421df74a
AM
350 * po/vi.po: Update Vietnamese translation from translation project.
351
d61c51a7
AM
352 * po/eo.po: Update Esperanto translation from translation project.
353
0339a319
AM
354 * po/cs.po: Update Czech translation from translation project.
355
94ad3e99
AM
356 * po/nl.po: Update Dutch translation from translation project.
357
e349ca71
AM
358 * po/pl.po: Update Polish translation from translation project.
359
ddf930c1
AM
360 * po/ru.po: Update Russian translation from translation project.
361
1b19c006
AM
362 * po/uk.po: Update Ukrainian translation from translation project.
363
9f236c49
BM
3642014-01-08 Brooks Moses <bmoses@google.com>
365
366 * elf/dl-load.c: Fix comment typo.
367
cd6701cf
CD
3682014-01-08 Carlos O'Donell <carlos@redhat.com>
369
370 * po/header.pot: Rename to...
371 * po/pot.header: ... this.
372 * po/Makefile: Use pot.header.
373
66671c84
YK
3742014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
375 Maxim Kuvyrkov <maxim@kugelworks.com>
376
377 [BZ #16394]
cd6701cf
CD
378 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
379 SRC and DEST against LEN.
66671c84 380
38f34581
AZ
3812014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
382
383 [BZ #16414]
384 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
385 implementation.
386 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
387
3882014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
389
390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
391
4c327f2a
JM
3922014-01-08 Joseph Myers <joseph@codesourcery.com>
393
394 [BZ #16408]
395 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
396 for large positive arguments.
397
b821f414
JM
3982014-01-07 Joseph Myers <joseph@codesourcery.com>
399
1f0f2067
JM
400 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
401
a5a326f6
JM
402 * math/auto-libm-test-in: Mark various tests with
403 xfail-rounding:ldbl-128ibm.
404 * math/auto-libm-test-out: Regenerated.
405
b821f414
JM
406 [BZ #16407]
407 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
408 Increase overflow threshold.
409
94c8a4bc
OB
4102014-01-07 Ondřej Bílka <neleai@seznam.cz>
411
412 [BZ #14286]
413 * stdio-common/vfprintf.c: Check for integer overflow.
414
87ded0c3
AK
4152014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
416
417 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
418 the first argument and return value of __tls_get_addr_internal.
419
c5eebdd0
AK
4202014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
421
422 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
423 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
424
05d138ef
AK
4252014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
426
427 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
428 * sysdeps/s390/rtld-global-offsets.sym: New file.
429 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
430 GLIBC_2.19 symbol.
431 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
432 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
433 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
434 ... this.
435 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
436 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
437 ... this.
438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
439 Regenerate.
440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
441 Regenerate.
442 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
443 halfs of GPRs for high_gprs contexts.
444 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
445 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
446 field.
447 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
448 uc_flags field.
449 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
450 64 bit versions:
451 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
452 for high GPRs (uc_high_gprs) and for future extensions
453 (__reserved).
454 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
455 for future extensions (__reserved).
456 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
457 64 bit versions:
458 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
459 SC_HIGHGPRS offset definition.
460 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
461 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
462
93a45ff1
AK
4632014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
464
465 * Versions.def: Add GLIBC_2.19 for libpthread.
466 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
467 siglongjmp for libpthread with GLIBC_2.19 symver.
468 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
469 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
470 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
471 * sysdeps/s390/__longjmp.c: New file.
472 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
473 * sysdeps/s390/longjmp.c: New file.
474 * sysdeps/s390/setjmp.S: New file.
475 * sysdeps/s390/sigjmp.S: New file.
476 * sysdeps/s390/v1-longjmp.c: New file.
477 * sysdeps/s390/v1-setjmp.h: New file.
478 * sysdeps/s390/v1-sigjmp.c: New file.
479 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
480 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
481 GLIBC_2.19 version.
482 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
483 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
484 versioned symbols for ____longjmp_chk.
485 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
486 Likewise.
487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
488 Regenerate.
489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
490 Regenerate.
491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
492 Regenerate.
493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
494 Regenerate.
495 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
496 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
497 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
498 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
499 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
500 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
501 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
502 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
503 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
504 * sysdeps/s390/rtld-__longjmp.c: New file.
505 * sysdeps/s390/rtld-setjmp.S: New file.
506
eb3fc44b
JM
5072014-01-06 Joseph Myers <joseph@codesourcery.com>
508
509 [BZ #16400]
510 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
511 Return -__logl (x) for small positive arguments without evaluating
512 a polynomial.
513
9341dde4
MF
5142014-01-06 Mike Frysinger <vapier@gentoo.org>
515
516 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
517 Rename to ...
518 (__ptrace_peeksiginfo_args): ... this.
519 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
520 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
521 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
522
4cff0293
AM
5232014-01-06 Allan McRae <allan@archlinux.org>
524
525 * inet/netinet/in.h: Fix typo in comment.
526
75595dcf
AJ
5272014-01-05 Andreas Jaeger <aj@suse.de>
528
529 * sysdeps/i386/fpu/libm-test-ulps: Update.
530
79c1e109
AM
5312014-01-05 Allan McRae <allan@archlinux.org>
532
dd804818
AM
533 * po/libc.pot: Regenerated.
534
79c1e109
AM
535 * malloc/memusagestat.c: Fix gettext call formatting.
536
0c813d1f
SK
5372014-01-04 Sami Kerola <kerolasa@iki.fi>
538
539 * nscd/nscd.c: Improve usage() output.
540
20f4a8d9
MF
5412014-01-04 Mike Frysinger <vapier@gentoo.org>
542
543 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
544 * sysdeps/unix/sysv/linux/configure: Regenerated.
545 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
546 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
547
22562bb2
JM
5482014-01-03 Joseph Myers <joseph@codesourcery.com>
549
550 [BZ #16390]
551 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
552 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
553
d7ad2d9b
AZ
5542014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
555
556 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
557 extra tokens at end of #undef directive.
558 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
559 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
560 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
561
7f507ee1
AH
5622014-01-03 Andrew Hunter <ahh@google.com>
563
0da43124 564 * elf/dl-open.c (dl_open_worker): New comment.
7f507ee1
AH
565 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
566 atomic_compare_and_exchange_bool_acq
567 (_dl_allocate_static_tls): Block signals.
568 * elf/dl-tls.c (allocate_and_init): Return void.
569 (_dl_update_slotinfo): Block signals, use atomic update.
570
7dd009d8
JM
5712014-01-03 Joseph Myers <joseph@codesourcery.com>
572
24db925a
JM
573 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
574
7dd009d8
JM
575 * math/auto-libm-test-in: Mark various tests with
576 xfail-rounding:ldbl-128ibm.
577 * math/auto-libm-test-out: Regenerated.
578
396e3ecf
JM
5792014-01-02 Joseph Myers <joseph@codesourcery.com>
580
819e5d50
JM
581 [BZ #16386]
582 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
583 numbers with subnormal high part when calculating exponent.
584
90b6a1e5
JM
585 [BZ #16385]
586 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
587 fabs.
588
396e3ecf
JM
589 [BZ #16384]
590 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
591 M_LN2l.
592 (__ieee754_acoshl): Use __log1pl not __log1p.
593
6c8dbf00
OB
5942013-01-02 Ondřej Bílka <neleai@seznam.cz>
595
596 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
597 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
598 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
599 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
600 Convert to GNU style.
601 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
602 mem2mem_check, mem2chunk_check, top_check, realloc_check,
603 memalign_check, __malloc_set_state): Likewise.
604 * malloc/mallocbug.c (main): Likewise.
605 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
606 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
607 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
608 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
609 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
610 * malloc/malloc.h: Likewise.
611 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
612 memalignhook, reallochook, mabort): Likewise.
613 * malloc/mcheck.h: Likewise.
614 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
615 mmap64, mremap, munmap, dest): Likewise.
616 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
617 * malloc/morecore.c (__default_morecore): Likewise.
618 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
619 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
620 _obstack_allocated_p, obstack_free, _obstack_memory_used,
621 print_and_abort): Likewise.
622 * malloc/obstack.h: Likewise.
623 * malloc/set-freeres.c (__libc_freeres): Likewise.
624 * malloc/tst-mallocstate.c (main): Likewise.
625 * malloc/tst-mtrace.c (main): Likewise.
626 * malloc/tst-realloc.c (do_test): Likewise.
627
d4124212
SP
6282013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
629
9a3c6a6f
SP
630 [BZ #16366]
631 * nscd/netgroupcache.c (do_notfound): New function.
632 (addgetnetgrentX): Use it.
633
d4124212
SP
634 [BZ # 16365]
635 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
636 NSS_STATUS_NOTFOUND.
637
97b9a009
JM
6382014-01-01 Joseph Myers <joseph@codesourcery.com>
639
640 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
642
d4697bc9
AM
6432014-01-01 Allan McRae <allan@archlinux.org>
644
ddb3687f
AM
645 * scripts/update-copyrights: Update configure input file suffix.
646
88726d48
AM
647 * NEWS: Update copyright year.
648 * catgets/gencat.c: Likewise.
649 * csu/version.c: Likewise.
650 * debug/catchsegv.sh: Likewise.
651 * debug/pcprofiledump.c: Likewise.
652 * debug/xtrace.sh: Likewise.
653 * elf/ldconfig.c: Likewise.
654 * elf/ldd.bash.in: Likewise.
655 * elf/pldd.c: Likewise.
656 * elf/sotruss.ksh: Likewise.
657 * elf/sprof.c: Likewise.
658 * iconv/iconv_prog.c: Likewise.
659 * iconv/iconvconfig.c: Likewise.
660 * locale/programs/locale.c: Likewise.
661 * locale/programs/localedef.c: Likewise.
662 * login/programs/pt_chown.c: Likewise.
663 * malloc/memusage.sh: Likewise.
664 * malloc/memusagestat.c: Likewise.
665 * malloc/mtrace.pl: Likewise.
666 * manual/libc.texinfo: Likewise.
667 * nscd/nscd.c: Likewise.
668 * nss/getent.c: Likewise.
669 * nss/makedb.c: Likewise.
670 * posix/getconf.c: Likewise.
671 * scripts/test-installation.pl: Likewise.
672
d4697bc9
AM
673 * All files with FSF copyright notices: Update copyright dates
674 using scripts/update-copyrights.
675 * intl/plural.c: Regenerated.
676 * locale/programs/charmap-kw.h: Likewise.
677 * locale/programs/locfile-kw.h: Likewise.
678
c8590f9d
MF
6792013-12-31 Mike Frysinger <vapier@gentoo.org>
680
681 * sysdeps/unix/sysv/linux/configure: Regenerated.
682 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
683 the linux/fanotify.h header.
684 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
685 HAVE_LINUX_FANOTIFY_H is defined.
686
b19221b9
SP
6872013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
688
dd1d85e5
SP
689 * benchtests/cos-inputs: New inputs.
690 * benchtests/sin-inputs: Likewise.
691
1acbb90f
SP
692 * benchtests/atan-inputs: New inputs. Fix name of multiple
693 precision fallback inputs.
694
4c012ed3
SP
695 * benchtests/atanh-inputs: New inputs.
696 * benchtests/tanh-inputs: Likewise.
697
eff98324
SP
698 * benchtests/acosh-inputs: New inputs.
699 * benchtests/asinh-inputs: Likewise.
700
ce641152
SP
701 * benchtests/cosh-inputs: New inputs.
702 * benchtests/sinh-inputs: Likewise.
703
b19221b9
SP
704 * benchtests/acos-inputs: Add more inputs.
705 * benchtests/asin-inputs: Likewise.
706
030a4976 7072013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 708
030a4976 709 [BZ #16375]
9dcc8f11
VS
710 * manual/arith.texi: Fix spelling.
711 * manual/charset.texi: Likewise.
712 * manual/errno.texi: Likewise.
713 * manual/filesys.texi: Likewise.
714 * manual/lang.texi: Likewise.
715 * manual/llio.texi: Likewise.
716 * manual/locale.texi: Likewise.
717 * manual/message.texi: Likewise.
718 * manual/resource.texi: Likewise.
719 * manual/search.texi: Likewise.
720 * manual/setjmp.texi: Likewise.
721 * manual/stdio.texi: Likewise.
722 * manual/string.texi: Likewise.
723 * manual/sysinfo.texi: Likewise.
724 * manual/time.texi: Likewise.
725
11520a57
CD
7262013-12-27 Carlos O'Donell <carlos@redhat.com>
727
728 * po/sl.po: New file.
729
471103ae
MF
7302013-12-27 Mike Frysinger <vapier@gentoo.org>
731
732 * .gitignore: Add core/.gdbinit/.gdb_history.
733
6c9642ed
AM
7342013-12-27 Allan McRae <allan@archlinux.org>
735
736 [BZ #16369]
737 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
738 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
739
3f637079
BM
7402013-12-24 Brooks Moses <bmoses@google.com>
741
742 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
743 all compilers that claim C++98 compliance, not just GCC.
744 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
745 Likewise.
746
abc26e99
MK
7472013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
748
749 * NEWS: Restore accidentally deleted bug-fix entries.
750
362b47fe
MK
7512013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
752 Ondřej Bílka <neleai@seznam.cz>
753
754 [BZ #15073]
755 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 756 have_lock.
362b47fe 757
b9bcbbcb
OB
7582013-12-23 Ondřej Bílka <neleai@seznam.cz>
759
760 [BZ #12986]
761 * manual/stdio.texi (String Input Conversions): Clarify that character
762 classes are not supported.
763
fb55fcd2
AZ
7642013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
765
766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
767
ef7344f0
JM
7682013-12-22 Joseph Myers <joseph@codesourcery.com>
769
4f40e4b3
JM
770 [BZ #16337]
771 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
772 Calculate results for small negative arguments directly rather
773 than using reflection formula with special underflow handling.
774
ef7344f0
JM
775 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
776 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
777 sysdeps/unix/bsd/bsd4.4/syscalls.list.
778 (fchflags): Likewise.
779 (revoke): Likewise.
780 (setlogin): Likewise.
781 (sigaltstack): Likewise.
782 (wait4): Likewise.
783 (sigblock): Remove.
784 (sigsetmask): Likewise.
785 (wait3): Likewise.
786 (waitpid): Likewise.
787 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
788 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
789 file.
790 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
791 * sysdeps/unix/bsd/Makefile: ... here.
792 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
793 * sysdeps/unix/bsd/Versions: ... here.
794 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
795 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
796 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
797 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
798 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
799 * sysdeps/unix/bsd/sigblock.c: ... here.
800 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
801 * sysdeps/unix/bsd/sigsetmask.c: ... here.
802 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
803 * sysdeps/unix/bsd/sigvec.c: ... here.
804 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
805 * sysdeps/unix/bsd/tcdrain.c: ... here.
806 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
807 * sysdeps/unix/bsd/tcgetattr.c: ... here.
808 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
809 * sysdeps/unix/bsd/tcsetattr.c: ... here.
810 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
811 * sysdeps/unix/bsd/wait.c: ... here.
812 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
813 * sysdeps/unix/bsd/wait3.c: ... here.
814 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
815 * sysdeps/unix/bsd/waitpid.c: ... here.
816
5b0626b9
JM
8172013-12-21 Joseph Myers <joseph@codesourcery.com>
818
819 [BZ #16356]
820 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
821 round-to-nearest for [!USE_AS_EXPM1L].
822 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
823 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
824 more tests of exp and exp10. Expect some exp10 tests to miss
825 exceptions or fail in directed rounding modes.
826 * math/auto-libm-test-out: Regenerated.
827 * math/libm-test.inc (exp10_tonearest_test_data): New array.
828 (exp10_test_tonearest): New function.
829 (exp10_towardzero_test_data): New array.
830 (exp10_test_towardzero): New function.
831 (exp10_downward_test_data): New array.
832 (exp10_test_downward): New function.
833 (exp10_upward_test_data): New array.
834 (exp10_test_upward): New function.
835 (main): Call the new functions.
836 * sysdeps/i386/fpu/libm-test-ulps: Update.
837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
838
7fda5682
JM
8392013-12-20 Joseph Myers <joseph@codesourcery.com>
840
31e3a405
JM
841 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
842 asinh, atan, atan2, atanh, cbrt, cos and cosh.
843 * math/auto-libm-test-out: Regenerated.
844 * math/libm-test.inc (acosh_test_data): Add more tests.
845 (atanh_test_data): Likewise.
846 (ceil_test_data): Likewise.
847 (copysign_test_data): Likewise.
848 * sysdeps/i386/fpu/libm-test-ulps: Update.
849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
850
85bff96a
JM
851 * timezone/checktab.awk: Update from tzcode 2013i.
852 * timezone/private.h: Likewise.
853 * timezone/scheck.c: Likewise.
854 * timezone/tzfile.h: Likewise.
855 * timezone/tzselect.ksh: Likewise.
856 * timezone/zdump.c: Likewise.
857 * timezone/zic.c: Likewise.
858
b7867a3b
JM
859 * math/auto-libm-test-in: Add tests of cpow.
860 * math/auto-libm-test-out: Regenerated.
861 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
862 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
863 mpc_cc_c.
864 (func_calc_desc): Add mpc_cc_c union field.
865 (test_functions): Add cpow.
866 (special_fill_2pi): New function.
867 (special_real_inputs): Add 2pi.
868 (calc_generic_results): Handle mpc_cc_c.
869 * sysdeps/i386/fpu/libm-test-ulps: Update.
870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
871
7fda5682
JM
872 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
873 csqrt, ctan and ctanh.
874 * math/auto-libm-test-out: Regenerated.
875 * math/libm-test.inc (TEST_COND_x86_64): New macro.
876 (TEST_COND_x86): Likewise.
877 (ccos_test_data): Use AUTO_TESTS_c_c.
878 (ccosh_test_data): Likewise.
879 (cexp_test_data): Likewise.
880 (clog_test_data): Likewise.
881 (csqrt_test_data): Likewise.
882 (ctan_test_data): Likewise.
883 (ctan_tonearest_test_data): Likewise.
884 (ctan_towardzero_test_data): Likewise.
885 (ctan_downward_test_data): Likewise.
886 (ctan_upward_test_data): Likewise.
887 (ctanh_test_data): Likewise.
888 (ctanh_tonearest_test_data): Likewise.
889 (ctanh_towardzero_test_data): Likewise.
890 (ctanh_downward_test_data): Likewise.
891 (ctanh_upward_test_data): Likewise.
892 * math/gen-auto-libm-tests.c (func_calc_method): Add value
893 mpc_c_c.
894 (func_calc_desc): Add mpc_c_c union field.
895 (FUNC_mpc_c_c): New macro.
896 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
897 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
898 ctanh.
899 (special_fill_min_subnorm_p120): New function.
900 (special_real_inputs): Add min_subnorm_p120.
901 (calc_generic_results): Handle mpc_c_c.
902 * sysdeps/i386/fpu/libm-test-ulps: Update.
903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
904
5ff8d60e
SP
9052013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
906
392dd2de
SP
907 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
908 do_sin_slow): New functions.
909 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
910 cslow2, csloww1, csloww2): Use the new functions.
911
84ba214c
SP
912 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
913 Use M to change sign of result instead of X. Assume X is
914 positive.
915 (csloww1): Likewise.
916 (__sin): Adjust.
917 (__cos): Adjust.
918
975195e4
SP
919 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
920 arguments A and DA.
921 (__sin): Adjust.
922 (__cos): Likewise.
923
5ff8d60e
SP
924 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
925 (__cos): Likewise.
926 (sloww1): Don't adjust sign of DX.
927 (csloww1): Likewise.
928 (sloww2): Use X directly and don't adjust sign of DX.
929 (csloww2): Likewise.
930
eb983568
JM
9312013-12-19 Joseph Myers <joseph@codesourcery.com>
932
64a17f1a
JM
933 * math/auto-libm-test-in: Add tests of cabs and carg.
934 * math/auto-libm-test-out: Regenerated.
935 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
936 (carg_test_data): Likewise.
937 * math/gen-auto-libm-tests.c (func_calc_method): Add value
938 mpc_c_f.
939 (func_calc_desc): Add mpc_c_f union field.
940 (test_functions): Add cabs and carg.
941 (calc_generic_results): Handle mpc_c_f.
942
eb983568
JM
943 * sysdeps/powerpc/powerpc32/libgcc-compat.S
944 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
945 as a macro and a compat symbol.
946 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
947 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
948 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
949 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
950 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
951 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
952 not use .hidden.
953 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
954 Likewise.
955 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
956 Likewise.
957 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
958 Likewise.
959 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
960 Likewise.
961 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
962 Likewise.
963 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
964 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
965 from GLIBC_2.3.2.
966
6eeb678a
AZ
9672013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
968
969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
970
063b2acb
PP
9712013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
972
973 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
974 (__signal_safe_memalign, __signal_safe_free): Use it.
975 (__signal_safe_realloc): Likewise.
976
6f6fc482
JM
9772013-12-19 Joseph Myers <joseph@codesourcery.com>
978
21fea2e2
JM
979 * manual/texinfo.tex: Update to version 2013-11-26.10 with
980 trailing whitespace removed.
981 * scripts/config.guess: Update to version 2013-11-29.
982 * scripts/config.sub: Update to version 2013-10-01.
983
6f6fc482
JM
984 * math/auto-libm-test-in: Add tests of sincos.
985 * math/auto-libm-test-out: Regenerated.
986 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
987 * math/gen-auto-libm-tests.c (func_calc_method): Add value
988 mpfr_f_11.
989 (func_calc_desc): Add mpfr_f_11 union field.
990 (test_functions): Add sincos.
991 (calc_generic_results): Handle mpfr_f_11.
992 * sysdeps/i386/fpu/libm-test-ulps: Update.
993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
994
83f5c32d
AS
9952013-12-19 Andreas Schwab <schwab@suse.de>
996
997 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
998 CALL_MCOUNT.
999 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1000 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1001 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1002
c688b419
JM
10032013-12-19 Joseph Myers <joseph@codesourcery.com>
1004
335ee092
JM
1005 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1006 * sysdeps/i386/fpu/libm-test-ulps: Update.
1007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1008
f88acd39
JM
1009 [BZ #16293]
1010 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1011 round-to-nearest mode when using frndint.
1012 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1013 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1014 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1015 Likewise.
1016 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
1017 sinh test to fail.
1018 * math/auto-libm-test-out: Regenerated.
1019 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1020 (TEST_COND_x86): Likewise.
1021 (expm1_tonearest_test_data): New array.
1022 (expm1_test_tonearest): New function.
1023 (expm1_towardzero_test_data): New array.
1024 (expm1_test_towardzero): New function.
1025 (expm1_downward_test_data): New array.
1026 (expm1_test_downward): New function.
1027 (expm1_upward_test_data): New array.
1028 (expm1_test_upward): New function.
1029 (main): Run the new test functions.
1030 * sysdeps/i386/fpu/libm-test-ulps: Update.
1031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1032
c688b419
JM
1033 * include/features.h: Update comment documenting feature test
1034 macros. Mention _DEFAULT_SOURCE in comment.
1035 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1036 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1037 _BSD_SOURCE and _SVID_SOURCE.
1038 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1039 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1040 !_SVID_SOURCE]: Likewise.
1041 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1042 (__USE_POSIX_IMPLICITLY): Define.
1043 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1044 (_POSIX_SOURCE): Undefine and redefine.
1045 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1046 (_POSIX_C_SOURCE): Likewise.
1047 * manual/creature.texi (_DEFAULT_SOURCE): Document.
1048 (Feature Test Macros): Update documentation of default features.
1049
9f6e964c
RS
10502013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1051
1052 * benchtests/Makefile: Add bench-strtok.
1053 * benchtests/bench-strtok.c: New file: strtok benchtest.
1054
ee0a148a
AM
10552013-12-19 Allan McRae <allan@archlinux.org>
1056
1057 * manual/install.texi: Suppress menu for plain text output.
1058 * INSTALL: Regenerated.
1059
1f33d36a
PP
10602013-12-18 Andrew Hunter <ahh@google.com>
1061
1062 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
1063 (__signal_safe_malloc, __signal_safe_free): Likewise.
1064 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
1065 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
1066 (__signal_safe_memalign, __signal_safe_malloc): New function.
1067 (__signal_safe_free, __signal_safe_realloc): Likewise.
1068 (__signal_safe_calloc): Likewise.
1069 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
1070 functions.
1071 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
1072
35e8f7ab
PP
10732013-12-18 Andrew Hunter <ahh@google.com>
1074
1075 * elf/Versions (ld): Add _dl_clear_dtv.
1076 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
1077 * elf/dl-tls.c (_dl_clear_dtv): New function.
1078 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
1079
69a17d9d
PP
10802013-12-18 Andrew Hunter <ahh@google.com>
1081
1082 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
1083 (_dl_unmask_signals): Likewise.
1084 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
1085 (_dl_unmask_all_signals): Likewise.
1086 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
1087 (_dl_unmask_all_signals): Likewise.
1088 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
1089 (_dl_unmask_signals): Likewise.
1090
b9ab448f
BM
10912013-12-18 Brooks Moses <bmoses@google.com>
1092
1093 [BZ #15846]
1094 * misc/getauxval.c: Include errno.h.
1095 (__getauxval): Set errno to ENOENT if the requested type is not
1096 found.
1097 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1098 don't declare with __attribute_const__.
1099 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1100 * manual/startup.texi: Document that getauxval sets errno.
1101
23776487
JM
11022013-12-18 Joseph Myers <joseph@codesourcery.com>
1103
f889953b
JM
1104 * math/auto-libm-test-in: Add tests of jn and yn.
1105 * math/auto-libm-test-out: Regenerated.
1106 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1107 (yn_test_data): Likewise.
1108 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1109 mpfr_if_f.
1110 (func_calc_desc): Add mpfr_if_f union field.
1111 (FUNC_mpfr_if_f): New macro.
1112 (test_functions): Add jn and yn.
1113 (calc_generic_results): Assert type of second input for
1114 mpfr_ff_f. Handle mpfr_if_f.
1115 (output_for_one_input_case): Disable all checking for arguments
1116 fitting floating-point types in case of an integer argument.
1117 * sysdeps/i386/fpu/libm-test-ulps: Update.
1118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1119
23776487
JM
1120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1121 Don't expect fegetround reference in libm.so.
1122
cb756c6d
MS
11232013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1124
1125 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1126 $(config-cflags-nofma).
1127
2dec468f
JM
11282013-12-18 Joseph Myers <joseph@codesourcery.com>
1129
5953eb3a
JM
1130 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1131 * math/auto-libm-test-out: Regenerated.
1132
2dec468f
JM
1133 [BZ #16338]
1134 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1135 to determine exponent and adjust argument to have exponent of -1.
1136 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1137 log2.
1138 * math/auto-libm-test-out: Regenerated.
1139 * sysdeps/i386/fpu/libm-test-ulps: Update.
1140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1141
4d84e6ad
OB
11422013-12-18 Ondřej Bílka <neleai@seznam.cz>
1143
1144 * manual/probes.texi: Remove cases when per-thread arenas are
1145 disabled.
1146
1818483b
AS
11472013-12-18 Andreas Schwab <schwab@suse.de>
1148
1149 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1150 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1151 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1152 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1153 * sysdeps/i386/i686/multiarch/Makefile: Update.
1154 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1155
25de95bf
JM
11562013-12-17 Joseph Myers <joseph@codesourcery.com>
1157
1158 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1159 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1160
674762d9
PE
11612013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1162
0748546f
PE
1163 Support TZ transition times < 00:00:00.
1164 This is needed for version-3 tz-format files; it supports time
1165 stamps past 2037 for America/Godthab (the only entry in the tz
1166 database for which this change is relevant).
1167 * manual/time.texi (TZ Variable): Document transition times
1168 from -167:59:59 through -00:00:01.
1169 * time/tzset.c (tz_rule): Time of day is now signed.
1170 (__tzset_parse_tz): Parse negative time of day.
1171
4480e934
PE
1172 Document TZ transition times >= 25:00:00.
1173 * manual/time.texi (TZ Variable): Document transition times from
1174 25:00:00 through 167:59:59. These are already supported, and this
1175 support will help with version-3 tz-format files.
1176
69947401
PE
1177 * manual/time.texi (TZ Variable): Modernize North America example
1178 to reflect current (i.e., 2007-and-later) daylight saving rules.
1179
674762d9
PE
1180 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1181
7011c262
JM
11822013-12-17 Joseph Myers <joseph@codesourcery.com>
1183
2fc6557e
JM
1184 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1185 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1186 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1187 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1188 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1189 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1190 * sysdeps/unix/bsd/clock.c: Likewise.
1191 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1192 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1193 * sysdeps/unix/bsd/init-posix.c: Likewise.
1194 * sysdeps/unix/bsd/poll.c: Likewise.
1195 * sysdeps/unix/bsd/ptsname.c: Likewise.
1196 * sysdeps/unix/bsd/seekdir.c: Likewise.
1197 * sysdeps/unix/bsd/setegid.c: Likewise.
1198 * sysdeps/unix/bsd/seteuid.c: Likewise.
1199 * sysdeps/unix/bsd/setgid.c: Likewise.
1200 * sysdeps/unix/bsd/setrgid.c: Likewise.
1201 * sysdeps/unix/bsd/setruid.c: Likewise.
1202 * sysdeps/unix/bsd/setsid.c: Likewise.
1203 * sysdeps/unix/bsd/setuid.c: Likewise.
1204 * sysdeps/unix/bsd/sigaction.c: Likewise.
1205 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1206 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1207 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1208 * sysdeps/unix/bsd/telldir.c: Likewise.
1209 * sysdeps/unix/bsd/times.c: Likewise.
1210 * sysdeps/unix/bsd/usleep.c: Likewise.
1211
029c7b25
JM
1212 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1213 ($(objpfx)libbsd-compat.a): Remove rule.
1214
7011c262
JM
1215 * include/features.h (__FAVOR_BSD): Do not define.
1216 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1217 features conflicting with POSIX.
1218 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1219 (_BSD_SOURCE): Remove description of not being a subset of other
1220 feature test macros.
1221 * manual/job.texi (getpgrp): Do not document BSD version.
1222 (getpgid): Do not document by reference to BSD getpgrp.
1223 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1224 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1225 * signal/signal.h [__FAVOR_BSD]: Likewise.
1226 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1227 instead of making contents conditional on [__FAVOR_BSD].
1228 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1229
affb6f78
AZ
12302013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1231
1232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1233
c88769dd
JM
12342013-12-17 Joseph Myers <joseph@codesourcery.com>
1235
6432a540
JM
1236 [BZ #16314]
1237 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1238 values below 2**-450, not 2**-500.
1239 * math/auto-libm-test-in: Don't allow spurious underflow from
1240 hypot.
1241 * math/auto-libm-test-out: Regenerated.
1242
c88769dd
JM
1243 [BZ #16316]
1244 [BZ #16330]
1245 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1246 values of ha and hb and sort them after adjusting subnormal
1247 arguments.
1248 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1249 Likewise.
1250 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1251 values of ea and eb and sort them after adjusting subnormal
1252 arguments.
1253 * math/auto-libm-test-in: Do not expect some hypot tests of
1254 subnormals to fail. Add more hypot tests.
1255 * math/auto-libm-test-out: Regenerated.
1256
29618f6b
KK
12572013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1258
1259 [BZ #13304]
1260 * sysdeps/sh/s_fma.c: New file.
1261 * sysdeps/sh/s_fmaf.c: New file.
1262 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1263 version.
1264 * sysdeps/sh/Implies: Add sh/soft-fp.
1265
eacfdfbf
RM
12662013-12-16 Roland McGrath <roland@hack.frob.com>
1267
1268 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1269 level of indirection to members `objname', `errstring', `malloced'.
1270 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1271 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1272 it as the __longjmp argument (just pass 1 instead).
1273 (_dl_catch_error): Initialize C with argument pointers and address of
1274 volatile local ERRCODE rather than copying values out of C at return.
1275
ff362e5b
JM
12762013-12-16 Joseph Myers <joseph@codesourcery.com>
1277
1278 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1279 * math/auto-libm-test-out: Regenerated.
1280 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1281 (hypot_test_data): Likewise.
1282 (pow_test_data): Likewise.
1283 (pow_tonearest_test_data): Likewise.
1284 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1285 mpfr_ff_f.
1286 (func_calc_desc): Add mpfr_ff_f union field.
1287 (FUNC_mpfr_ff_f): New macro.
1288 (test_functions): Add atan2, hypot and pow.
1289 (special_fill_min): New function.
1290 (special_fill_minus_min): Likewise.
1291 (special_fill_min_subnorm): Likewise.
1292 (special_fill_minus_min_subnorm): Likewise.
1293 (special_real_inputs): Add min, -min, min_subnorm and
1294 -min_subnorm.
1295 (calc_generic_results): Handle mpfr_ff_f.
1296 * sysdeps/i386/fpu/libm-test-ulps: Update.
1297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1298
5764c27f
WN
12992013-12-16 Will Newton <will.newton@linaro.org>
1300
1301 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1302 (Aligned Memory Blocks): Add documentation for aligned_alloc
1303 and suggest it as an alternative to posix_memalign.
1304 (Hooks for Malloc): Document __memalign_hook is also called
1305 for aligned_alloc. (Summary of Malloc): Add summary for
1306 aligned alloc. Document __memalign_hook is also called
1307 for aligned_alloc.
1308
0a096e44
WN
13092013-12-16 Will Newton <will.newton@linaro.org>
1310
1311 * manual/memory.texi (Malloc Examples): Clarify default
1312 alignment documentation. Suggest posix_memalign rather
1313 than memalign or valloc.
1314 (Aligned Memory Blocks): Remove suggestion to use memalign
1315 or valloc. Remove obsolete comment about BSD.
1316 Document memalign errno values and mark the function obsolete.
1317 Document posix_memalign returned error codes. Mark valloc
1318 as obsolete. (Hooks for Malloc): __memalign_hook is also
1319 called for posix_memalign and valloc.
1320 (Summary of Malloc): Add posix_memalign to function summary.
1321 __memalign_hook is also called for posix_memalign and valloc.
1322
8d561986
SP
13232013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1324
1325 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1326 TAYLOR_SIN.
1327 (__sin): Adjust.
1328 (__cos): Likewise.
1329 (sloww): Use mynumber union. Expand ternary operator into
1330 if-else statements.
1331 (cslow): use mynumber union.
1332
73616a74
AM
13332013-12-16 Allan McRae <allan@archlinux.org>
1334
9e8ac24b
AM
1335 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1336 * configure: Regenerated.
1337
6f8e37eb
AM
1338 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1339
8894bad3
AM
1340 [BZ #14120]
1341 * configure.ac: Added --enable-maintainer-mode. Check for
1342 autoconf when enabled.
1343 * configure: Regenerated.
1344
73616a74
AM
1345 * nscd/nscd.service: New file.
1346 * nscd/nscd.tmpfiles: New file.
1347
584b18eb
OB
13482013-12-14 Ondřej Bílka <neleai@seznam.cz>
1349
1350 [BZ #12100]
1351 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1352 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1353 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1354 (strstr): Add __strstr_sse2_unaligned ifunc.
1355 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1356 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1357 (strcasestr): Remove __strcasestr_sse42 ifunc.
1358 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1359 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1361
8a5c7897
KK
13622013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1363
1364 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1365 * sysdeps/sh/bits/fenv.h: ... here.
1366 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1367
fd712ef3
AZ
13682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1369
1370 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1371
42fcb46c
AZ
13722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1373
1374 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1375 hypotf multiarch implementations.
1376 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1377 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1378 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1379 multiarch hypot for PPC64.
1380 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1381 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1382 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1383 multiarch hypotf for PPC64.
1384
83efded4
AZ
13852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1386
1387 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1388 modff multiarch implementations.
1389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1392 multiarch modf for PPC64.
1393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1396 multiarch modff for PPC64.
1397
43e246d2
AZ
13982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1399
1400 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1401 and logl multiarch implementations.
1402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1405 multiarch logb for PPC64.
1406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1409 multiarch logb for PPC64.
1410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1413 multiarch logb for PPC64.
1414
8fdad123
AZ
14152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1416
1417 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1418 isinff multiarch implementation.
1419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1420 file.
1421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1423 multiarch isinf for PPC64.
1424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1425 file.
1426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1427 multiarch isinff for PPC64.
1428
1481d706
AZ
14292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1430
1431 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1432 finitef multiarch implementation.
1433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1434 file.
1435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1437 multiarch finite for PPC64.
1438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1439 file.
1440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1441 multiarch finitef for PPC64.
1442
5ccd5fc8
AZ
14432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1444
1445 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1446 lrint multiarch implementation.
1447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1448 file.
1449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1451 multiarch llrint for PPC64.
1452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1453 multiarch lrint for PPC64.
1454
2568f3fa
AZ
14552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1456
1457 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1458 copysignf multiarch implementation.
1459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1460 file.
1461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1462 file.
1463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1464 multiarch copysign for PPC64.
1465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1466 multiarch copysignf for PPC64.
1467
1cb341fd
AZ
14682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1469
1470 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1471 multiarch implementation.
1472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1473 file.
1474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1475 file.
1476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1477 file.
1478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1479 file.
1480 multiarch llround for PPC64.
1481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1482 multiarch trunc for PPC64.
1483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1484 multiarch truncf for PPC64.
1485
59a3e194
AZ
14862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1487
1488 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1489 multiarch implementation.
1490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1491 file.
1492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1493 file.
1494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1495 file.
1496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1497 file.
1498 multiarch llround for PPC64.
1499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1500 multiarch round for PPC64.
1501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1502 multiarch roundf for PPC64.
1503
357fd3b4
AZ
15042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1505
1506 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1507 multiarch implementation.
1508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1509 file.
1510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1511 file.
1512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1513 file.
1514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1515 file.
1516 multiarch llround for PPC64.
1517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1518 multiarch floor for PPC64.
1519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1520 multiarch floorf for PPC64.
1521
96770f12
AZ
15222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1523
1524 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1525 multiarch implementation.
1526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1527 file.
1528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1529 file.
1530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1531 file.
1532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1533 file.
1534 multiarch llround for PPC64.
1535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1536 multiarch ceil for PPC64.
1537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1538 multiarch ceilf for PPC64.
1539
c3627f6e
AZ
15402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1541
1542 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1543 multiarch implementation.
1544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1545 file.
1546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1547 file.
1548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1549 file.
1550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1551 multiarch llround for PPC64.
1552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1553 multiarch lround for PPC64.
1554
b2284ad7
AZ
15552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1556
1557 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1558 multiarch implementation.
1559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1562 file.
1563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1566 multiarch isnan for PPC64.
1567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1568 multiarch isnanf for PPC64.
1569
69bbc63d
AZ
15702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1571
1572 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1573 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1574 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1575 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1576 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1578
c24517c9
AZ
15792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1580
1581 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1582 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1583 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1584 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1585
a52374e8
AZ
15862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1587
1588 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1589 multiarch implementations.
1590 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1591 (__libc_ifunc_impl_list): Likewise.
1592 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1593 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1594 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1595 multiarch stpcpy for PPC64.
1596
7f5ec113
AZ
15972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1598
1599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1600 multiarch implementations.
1601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1602 (__libc_ifunc_impl_list): Likewise.
1603 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1604 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1605 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1606 multiarch strcpy for PPC64.
1607
e28bcd42
AZ
16082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1609
1610 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1611 redefine function name.
1612 (_wordcopy_fwd_dest_aligned): Likewise.
1613 (_wordcopy_bwd_aligned): Likewise.
1614 (_wordcopy_bwd_dest_aligned): Likewise.
1615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1616 multiarch implementations.
1617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1618 (__libc_ifunc_impl_list): Likewise.
1619 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1620 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1621 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1622 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1623 multiarch wcscpy for PPC64.
1624
92cacfce
AZ
16252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1626
1627 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1628 multiarch implementations.
1629 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1630 (__libc_ifunc_impl_list): Likewise.
1631 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1632 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1633 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1634 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1635 multiarch wcscpy for PPC64.
1636
7b714620
AZ
16372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1638
1639 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1640 multiarch implementations.
1641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1642 (__libc_ifunc_impl_list): Likewise.
1643 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1644 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1645 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1646 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1647 multiarch wcsrchr for PPC64.
1648
16fd2ae3
AZ
16492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1650
1651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1652 multiarch implementations.
1653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1654 (__libc_ifunc_impl_list): Likewise.
1655 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1656 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1657 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1658 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1659 multiarch wcschr for PPC64.
1660
9ee2969b
AZ
16612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1662
1663 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1664 multiarch implementations.
1665 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1666 (__libc_ifunc_impl_list): Likewise.
1667 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1668 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1669 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1670 multiarch strchrnul for PPC64.
1671
372dc060
AZ
16722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1673
1674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1675 implementations.
1676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1677 (__libc_ifunc_impl_list): Likewise.
1678 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1679 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1680 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1681 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1682 strchr for PPC64.
1683
24c2c3b9
AZ
16842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1685
1686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1687 implementations.
1688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1689 (__libc_ifunc_impl_list): Likewise.
1690 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1691 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1692 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1693 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1694 strncmp for PPC64.
1695
1c92d9a0
AZ
16962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1697
1698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1699 multiarch implementations.
1700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1701 (__libc_ifunc_impl_list): Likewise.
1702 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1703 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1704 strncasecmp for PPC64.
1705 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1706 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1707 multiarch strncasecmp_l for PPC64.
1708
17de3ee3
AZ
17092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1710
1711 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1712 multiarch implementations.
1713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1714 (__libc_ifunc_impl_list): Likewise.
1715 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1716 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1717 multiarch strcasecmp for PPC64.
1718 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1719 file.
1720 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1721 multiarch strcasecmp_l for PPC64.
1722
62982bf9
AZ
17232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1724
1725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1726 implementations.
1727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1728 (__libc_ifunc_impl_list): Likewise.
1729 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1730 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1731 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1732 strnlen for PPC64.
1733
a65f4904
AZ
17342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1735
1736 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1737 implementations.
1738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1739 (__libc_ifunc_impl_list): Likewise.
1740 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1741 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1742 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1743 strlen for PPC64.
1744
1fd005ad
AZ
17452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1746
1747 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1748 implementations.
1749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1750 (__libc_ifunc_impl_list): Likewise.
1751 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1752 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1753 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1754 rawmemrchr for PPC64.
1755
cd05ba91
AZ
17562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1757
1758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1759 implementation.
1760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1761 (__libc_ifunc_impl_list): Likewise.
1762 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1763 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1764 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1765 memrchr for PPC64.
1766
870f8676
AZ
17672013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1768
1769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1770 implementation.
1771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1772 (__libc_ifunc_impl_list): Likewise.
1773 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1774 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1775 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1776 memchr for PPC64.
1777
f00be62b
AZ
17782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1779
1780 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1781 implementation.
1782 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1783 (__libc_ifunc_impl_list): Likewise.
1784 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1785 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1786 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1787 mempcpy for PPC64.
1788
8a29a3d0
AZ
17892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1790
1791 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1792 avoid cretion of __bzero symbol.
1793 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1794 Likewise.
1795 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1796 Likewise.
1797 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1798 Likewise.
1799 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1800 multiarch implementations.
1801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1802 (__libc_ifunc_impl_list): Likewise.
1803 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1804 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1805 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1806 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1807 bzero for PPC32.
1808 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1809 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1810 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1811 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1812 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1813 memset for PPC64.
1814 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1815
07253fcf
AZ
18162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1817
1818 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1820 implementations.
1821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1822 (__libc_ifunc_impl_list): Likewise.
1823 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1824 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1825 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1826 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1827 memcmp for PPC64.
1828
b5beafbc
AZ
18292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1830
1831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1832 multiarch for POWER/PPC64.
1833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1834 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1835 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1836 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1837 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1838 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1839 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1840 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1841 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1842 memcpy for PPC64.
1843
5e6a4d4b
AZ
18442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1845
1846 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1847 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1848 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1849 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1850 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1851 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1852 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1853 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1854 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1855 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1856 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1857 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1858 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1859 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1860 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1868
ddfab6dc
KK
18692013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1870
1871 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1872
19b5525e
SP
18732013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1874
1875 * benchtests/Makefile (bench): Add exp2 and log2.
1876 (LDLIBS-bench-exp2): Add -lm.
1877 (LDLIBS-bench-log2): Likewise.
1878 * benchtests/exp2-inputs: New inputs file.
1879 * benchtests/log2-inputs: New inputs file.
1880 * benchtests/log-inputs: Add new inputs.
1881 * benchtests/tan-inputs: Likewise.
1882
196f7f5d
SP
18832013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1884
7a74607f
SP
1885 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1886 definition...
1887 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1888 csloww1, csloww2): ... from here.
1889
196f7f5d
SP
1890 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1891 instead of structures.
1892 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1893 (POLYNOMIAL): Likewise.
1894 (TAYLOR_SLOW): Likewise.
1895 (__sin): Likewise.
1896 (__cos): Likewise.
1897 (slow1): Likewise.
1898 (slow2): Likewise.
1899 (sloww): Likewise.
1900 (sloww1); Likewise.
1901 (sloww2): Likewise.
1902 (bsloww1): Likewise.
1903 (bsloww2): Likewise.
1904 (cslow2): Likewise.
1905 (csloww): Likewise.
1906 (csloww1): Likewise.
1907 (csloww2): Likewise.
1908
0dfa665c
OB
19092013-12-10 Ondřej Bílka <neleai@seznam.cz>
1910
1911 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1912 (__malloc_assert, __libc_realloc, __libc_calloc,
1913 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1914 memcpy and memset.
1915 * malloc/hooks.c (realloc_check): Likewise.
1916
5782a80f
OB
19172013-12-10 Ondřej Bílka <neleai@seznam.cz>
1918
1919 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1920 * malloc/arena.c: Remove PER_THREAD conditional.
1921 [!PER_THREAD]: Remove code.
1922 (ptmalloc_unlock_all2): Likewise.
1923 (ptmalloc_init): Likewise.
1924 (_int_new_arena): Likewise.
1925 (arena_get2): Likewise.
1926 * malloc/hooks.c (__malloc_get_state): Likewise.
1927 (__malloc_set_state): Likewise.
1928 * malloc/malloc.c: Likewise.
1929 (struct malloc_state): Likewise.
1930 (struct malloc_par): Likewise.
1931 (__libc_realloc): Likewise.
1932 (__libc_mallopt): Likewise.
1933
aeb95445
AZ
19342013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1935
1936 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1937
e8349efd
OB
19382013-12-09 Ondřej Bílka <neleai@seznam.cz>
1939
1940 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1941 macro to a function. Check for zero perturb_byte.
1942 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1943
f3eeb3fc
OB
19442013-12-09 Ondřej Bílka <neleai@seznam.cz>
1945
1946 * malloc/malloc.c: (force_reg): Remove.
1947 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1948 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1949 force_reg by atomic_forced_read.
1950 * malloc/arena.c (ptmalloc_init): Likewise.
1951 * malloc/hooks.c (top_check): Likewise.
1952
be2f9009
AZ
19532013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1954
1955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1956
e7b914bd
MT
19572013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1958
1959 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1960
9f0be4f8
JM
19612013-12-08 Joseph Myers <joseph@codesourcery.com>
1962
1963 * math/auto-libm-test-in: Add tests of lgamma.
1964 * math/auto-libm-test-out: Regenerated.
1965 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1966 (M_LOG_2_SQRT_PIl): Likewise.
1967 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1968 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1969 mpfr_f_f1.
1970 (func_calc_desc): Add mpfr_f_f1 union field.
1971 (ARGS1): New macro.
1972 (ARGS2): Likewise.
1973 (ARGS3): Likewise.
1974 (ARGS4): Likewise.
1975 (RET1): Likewise.
1976 (RET2): Likewise.
1977 (CALC): Likewise.
1978 (FUNC): Likewise.
1979 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1980 (test_functions): Add lgamma.
1981 (calc_generic_results): Handle mpfr_f_f1.
1982 * sysdeps/i386/fpu/libm-test-ulps: Update.
1983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1984
24eeafdb
AZ
19852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1986
1987 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1988 __mpn_add_n for PowerPC64/POWER7.
1989 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1990 __mpn_sub_n for PowerPC64/POWER7.
1991
4a2c0fd4
AZ
19922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1993
1994 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1995 __mpn_addmul_1 for PowerPC64.
1996 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1997 __mpn_submul_1 for PowerPC64.
1998 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1999 for PowerPC64.
2000 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2001 for PowerPC64.
2002
4b5b548c
FS
20032013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2004
2005 [BZ #15089]
2006 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2007
0a3ac0aa
AZ
20082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2009
2010 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2011
ccdc8438
AZ
20122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2013
2014 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2015 add multiarch folders.
2016 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2017 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2018 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2019 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2020 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2021 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2022 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2023 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2024 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2025 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2026 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2033
2e973d99
AZ
20342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2035
2036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2037 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2039 New file.
2040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2041 New file.
2042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2043 multiarch __ieee754_hypot for PowerPC32.
2044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2045 New file.
2046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2047 New file.
2048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2049 multiarch __ieee754_hypotf for PowerPC32.
2050
2d9470b2
AZ
20512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2052
2053 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2054 long_double_symbol only if __logbl is defined.
2055 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2056 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2057 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2058 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2059 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2060 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2061 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2062 path for implementation.
2063 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2064 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2066 logb, and logbl multiarch implementations for PowerPC32.
2067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2068 file.
2069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2070 file.
2071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2072 multiarch logb for PowerPC32.
2073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2074 file.
2075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2076 file.
2077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2078 multiarch logbf for PowerPC32.
2079 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2081 file.
2082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2083 multiarch logbl implementation for PowerPC32.
2084
5212ffce
AZ
20852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2086
2087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2088 and modff multiarch implementations.
2089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2090 New file.
2091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2092 New file.
2093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2094 multiarch modf for PowerPC32.
2095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2096 New file.
2097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2098 New file.
2099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2100 multiarch modff for PowerPC32.
2101
79dccf31
AZ
21022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2103
2104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2105 and lrintf multiarch implementations.
2106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2107 New file.
2108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2109 New file.
2110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2111 multiarch lrint for PowerPC32.
2112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2113 file: multiarch lrintf for PowerPC32.
2114
deb66480
AZ
21152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2116
2117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2118 and lroundf multiarch implementations.
2119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2120 New file.
2121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2122 New file.
2123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2124 New file.
2125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2126 multiarch lround for PowerPC32.
2127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2128 file: multiarch lroundf for PowerPC32.
2129
264b036b
AZ
21302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2131
2132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2133 copysign and copysignf multiarch implementations.
2134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2135 New file.
2136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2137 New file.
2138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2139 file: multiarch copysign for PowerPC32.
2140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2141 file: multiarch copysignf for PowerPC32.
2142
d47db6c9
AZ
21432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2144
2145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2146 and truncf multiarch implementations.
2147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2148 New file.
2149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2150 file.
2151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2152 multiarch trunc for PowerPC32.
2153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2154 New file.
2155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2156 New file.
2157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2158 multiarch truncf for PowerPC32.
2159
ddb60b5a
AZ
21602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2161
2162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2163 and roundf multiarch implementations.
2164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2165 New file.
2166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2167 file.
2168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2169 multiarch round for PowerPC32.
2170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2171 New file.
2172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2173 New file.
2174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2175 multiarch roundf for PowerPC32.
2176
bedcf49b
AZ
21772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2178
2179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2180 and floorf multiarch implementations.
2181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2182 New file.
2183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2184 file.
2185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2186 multiarch floor for PowerPC32.
2187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2188 New file.
2189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2190 New file.
2191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2192 multiarch floorf for PowerPC32.
2193
35ae5b40
AZ
21942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2195
2196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2197 and ceilf multiarch implementations.
2198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2199 New file.
2200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2201 file.
2202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2203 multiarch ceil for PowerPC32.
2204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2205 New file.
2206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2207 file.
2208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2209 multiarch ceilf for PowerPC32.
2210
ae1a4cd9
AZ
22112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2212
2213 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2214 is defined.
2215 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2216 FINITEF is defined.
2217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2218 and finitef multiarch implementations.
2219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2220 New file.
2221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2222 file.
2223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2224 multiarch finite for PowerPC32.
2225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2226 New file.
2227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2228 file: multiarch finitef for PowerPC32.
2229
64fffd65
AZ
22302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2231
2232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2233 and isinff multiarch implementations.
2234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2235 file.
2236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2237 file.
2238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2239 multiarch isinf for PowerPC32.
2240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2241 New file.
2242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2243 multiarch isinff for PowerPC32.
2244
8e4e7ba2
AZ
22452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2246
2247 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2248 alias when __isnan is defined.
2249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2250 and isnanf multiarch implementations.
2251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2252 file.
2253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2254 file.
2255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2256 file.
2257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2258 file.
2259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2260 multiarch isnan for PowerPC32.
2261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2262 New file.
2263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2264 New file.
2265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2266 multiarch isnanf for PowerPC32.
2267
ddba588e
AZ
22682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2269
2270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2271 and sqrtf multiarch implementations.
2272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2273 file.
2274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2275 file.
2276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2277 multiarch sqrt for PowerPC32.
2278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2279 file.
2280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2281 file.
2282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2283 multiarch sqrtf for PowerPC32.
2284
0f96a2f0
AZ
22852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2286
2287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2288 and llroundf multiarch implementations.
2289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2290 New file.
2291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2292 New file.
2293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2294 New file.
2295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2296 file: multiarch llround for PowerPC32.
2297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2298 file: multiarch llroundf for PowerPC32.
2299
c9b5d79e
AZ
23002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2301
2302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2303 multiarch PowerPC32 fpu implementations.
2304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2305 New file.
2306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2307 New file.
2308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2309 multiarch llrint for PowerPC32.
2310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2311 New file.
2312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2313 New file.
2314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2315 file.
2316
9cbb3aab
AZ
23172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2318
2319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2320
ea5a72f8
AZ
23212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2322
2323 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2324 file.
2325 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2326 file.
2327 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2328 file.
2329 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2330 multiarch wordcopy for PPC32.
2331 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2332 wordcopy objects.
2333 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2334 (__libc_ifunc_impl_list): Likewise.
2335 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2336 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2337 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2338 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2339 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2340 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2341
93be09e7
AZ
23422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2343
2344 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2345 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2346 file.
2347 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2348 file.
2349 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2350 file.
2351 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2352 multiarch wcscpy for PPC32.
2353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2354 multiarch objects.
2355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2356 (__libc_ifunc_impl_list): Likewise.
2357 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2358 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2359 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2360 sysdeps/powerpc/power6/wcscpy.c.
2361
bb04e529
AZ
23622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2363
2364 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2365 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2366 file.
2367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2368 file.
2369 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2370 file.
2371 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2372 multiarch wcsrchr for PPC32.
2373 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2374 multiarch objects.
2375 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2376 (__libc_ifunc_impl_list): Likewise.
2377 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2378 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2379 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2380 sysdeps/powerpc/power6/wcsrchr.c.
2381
05b5cd1c
AZ
23822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2383
2384 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2385 file.
2386 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2387 file.
2388 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2389 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2390 multiarch wcschr for PPc32.
2391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2392 multiarch objects.
2393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2394 (__libc_ifunc_impl_list): Likewise.
2395 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2396 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2397 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2398 sysdeps/powerpc/power6/wcschr.c.
2399
ba964147
AZ
24002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2401
2402 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2403 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2404 file.
2405 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2406 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2407 file: multiarch strchr for PPC32.
2408 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2409 multiarch objects.
2410 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2411 (__libc_ifunc_impl_list): Likewise.
2412
31c81aaa
AZ
24132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2414
2415 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2416 name.
2417 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2418 file.
2419 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2420 file.
2421 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2422 multiarch strchrnul for PPC32.
2423 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2424 multiarch objects.
2425 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2426 (__libc_ifunc_impl_list): Likewise.
2427
0d0607d9
AZ
24282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2429
2430 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2431 file.
2432 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2433 multiarch strncasecmp for PPC32.
2434 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2435 file.
2436 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2437 multiarch strncasecmp_l for PPC32.
2438 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2439 strncasecmp multiarch objects.
2440 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2441 (__libc_ifunc_impl_list): Likewise.
2442
4dfd5c86
AZ
24432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2444
2445 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2446 file.
2447 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2448 multiarch strncasecmp for PPC32.
2449 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2450 New file.
2451 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2452 multiarch strcasecmp_l for PPC32.
2453 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2454 multiarch objects.
2455 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2456 (__libc_ifunc_impl_list): Likewise.
2457
a19e01a3
AZ
24582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2459
2460 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2461 file.
2462 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2463 file.
2464 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2465 multiarch strncmp for PPC32.
2466 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2467 multiarch objects.
2468 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2469 (__libc_ifunc_impl_list): Likewise.
2470
ae9cf7a2
AZ
24712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2472
2473 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2474 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2475 file.
2476 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2477 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2478 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2479 multiarch objects.
2480 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2481 (__libc_ifunc_impl_list): Likewise.
2482
3148bb7d
AZ
24832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2484
2485 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2486 file.
2487 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2488 file.
2489 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2490 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2491 multiarch objects.
2492 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2493 (__libc_ifunc_impl_list): Likewise.
2494
7af8b946
AZ
24952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2496
2497 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2498 file.
2499 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2500 file.
2501 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2502 multiarch rawmemchr for PPC32.
2503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2504 multiarch objects.
2505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2506 (__libc_ifunc_impl_list): Likewise.
2507
03a6aa6a
AZ
25082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2509
2510 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2511 file.
2512 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2513 file.
2514 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2515 file: memrchr multiarch for PPC32.
2516 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2517 multiarch objects.
2518 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2519 (__libc_ifunc_impl_list): Likewise.
2520
1c62e6d9
AZ
25212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2522
2523 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2524 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2525 file.
2526 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2527 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2528 multiarch memchr for PPC32.
2529 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2530 multiarch objects.
2531 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2532 (__libc_ifunc_impl_list): Likewise.
2533
87da8bdb
AZ
25342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2535
2536 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2537 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2538 file.
2539 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2540 file.
2541 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2542 file: multiarch mempcpy for PPC32.
2543 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2544 multiarch objects.
2545 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2546 (__libc_ifunc_impl_list): Likewise.
2547
20ed4714
AZ
25482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2549
2550 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2551 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2552 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2553 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2554 multiarch bzero for PPC32.
2555 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2556 file.
2557 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2558 file.
2559 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2560 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2561 file: multiarch memset for PPC32.
2562 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2563 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2564 memset multiarch objects.
2565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2566 (__libc_ifunc_impl_list): Likewise.
2567
ab3e3a46
AZ
25682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2569
2570 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2571 file.
2572 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2573 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2574 memcmp for PPC32.
2575 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2576 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2577 multiarch objects.
2578 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2579 (__libc_ifunc_impl_list): Likewise.
2580
930de6f0
AZ
25812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2582
2583 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2584 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2585 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2586 file.
2587 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2588 file.
2589 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2590 file.
2591 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2592 multiarch memcpy for PPC32.
2593 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2594 multiarch objects.
2595 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2596 (__libc_ifunc_impl_list): Likewise.
2597
4c628e00
AZ
25982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2599
2600 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2601 support multiarch for POWER/PPC32.
2602 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2603 Likewise.
2604 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2606 Implies file to make multiarch folder appers before the fpu and
2607 default folder for power4 configuration.
2608
f4479220
SP
26092013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2610
2611 * scripts/bench.pl: Append volatile keyword to type.
2612
8517800f
KK
26132013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2614
2615 * sysdeps/sh/sotruss-lib.c: New file.
2616 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2617
180138f1
AZ
26182013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2619
2620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2621
bbf37bdc
JM
26222013-12-05 Joseph Myers <joseph@codesourcery.com>
2623
e47cc4e0
JM
2624 [BZ #6810]
2625 * math/w_tgamma.c: Include <errno.h>.
2626 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2627 * math/w_tgammaf.c: Include <errno.h>.
2628 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2629 * math/w_tgammal.c: Include <errno.h>.
2630 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2631 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2632 underflow. Add more tgamma tests.
2633 * math/auto-libm-test-out: Regenerated.
2634 * sysdeps/i386/fpu/libm-test-ulps: Update.
2635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2636
bbf37bdc
JM
2637 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2638 sin, sinh, tan, tanh, tgamma, y0 and y1.
2639 * math/auto-libm-test-out: Regenerated.
2640 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2641 (TEST_COND_x86): Likewise.
2642 (M_E2l): Remove macro.
2643 (M_E3l): Likewise.
2644 (M_2_SQRT_PIl): Likewise.
2645 (M_SQRT_PIl): Likewise.
2646 (M_1_DIV_El): Likewise.
2647 (log_test_data): Use AUTO_TESTS_f_f.
2648 (log10_test_data): Likewise.
2649 (log1p_test_data): Likewise.
2650 (log2_test_data): Likewise.
2651 (sin_test_data): Likewise.
2652 (sin_tonearest_test_data): Likewise.
2653 (sin_towardzero_test_data): Likewise.
2654 (sin_downward_test_data): Likewise.
2655 (sin_upward_test_data): Likewise.
2656 (sinh_test_data): Likewise.
2657 (sinh_tonearest_test_data): Likewise.
2658 (sinh_towardzero_test_data): Likewise.
2659 (sinh_downward_test_data): Likewise.
2660 (sinh_upward_test_data): Likewise.
2661 (tan_test_data): Likewise.
2662 (tan_tonearest_test_data): Likewise.
2663 (tan_towardzero_test_data): Likewise.
2664 (tan_downward_test_data): Likewise.
2665 (tan_upward_test_data): Likewise.
2666 (tanh_test_data): Likewise.
2667 (tgamma_test_data): Likewise.
2668 (y0_test_data): Likewise.
2669 (y1_test_data): Likewise.
2670 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2671 (special_real_inputs): Add pi/4.
2672 * sysdeps/i386/fpu/libm-test-ulps: Update.
2673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2674
eb5ad6b9
AZ
26752013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2676
2677 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2678 "longjmp_target" static probes.
2679 (__longjmp): Rename to __longjmp_symbol.
2680 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2681 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2682 on which longjmp to generate.
2683 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2684 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2685 probe.
2686 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2687 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2688 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2689 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2690 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2691 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2693 __longjmp_symbol based on which __longjmp to generate.
2694 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2695 probe.
2696 (setjmp): Rename to setjmp_symbol.
2697 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2698 (_setjmp): Rename to _setjmp_symbol.
2699 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2700 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2701 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2702 which setjmp to generate.
2703 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2704 "longjmp_target" static probes.
2705
d136c6dc
SP
27062013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2707
9298ecba
SP
2708 * benchtests/README: Add note about output arguments.
2709 * benchtests/bench-sincos.c: Remove file.
2710 * benchtests/sincos-inputs: New file.
2711 * scripts/bench.pl: Identify output arguments and define
2712 static variables for them.
2713
232983e9
SP
2714 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2715
d136c6dc
SP
2716 [BZ #15941]
2717 * Makefile (INSTALL): Add install-plain.texi as the primary
2718 dependency.
2719 * manual/install-plain.texi: New file.
2720 * manual/install.texi: Include node directive only for
2721 non-plaintext output.
2722
699ff837
JM
27232013-12-04 Joseph Myers <joseph@codesourcery.com>
2724
ab07cea8
JM
2725 * stdlib/longlong.h: Update from GCC.
2726
699ff837
JM
2727 [BZ #6807]
2728 [BZ #15901]
2729 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2730 * math/w_j0f.c (y0f): Likewise.
2731 * math/w_j0l.c (__y0l): Likewise.
2732 * math/w_j1.c (y1): Likewise.
2733 * math/w_j1f.c (y1f): Likewise.
2734 * math/w_j1l.c (__y1l): Likewise
2735 * math/w_jn.c (yn): Likewise.
2736 * math/w_jnf.c (ynf): Likewise.
2737 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2738 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2739 value for Bessel function domain errors outside _SVID_ mode.
2740 Adjust sign of return value for yn (negative integer, 0).
2741 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2742 by zero in return for negative x and set sign appropriately for
2743 negative n.
2744 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2745 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2746 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2747 expectations in error cases.
2748 (y1_test_data): Likewise.
2749 (yn_test_data): Likewise.
2750 * sysdeps/i386/fpu/libm-test-ulps: Update.
2751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2752
5b118558
UW
27532013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2754
2755 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2756 "64" to "64-v1". Add "64-v2".
2757 (abi-64-options): Rename to ...
2758 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2759 (abi-64-condition): Rename to ...
2760 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2761 (abi-64-ld-soname): Rename to ...
2762 (abi-64-v1-ld-soname): ... this.
2763 (abi-64-v2-options): Define.
2764 (abi-64-v2-condition): Likewise.
2765 (abi-64-v2-ld-soname): Likewise.
2766 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2767 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2771
61cd8fe4
UW
27722013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2773 Alan Modra <amodra@gmail.com>
2774
2775 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2776 New versions for use with the ELFv2 ABI.
2777 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2778 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2779 declaration.
2780 (struct La_ppc64v2_retval): Likewise.
2781 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2782 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2783 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2784 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2785 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2786 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2787 Do not save or restore CR.
2788 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2789 (_dl_profile_resolve): Do no save or restore CR. Support extended
2790 return values for ELFv2 ABI. Fix location of FPR return registers.
2791 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2792 updated values for _CALL_ELF == 2.
2793 (La_regs, La_retval, int_retval): Likewise.
2794
8b8a692c
UW
27952013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2796
2797 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2798 (FRAME_MIN_SIZE_PARM): Likewise.
2799 (FRAME_BACKCHAIN): Likewise.
2800 (FRAME_CR_SAVE): Likewise.
2801 (FRAME_LR_SAVE): Likewise.
2802 (FRAME_TOC_SAVE): Likewise.
2803 (FRAME_PARM_SAVE): Likewise.
2804 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2805 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2806 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2807 (call_mcount_parm_offset): New macro.
2808 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2809 (PROF): Use symbolic stack frame offsets.
2810 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2811 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2812 Redefine in terms of FRAME_MIN_SIZE.
2813 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2814 (_dl_profile_resolve): Likewise. Update comment.
2815 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2816 symbols stack frame offsets.
2817 (__sigsetjmp): Likewise.
2818 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2819 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2820 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2821 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2822
2823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2824 (FRAME_BACKCHAIN): Remove.
2825 (FRAME_CR_SAVE): Likewise.
2826 (FRAME_LR_SAVE): Likewise.
2827 (FRAME_COMPILER_DW): Likewise.
2828 (FRAME_LINKER_DW): Likewise.
2829 (FRAME_TOC_SAVE): Likewise.
2830 (FRAME_PARM_SAVE): Likewise.
2831 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2832 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2833 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2835 (CHECK_SP): Use symbolic stack frame offsets.
2836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2837 zone" instead of caller's parameter save area for temp storage.
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2839 Likewise. Also, use symbolic stack frame offsets.
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2841 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2842 our own stack frame instead of the caller's.
2843 (__socket): Use symbolic stack frame offsets.
2844
122b66de
UW
28452013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2846 Alan Modra <amodra@gmail.com>
2847
2848 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2849 Define.
2850 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2851 PPC64_LOCAL_ENTRY_OFFSET): Define.
2852 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2853 New function.
2854 (elf_machine_fixup_plt): Call it.
2855 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2856 reloc arguments.
2857 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2858 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2859 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2860 r2 before calling target.
2861
696caf1d
UW
28622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2863 Alan Modra <amodra@gmail.com>
2864
2865 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2866 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2867 versions of macros to support ELFv2 ABI.
2868 (LOCALENTRY): New macro.
2869 (ENTRY, EALIGN): Use it.
2870 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2871 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2872 fall through into ENTRY entry point.
2873 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2874 Only define if _CALL_ELF != 2.
2875
2876 (elf_machine_matches_host): Verify ABI version matches.
2877 (RTLD_START): Use LOCALENTRY.
2878 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2879 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2880 (PLT_ENTRY_WORDS): New macro.
2881 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2882 (elf_machine_runtime_setup): Support ELFv2 ABI.
2883 (elf_machine_fixup_plt): Likewise.
2884 (elf_machine_plt_conflict): Likewise.
2885 (resolve_ifunc): Likewise.
2886 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2887 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2888 Likewise.
2889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2890 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2892 (makecontext): Support ELFv2 ABI.
2893 * elf/elf.h (EF_PPC64_ABI): Define.
2894
d31beafa
UW
28952013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2896
2897 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2898 New assembler macro.
2899 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2900 [ASSEMBLER] (ENTRY): ... but instead here ...
2901 [ASSEMBLER] (EALIGN): ... and here.
2902 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2903 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2904 [!ASSEMBLER] (ENTRY_2): Use it.
2905 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2906 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2907 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2908 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2909 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2911 Use PPC64_LOAD_FUNCPTR.
2912
b525166b
UW
29132013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2914
2915 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2916
7ec07d9a
AM
29172013-12-04 Alan Modra <amodra@gmail.com>
2918
2919 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2920 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2921 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2922 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2923
2924 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2925 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2926 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2927 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2928 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2929 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2930
5162e7dd
UW
29312013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2932
2933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2934 (__makecontext): Fix incorrect CFI when backtracing out of
2935 context created via makecontext.
2936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2937 (__setcontext): Fix incorrect CFI during switch to new context.
2938 (__novec_setcontext): Likewise.
2939
19e3372b
OB
29402013-12-04 Ondřej Bílka <neleai@seznam.cz>
2941
2942 [BZ #4772]
2943 * time/strptime_l.c (__strptime_internal): Allow modifiers
2944 in strptime.
2945 * time/tst-strptime.c (day_tests): Add testcase.
2946
2947
ecaf142d
SP
29482013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2949
2950 * scripts/bench.pl: Skip over blank lines.
2951
fbf964ae
PE
29522013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2953
2954 [BZ #926]
2955 * manual/time.texi (Calendar Time): Clarify what timezone functions
2956 use.
2957
fa60a674
AZ
29582013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2959
2960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2961
d674f0ef
OB
29622013-12-04 Ondřej Bílka <neleai@seznam.cz>
2963
2964 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2965 implementation.
2966 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2967 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2968 * debug/memset_chk.c (__memset_chk): Likewise.
2969 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2970 * debug/strncpy_chk.c: Likewise.
2971
17dea188
JM
29722013-12-03 Joseph Myers <joseph@codesourcery.com>
2973
749008ff
JM
2974 [BZ #15268]
2975 [BZ #15425]
2976 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2977 (__ieee754_exp): For possibly underflowing results, check size of
2978 result and force underflow exception if required.
2979 * math/auto-libm-test-in: Add more tests of exp.
2980 * math/auto-libm-test-out: Regenerated.
2981 * sysdeps/i386/fpu/libm-test-ulps: Update.
2982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2983
17dea188
JM
2984 [BZ #16283]
2985 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2986 * math/w_exp2f.c (__exp2f): Likewise.
2987 * math/w_exp2l.c (__exp2l): Likewise.
2988 * math/auto-libm-test-in: Do not allow missing errno on exp2
2989 underflow.
2990 * math/auto-libm-test-out: Regenerated.
2991
b20de2c3
OB
29922013-12-03 Ondřej Bílka <neleai@seznam.cz>
2993
2994 [BZ #16274]
2995 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2996 handle filename validation.
2997 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2998 (do_open): Delete.
2999
d8e2dbe3
JM
30002013-12-03 Joseph Myers <joseph@codesourcery.com>
3001
34e16df5
JM
3002 [BZ #6786]
3003 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3004 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3005 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3006 <float.h>.
3007 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3008 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3009 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3010 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3011 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3012 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3013 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3014 * math/auto-libm-test-in: Don't allow missing errno from erfc.
3015 Add more erfc tests.
3016 * math/auto-libm-test-out: Regenerated.
3017 * sysdeps/i386/fpu/libm-test-ulps: Update.
3018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3019
d8e2dbe3
JM
3020 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3021 exp2, expm1, j0 and j1.
3022 * math/auto-libm-test-out: Regenerated.
3023 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3024 (erfc_test_data): Likewise.
3025 (exp_test_data): Likewise.
3026 (exp_tonearest_test_data): Likewise.
3027 (exp_towardzero_test_data): Likewise.
3028 (exp_downward_test_data): Likewise.
3029 (exp_upward_test_data): Likewise.
3030 (exp10_test_data): Likewise.
3031 (exp2_test_data): Likewise.
3032 (expm1_test_data): Likewise.
3033 (j0_test_data): Likewise.
3034 (j1_test_data): Likewise.
3035 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3036 (input_flag_type): Add flag_xfail_rounding.
3037 (input_flags): Add xfail-rounding.
3038 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3039 (output_for_one_input_case): Handle flag_xfail_rounding.
3040 * sysdeps/i386/fpu/libm-test-ulps: Update.
3041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3042
18d14251
AJ
30432013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3044
3d2e6075 3045 [BZ #16289]
18d14251
AJ
3046 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3047 division by 0.
3048
520d437b
SP
30492013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3050
3051 [BZ #16195]
3052 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3053 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3054 (STAP_PROBE0): New macro.
3055 (STAP_PROBE1): Likewise.
3056 (STAP_PROBE2): Likewise.
3057 (STAP_PROBE3): Likewise.
3058 (STAP_PROBE4): Likewise.
3059
416e0145
OB
30602013-12-02 Ondřej Bílka <neleai@seznam.cz>
3061
3062 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3063
9d17796a
SE
30642013-12-02 Steve Ellcey <sellcey@mips.com>
3065
3066 * benchtests/Makefile (bench): Add sqrt.
3067 (LDLIBS-bench-sqrt): New.
3068 * benchtests/sqrt-input: New.
3069
f524d6a8
PS
30702013-12-02 Pavel Simerda <psimerda@redhat.com>
3071
639a0ef8
PS
3072 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3073 (GAIH_EAI): Likewise.
3074 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3075 (gaih_inet): Likewise.
3076 (getaddrinfo): Don't use GAIH_EAI.
3077
f524d6a8
PS
3078 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3079 (struct gaih): Remove definition.
3080
df3aedaf
SP
30812013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3082
3083 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3084 Use HERRNOP directly.
3085
1ab19dec
AZ
30862013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3087
b42ad38d 3088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 3089
176b0c79
JM
30902013-11-30 Joseph Myers <joseph@codesourcery.com>
3091
3092 * math/gen-auto-libm-tests.c (test_functions): Add more
3093 single-argument functions.
3094 (special_fill_pi_2): New function.
3095 (special_fill_minus_pi_2): Likewise.
3096 (special_fill_pi_6): Likewise.
3097 (special_fill_minus_pi_6): Likewise.
3098 (special_fill_pi_3): Likewise.
3099 (special_fill_2pi_3): Likewise.
3100 (special_fill_e): Likewise.
3101 (special_fill_1_e): Likewise.
3102 (special_fill_e_minus_1): Likewise.
3103 (special_real_inputs): Add more special inputs.
3104 (output_for_one_input_case): Do not require ERANGE on underflow to
3105 zero if round-to-nearest result does not underflow to zero, unless
3106 exact results required.
3107 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3108 atan, atanh, cbrt, cos and cosh.
3109 * math/auto-libm-test-out: Regenerated.
3110 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3111 (acos_tonearest_test_data): Likewise.
3112 (acos_towardzero_test_data): Likewise.
3113 (acos_downward_test_data): Likewise.
3114 (acos_upward_test_data): Likewise.
3115 (acosh_test_data): Likewise.
3116 (asin_test_data): Likewise.
3117 (asin_tonearest_test_data): Likewise.
3118 (asin_towardzero_test_data): Likewise.
3119 (asin_upward_test_data): Likewise.
3120 (asinh_test_data): Likewise.
3121 (atan_test_data): Likewise.
3122 (atanh_test_data): Likewise.
3123 (cbrt_test_data): Likewise.
3124 (cos_test_data): Likewise.
3125 (cos_tonearest_test_data): Likewise.
3126 (cos_towardzero_test_data): Likewise.
3127 (cos_downward_test_data): Likewise.
3128 (cos_upward_test_data): Likewise.
3129 (cosh_test_data): Likewise.
3130 (cosh_tonearest_test_data): Likewise.
3131 (cosh_towardzero_test_data): Likewise.
3132 (cosh_downward_test_data): Likewise.
3133 (cosh_upward_test_data): Likewise.
3134 * sysdeps/i386/fpu/libm-test-ulps: Update.
3135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3136
ffb536d0
JM
31372013-11-29 Joseph Myers <joseph@codesourcery.com>
3138
2a77a467
JM
3139 [BZ #6787]
3140 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3141 * math/w_exp10f.c (__exp10f): Likewise.
3142 * math/w_exp10l.c (__exp10l): Likewise.
3143 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3144 errno settings in existing tests.
3145
ea3bc4e8
JM
3146 [BZ #14032]
3147 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3148 precision control set to double precision.
3149 * sysdeps/i386/fpu/w_sqrt.c: New file.
3150 * math/auto-libm-test-in: Add more tests.
3151 * math/auto-libm-test-out: Update.
3152
0712c9d8
JM
3153 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3154 (sqrt_test_tonearest): New function.
3155 (sqrt_towardzero_test_data): New variable.
3156 (sqrt_test_towardzero): New function.
3157 (sqrt_downward_test_data): New variable.
3158 (sqrt_test_downward): New function.
3159 (sqrt_upward_test_data): New variable.
3160 (sqrt_test_upward): New function.
3161 (main): Call the new functions.
3162
ffb536d0
JM
3163 * math/gen-auto-libm-tests.c: New file.
3164 * math/auto-libm-test-in: Likewise.
3165 * math/auto-libm-test-out: New generated file.
3166 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3167 variables.
3168 (%beautify): Add generated representations of zero.
3169 (top level): Set $auto_input and call parse_auto_input.
3170 (beautify): Remove trailing "f" from hex float constants.
3171 (parse_args): Handle XFAIL_TEST.
3172 (convert_condition): New function.
3173 (or_value): Likewise.
3174 (or_cond_value): Likewise.
3175 (generate_testfile): Handle AUTO_TESTS_* lines.
3176 (parse_auto_input): New function.
3177 * math/libm-test.inc (XFAIL_TEST): New macro.
3178 (ERRNO_UNCHANGED): Update value.
3179 (ERRNO_EDOM): Likewise.
3180 (ERRNO_ERANGE): Likewise.
3181 (IGNORE_RESULT): Likewise.
3182 (TEST_COND_flt_32): New macro.
3183 (TEST_COND_dbl_64): Likewise.
3184 (TEST_COND_ldbl_96_intel): Likewise.
3185 (TEST_COND_ldbl_96_m68k): Likewise.
3186 (TEST_COND_ldbl_128): Likewise.
3187 (TEST_COND_ldbl_128ibm): Likewise.
3188 (TEST_COND_long32): Likewise.
3189 (TEST_COND_long64): Likewise.
3190 (TEST_COND_before_rounding): Likewise.
3191 (TEST_COND_after_rounding): Likewise.
3192 (enable_test): Handle XFAIL_TEST flag.
3193 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3194 with finite results.
3195 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3196 auto-libm-test-out.
3197
acd98a8e
AK
31982013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3199 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3200
3201 [BZ #16214]
3202 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3203 __tls_get_addr_internal instead of __tls_get_offset in order to
3204 avoid GOT pointer dependency. Make rtld export
3205 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3206 __tls_get_addr since we are a __tls_get_offset platform.
3207 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3208 GOT pointer being set up before.
3209 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3210
3c1c46a6
JM
32112013-11-28 Joseph Myers <joseph@codesourcery.com>
3212
7475aef5
JM
3213 * manual/math.texi (Errors in Math Functions): Document accuracy
3214 goals.
3215
8bca7cd8
JM
3216 [BZ #15004]
3217 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3218 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3219 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3220 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3221 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3222 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3223 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3224 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3225 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3226 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3227 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3228 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3229 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3230 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3231 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3232 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3233
91a1f3fe
JM
3234 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3235 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3236 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3237 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3238 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3239 Likewise.
3240 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3241 Likewise.
3242 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3243 Likewise.
3244 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3245 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3246 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3247 atomic-feupdateenv and flt-rounds.
3248 * sysdeps/powerpc/nofpu/Versions (libc): Add
3249 __atomic_feholdexcept, __atomic_feclearexcept,
3250 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3251 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3252 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3253 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3254 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3255 here.
3256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3257 Update.
3258
c5df7609
JM
3259 * manual/arith.texi (FP Exceptions): Document that exceptions may
3260 not be raised when matherr is used.
3261 (Math Error Reporting): Document overflow in directed rounding
3262 modes. Document that errno may not be set when finite values are
3263 returned on overflow. Document intent to set errno on underflow
3264 only for underflow to zero.
3265
3c1c46a6
JM
3266 [BZ #16271]
3267 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3268 round-to-nearest then adjust result for other rounding modes.
3269 * include/fenv.h (fegetround): Use libm_hidden_proto.
3270 * math/fegetround.c (fegetround): Use libm_hidden_def.
3271 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3272 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3273 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3274 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3275 Likewise.
3276 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3277 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3278 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3279 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3280
5a4c6d53
SP
32812013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3282
3283 [BZ #16077]
3284 * nss/Versions (libnss_files): Add
3285 _nss_files_gethostbyname3_r.
3286 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3287 New function.
3288 (HOST_DB_LOOKUP): Remove macro.
3289 (_nss_files_gethostbyname_r): Implement function without the
3290 HOST_DB_LOOKUP macro.
3291 (_nss_files_gethostbyname2_r): Likewise.
3292
897b98ba
OB
32932013-11-28 Ondřej Bílka <neleai@seznam.cz>
3294
3295 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3296
6f476861
UB
32972013-11-26 Uros Bizjak <ubizjak@gmail.com>
3298
3299 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3300 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3301 warning.
3302
bd12ab55
AZ
33032013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3304
3305 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3306 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3307 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3308 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3309 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3310 __fe_nomask_env_priv and attribute_hidden.
3311 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3312 (libc_feupdateenv_test_ppc): Likewise.
3313 (libc_feresetround_ppc): Likewise.
3314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3315 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3316 compat_symbol macro.
3317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3318 (__fe_nomask_env): Likewise.
3319 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3320
52bb6543
OB
33212013-11-26 Ondřej Bílka <neleai@seznam.cz>
3322
3323 * string/Makefile: Remove ifunc tests.
3324 * string/test-string.h: Define TEST_IFUNC.
3325 * string/test-bcopy-ifunc.c: Remove.
3326 * string/test-bzero-ifunc.c: Likewise.
3327 * string/test-memccpy-ifunc.c: Likewise.
3328 * string/test-memchr-ifunc.c: Likewise.
3329 * string/test-memcmp-ifunc.c: Likewise.
3330 * string/test-memcpy-ifunc.c: Likewise.
3331 * string/test-memmem-ifunc.c: Likewise.
3332 * string/test-memmove-ifunc.c: Likewise.
3333 * string/test-mempcpy-ifunc.c: Likewise.
3334 * string/test-memrchr-ifunc.c: Likewise.
3335 * string/test-memset-ifunc.c: Likewise.
3336 * string/test-rawmemchr-ifunc.c: Likewise.
3337 * string/test-stpcpy-ifunc.c: Likewise.
3338 * string/test-stpncpy-ifunc.c: Likewise.
3339 * string/test-strcasecmp-ifunc.c: Likewise.
3340 * string/test-strcasestr-ifunc.c: Likewise.
3341 * string/test-strcat-ifunc.c: Likewise.
3342 * string/test-strchr-ifunc.c: Likewise.
3343 * string/test-strchrnul-ifunc.c: Likewise.
3344 * string/test-strcmp-ifunc.c: Likewise.
3345 * string/test-strcpy-ifunc.c: Likewise.
3346 * string/test-strcspn-ifunc.c: Likewise.
3347 * string/test-strlen-ifunc.c: Likewise.
3348 * string/test-strncasecmp-ifunc.c: Likewise.
3349 * string/test-strncat-ifunc.c: Likewise.
3350 * string/test-strncmp-ifunc.c: Likewise.
3351 * string/test-strncpy-ifunc.c: Likewise.
3352 * string/test-strnlen-ifunc.c: Likewise.
3353 * string/test-strpbrk-ifunc.c: Likewise.
3354 * string/test-strrchr-ifunc.c: Likewise.
3355 * string/test-strspn-ifunc.c: Likewise.
3356 * string/test-strstr-ifunc.c: Likewise.
3357
ab260039 33582013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
3359
3360 * benchtests/Makefile: Remove ifunc tests.
3361 * benchtests/bench-string.h: Define TEST_IFUNC.
3362 * benchtests/bench-bcopy-ifunc.c: Remove.
3363 * benchtests/bench-bzero-ifunc.c: Likewise.
3364 * benchtests/bench-memccpy-ifunc.c: Likewise.
3365 * benchtests/bench-memchr-ifunc.c: Likewise.
3366 * benchtests/bench-memcmp-ifunc.c: Likewise.
3367 * benchtests/bench-memcpy-ifunc.c: Likewise.
3368 * benchtests/bench-memmem-ifunc.c: Likewise.
3369 * benchtests/bench-memmove-ifunc.c: Likewise.
3370 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3371 * benchtests/bench-memrchr-ifunc.c: Likewise.
3372 * benchtests/bench-memset-ifunc.c: Likewise.
3373 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3374 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3375 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3376 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3377 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3378 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3379 * benchtests/bench-strcat-ifunc.c: Likewise.
3380 * benchtests/bench-strchr-ifunc.c: Likewise.
3381 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3382 * benchtests/bench-strcmp-ifunc.c: Likewise.
3383 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3384 * benchtests/bench-strcpy-ifunc.c: Likewise.
3385 * benchtests/bench-strcspn-ifunc.c: Likewise.
3386 * benchtests/bench-strlen-ifunc.c: Likewise.
3387 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3388 * benchtests/bench-strncat-ifunc.c: Likewise.
3389 * benchtests/bench-strncmp-ifunc.c: Likewise.
3390 * benchtests/bench-strncpy-ifunc.c: Likewise.
3391 * benchtests/bench-strnlen-ifunc.c: Likewise.
3392 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3393 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 3394 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
3395 * benchtests/bench-strspn-ifunc.c: Likewise.
3396 * benchtests/bench-strstr-ifunc.c: Likewise.
3397
33982013-11-26 Ondřej Bílka <neleai@seznam.cz>
3399
ab260039
OB
3400 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3401
d1d9eaf4 34022013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 3403
d1d9eaf4
OB
3404 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3405 * rt/aio.h: Likewise.
3406 * sysdeps/gnu/bits/utmp.h: Likewise.
3407 * sysdeps/gnu/bits/utmpx.h: Likewise.
3408 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3409 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3410 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3411 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3412 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3413 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3414 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3415 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3416 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3417 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3418 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3419 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3420 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3422 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3423 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3424 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3425 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3426 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3427 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3428 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3429 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3430 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3431 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3432 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3433 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3434 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3435 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3436 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3437 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3438 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3439 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3440 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3441 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3442 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3443 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3444 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3445 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3446 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3447 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3448 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3449 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3450
a7624ed9
CD
34512013-11-25 Carlos O'Donell <carlos@redhat.com>
3452
3453 [BZ #16245]
3454 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3455 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3456
63cfe52b
JM
34572013-11-25 Joseph Myers <joseph@codesourcery.com>
3458
3459 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3460 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3461 Likewise.
3462
41e8926a
AZ
34632013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3464
3465 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3466 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3467 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3468 (__fesetround): Remove define.
3469 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3470 rounding and exceptions handling.
3471 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3472 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3473 (__fe_nomask_env): Likewise.
3474 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3475 __fegetround instead of fegetround.
3476 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3477 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3478
6851bd4d
RM
34792013-11-21 Roland McGrath <roland@hack.frob.com>
3480
070906ff
RM
3481 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3482 it's there.
3483
6851bd4d
RM
3484 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3485
84ae135d
MI
34862013-11-21 Meador Inge <meadori@codesourcery.com>
3487
3488 [BZ #11157]
3489 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3490 (encrypt_r): Likewise.
3491 * malloc/obstack.h (obstack_free): Likewise.
3492 * posix/unistd.h (encrypt): Likewise.
3493
daf75146
GM
34942013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3495
3496 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3497 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3498 DL_CALL_DT_FINI() that call the functions directly.
3499 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3500 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3501 * elf/dl-fini.c: Likewise.
3502
10ad46bc
OB
35032013-11-20 Ondřej Bílka <neleai@seznam.cz>
3504
3505 * malloc/hooks.c (memalign_check): Add alignment rounding.
3506 * malloc/malloc.c (_mid_memalign): New function.
3507 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3508 Implement by calling _mid_memalign.
3509 * manual/probes.texi (Memory Allocation Probes): Remove
3510 memory_valloc_retry and memory_pvalloc_retry.
3511
f3fd2628
SP
35122013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3513
4712799f
SP
3514 * locale/programs/locarchive.c (open_archive): Add const
3515 qualifier to ARCHIVEFNAME and copy default fname to
3516 DEFAULT_FNAME.
3517
0417b20f
SP
3518 [BZ #15601]
3519 * libio/tst-widetext.input: Rename Oriya to Odia.
3520 * locale/iso-639.def: Likewise.
3521
f3fd2628
SP
3522 * manual/probes.texi (Mathematical Function Probes): Add
3523 documentation for sin, cos, asin and acos probes.
3524 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3525 (__sin32): Add slowasin probe.
3526 (__cos32): Add slowacos probe.
3527 (__mpsin): Add slowsin probe.
3528 (__mpcos): Add slowcos probe.
3529
73c1ce4f
JM
35302013-11-19 Joseph Myers <joseph@codesourcery.com>
3531
3532 [BZ #15483]
3533 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3534 thread-local __sim_exceptions_thread and global
3535 __sim_exceptions_global.
3536 (__sim_disabled_exceptions): Change to thread-local
3537 __sim_disabled_exceptions_thread and global
3538 __sim_disabled_exceptions_global.
3539 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3540 and global __sim_round_mode_global.
3541 (__simulate_exceptions): Use thread-local floating-point state and
3542 set global state from it as needed.
3543 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3544 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3545 __sim_round_mode_thread.
3546 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3547 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3548 and global __sim_exceptions_global.
3549 (__sim_disabled_exceptions): Change to thread-local
3550 __sim_disabled_exceptions_thread and global
3551 __sim_disabled_exceptions_global.
3552 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3553 and global __sim_round_mode_global.
3554 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3555 (SIM_SET_GLOBAL): Likewise.
3556 * sysdeps/powerpc/soft-fp/sfp-machine.h
3557 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3558 __sim_round_mode_thread.
3559 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3560 __sim_disabled_exceptions_thread.
3561 (__sim_exceptions): Change to __sim_exceptions_thread.
3562 (__sim_disabled_exceptions): Change to
3563 __sim_disabled_exceptions_thread.
3564 (__sim_round_mode): Change to __sim_round_mode_thread.
3565 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3566 thread-local floating-point state and set global state from it as
3567 needed.
3568 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3569 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3570 (__sim_disabled_exceptions): Remove extern declaration.
3571 (feenableexcept): Use thread-local floating-point state and set
3572 global state from it as needed.
3573 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3574 extern declaration.
3575 (__sim_disabled_exceptions): Likewise.
3576 (__sim_round_mode): Likewise.
3577 (__fegetenv): Use thread-local floating-point state.
3578 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3579 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3580 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3581 floating-point state and set global state from it as needed.
3582 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3583 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3584 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3585 Likewise.
3586 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3587 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3588 Likewise.
3589 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3590 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3591 Use __sim_round_mode_thread.
3592 * math/test-fenv-tls.c: New file.
3593 * math/Makefile (tests): Add test-fenv-tls.
3594 ($(objpfx)test-fenv-tls): Depend on
3595 $(common-objpfx)nptl/libpthread.so.
3596
b5449b12
AS
35972013-11-19 Andreas Schwab <schwab@suse.de>
3598
3599 * locale/programs/locale.c (show_info): Decode wordarray elements.
3600 * locale/categories.def (LC_MONETARY): Add element for
3601 _NL_MONETARY_CRNCYSTR.
3602 * locale/C-monetary.c (conversion_rate): New variable.
3603 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3604 element.
3605
e186536b
CM
36062013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3607
3608 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3609 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3610
5c349950
PP
36112013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3612
3613 * elf/Makefile (tst-auxv): New test.
3614 * elf/tst-auxv.c: New
3615 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3616
699df45b
JM
36172013-11-18 Joseph Myers <joseph@codesourcery.com>
3618
3619 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3620 (hidden_proto): Caller changed.
3621 (hidden_tls_proto): New macro.
3622 (libc_hidden_tls_proto): Likewise.
3623 (rtld_hidden_tls_proto): Likewise.
3624 (libm_hidden_tls_proto): Likewise.
3625 (libresolv_hidden_tls_proto): Likewise.
3626 (librt_hidden_tls_proto): Likewise.
3627 (libdl_hidden_tls_proto): Likewise.
3628 (libnss_files_hidden_tls_proto): Likewise.
3629 (libnsl_hidden_tls_proto): Likewise.
3630 (libnss_nisplus_hidden_tls_proto): Likewise.
3631 (libutil_hidden_tls_proto): Likewise.
3632
b7589107
OB
36332013-11-18 Ondřej Bílka <neleai@seznam.cz>
3634
3635 [BZ #10253]
3636 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3637 (decompose_rpath): Defer expansion to fillin_rpath.
3638 (_dl_init_paths): Pass linkmap to fillin_rpath.
3639
250c23bd
RS
36402013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3641
3642 * benchtests/Makefile: Add strsep.
3643 * benchtests/bench-strsep.c: New file: strsep benchtest.
3644 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3645
a7931fcf
AS
36462013-11-18 Andreas Schwab <schwab@suse.de>
3647
3648 * locale/programs/locale.c (show_info) [case byte]: Check for
3649 '\377' instead of '\177'.
3650 * locale/C-monetary.c (not_available): Always use "\377".
3651 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3652 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3653 detect unavailable sign_posn locale elements.
3654 * locale/localeconv.c (__localeconv): For grouping and
3655 mon_grouping handle "\177" and "\377" like no grouping.
3656 (INT_ELEM): New macro. Use it to set all numeric members.
3657 * locale/programs/ld-monetary.c (monetary_read)
3658 <tok_mon_grouping>: Normalize single -1 to the empty string.
3659 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3660 Likewise.
3661
728dab0e
OB
36622013-11-07 Ondřej Bílka <neleai@seznam.cz>
3663
3664 [BZ #16055]
3665 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3666 when we match (nil).
3667 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3668
66294491
JM
36692013-11-16 Joseph Myers <joseph@codesourcery.com>
3670
ce665817
JM
3671 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3672 (NO_TEST_INLINE): Update value.
3673 (ERRNO_UNCHANGED): Likewise.
3674 (ERRNO_EDOM): Likewise.
3675 (ERRNO_ERANGE): Likewise.
3676 (IGNORE_RESULT): Likewise.
3677 (check_float_internal): Check signs of NaN results if
3678 TEST_NAN_SIGN used.
3679 (check_complex): Pass TEST_NAN_SIGN flag through to second
3680 check_float_internal call.
3681 (copysign_test_data): Add tests with quiet NaNs as second
3682 argument. Use TEST_NAN_SIGN.
3683 (fabs_test_data): Add test of negative quiet NaN argument. Use
3684 TEST_NAN_SIGN.
3685 (signbit_test_data): Add tests of quiet NaN argument.
3686 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3687
ee1466a9
JM
3688 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3689 $ignore_result.
3690 (parse_args): Handle function results specified as IGNORE.
3691 * math/libm-test.inc (IGNORE_RESULT): New macro.
3692 (check_float_internal): Do not check numerical result if flag
3693 IGNORE_RESULT set.
3694 (check_complex): Pass through IGNORE_RESULT to second
3695 check_float_internal call.
3696 (check_int): Do not check numerical result if flag IGNORE_RESULT
3697 set.
3698 (check_long): Likewise.
3699 (check_bool): Likewise.
3700 (check_longlong): Likewise.
3701 (lrint_test_data): Add tests of infinite and NaN arguments.
3702 (lrint_tonearest_test_data): Likewise.
3703 (lrint_towardzero_test_data): Likewise.
3704 (lrint_downward_test_data): Likewise.
3705 (lrint_upward_test_data): Likewise.
3706 (llrint_test_data): Likewise.
3707 (llrint_tonearest_test_data): Likewise.
3708 (llrint_towardzero_test_data): Likewise.
3709 (llrint_downward_test_data): Likewise.
3710 (llrint_upward_test_data): Likewise.
3711 (lround_test_data): Likewise.
3712 (llround_test_data): Likewise.
3713
14407b7e
JM
3714 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3715 (ERRNO_UNCHANGED): Update value.
3716 (ERRNO_EDOM): Likewise.
3717 (ERRNO_ERANGE): Likewise.
3718 (NO_TEST_INLINE_FLOAT): New macro.
3719 (NO_TEST_INLINE_DOUBLE): Likewise.
3720 (enable_test): New function.
3721 (RUN_TEST_f_f): Check enable_test before running test.
3722 (RUN_TEST_2_f): Likewise.
3723 (RUN_TEST_fff_f): Likewise.
3724 (RUN_TEST_c_f): Likewise.
3725 (RUN_TEST_f_f1): Likewise.
3726 (RUN_TEST_fF_f1): Likewise.
3727 (RUN_TEST_fI_f1): Likewise.
3728 (RUN_TEST_ffI_f1): Likewise.
3729 (RUN_TEST_c_c): Likewise.
3730 (RUN_TEST_cc_c): Likewise.
3731 (RUN_TEST_f_i): Likewise.
3732 (RUN_TEST_f_i_tg): Likewise.
3733 (RUN_TEST_ff_i_tg): Likewise.
3734 (RUN_TEST_f_b): Likewise.
3735 (RUN_TEST_f_b_tg): Likewise.
3736 (RUN_TEST_f_l): Likewise.
3737 (RUN_TEST_f_L): Likewise.
3738 (RUN_TEST_fFF_11): Likewise.
3739 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3740 conditionals.
3741 (cosh_test_data): Likewise.
3742 (exp_test_data): Likewise.
3743 (expm1_test_data): Likewise.
3744 (hypot_test_data): Likewise.
3745 (pow_test_data): Likewise.
3746 (sinh_test_data): Likewise.
3747 (tanh_test_data): Likewise.
3748 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3749 flags argument.
3750
ca07f197
JM
3751 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3752 tests with quiet NaN input and output.
3753 (acosh_test_data): Likewise.
3754 (asin_test_data): Likewise.
3755 (asinh_test_data): Likewise.
3756 (atan_test_data): Likewise.
3757 (atanh_test_data): Likewise.
3758 (atan2_test_data): Likewise.
3759 (cbrt_test_data): Likewise.
3760 (cos_test_data): Likewise.
3761 (cosh_test_data): Likewise.
3762 (erf_test_data): Likewise.
3763 (erfc_test_data): Likewise.
3764 (exp_test_data): Likewise.
3765 (exp10_test_data): Likewise.
3766 (exp2_test_data): Likewise.
3767 (expm1_test_data): Likewise.
3768 (hypot_test_data): Likewise.
3769 (j0_test_data): Likewise.
3770 (j1_test_data): Likewise.
3771 (jn_test_data): Likewise.
3772 (lgamma_test_data): Likewise.
3773 (log_test_data): Likewise.
3774 (log10_test_data): Likewise.
3775 (log1p_test_data): Likewise.
3776 (log2_test_data): Likewise.
3777 (pow_test_data): Likewise.
3778 (scalb_test_data): Likewise.
3779 (sin_test_data): Likewise.
3780 (sincos_test_data): Likewise.
3781 (sinh_test_data): Likewise.
3782 (tan_test_data): Likewise.
3783 (tanh_test_data): Likewise.
3784 (tgamma_test_data): Likewise.
3785 (y0_test_data): Likewise.
3786 (y1_test_data): Likewise.
3787 (yn_test_data): Likewise.
3788
66294491
JM
3789 [BZ #16167]
3790 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3791 argument being NaN and avoid computations with second argument in
3792 that case.
3793 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3794 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3795 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3796
1820b143
CL
37972013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3798
3799 * locale/iso-639.def: Add Chitwani Tharu (the).
3800
714bd261
AS
38012013-11-14 Andreas Schwab <schwab@suse.de>
3802
3803 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3804 word instead of empty string.
3805
7ab44563
AZ
38062013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3807
3808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3809 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3811 (__fe_nomask_env): Likewise.
3812
e8470ea2
SE
38132013-11-13 Steve Ellcey <sellcey@mips.com>
3814
3815 * benchtests/bench-timing.h: Include time.h.
3816
17c1d9f0
L
38172013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3818
3819 [BZ #15997]
3820 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3821 to 3.4.0 for x32.
3822 * sysdeps/unix/sysv/linux/configure: Regenerated.
3823
9310c284
JM
38242013-11-13 Joseph Myers <joseph@codesourcery.com>
3825
3826 [BZ #16151]
3827 * stdlib/strtod_l.c (round_and_return): Do not consider
3828 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3829 exponent one less than half the least subnormal exponent.
3830 * stdlib/test-strtod-round-data: Add more tests.
3831 * stdlib/tst-strtod-round.c (tests): Regenerated.
3832
7a2ad8cf
AZ
38332013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3834
3835 [BZ #14143]
3836 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3837 (__fe_mask_env): Likewise.
3838 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3839 libm_hidden_proto and add function prototype.
3840 (__fe_mask_env): Add function prototype.
3841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3842 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3844 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3846 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3847
50727aa7
MS
38482013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3849
b2f386c1 3850 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3851 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3852
a615be46
MS
38532013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3854
3855 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3856 of htab_find_slot().
3857
7ddace62
DM
38582013-11-11 David S. Miller <davem@davemloft.net>
3859
3860 [BZ #16150]
3861 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3862 symbol in the non-vis3 case in static builds.
3863 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3864 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3865 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3866 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3867
9182aa67
JK
38682013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3869
3870 [BZ #387]
3871 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3872 it is empty.
3873
450a2e2d
AZ
38742013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3875
b2f386c1
SP
3876 * benchtests/Makefile: Add bench-strtod.
3877 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3878
8ec3f656
AS
38792013-11-11 Andreas Schwab <schwab@suse.de>
3880
3881 [BZ #16153]
3882 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3883 terminating NUL in key length.
3884
76a9b998
AZ
38852013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3886
3887 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3888 Add artificial ODP entry for vDSO symbol for PPC64.
3889 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3890 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3891
e4368156
OB
38922013-11-07 Ondřej Bílka <neleai@seznam.cz>
3893
3894 [BZ #15374]
3895 * nss/getent.c (services_keys): Recognize services starting with digit.
3896
8d6bb57c
DM
38972013-11-06 David S. Miller <davem@davemloft.net>
3898
3899 [BZ #15985]
3900 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3901 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3902
e256c421
WN
39032013-11-06 Will Newton <will.newton@linaro.org>
3904
3905 * manual/memory.texi (Malloc Examples): Remove register
3906 keyword from examples.
3907
f6e12daa 39082013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3909
f6e12daa 3910 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3911
9d880655
AS
39122013-11-04 Joseph Myers <joseph@codesourcery.com>
3913
3914 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3915 depending on [__GCC_IEC_559 > 0].
3916 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3917 depending on [__GCC_IEC_559_COMPLEX > 0].
3918
ae129d3c
CL
39192013-11-03 Chris Leonard <cjl@sugarlabs.org>
3920
3921 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3922 to iso-639.def.
3923
4a15c2a4 39242013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3925
3926 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3927
8b35e35d
OB
39282013-11-01 Ondřej Bílka <neleai@seznam.cz>
3929
3930 [BZ #16112]
3931 * malloc/malloc (malloc_info): Do not handle first bin as
3932 special case.
3933
1d70fd6c
CL
39342013-11-01 Chris Leonard <cjl@sugarlabs.org>
3935
3936 * locale/iso-639.def: Add Central Nahuatl (nhn).
3937
8c5c2600
BH
39382013-11-01 Bruno Haible <bruno@clisp.org>
3939
3940 [BZ #7003]
3941 * manual/math.texi (BSD Random): Specify range upper bound as
3942 in POSIX.
3943
da5579c2
CL
39442013-10-31 Chris Leonard <cjl@sugarlabs.org>
3945
3946 * locale/iso-639.def: Add Meadow Mari (mhr).
3947
5d30d853
OB
39482013-10-31 Ondřej Bílka <neleai@seznam.cz>
3949
3950 [BZ #14752], [BZ #15763]
3951 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3952 Validate name.
3953 * rt/tst_shm.c: Add test for escaping directory.
3954
a4966c61
AS
39552013-10-31 Andreas Schwab <schwab@suse.de>
3956
8a43e768 3957 [BZ #15917]
a4966c61
AS
3958 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3959 followed by 'x' as part of digit sequence.
3960 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3961
28d708c4
MAP
39622013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3963
3964 [BZ #16037]
3965 * configure.ac: allow GNU Make 4.0 and greater.
3966 * configure: Regenerated.
3967
a56ee40b
WN
39682013-10-30 Will Newton <will.newton@linaro.org>
3969
3970 [BZ #16038]
3971 * malloc/hooks.c (memalign_check): Limit alignment to the
3972 maximum representable power of two.
3973 * malloc/malloc.c (__libc_memalign): Likewise.
3974 * malloc/tst-memalign.c (do_test): Add test for very
3975 large alignment values.
3976 * malloc/tst-posix_memalign.c (do_test): Likewise.
3977
c6e4925d
OB
39782013-10-30 Ondřej Bílka <neleai@seznam.cz>
3979
3980 [BZ #11087]
3981 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3982 (munmap_chunk): Likewise.
3983 (mremap_chunk): Likewise.
3984
39852013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3986
8a43e768 3987 [BZ #15799]
bbea82f7
OB
3988 * stdlib/div.c (div): Remove obsolete code.
3989 * stdlib/ldiv.c (ldiv): Likewise.
3990 * stdlib/lldiv.c (lldiv): Likewise.
3991
977f4b31
SP
39922013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3993
3994 [BZ #16071]
3995 * nss/nss_files/files-XXX.c (get_contents_ret): New
3996 enumerator.
3997 (get_contents): New function.
3998 (internal_getent): Use it. Expand size of LINEBUFLEN.
3999
cb8a6dbd
MF
40002013-10-30 Mike Frysinger <vapier@gentoo.org>
4001
4002 * configure.in: Moved to ...
4003 * configure.ac: ... here. Change reference to configure.in
4004 to configure.ac.
4005 * sysdeps/arm/preconfigure.ac: ... here.
4006 configure.in to configure.ac.
4007 * sysdeps/gnu/configure.in: Moved to ...
4008 * sysdeps/gnu/configure.ac: ... here.
4009 * sysdeps/i386/configure.in: Moved to ...
4010 * sysdeps/i386/configure.ac: ... here.
4011 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4012 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4013 * sysdeps/mach/configure.in: Moved to ...
4014 * sysdeps/mach/configure.ac: ... here.
4015 * sysdeps/mach/hurd/configure.in: Moved to ...
4016 * sysdeps/mach/hurd/configure.ac: ... here.
4017 * sysdeps/powerpc/configure.in: Moved to ...
4018 * sysdeps/powerpc/configure.ac: ... here.
4019 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4020 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4021 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4022 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4023 * sysdeps/s390/s390-32/configure.in: Moved to ...
4024 * sysdeps/s390/s390-32/configure.ac: ... here.
4025 * sysdeps/s390/s390-64/configure.in: Moved to ...
4026 * sysdeps/s390/s390-64/configure.ac: ... here.
4027 * sysdeps/sh/configure.in: Moved to ...
4028 * sysdeps/sh/configure.ac: ... here.
4029 * sysdeps/sparc/configure.in: Moved to ...
4030 * sysdeps/sparc/configure.ac: ... here.
4031 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4032 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4033 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4034 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4035 * sysdeps/x86_64/configure.in: Moved to ...
4036 * sysdeps/x86_64/configure.ac: ... here.
4037 * sysdeps/x86_64/preconfigure.in: Moved to ...
4038 * sysdeps/x86_64/preconfigure.ac: ... here.
4039 * aclocal.m4: Change reference to configure.in to configure.ac.
4040 * config.h.in: Likewise.
4041 * manual/install.texi: Likewise.
4042 * manual/maint.texi: Likewise.
4043 * Makefile: Likewise.
4044 * malloc/Makefile: Likewise.
4045 * nscd/Makefile: Likewise.
4046 * Makeconfig: Change reference to configure.in and
4047 preconfigure.in to configure.ac and preconfigure.ac
4048 respectively.
4049 * INSTALL: Regenerated.
4050 * configure: Likewise.
4051 * sysdeps/gnu/configure: Likewise.
4052 * sysdeps/i386/configure: Likewise.
4053 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4054 * sysdeps/mach/configure: Likewise.
4055 * sysdeps/mach/hurd/configure: Likewise.
4056 * sysdeps/powerpc/configure: Likewise.
4057 * sysdeps/powerpc/powerpc32/configure: Likewise.
4058 * sysdeps/powerpc/powerpc64/configure: Likewise.
4059 * sysdeps/s390/s390-32/configure: Likewise.
4060 * sysdeps/s390/s390-64/configure: Likewise.
4061 * sysdeps/sh/configure: Likewise.
4062 * sysdeps/sparc/configure: Likewise.
4063 * sysdeps/unix/sysv/linux/configure: Likewise.
4064 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4065 * sysdeps/x86_64/configure: Likewise.
4066 * sysdeps/x86_64/preconfigure: Likewise.
4067
36a4953a
AS
40682013-10-29 Andreas Schwab <schwab@suse.de>
4069
4070 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4071
c79a1204
SP
40722013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4073
dfa1b402
SP
4074 * benchtests/pow-inputs: Add new inputs.
4075
54f73d9c
SP
4076 * benchtests/exp-inputs: Add new inputs.
4077
c79a1204
SP
4078 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4079 conditional check for return value.
4080 (__cos32): Likewise.
4081
67beb545 40822013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
4083
4084 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4085 to provide a boost for large inputs with word alignment.
4086 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4087 implementation based on optimized PPC64 strcpy.
4088 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4089 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4090 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4091 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4092
151659f6
OB
40932013-10-25 Ondřej Bílka <neleai@seznam.cz>
4094
482a077e 4095 [BZ #2801]
151659f6
OB
4096 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4097
10b0f26b
OB
40982013-10-25 Ondřej Bílka <neleai@seznam.cz>
4099
4100 [BZ #14876]
4101 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4102 * time/tst-strptime.c (day_tests): Add testcase.
4103
ca42d35e
OB
41042013-10-25 Ondřej Bílka <neleai@seznam.cz>
4105
482a077e 4106 [BZ #14029]
ca42d35e
OB
4107 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4108
52e6d801
FB
41092013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4110
4111 [BZ #16074]
4112 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4113 MAP_FAILED on error.
4114
7cbcdb36
SP
41152013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4116
4117 [BZ #16072]
4118 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4119 heap for large requests.
4120
894f3f10
AM
41212013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4122
4123 [BZ #9954]
4124 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4125 result if the result has no associated interface.
4126 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4127 interface for all 127.X.Y.Z addresses.
4128
b85545a6
CL
41292013-10-24 Chris Leonard <cjl@sugarlabs.org>
4130
4131 * locale/iso-639.def: Add Ligurian (lij)
4132
d1f23d46
OB
41332013-10-21 Ondřej Bílka <neleai@seznam.cz>
4134
4135 [BZ #15825]
4136 * sunrpc/rpc_main.c: Document rpcgen -5.
4137
4db5b08f
MS
41382013-10-19 Michael Stahl <mstahl@redhat.com>
4139
4140 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4141
a471e96a
OB
41422013-10-19 Ondřej Bílka <neleai@seznam.cz>
4143
d1f23d46 4144 [BZ #10278]
a471e96a
OB
4145 * posix/glob.c: Match only directories when trailing slash is present.
4146 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4147 (main): Add testcase.
4148
45c30c61
OB
41492013-10-19 Ondřej Bílka <neleai@seznam.cz>
4150
4151 [BZ #15670]
4152 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4153
484c12fb
CD
41542013-10-18 Carlos O'Donell <carlos@redhat.com>
4155
3d7dc513
CD
4156 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4157 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4158 AUTH_DES and cindex for FIPS 140-2.
4159 (DES Encryption): Add cindex FIPS 46-3.
4160
484c12fb
CD
4161 * locale/locarchive.h (struct locarhandle): Add fname.
4162 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4163 if an optional argument was specified to --list-archive,
4164 otherwise NULL.
4165 * locale/programs/locarchive.c (show_archive_content): Take new
4166 argument fname and pass it via ah.fname to open_archive.
4167 * locale/programs/localedef.h: Update decl.
4168 (open_archive): If AH->fname is non-null, open that file
4169 rather than the default file name, and don't ignore ENOENT.
4170 (create_archive): Set AH.fname to NULL.
4171 (delete_locales_from_archive): Likewise.
4172 (add_locales_to_archive): Likewise.
4173 * locale/programs/locfile.c (write_all_categories): Likewise.
4174
3c8325fb
JM
41752013-10-18 Joseph Myers <joseph@codesourcery.com>
4176 Aldy Hernandez <aldyh@redhat.com>
4177
4178 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4179 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4180 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4181 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4182 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4183 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4184 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4185 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4186 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4187 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4188 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4189 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4190 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4191 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4192 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4193 Likewise.
4194 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4195 Likewise.
4196 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4197 Likewise.
4198 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4199 Likewise.
4200 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4201 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4202 Likewise.
4203 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4204 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4205 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4206 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4207 Likewise.
4208 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4209 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4210 * sysdeps/powerpc/preconfigure: Likewise.
4211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4212 Likewise.
4213 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4214 Replace contents of file by #include of <fenv_libc.h>.
4215 * sysdeps/powerpc/soft-fp/sfp-machine.h
4216 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4217 and <sys/prctl.h>.
4218 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4219 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4220 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4221 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4222 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4223 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4224 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4225 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4226 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4227 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4228 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4229 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4231 Allow copysignl PLT reference to be missing.
4232
5abe0682
RS
42332013-10-18 Richard Sandiford <richard@codesourcery.com>
4234 Joseph Myers <joseph@codesourcery.com
4235
4236 [BZ #15948]
4237 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4238 single character.
4239 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4240
c7738d08
SP
42412013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4242
4243 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4244 * elf/tst-tls1.c: Likewise.
4245 * elf/tst-tls10.h: Likewise.
4246 * elf/tst-tls14.c: Likewise.
4247 * elf/tst-tls2.c: Likewise.
4248 * elf/tst-tls3.c: Likewise.
4249 * elf/tst-tls4.c: Likewise.
4250 * elf/tst-tls5.c: Likewise.
4251 * elf/tst-tls6.c: Likewise.
4252 * elf/tst-tls7.c: Likewise.
4253 * elf/tst-tls8.c: Likewise.
4254 * elf/tst-tls9.c: Likewise.
4255 * elf/tst-tlsmod1.c: Likewise.
4256 * elf/tst-tlsmod13.c: Likewise.
4257 * elf/tst-tlsmod13a.c: Likewise.
4258 * elf/tst-tlsmod14a.c: Likewise.
4259 * elf/tst-tlsmod16a.c: Likewise.
4260 * elf/tst-tlsmod16b.c: Likewise.
4261 * elf/tst-tlsmod2.c: Likewise.
4262 * elf/tst-tlsmod3.c: Likewise.
4263 * elf/tst-tlsmod4.c: Likewise.
4264 * elf/tst-tlsmod5.c: Likewise.
4265 * elf/tst-tlsmod6.c: Likewise.
4266
0bfcf2c7
OB
42672013-10-18 Ondřej Bílka <neleai@seznam.cz>
4268
4269 [BZ #12486]
4270 * malloc/malloc.c: remove checks for statistics.
4271
264aad1e
OB
42722013-10-17 Ondřej Bílka <neleai@seznam.cz>
4273
4274 [BZ #15277]
4275 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4276 * inet/tst-network.c: Add testcase.
4277
b957ced8
AS
42782013-10-17 Andreas Schwab <schwab@suse.de>
4279
4280 [BZ #15218]
4281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4282 to determine canonical name.
4283
c5d5d574
OB
42842013-10-17 Ondřej Bílka <neleai@seznam.cz>
4285
4286 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4287 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4288 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4289 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4290 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4291 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4292 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4293 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4294 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4295 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4296 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4297 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4298 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4299 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4300 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4301 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4302 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4303 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4304 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4305 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4306 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4307 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4308 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4309 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4310 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4311 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4312 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4313 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4314 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4315 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4316 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4317 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4318 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4319 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4320 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4321 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4322 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4323 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4324 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4325 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4326 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4327 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4328 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4329 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4330 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4331 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4332 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4333 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4334 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4335 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4336 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4337 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4338 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4339 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4340 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4341 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4342 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4343 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4344
e5c2c2d0
JM
43452013-10-17 Joseph Myers <joseph@codesourcery.com>
4346
4347 [BZ #16041]
4348 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4349 make result into a quiet NaN.
4350
51ca9e29
JM
43512013-10-16 Joseph Myers <joseph@codesourcery.com>
4352
4353 * soft-fp/adddf3.c: Fix horizontal whitespace.
4354 * soft-fp/addsf3.c: Likewise.
4355 * soft-fp/addtf3.c: Likewise.
4356 * soft-fp/divdf3.c: Likewise.
4357 * soft-fp/divsf3.c: Likewise.
4358 * soft-fp/divtf3.c: Likewise.
4359 * soft-fp/double.h: Likewise.
4360 * soft-fp/eqdf2.c: Likewise.
4361 * soft-fp/eqsf2.c: Likewise.
4362 * soft-fp/eqtf2.c: Likewise.
4363 * soft-fp/extenddftf2.c: Likewise.
4364 * soft-fp/extended.h: Likewise.
4365 * soft-fp/extendsfdf2.c: Likewise.
4366 * soft-fp/extendsftf2.c: Likewise.
4367 * soft-fp/extendxftf2.c: Likewise.
4368 * soft-fp/fixdfdi.c: Likewise.
4369 * soft-fp/fixdfsi.c: Likewise.
4370 * soft-fp/fixdfti.c: Likewise.
4371 * soft-fp/fixsfdi.c: Likewise.
4372 * soft-fp/fixsfsi.c: Likewise.
4373 * soft-fp/fixsfti.c: Likewise.
4374 * soft-fp/fixtfdi.c: Likewise.
4375 * soft-fp/fixtfsi.c: Likewise.
4376 * soft-fp/fixtfti.c: Likewise.
4377 * soft-fp/fixunsdfdi.c: Likewise.
4378 * soft-fp/fixunsdfsi.c: Likewise.
4379 * soft-fp/fixunsdfti.c: Likewise.
4380 * soft-fp/fixunssfdi.c: Likewise.
4381 * soft-fp/fixunssfsi.c: Likewise.
4382 * soft-fp/fixunssfti.c: Likewise.
4383 * soft-fp/fixunstfdi.c: Likewise.
4384 * soft-fp/fixunstfsi.c: Likewise.
4385 * soft-fp/fixunstfti.c: Likewise.
4386 * soft-fp/floatdidf.c: Likewise.
4387 * soft-fp/floatdisf.c: Likewise.
4388 * soft-fp/floatditf.c: Likewise.
4389 * soft-fp/floatsidf.c: Likewise.
4390 * soft-fp/floatsisf.c: Likewise.
4391 * soft-fp/floatsitf.c: Likewise.
4392 * soft-fp/floattidf.c: Likewise.
4393 * soft-fp/floattisf.c: Likewise.
4394 * soft-fp/floattitf.c: Likewise.
4395 * soft-fp/floatundidf.c: Likewise.
4396 * soft-fp/floatundisf.c: Likewise.
4397 * soft-fp/floatunditf.c: Likewise.
4398 * soft-fp/floatunsidf.c: Likewise.
4399 * soft-fp/floatunsisf.c: Likewise.
4400 * soft-fp/floatunsitf.c: Likewise.
4401 * soft-fp/floatuntidf.c: Likewise.
4402 * soft-fp/floatuntisf.c: Likewise.
4403 * soft-fp/floatuntitf.c: Likewise.
4404 * soft-fp/fmadf4.c: Likewise.
4405 * soft-fp/fmasf4.c: Likewise.
4406 * soft-fp/fmatf4.c: Likewise.
4407 * soft-fp/gedf2.c: Likewise.
4408 * soft-fp/gesf2.c: Likewise.
4409 * soft-fp/getf2.c: Likewise.
4410 * soft-fp/ledf2.c: Likewise.
4411 * soft-fp/lesf2.c: Likewise.
4412 * soft-fp/letf2.c: Likewise.
4413 * soft-fp/muldf3.c: Likewise.
4414 * soft-fp/mulsf3.c: Likewise.
4415 * soft-fp/multf3.c: Likewise.
4416 * soft-fp/negdf2.c: Likewise.
4417 * soft-fp/negsf2.c: Likewise.
4418 * soft-fp/negtf2.c: Likewise.
4419 * soft-fp/op-1.h: Likewise.
4420 * soft-fp/op-2.h: Likewise.
4421 * soft-fp/op-4.h: Likewise.
4422 * soft-fp/op-8.h: Likewise.
4423 * soft-fp/op-common.h: Likewise.
4424 * soft-fp/quad.h: Likewise.
4425 * soft-fp/single.h: Likewise.
4426 * soft-fp/soft-fp.h: Likewise.
4427 * soft-fp/sqrtdf2.c: Likewise.
4428 * soft-fp/sqrtsf2.c: Likewise.
4429 * soft-fp/sqrttf2.c: Likewise.
4430 * soft-fp/subdf3.c: Likewise.
4431 * soft-fp/subsf3.c: Likewise.
4432 * soft-fp/subtf3.c: Likewise.
4433 * soft-fp/truncdfsf2.c: Likewise.
4434 * soft-fp/trunctfdf2.c: Likewise.
4435 * soft-fp/trunctfsf2.c: Likewise.
4436 * soft-fp/trunctfxf2.c: Likewise.
4437 * soft-fp/unorddf2.c: Likewise.
4438 * soft-fp/unordsf2.c: Likewise.
4439 * soft-fp/unordtf2.c: Likewise.
4440
9ebb0332
JM
44412013-10-15 Joseph Myers <joseph@codesourcery.com>
4442
4443 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4444 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4445
4b1a6d8b
OB
44462013-10-15 Ondřej Bílka <neleai@seznam.cz>
4447
4448 * elf/dl-libc.c: Clear initfini list after freeing.
4449
1e145589
JM
44502013-10-14 Joseph Myers <joseph@codesourcery.com>
4451
4452 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4453 * soft-fp/addsf3.c: Likewise.
4454 * soft-fp/addtf3.c: Likewise.
4455 * soft-fp/divdf3.c: Likewise.
4456 * soft-fp/divsf3.c: Likewise.
4457 * soft-fp/divtf3.c: Likewise.
4458 * soft-fp/double.h: Likewise.
4459 * soft-fp/eqdf2.c: Likewise.
4460 * soft-fp/eqsf2.c: Likewise.
4461 * soft-fp/eqtf2.c: Likewise.
4462 * soft-fp/extenddftf2.c: Likewise.
4463 * soft-fp/extended.h: Likewise.
4464 * soft-fp/extendsfdf2.c: Likewise.
4465 * soft-fp/extendsftf2.c: Likewise.
4466 * soft-fp/extendxftf2.c: Likewise.
4467 * soft-fp/fixdfdi.c: Likewise.
4468 * soft-fp/fixdfsi.c: Likewise.
4469 * soft-fp/fixdfti.c: Likewise.
4470 * soft-fp/fixsfdi.c: Likewise.
4471 * soft-fp/fixsfsi.c: Likewise.
4472 * soft-fp/fixsfti.c: Likewise.
4473 * soft-fp/fixtfdi.c: Likewise.
4474 * soft-fp/fixtfsi.c: Likewise.
4475 * soft-fp/fixtfti.c: Likewise.
4476 * soft-fp/fixunsdfdi.c: Likewise.
4477 * soft-fp/fixunsdfsi.c: Likewise.
4478 * soft-fp/fixunsdfti.c: Likewise.
4479 * soft-fp/fixunssfdi.c: Likewise.
4480 * soft-fp/fixunssfsi.c: Likewise.
4481 * soft-fp/fixunssfti.c: Likewise.
4482 * soft-fp/fixunstfdi.c: Likewise.
4483 * soft-fp/fixunstfsi.c: Likewise.
4484 * soft-fp/fixunstfti.c: Likewise.
4485 * soft-fp/floatdidf.c: Likewise.
4486 * soft-fp/floatdisf.c: Likewise.
4487 * soft-fp/floatditf.c: Likewise.
4488 * soft-fp/floatsidf.c: Likewise.
4489 * soft-fp/floatsisf.c: Likewise.
4490 * soft-fp/floatsitf.c: Likewise.
4491 * soft-fp/floattidf.c: Likewise.
4492 * soft-fp/floattisf.c: Likewise.
4493 * soft-fp/floattitf.c: Likewise.
4494 * soft-fp/floatundidf.c: Likewise.
4495 * soft-fp/floatundisf.c: Likewise.
4496 * soft-fp/floatunsidf.c: Likewise.
4497 * soft-fp/floatunsisf.c: Likewise.
4498 * soft-fp/floatuntidf.c: Likewise.
4499 * soft-fp/floatuntisf.c: Likewise.
4500 * soft-fp/floatuntitf.c: Likewise.
4501 * soft-fp/fmadf4.c: Likewise.
4502 * soft-fp/fmasf4.c: Likewise.
4503 * soft-fp/fmatf4.c: Likewise.
4504 * soft-fp/gedf2.c: Likewise.
4505 * soft-fp/gesf2.c: Likewise.
4506 * soft-fp/getf2.c: Likewise.
4507 * soft-fp/ledf2.c: Likewise.
4508 * soft-fp/lesf2.c: Likewise.
4509 * soft-fp/letf2.c: Likewise.
4510 * soft-fp/muldf3.c: Likewise.
4511 * soft-fp/mulsf3.c: Likewise.
4512 * soft-fp/multf3.c: Likewise.
4513 * soft-fp/negdf2.c: Likewise.
4514 * soft-fp/negsf2.c: Likewise.
4515 * soft-fp/negtf2.c: Likewise.
4516 * soft-fp/op-1.h: Likewise.
4517 * soft-fp/op-2.h: Likewise.
4518 * soft-fp/op-4.h: Likewise.
4519 * soft-fp/op-8.h: Likewise.
4520 * soft-fp/op-common.h: Likewise.
4521 * soft-fp/quad.h: Likewise.
4522 * soft-fp/single.h: Likewise.
4523 * soft-fp/soft-fp.h: Likewise.
4524 * soft-fp/sqrtdf2.c: Likewise.
4525 * soft-fp/sqrtsf2.c: Likewise.
4526 * soft-fp/sqrttf2.c: Likewise.
4527 * soft-fp/subdf3.c: Likewise.
4528 * soft-fp/subsf3.c: Likewise.
4529 * soft-fp/subtf3.c: Likewise.
4530 * soft-fp/truncdfsf2.c: Likewise.
4531 * soft-fp/trunctfdf2.c: Likewise.
4532 * soft-fp/trunctfsf2.c: Likewise.
4533 * soft-fp/trunctfxf2.c: Likewise.
4534 * soft-fp/unorddf2.c: Likewise.
4535 * soft-fp/unordsf2.c: Likewise.
4536 * soft-fp/unordtf2.c: Likewise.
4537
17c48a60
OB
45382013-10-14 Ondřej Bílka <neleai@seznam.cz>
4539
4540 [BZ #15672]
4541 * misc/error.c (error_tail): Fix possible buffer overflow.
4542
cabba934
OB
45432013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4544
4545 [BZ #13028]
4546 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4547 address.
4548
94bf958a
PM
45492013-10-14 P. J. McDermott <pj@pehjota.net>
4550
4551 [BZ #832]
4552 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4553 testing pipefail option.
4554
71b4dea7
JM
45552013-10-12 Joseph Myers <joseph@codesourcery.com>
4556
4557 * soft-fp/double.h: Indent preprocessor directives inside #if.
4558 * soft-fp/extended.h: Likewise.
4559 * soft-fp/op-2.h: Likewise.
4560 * soft-fp/op-4.h: Likewise.
4561 * soft-fp/op-common.h: Likewise.
4562 * soft-fp/quad.h: Likewise.
4563 * soft-fp/single.h: Likewise.
4564 * soft-fp/soft-fp.h: Likewise.
4565
55602758
YC
45662013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4567
4568 * iconv/iconv_prog.c: Fix typos.
4569 * stdio-common/psiginfo-data.h: Likewise.
4570
9cd83302
RT
45712013-10-12 Reuben Thomas <rrt@sc3d.org>
4572
4573 [BZ #15764]
4574 * locale/setlocale.c: Fix typo.
4575
99fd9f47
JM
45762013-10-12 Joseph Myers <joseph@codesourcery.com>
4577
b7ea74f0
JM
4578 [BZ #16036]
4579 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4580 signaling NaN arguments.
4581 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4582 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4583
8a509447
JM
4584 [BZ #14910]
4585 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4586 unordered operands.
4587 * soft-fp/gesf2.c (__gesf2): Likewise.
4588 * soft-fp/getf2.c (__getf2): Likewise.
4589 * soft-fp/ledf2.c (__ledf2): Likewise.
4590 * soft-fp/lesf2.c (__lesf2): Likewise.
4591 * soft-fp/letf2.c (__letf2): Likewise.
4592
98998e9f
JM
4593 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4594 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4595 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4596 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4597 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4598 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4599 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4600 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4601 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4602 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4603 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4604 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4605 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4606 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4607 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4608 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4609 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4610 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4611 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4612 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4613 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4614 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4615 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4616 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4617 * soft-fp/floattidf.c (__floattidf): Likewise.
4618 * soft-fp/floattisf.c (__floattisf): Likewise.
4619 * soft-fp/floattitf.c (__floattitf): Likewise.
4620 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4621 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4622 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4623 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4624 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4625 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4626 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4627 * soft-fp/gesf2.c (__gesf2): Likewise.
4628 * soft-fp/getf2.c (__getf2): Likewise.
4629 * soft-fp/ledf2.c (__ledf2): Likewise.
4630 * soft-fp/lesf2.c (__lesf2): Likewise.
4631 * soft-fp/letf2.c (__letf2): Likewise.
4632
8edc4a11
JM
4633 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4634 Undefine and redefine.
4635 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4636 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4637 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4638 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4639 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4640 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4641 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4642 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4643 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4644 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4645 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4646 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4647 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4648 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4649 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4650
8399acaf
JM
4651 [BZ #16032]
4652 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4653 without decrementing exponent if mantissa >= that for the
4654 denominator, not >.
4655 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4656 denominator, not >. Decrement exponent in < case instead of
4657 incrementing in >= case.
4658 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4659 without decrementing exponent if mantissa >= that for the
4660 denominator, not >.
4661
99fd9f47
JM
4662 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4663 computing saturated result for unsigned overflow.
4664
10e1cf6b
SP
46652013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4666 Jeff Law <law@redhat.com>
4667
4668 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4669 (atan2Mp): Add systemtap probe marker.
4670 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4671 (__ieee754_log): Add systemtap probe marker.
4672 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4673 (atanMp): Add systemtap probe marker.
4674 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4675 (tanMp): Add systemtap probe marker.
4676 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4677 (__slowexp): Add systemtap probe marker.
4678 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4679 (__slowpow): Add systemtap probe marker.
4680 * manual/probes.texi: Document probes.
4681
3d110c7c
EB
46822013-10-11 Eric Biggers <ebiggers3@gmail.com>
4683
4684 [BZ #15362]
4685 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4686 written.
4687 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4688 written.
4689 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4690 written to buffer but not flushed.
4691 * libio/iofwrite_u.c: Likewise.
4692 * libio/iopadn.c: Return bytes returned even if EOF was
4693 encountered.
4694 * libio/iowpadn.c: Likewise.
4695 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4696 if _IO_padn does not write the whole buffer.
4697 [!COMPILE_WPRINTF] (PAD): Likewise.
4698
75b4202a
DM
46992013-10-10 David S. Miller <davem@davemloft.net>
4700
4701 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4702 directory block.
4703
6c6352e6
JM
47042013-10-10 Joseph Myers <joseph@codesourcery.com>
4705
33b853c3
JM
4706 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4707 instead of FSF address.
4708 * soft-fp/fixdfti.c: Likewise.
4709 * soft-fp/fixsfti.c: Likewise.
4710 * soft-fp/fixtfti.c: Likewise.
4711 * soft-fp/fixunsdfti.c: Likewise.
4712 * soft-fp/fixunssfti.c: Likewise.
4713 * soft-fp/fixunstfti.c: Likewise.
4714 * soft-fp/floattidf.c: Likewise.
4715 * soft-fp/floattisf.c: Likewise.
4716 * soft-fp/floattitf.c: Likewise.
4717 * soft-fp/floatuntidf.c: Likewise.
4718 * soft-fp/floatuntisf.c: Likewise.
4719 * soft-fp/floatuntitf.c: Likewise.
4720 * soft-fp/trunctfxf2.c: Likewise.
4721
6c6352e6
JM
4722 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4723 * soft-fp/fixdfti.c: Likewise.
4724 * soft-fp/fixsfti.c: Likewise.
4725 * soft-fp/fixtfti.c: Likewise.
4726 * soft-fp/fixunsdfti.c: Likewise.
4727 * soft-fp/fixunssfti.c: Likewise.
4728 * soft-fp/fixunstfti.c: Likewise.
4729 * soft-fp/floattidf.c: Likewise.
4730 * soft-fp/floattisf.c: Likewise.
4731 * soft-fp/floattitf.c: Likewise.
4732 * soft-fp/floatuntidf.c: Likewise.
4733 * soft-fp/floatuntisf.c: Likewise.
4734 * soft-fp/floatuntitf.c: Likewise.
4735 * soft-fp/trunctfxf2.c: Likewise.
4736
3bf78b71
DM
47372013-10-10 David S. Miller <davem@davemloft.net>
4738
4739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4740
6f10289e
JM
47412013-10-10 Joseph Myers <joseph@codsourcery.com>
4742
bd878fc0
JM
4743 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4744 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4745 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4746 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4747 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4748 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4749 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4750
6f10289e
JM
4751 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4752 for NaNs before doing comparisons on argument.
4753 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4754 Likewise.
4755
321e2684
WN
47562013-10-10 Will Newton <will.newton@linaro.org>
4757
4758 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4759 passed to _int_memalign does not overflow.
4760
40fefba1
TR
47612013-10-10 Torvald Riegel <triegel@redhat.com>
4762
4763 * scripts/bench.pl: Add include-sources directive.
4764 * benchtests/README: Update documentation.
4765
2ae21ed2
JM
47662013-10-10 Joseph Myers <joseph@codesourcery.com>
4767
dcc2dd3f
JM
4768 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4769 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4770 instead of FP_INIT_ROUNDMODE.
4771 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4772 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4773
2ae21ed2
JM
4774 [BZ #16034]
4775 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4776 copy class of input value.
4777 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4778 not handle exceptions.
4779 * soft-fp/negsf2.c (__negsf2): Likewise.
4780 * soft-fp/negtf2.c (__negtf2): Likewise.
4781 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4782
cb8f9562
JM
47832013-10-09 Joseph Myers <joseph@codesourcery.com>
4784
4785 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4786 semicolon. From Linux kernel.
4787
5b60c59d
AB
47882013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4789
4790 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4791
b86835ca
YC
47922013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4793
4794 [BZ #156]
4795 * manual/socket.texi: Added statement about buffer
4796 for gethostbyname2_r.
4797
e7044ea7
OB
47982013-10-08 Ondřej Bílka <neleai@seznam.cz>
4799
4800 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4801 Use .p2align directive instead, throughout.
4802 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4803 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4804 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4805 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4806 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4807 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4808 * sysdeps/x86_64/strchr.S: Likewise.
4809 * sysdeps/x86_64/strrchr.S: Likewise.
4810
09544cbc
SP
48112013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4812
88576635
SP
4813 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4814
e7b2d1dd
SP
4815 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4816
09544cbc
SP
4817 * sysdeps/generic/math_private.h (__mpsin1): Remove
4818 declaration.
4819 (__mpcos1): Likewise.
4820 (__mpsin): New argument __range_reduce.
4821 (__mpcos): Likewise.
4822 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4823 (slow): Use __mpsin and __mpcos.
4824 (slow1): Likewise.
4825 (slow2): Likewise.
4826 (sloww): Likewise.
4827 (sloww1): Likewise.
4828 (sloww2): Likewise.
4829 (bsloww): Likewise.
4830 (bsloww1): Likewise.
4831 (bsloww2): Likewise.
4832 (cslow2): Likewise.
4833 (csloww): Likewise.
4834 (csloww1): Likewise.
4835 (csloww2): Likewise.
4836 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4837 range_reduce. Merge in __mpsin1.
4838 (__mpcos): Likewise.
4839 (__mpsin1): Remove.
4840 (__mpcos1): Likewise.
4841
7602d070
JM
48422013-10-07 Joseph Myers <joseph@codesourcery.com>
4843
4844 * locale/loadlocale.c (_nl_intern_locale_data): Use
4845 LOCFILE_ALIGNED_P.
4846 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4847 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4848 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4849 obstack data is appropriately aligned.
4850 (obstack_int32_grow_fast): Likewise.
4851 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4852 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4853 (add_locale_uint32_array): Likewise.
4854
a357259b
SP
48552013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4856
4857 * benchtests/Makefile: Remove ARGLIST and RET variables.
4858 ($(objpfx)bench-%.c): Pass only function name to the script.
4859 * benchtests/README: Update documentation.
4860 * benchtests/acos-inputs: Add new directives.
4861 * benchtests/acosh-inputs: Likewise.
4862 * benchtests/asin-inputs: Likewise.
4863 * benchtests/asinh-inputs: Likewise.
4864 * benchtests/atan-inputs: Likewise.
4865 * benchtests/atanh-inputs: Likewise.
4866 * benchtests/cos-inputs: Likewise.
4867 * benchtests/cosh-inputs: Likewise.
4868 * benchtests/exp-inputs: Likewise.
4869 * benchtests/log-inputs: Likewise.
4870 * benchtests/pow-inputs: Likewise.
4871 * benchtests/rint-inputs: Likewise.
4872 * benchtests/sin-inputs: Likewise.
4873 * benchtests/sinh-inputs: Likewise.
4874 * benchtests/tan-inputs: Likewise.
4875 * benchtests/tanh-inputs: Likewise.
4876 * scripts/bench.pl: Add support for new directives.
4877
9ec1b13d
AM
48782013-10-07 Alan Modra <amodra@gmail.com>
4879
4880 * README: Fix careless merge.
4881
8b7d57cd
AM
48822013-10-05 Alan Modra <amodra@gmail.com>
4883
4884 * NEWS: Mention powerpc64le support and bugs fixed.
4885 * README: Both big-endian and little-endian powerpc64 supported.
4886
7b7bab13
ST
48872013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4888
4889 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4890 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4891 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4892 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4893
d39baad1
RA
48942013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4895
4896 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4897 match prototype.
4898
cd78f7e7
JM
48992013-10-04 Joseph Myers <joseph@codesourcery.com>
4900
29d73d86
JM
4901 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4902 Move -mhard-float appending from
4903 ports/sysdeps/powerpc/powerpc32/Makefile.
4904 [$(with-fp) = yes] (ASFLAGS): Likewise.
4905 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4906 * sysdeps/powerpc/nofpu: Move directory from
4907 ports/sysdeps/powerpc/nofpu.
4908 * sysdeps/powerpc/soft-fp: Move directory from
4909 ports/sysdeps/powerpc/soft-fp.
4910 * sysdeps/powerpc/powerpc32/405: Move directory from
4911 ports/sysdeps/powerpc/powerpc32/405.
4912 * sysdeps/powerpc/powerpc32/440: Move directory from
4913 ports/sysdeps/powerpc/powerpc32/440.
4914 * sysdeps/powerpc/powerpc32/464: Move directory from
4915 ports/sysdeps/powerpc/powerpc32/464.
4916 * sysdeps/powerpc/powerpc32/476: Move directory from
4917 ports/sysdeps/powerpc/powerpc32/476.
4918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4919 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4921 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4923 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4925 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4927 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4928 * README: Update for powerpc-*-linux-gnu software floating point
4929 support in libc.
4930
e246b347
JM
4931 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4932 case to powerpc/powerpc32*.
4933 * sysdeps/unix/sysv/linux/configure: Regenerated.
4934
89c2003e
JM
4935 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4936 (_FPU_MASK_OM): Define as 0x04.
4937 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4938 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4939 0x00c10080.
4940 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4941 0x0000003c.
4942 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4943
cd78f7e7
JM
4944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4945 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4946 getcontext_e500.
4947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4948 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4949 setcontext_e500.
4950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4951 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4952 and setcontext_e500.
4953
c755294d
CL
49542013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4955
4956 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4957
e16d221c
SP
49582013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4959
4960 * manual/threads.texi (Default Thread Attributes): Fix typo.
4961
215c7d43
WN
49622013-10-04 Will Newton <will.newton@linaro.org>
4963
4964 * malloc/Makefile: Add tst-memalign.
4965 * malloc/tst-memalign.c: New file.
4966
27d0461b
WN
4967 * malloc/tst-posix_memalign.c: Add comments.
4968 (do_test): Add comments and call free on all potentially
4969 allocated pointers. Add space after cast.
4970
1bc92709
WN
4971 * malloc/tst-pvalloc.c: Add comments.
4972 (do_test): Add comments and call free on all potentially
4973 allocated pointers. Remove duplicate check for NULL pointer.
4974 Add space after cast.
4975
66a9be9d
WN
4976 * malloc/tst-valloc.c: Add comments.
4977 (do_test): Add comments and call free on all potentially
4978 allocated pointers. Remove duplicate check for NULL pointer.
4979 Add space after cast.
4980
4cb81307
AM
49812013-10-04 Alan Modra <amodra@gmail.com>
4982
4983 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4984 Use stdint types in rather than __attribute__((mode())).
4985 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4986
f8e3e9f3
AM
49872013-10-04 Alan Modra <amodra@gmail.com>
4988
4989 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4990 Correct handling of unaligned relocs for little-endian.
4991 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4992
8f9ebb08
AM
49932013-10-04 Alan Modra <amodra@gmail.com>
4994
4995 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4996 * configure: Regenerate.
4997 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4998 * shlib-versions: Likewise.
4999
0edf96c2
AM
50002013-10-04 Alan Modra <amodra@gmail.com>
5001
5002 * string/tester.c (test_memrchr): Increment reported test cycle.
5003
e0f7a380
AM
50042013-10-04 Alan Modra <amodra@gmail.com>
5005
5006 * string/test-memcpy.c (do_one_test): When reporting errors, print
5007 string address and don't overrun end of string.
5008
466b0393
AM
50092013-10-04 Alan Modra <amodra@gmail.com>
5010
5011 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5012 insrdi. Make better use of reg selection to speed exit slightly.
5013 Schedule entry path a little better. Remove useless "are we done"
5014 checks on entry to main loop. Handle wrapping around zero address.
5015 Correct main loop count. Handle single left-over word from main
5016 loop inline rather than by using loop_small. Remove extra word
5017 case in loop_small caused by wrong loop count. Add little-endian
5018 support.
5019 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5020 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5021 cache hint.
5022 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5023 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5024 support. Avoid rlwimi.
5025 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5026
3be87c77
AM
50272013-10-04 Alan Modra <amodra@gmail.com>
5028
5029 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 5030 insrdi. Formatting.
3be87c77
AM
5031 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5032 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5033 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5034 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5035 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5036 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5037
759cfef3
AM
50382013-10-04 Alan Modra <amodra@gmail.com>
5039
5040 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5041 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5042 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5043 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5044 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5045 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5046 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5047 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5048 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
5049 use of regs. Use power7 mtocrf. Tidy function tails.
5050
fe6e95d7
AM
50512013-10-04 Alan Modra <amodra@gmail.com>
5052
5053 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5054 Formatting. Consistently use rXXX register defines or rN defines.
5055 Use early exit labels that avoid restoring unused non-volatile regs.
5056 Make cr field use more consistent with rWORDn compares. Rename
5057 regs used as shift registers for unaligned loop, using rN defines
5058 for short lifetime/multiple use regs.
5059 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5060 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
5061 addi 1,1,64 to pop stack frame. Simplify return value code.
5062 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5063
664318c3
AM
50642013-10-04 Alan Modra <amodra@gmail.com>
5065
5066 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5067 support. Correct typos, formatting. Optimize tail. Use insrdi
5068 rather than rlwimi.
5069 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5070 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5071 little-endian support. Correct typos.
5072 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5073 rather than rlwimi.
5074 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5075 in loop and entry code to keep "and." results.
5076 (strchr): Add little-endian support. Comment. Move cntlzd
5077 earlier in tail.
5078 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5079
43b84013
AM
50802013-10-04 Alan Modra <amodra@gmail.com>
5081
5082 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5083 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5084 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5085 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5086
8a7413f9
AM
50872013-10-04 Alan Modra <amodra@gmail.com>
5088
5089 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5090 (rTMP): Define as r11.
5091 (strcmp): Add little-endian support. Optimise tail.
5092 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5093 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5094 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5095 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5096 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5097 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5098 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5099
33ee81de
AM
51002013-10-04 Alan Modra <amodra@gmail.com>
5101
5102 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5103 little-endian support. Remove unnecessary "are we done" tests.
5104 Handle "s" wrapping around zero and extremely large "size".
5105 Correct main loop count. Handle single left-over word from main
5106 loop inline rather than by using small_loop. Correct comments.
5107 Delete "zero" tail, use "end_max" instead.
5108 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5109
db9b4570
AM
51102013-10-04 Alan Modra <amodra@gmail.com>
5111
5112 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5113 support. Don't branch over align.
5114 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5115 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5116 support. Rearrange tmp reg use to suit. Comment.
5117 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5118
f7c399cf
AM
51192013-10-04 Alan Modra <amodra@gmail.com>
5120
5121 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5122
0b2c2ace
AM
51232013-10-04 Alan Modra <amodra@gmail.com>
5124
5125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5126 conditional form of branch and link when obtaining pc.
5127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5128
02f04a6c
AM
51292013-10-04 Alan Modra <amodra@gmail.com>
5130
5131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5132 HIWORD/LOWORD.
5133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5135
9b874b2f
AM
51362013-10-04 Alan Modra <amodra@gmail.com>
5137
5138 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5139 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5140 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5141 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5142 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5143 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5144 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5145 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5146 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5147 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5148
be1e5d31
AB
51492013-10-04 Anton Blanchard <anton@au1.ibm.com>
5150 Alistair Popple <alistair@ozlabs.au.ibm.com>
5151 Alan Modra <amodra@gmail.com>
5152
5153 [BZ #15723]
5154 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5155 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5156 _dl_hwcap access for little-endian.
5157 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5158 destroy vmx regs when saving unaligned.
5159 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5160 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5161 destroy vmx regs when saving unaligned.
5162
fef13a78
AM
51632013-10-04 Alan Modra <amodra@gmail.com>
5164
5165 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5166 Don't use a union to pack hi/low value.
5167
76a66d51
AB
51682013-10-04 Anton Blanchard <anton@au1.ibm.com>
5169
5170 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5171 for little-endian.
5172 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5173 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5174 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5175 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5176 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5177
6a31fe7f
AM
51782013-10-04 Alan Modra <amodra@gmail.com>
5179
5180 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5181 constants to usual value for .cst8 section, and remove redundant
5182 high address load.
5183 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5184 constant for 0x1p52. Load little-endian words of double from
5185 correct stack offsets.
5186
7b88401f
AM
51872013-10-04 Alan Modra <amodra@gmail.com>
5188
5189 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5190 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5191 words of double from correct stack offsets.
5192 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5193 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5194 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5195 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5196 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5197 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5198 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5199 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5200 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5201 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5202 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5203 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5204 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5205 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5206 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5207 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5208 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5209
9c008155
AM
52102013-10-04 Alan Modra <amodra@gmail.com>
5211
5212 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5213 64-bit int/double union.
5214 (_FPU_SETCW): Likewise.
5215 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5216 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5217
da13146d
AM
52182013-10-04 Alan Modra <amodra@gmail.com>
5219
5220 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5221 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5222
603e8410
AM
52232013-10-04 Alan Modra <amodra@gmail.com>
5224
5225 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5226 use vector int constants.
5227 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5228
4a28b3ca
AB
52292013-10-04 Anton Blanchard <anton@au1.ibm.com>
5230
5231 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5232 array with long long.
5233 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5234 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5235 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5236 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5237 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5238 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5239 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5240 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5241 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5242 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5243 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5244 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5245 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5246
2ca85d2b
AB
52472013-10-04 Anton Blanchard <anton@au1.ibm.com>
5248
5249 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5250 (__signbit): Likewise. Correct for little-endian.
5251 (__signbitl): Call __signbit.
5252 (lrint): Correct for little-endian.
5253 (lrintf): Call lrint.
5254
62a728ae
AM
52552013-10-04 Alan Modra <amodra@gmail.com>
5256
5257 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5258 union 32-bit int array member with 64-bit int array.
5259 (t515, tm256): Double rather than long double.
5260 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5261
32c301df
AM
52622013-10-04 Alan Modra <amodra@gmail.com>
5263
5264 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5265 Delete.
5266 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5267 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5268 version of math_ldbl.h.
5269
650ef4bd
AM
52702013-10-04 Alan Modra <amodra@gmail.com>
5271
5272 [BZ #15734], [BZ #15735]
5273 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5274 all uses of ieee875 long double macros and unions. Simplify test
5275 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5276 ldbl_extract_mantissa value for ix,iy exponents. Properly
5277 normalize after ldbl_extract_mantissa, and don't add hidden bit
5278 already handled. Don't treat low word of ieee854 mantissa like
5279 low word of IBM long double and mask off bit when testing for
5280 zero.
5281 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5282 all uses of ieee875 long double macros and unions. Simplify tests
5283 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5284 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5285 two1022, instead use their values. Recognise that tests for large
5286 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5287 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5288 Rewrite all uses of ieee875 long double macros and unions. Simplify
5289 test for 0.0L and nan. Correct negation.
5290 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5291 ieee875 long double macros and unions. Correct output for large
5292 magnitude x. Correct absolute value calculation.
5293 (__erfcl): Likewise.
5294 * math/libm-test.inc: Add tests for errors discovered in IBM long
5295 double versions of fmodl, remainderl, erfl and erfcl.
5296
765714ca
AM
52972013-10-04 Alan Modra <amodra@gmail.com>
5298
5299 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5300 all uses of ieee854 long double macros and unions. Simplify tests
5301 for long doubles that are fully specified by the high double.
5302 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5303 Likewise.
5304 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5305 Remove dead code too.
5306 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5307 (__ieee754_ynl): Likewise.
5308 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5309 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5310 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5311 Remove dead code too.
5312 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5313 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5314 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5315 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5316 Simplify.
5317 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5318 Simplify.
5319 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5320 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5321 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5322 Comment on variable precision.
5323 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5324 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5325 Likewise.
5326 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5327 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5328 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5329 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5330 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5331
4ebd120c
AM
53322013-10-04 Alan Modra <amodra@gmail.com>
5333
5334 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5335 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5336 all uses of ieee854 long double macros and unions.
5337 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5338 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5339 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5340 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5341 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5342 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5343 Likewise.
5344 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5345 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5346 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5347 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5348 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5349 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5350 Simplify sign and nan test too.
5351 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5352 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5353 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5354 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5355 Likewise.
5356 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5357 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5358 Likewise.
5359 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5360 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5361 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5362 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5363 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5364 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5365
1b6adf88
AM
53662013-10-04 Alan Modra <amodra@gmail.com>
5367
5368 * stdio-common/printf_size.c (__printf_size): Don't use
5369 union ieee854_long_double in fpnum union.
5370 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5371 signbit macro to retrieve sign from long double.
5372 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5373 retrieve sign from long double.
5374 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5375 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5376 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5377 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5378 * math/test-misc.c (main): Don't use union ieee854_long_double.
5379
4cf69995
AM
53802013-10-04 Alan Modra <amodra@gmail.com>
5381
5382 [BZ #15680]
5383 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5384 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5385 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5386 calculation. Remove unnecessary test for denormal exponent.
5387 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5388 Correct handling of denormals. Avoid undefined shift behaviour.
5389 Correct normalisation of low mantissa when low double is denormal.
5390 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5391 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5392 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5393 Correct normalisation of low mantissa. Test for overflow of high
5394 mantissa and normalise.
5395 (ldbl_nearbyint): Use more readable constant for two52.
5396 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5397 (__mpn_construct_long_double): Fix test for overflow of high
5398 mantissa and correct normalisation. Avoid undefined shift.
5399
9605ca6c
AM
54002013-10-04 Alan Modra <amodra@gmail.com>
5401
5402 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5403 (union ibm_extended_long_double): Define as an array of ieee754_double.
5404 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5405 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5406 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5407 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5408 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5409 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5410 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5411 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5414 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5415
975569d0
JM
54162013-10-03 Joseph Myers <joseph@codesourcery.com>
5417
d3d23756
JM
5418 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5419 page size instead of calling getpagesize.
5420
975569d0
JM
5421 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5422 (LOCFILE_ALIGN_MASK): Likewise.
5423 (LOCFILE_ALIGN_UP): Likewise.
5424 (LOCFILE_ALIGNED_P): Likewise.
5425 * locale/programs/ld-collate.c (collate_output): Use the new
5426 macros instead of __alignof__ (int32_t).
5427 * locale/weight.h (findidx): Likewise.
5428
b1fe1f2b
OB
54292013-10-03 Ondřej Bílka <neleai@seznam.cz>
5430
5431 [BZ #431]
5432 * manual/string.texi: Fix strncat and wcsncat.
5433
5f855e35
BM
54342013-10-03 Brooks Moses <bmoses@google.com>
5435
5436 [BZ #15915]
5437 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5438 * Makerules: ...here, and adjust associated comments.
5439
3cef6009
WN
54402013-10-02 Will Newton <will.newton@linaro.org>
5441
5442 * malloc/Makefile: Add tst-pvalloc.
5443 * malloc/tst-pvalloc.c: New file.
5444
7815420b
WN
54452013-10-02 Will Newton <will.newton@linaro.org>
5446
5447 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5448 improve test coverage.
5449
4868b204
WN
54502013-10-02 Will Newton <will.newton@linaro.org>
5451
5452 * malloc/Makefile: Add tst-posix_memalign.
5453 * malloc/tst-posix_memalign.c: New file.
5454
29c793b3
EB
54552013-10-01 Eric Blake <eblake@redhat.com>
5456
5457 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5458 Use __THROWNL rather than __THROW on static functions.
5459
fd967522
PM
54602013-09-30 Petr Machata <pmachata@redhat.com>
5461
5462 * elf/elf.h (R_AARCH64_ABS16): New macro.
5463 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5464 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5465 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5466 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5467 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5468 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5469 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5470 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5471 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5472 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5473 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5474 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5475 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5476 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5477 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5478 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5479 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5480 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5481 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5482 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5483 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5484 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5485 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5486 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5487 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5488 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5489 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5490 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5491 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5492 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5493 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5494 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5495 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5496 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5497 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5498 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5499 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5500 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5501 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5502 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5503 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5504 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5505 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5506 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5507 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5508 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5509 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5510 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5511 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5512 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5513 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5514 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5515 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5516 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5517 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5518 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5519 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5520 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5521 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5522 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5523 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5524 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5525 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5526 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5527 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5528 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5529 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5530 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5531 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5532 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5533 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5534 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5535 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5536 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5537 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5538 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5539 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5540 (R_AARCH64_TLSDESC_LDR): Likewise.
5541 (R_AARCH64_TLSDESC_ADD): Likewise.
5542 (R_AARCH64_TLSDESC_CALL): Likewise.
5543
b2179107
AS
55442013-09-30 Andreas Schwab <schwab@suse.de>
5545
5546 [BZ #15048]
5547 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5548 the nss database lookup.
5549 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5551
47f28d0a
MF
55522013-09-28 Mike Frysinger <vapier@gentoo.org>
5553
5554 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5555
55562013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
5557
5558 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5559 ${Bash-specific parameter/pattern/string} parameter expansion.
5560 * sysdeps/unix/make-syscalls.sh: Likewise.
5561
f4518a17
KK
55622013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5563
5564 * sysdeps/sh/stackguard-macros.h: New file.
5565
dc1a95c7
OB
55662013-09-26 Ondřej Bílka <neleai@seznam.cz>
5567
5568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5569 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5570 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5571 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5572 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5573 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5574
5ebbff8f
AZ
55752013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5576
5577 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5578 Fix thread ID register.
5579
4fd2cf9f
JM
55802013-09-25 Joseph Myers <joseph@codesourcery.com>
5581
5582 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5583 [POSIX || UNIX98]: Require rather than permitting all symbols from
5584 <time.h>.
5585 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5586 element of struct sched_param.
5587 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5588 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5589 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5590 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5591 constant.
5592
12c22bc4
OL
55932013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5594
5595 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5596 argument calculation.
5597
a03d8ea7
JM
55982013-09-24 Joseph Myers <joseph@codesourcery.com>
5599
5600 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5601 Expect macro.
5602 [POSIX] (pthread_attr_t): Do not require type.
5603 [POSIX] (pthread_cond_t): Likewise.
5604 [POSIX] (pthread_condattr_t): Likewise.
5605 [POSIX] (pthread_key_t): Likewise.
5606 [POSIX] (pthread_mutex_t): Likewise.
5607 [POSIX] (pthread_mutexattr_t): Likewise.
5608 [POSIX] (pthread_once_t): Likewise.
5609 [POSIX] (pthread_t): Likewise.
5610 [POSIX-based standards] (pthread_atfork): Expect function.
5611
6055173a
JM
56122013-09-24 Joseph Myers <joseph@codesourcery.com>
5613 Richard Sandiford <richard@codesourcery.com>
5614
5615 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5616 (swap_endianness_p): New extern variable.
5617 (set_big_endian): New inline function.
5618 (maybe_swap_uint32): Likewise.
5619 (maybe_swap_uint32_array): Likewise.
5620 (maybe_swap_uint32_obstack): Likewise.
5621 * locale/programs/locfile.c: Include <stdbool.h>.
5622 (swap_endianness_p): New variable.
5623 (add_locale_uint32): Call maybe_swap_uint32.
5624 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5625 (write_locale_data): Call maybe_swap_uint32_array.
5626 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5627 maybe_swap_uint32.
5628 (obstack_int32_grow_fast): Likewise.
5629 (output_weightwc): Call maybe_swap_uint32_obstack.
5630 (collate_output): Likewise.
5631 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5632 (OPT_LITTLE_ENDIAN): Likewise.
5633 (options): Add --little-endian and --big-endian options.
5634 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5635 * locale/programs/locarchive.c: Include "locfile.h".
5636 (GET): New macro.
5637 (SET): Likewise.
5638 (INC): Likewise.
5639 (create_archive): Use the new macros to access fields of
5640 structures directly mapped from or written to locale archives.
5641 (oldlocrecentcmp): Likewise.
5642 (enlarge_archive): Likewise.
5643 (insert_name): Likewise.
5644 (add_alias): Likewise.
5645 (add_locale): Likewise.
5646 (delete_locales_from_archive): Likewise.
5647 (show_archive_content): Likewise.
5648 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5649 locale data.
5650
39bf0bb4
RM
56512013-09-24 Roland McGrath <roland@hack.frob.com>
5652
5653 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5654 http://www.gnu.org/doc/freemanuals.texi.
5655 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5656
f02eed10
WN
56572013-09-24 Will Newton <will.newton@linaro.org>
5658
5659 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5660 macro.
5661
a3a6c312
JM
56622013-09-23 Joseph Myers <joseph@codesourcery.com>
5663
5664 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5665 unsigned char.
5666
107375ac
MR
56672013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5668
5669 * manual/threads.texi (POSIX Threads): Fix a typo.
5670
141f3a77
SP
56712013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5672
303e567a
SP
5673 [BZ #14547]
5674 * string/tst-strcoll-overflow.c: New test case.
5675 * string/Makefile (xtests): Add tst-strcoll-overflow.
5676 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5677 cache if string sizes may cause integer overflow.
5678
141f3a77
SP
5679 [BZ #14547]
5680 * string/strcoll_l.c (coll_seq): New members rule, idx,
5681 save_idx and back_us.
5682 (get_next_seq_nocache): New function.
5683 (do_compare_nocache): New function.
5684 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5685 when malloc fails.
5686
c61b4d41
CD
56872013-09-23 Carlos O'Donell <carlos@redhat.com>
5688
0b1f8e35
CD
5689 [BZ #15754]
5690 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5691 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5692 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5693
c61b4d41
CD
5694 [BZ #15754]
5695 * elf/Makefile (tests): Add tst-ptrguard1.
5696 (tests-static): Add tst-ptrguard1-static.
5697 (tst-ptrguard1-ARGS): Define.
5698 (tst-ptrguard1-static-ARGS): Define.
5699 * elf/tst-ptrguard1.c: New file.
5700 * elf/tst-ptrguard1-static.c: New file.
5701 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5702 * sysdeps/i386/stackguard-macros.h: Likewise.
5703 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5704 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5705 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5706 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5707 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5708 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5709
57102013-09-23 Hector Marco <hecmargi@upv.es>
5711 Ismael Ripoll <iripoll@disca.upv.es>
5712 Carlos O'Donell <carlos@redhat.com>
5713
5714 [BZ #15754]
5715 * sysdeps/generic/stackguard-macros.h: Define
5716 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5717 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5718 Define __pointer_chk_guard_local.
5719 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5720 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5721
f5f4e7b4
VV
57222013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5723
5724 [BZ #15859]
5725 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5726
5bb43a43
AS
57272013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5728
5729 * include/string.h (__ffs): Declare as hidden.
5730 * string/ffs.c (__ffs): Define as hidden.
5731 * sysdeps/i386/ffs.c (__ffs): Likewise.
5732 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5733 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5734 * sysdeps/s390/ffs.c (__ffs): Likewise.
5735 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5736
3ea5be54
AO
57372013-09-20 Alexandre Oliva <aoliva@redhat.com>
5738
ffb89e53
AO
5739 * NEWS: Mention malloc probes.
5740
322dea08
AO
5741 * malloc/arena.c (new_heap): New memory_heap_new probe.
5742 (grow_heap): New memory_heap_more probe.
5743 (shrink_heap): New memory_heap_less probe.
5744 (heap_trim): New memory_heap_free probe.
5745 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5746 (systrim): New memory_sbrk_less probe.
5747 * manual/probes.texi: Document them.
5748
655673f3
AO
5749 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5750 * manual/probes.texi: Document it.
5751
35fed6f1
AO
5752 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5753 (__libc_realloc): Add memory_realloc_retry probe.
5754 (__libc_memalign): Add memory_memalign_retry probe.
5755 (__libc_valloc): Add memory_valloc_retry probe.
5756 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5757 (__libc_calloc): Add memory_calloc_retry probe.
5758 * manual/probes.texi: Document them.
5759
6999d38c
AO
5760 * malloc/arena.c (get_free_list): Add probe
5761 memory_arena_reuse_free_list.
5762 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5763 and memory_arena_reuse.
5764 (arena_get2) [!PER_THREAD]: Likewise.
5765 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5766 memory_arena_reuse_realloc.
5767 * manual/probes.texi: Document them.
5768
0653427f
AO
5769 * malloc/malloc.c (__libc_free): Add
5770 memory_mallopt_free_dyn_thresholds probe.
5771 (__libc_mallopt): Add multiple memory_mallopt probes.
5772 * manual/probes.texi: Document them.
5773
3ea5be54
AO
5774 * malloc/malloc.c: Include stap-probe.h.
5775 (__libc_mallopt): Add memory_mallopt probe.
5776 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5777 * manual/probes.texi: New.
5778 * manual/Makefile (chapters): Add probes.
5779 * manual/threads.texi: Set next node.
5780
e35696c3 57812013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5782
e35696c3
CL
5783 [BZ #15963, #13985]
5784 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5785 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5786 Add `Chinese' to `nan' entry name.
5787
4aafb73c
SP
57882013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5789
5790 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5791 (POLYNOMIAL): Likewise.
5792 (TAYLOR_SINCOS): Likewise.
5793 (TAYLOR_SLOW): Likewise.
5794 (__sin): Use TAYLOR_SINCOS.
5795 (__cos): Likewise.
5796 (slow): Use TAYLOR_SLOW.
5797 (sloww): Likewise.
5798 (bsloww): Likewise.
5799 (csloww): Likewise.
5800
d84f25c7
LD
58012013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5802
5803 * stdlib/strtod_l.c: Fix buffer overrun.
5804
5eea0404
SP
58052013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5806
7849ff93
SP
5807 * benchtests/Makefile (bench): Add sincos.
5808 * benchtests/bench-sincos.c: New file.
5809
cfa3c886
SP
5810 * math/libm-test.inc (cos_test_data): New test inputs.
5811 (sin_test_data): Likewise.
5812
b348e1e3
SP
5813 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5814 macro.
5815 (__sin): Use it.
5816 (__cos): Likewise.
5817 (slow1): Likewise.
5818 (slow2): Likewise.
5819 (sloww1): Likewise.
5820 (sloww2): Likewise.
5821 (bsloww1): Likewise.
5822 (bsloww2): Likewise.
5823 (cslow2): Likewise.
5824 (csloww1): Likewise.
5825 (csloww2): Likewise.
5826
6cce25f8
SP
5827 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5828 function.
5829 (__sin): Use it.
5830 (__cos): Likewise.
5831
5eea0404
SP
5832 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5833 gotos.
5834 (__cos): Likewise.
5835
9c21573c
MR
58362013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5837
5838 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5839 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5840 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5841 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5842 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5843 * elf/cache.c (print_entry): Handle the new cache flags.
5844
24d22e65
JM
58452013-09-18 Joseph Myers <joseph@codesourcery.com>
5846 Aldy Hernandez <aldyh@redhat.com>
5847
5848 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5849 Change condition to [_SOFT_FLOAT].
5850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5851 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5856 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5862 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5863 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5864 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5865 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5866 declaration.
5867
d13ef066
JM
58682013-09-18 Joseph Myers <joseph@codesourcery.com>
5869
2e071de0
JM
5870 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5871 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5872 (__longjmp): Use LOAD_GP to load saved GPRs.
5873 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5874 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5875 (__sigsetjmp): Use SAVE_GP to save GPRs.
5876
d13ef066
JM
5877 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5878 Do not append -msoft-float.
5879 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5880
97a0650b
SP
58812013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5882
5883 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5884
11ca09e9
JM
58852013-09-17 Joseph Myers <joseph@codesourcery.com>
5886
5887 [BZ #15966]
5888 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5889 (_FPU_GETCW): Use initial "__" on variable and field names but not
5890 on macro parameter name.
5891 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5892 parentheses around reference to macro parameter.
5893
08ffcf34
RS
58942013-09-13 Richard Sandiford <richard@codesourcery.com>
5895
5896 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5897 prototype.
5898 (ctype_startup): Use uint32_t in cast and sizeof for
5899 ctype->charnames.
5900
ae7080d3
JL
59012013-09-11 Jia Liu <proljc@gmail.com>
5902
5903 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5904 __daddr_t_defined.
5905 [__FreeBSD__]: Likewise.
5906
5905e7b3
OB
59072013-09-11 Ondřej Bílka <neleai@seznam.cz>
5908
5909 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5910 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5911 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5912 (strchr): Remove __strchr_sse42 ifunc selection.
5913 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5914 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5915
b987c776
WN
59162013-09-11 Will Newton <will.newton@linaro.org>
5917
5918 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5919 parameter to RES. Remove hardcoded 1000 value.
5920 * benchtests/bench-skeleton.c (main): Pass RES parameter
5921 to TIMING_INIT and multiply result by 1000.
5922
ddf985af
AZ
59232013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5924
5925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5926
ffdd3181
AS
59272013-09-11 Andreas Schwab <schwab@suse.de>
5928
5929 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5930 if not defined.
5931 (O_TMPFILE) [__USE_GNU]: Define.
5932 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5933 Define.
5934
b73ed247
WN
59352013-09-11 Will Newton <will.newton@linaro.org>
5936
5937 [BZ #15857]
5938 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5939 does not overflow.
5940
55e17aad
WN
59412013-09-11 Will Newton <will.newton@linaro.org>
5942
5943 [BZ #15856]
5944 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5945 does not overflow.
5946
1159a193
WN
59472013-09-11 Will Newton <will.newton@linaro.org>
5948
5949 [BZ #15855]
5950 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5951 does not overflow.
5952
5905e7b3 59532013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5954
5955 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5956 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5957 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5958 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5959 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5960
cdfc721b
AM
59612013-09-10 Allan McRae <allan@archlinux.org>
5962
aa04af00
AM
5963 [BZ #15748]
5964 * manual/arith.texi (Parsing of Floats): Clarify
5965 cross-reference.
5966
cdfc721b
AM
5967 [BZ #15849]
5968 * manual/install.texi (Running make install): Mention
5969 --enable-pt-chown.
5970 * INSTALL: Regenerated.
5971
95e7cf29
MR
59722013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5973
5974 * csu/init-first.c (_init): Remove the !SHARED condition around
5975 FPU control word initialization.
5976 * elf/dl-support.c (_dl_fpu_control): New variable.
5977 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5978 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5979 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5980 * math/test-fpucw-static.c: New file.
5981 * math/test-fpucw-ieee.c: New file.
5982 * math/test-fpucw-ieee-static.c: New file.
5983 * math/Makefile (tests): Add `test-fpucw-ieee' and
5984 `$(tests-static)'.
5985 (tests-static): New variable.
5986 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5987 dependency to...
5988 [($(build-shared),yes)]
5989 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5990 ... this.
5991 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5992 New dependency.
5993
83e43bf0
AM
59942013-09-09 Allan McRae <allan@archlinux.org>
5995
a9f5ce09
AM
5996 [BZ #15939]
5997 * manual/string.texi (Collation Functions): Fix typo in
5998 strcoll example.
5999 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6000
34829bc2
AM
6001 [BZ #15893]
6002 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6003
3932737d
AM
6004 [BZ #15892]
6005 * libio/memstream.c (open_memstream): Fix memory leak.
6006 * libio/wmemstream.c (open_wmemstream): Likewise.
6007
83e43bf0
AM
6008 [BZ #15895]
6009 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6010
0c66b8e9
WN
60112013-09-09 Will Newton <will.newton@linaro.org>
6012
6013 * malloc/Makefile: Add tst-realloc to tests.
6014 * malloc/tst-realloc.c: New file.
6015
f6b00fd1
AM
60162013-09-09 Allan McRae <allan@archlinux.org>
6017
6018 [BZ #15844]
6019 * COPYING: Update from GNU website to fix FSF address.
6020 * COPYING.LIB: Likewise.
6021
eec55e16
DM
60222013-09-06 David S. Miller <davem@davemloft.net>
6023
6024 * po/zh_TW.po: Update Chinese (traditional) translation from
6025 translation project.
6026
1ecbb381
RS
60272013-09-06 Richard Sandiford <richard@codesourcery.com>
6028 Joseph Myers <joseph@codesourcery.com>
6029
6030 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6031 "localeinfo.h".
6032 (obstack_chunk_alloc): New macro.
6033 (obstack_chunk_free): Likewise.
6034 (record_offset): New function.
6035 (init_locale_data): Likewise.
6036 (align_locale_data): Likewise.
6037 (add_locale_empty): Likewise.
6038 (add_locale_raw_data): Likewise.
6039 (add_locale_raw_obstack): Likewise.
6040 (add_locale_string): Likewise.
6041 (add_locale_wstring): Likewise.
6042 (add_locale_uint32): Likewise.
6043 (add_locale_uint32_array): Likewise.
6044 (add_locale_char): Likewise.
6045 (start_locale_structure): Likewise.
6046 (end_locale_structure): Likewise.
6047 (start_locale_prelude): Likewise.
6048 (end_locale_prelude): Likewise.
6049 (write_locale_data): Take locale_file structure rather than an
6050 iovec.
6051 * locale/programs/locfile.h: Include "obstack.h".
6052 (struct locale_file): Change to store locale file contents instead
6053 of header.
6054 (init_locale_data): New prototype.
6055 (align_locale_data): Likewise.
6056 (add_locale_empty): Likewise.
6057 (add_locale_raw_data): Likewise.
6058 (add_locale_raw_obstack): Likewise.
6059 (add_locale_string): Likewise.
6060 (add_locale_wstring): Likewise.
6061 (add_locale_uint32): Likewise.
6062 (add_locale_uint32_array): Likewise.
6063 (add_locale_char): Likewise.
6064 (start_locale_structure): Likewise.
6065 (end_locale_structure): Likewise.
6066 (start_locale_prelude): Likewise.
6067 (end_locale_prelude): Likewise.
6068 (write_locale_data): Update prototype.
6069 * locale/programs/3level.h (struct TABLE): Remove result field.
6070 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6071 Use new locale_file interface.
6072 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6073 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6074 * locale/programs/ld-address.c (address_output): Use new
6075 locale_file interface.
6076 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6077 NO_ADD_LOCALE.
6078 (collate_finish): Don't call collseq_table_finalize.
6079 (collate_output): Use new locale_file interface.
6080 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6081 in file.
6082 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6083 (TABLE): Move defines earlier in file.
6084 (ELEMENT): Likewise.
6085 (DEFAULT): Likewise.
6086 (wctrans_table_add): Move macro and inline function earlier in
6087 file.
6088 (struct wctype_table): Move type earlier in file.
6089 (add_locale_wctype_table): New static prototype.
6090 (struct locale_ctype_t): Use logical types instead of struct iovec
6091 pointers for members.
6092 (ctype_output): Use new locale_file interface.
6093 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6094 new locale_file interface.
6095 (allocate_arrays): Update for use of new locale_file interface.
6096 * locale/programs/ld-identification.c (identification_output): Use
6097 new locale_file interface.
6098 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6099 * locale/programs/ld-messages.c (messages_output): Likewise.
6100 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6101 * locale/programs/ld-name.c (name_output): Likewise.
6102 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6103 * locale/programs/ld-paper.c (paper_output): Likewise.
6104 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6105 * locale/programs/ld-time.c (time_output): Likewise.
6106
e029e2e5
AZ
61072013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6108
6109 * benchtests/Makefile: Add memrchr benchmark.
6110 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6111 benchmark as memrchr.
6112 * benchtests/bench-memrchr-ifunc.c: New file.
6113 * benchtests/bench-memrchr.c: New file.
6114
bbf6e8e4
WN
61152013-09-06 Will Newton <will.newton@linaro.org>
6116
6117 * benchtests/Makefile (string-bench): Add memcpy.
6118
6c82a2f8
CD
61192013-09-05 Carlos O'Donell <carlos@redhat.com>
6120 Cong Wang <amwang@redhat.com>
6121
e732c5f0 6122 [BZ #15850]
6c82a2f8
CD
6123 * sysdeps/unix/sysv/linux/bits/in.h
6124 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6125 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6126 before __USE_KERNEL_IPV6_DEFS uses.
6127 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6128 IPPROTO_BEETPH.
6129 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6130 sockaddr_in6, or ipv6_mreq.
6131
5430fc65
AZ
61322013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6133
6134 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6135 memory access for final bytes in some large inputs.
6136 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6137
4660856c
AZ
61382013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6139
6140 * string/test-memrchr.c: New file.
6141 * string/test-memrchr-ifunc.c: New file.
6142 * string/Makefile: Add new memrchr testcase.
6143
bb8ea713
MF
61442013-09-05 Mike Frysinger <vapier@gentoo.org>
6145
6146 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6147 fanotify_init returns EPERM.
6148
b92a20b5
JM
61492013-09-04 Joseph Myers <joseph@codesourcery.com>
6150
6151 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6152 errors.
6153 (top level): Treat second token from macro or constant entries for
6154 allowed headers as allowed.
6155 * include/complex.h: Condition internal declarations on
6156 [!_ISOMAC].
6157 * include/fenv.h: Condition include of <stdbool.h> and internal
6158 declarations on [!_ISOMAC].
7447ccd9
CL
6159
61602013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6161
3e181dda 6162 [BZ #15923]
7447ccd9
CL
6163 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6164
3f2e46a4
JM
61652013-09-04 Joseph Myers <joseph@codesourcery.com>
6166
6167 * configure.in (--enable-versioning): Remove configure option.
6168 (libc_cv_asm_symver_directive): Remove configure test.
6169 (libc_cv_ld_version_script_option): Likewise.
6170 (VERSIONING): Remove variable and AC_SUBST.
6171 (DO_VERSIONING): Remove AC_DEFINE.
6172 * configure: Regenerated.
6173 * config.h.in (DO_VERSIONING): Remove macro.
6174 * Makerules [$(versioning) = yes]: Change conditionals to
6175 [$(build-shared) = yes].
6176 * config.make.in (versioning): Remove variable.
6177 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6178 [$(build-shared) = yes].
6179 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6180 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6181 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6182 [$(build-shared) = yes].
6183 * extra-lib.mk [$(versioning) = yes]: Likewise.
6184 * hurd/Makefile [$(versioning) = yes]: Likewise.
6185 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6186 [SHARED].
6187 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6188 [SHARED].
6189 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6190 [SHARED && !NO_HIDDEN].
6191 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6192 [SHARED].
6193 [SHARED && DO_VERSIONING]: Likewise..
6194 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6195 [$(build-shared) = yes].
6196 * manual/install.texi (--disable-versioning): Remove
6197 documentation.
6198 * INSTALL: Regenerated.
6199 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6200 to [SHARED].
6201 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6202 [$(build-shared) = yes].
6203 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6204 * sysdeps/i386/i686/multiarch/strstr-c.c
6205 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6206 [SHARED && !NO_HIDDEN].
6207 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6208 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6209 * sysdeps/powerpc/powerpc32/dl-machine.c
6210 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6211 * sysdeps/powerpc/powerpc32/sysdep.h
6212 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6213 to [SHARED && PIC && !NO_HIDDEN].
6214 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6215 conditional to [SHARED].
6216
44558701
WN
62172013-09-04 Will Newton <will.newton@linaro.org>
6218
6219 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6220 * benchtests/bench-string.h: Include bench-timing.h instead
6221 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6222 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6223 call to HP_TIMING_DIFF_INIT.
6224 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6225 instead of hp-timing.h macros.
6226 * benchtests/bench-memchr.c: Likewise.
6227 * benchtests/bench-memcmp.c: Likewise.
6228 * benchtests/bench-memcpy.c: Likewise.
6229 * benchtests/bench-memmem.c: Likewise.
6230 * benchtests/bench-memmove.c: Likewise.
6231 * benchtests/bench-memset.c: Likewise.
6232 * benchtests/bench-rawmemchr.c: Likewise.
6233 * benchtests/bench-strcasecmp.c: Likewise.
6234 * benchtests/bench-strcasestr.c: Likewise.
6235 * benchtests/bench-strcat.c: Likewise.
6236 * benchtests/bench-strchr.c: Likewise.
6237 * benchtests/bench-strcmp.c: Likewise.
6238 * benchtests/bench-strcpy.c: Likewise.
6239 * benchtests/bench-strcpy_chk.c: Likewise.
6240 * benchtests/bench-strlen.c: Likewise.
6241 * benchtests/bench-strncasecmp.c: Likewise.
6242 * benchtests/bench-strncat.c: Likewise.
6243 * benchtests/bench-strncmp.c: Likewise.
6244 * benchtests/bench-strncpy.c: Likewise.
6245 * benchtests/bench-strnlen.c: Likewise.
6246 * benchtests/bench-strpbrk.c: Likewise.
6247 * benchtests/bench-strrchr.c: Likewise.
6248 * benchtests/bench-strspn.c: Likewise.
6249 * benchtests/bench-strstr.c: Likewise.
6250
cae16d66
WN
62512013-09-04 Will Newton <will.newton@linaro.org>
6252
6253 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6254
ffa3cd7f
JM
62552013-09-03 Joseph Myers <joseph@codesourcery.com>
6256
6257 [BZ #15427]
6258 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6259 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6260 * math/libm-test.inc (lgamma_test_data): Add more tests.
6261 * sysdeps/i386/fpu/libm-test-ulps: Update.
6262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6263
8f02859f
OB
62642013-09-03 Ondřej Bílka <neleai@seznam.cz>
6265
6266 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6267 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6268 Add ifunc.
6269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6270 Add strcmp-sse2-unaligned
6271 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6272
18d43716
MF
62732013-09-02 Mike Frysinger <vapier@gentoo.org>
6274
6275 * Versions.def (libc): Add GLIBC_2.19.
6276
ac444012
MF
62772013-09-02 Mike Frysinger <vapier@gentoo.org>
6278
6279 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6280 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6281
b7835e32
JM
62822013-09-02 Joseph Myers <joseph@codesourcery.com>
6283
6284 [BZ #14155]
6285 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6286 intermediate calculations in recurrence.
6287 (__ieee754_ynf): Likewise.
6288 * math/libm-test.inc (jn_test_data): Do not allow spurious
6289 underflow exception. Add more tests.
6290 (yn_test_data): Add more tests.
6291 * sysdeps/i386/fpu/libm-test-ulps: Update.
6292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6293
8220f4f0
OB
62942013-09-02 Ondřej Bílka <neleai@seznam.cz>
6295
6296 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6297
f24a6d08
OB
62982013-08-30 Ondřej Bílka <neleai@seznam.cz>
6299
6300 * csu/init-first.c: Fix then/than typos.
6301 * locale/programs/ld-collate.c: Likewise.
6302 * locale/programs/linereader.h: Likewise.
6303 * manual/charset.texi: Likewise.
6304 * manual/filesys.texi: Likewise.
6305 * manual/stdio.texi: Likewise.
6306 * manual/string.texi: Likewise.
6307 * stdlib/fmtmsg.c: Likewise.
6308 * sysdeps/i386/stpncpy.S: Likewise.
6309 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6310 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6311 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6312 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6313
382466e0
OB
63142013-08-30 Ondřej Bílka <neleai@seznam.cz>
6315
6316 * elf/dl-open.c: Fix typos.
6317 * iconvdata/gbbig5.c: Likewise.
6318 * iconvdata/iso-2022-jp.c: Likewise.
6319 * iconv/gconv_int.h: Likewise.
6320 * iconv/loop.c: Likewise.
6321 * nis/rpcsvc/nis.h: Likewise.
6322 * resolv/ns_name.c: Likewise.
6323 * stdio-common/vfscanf.c: Likewise.
6324 * streams/stropts.h: Likewise.
6325 * sunrpc/rpc_thread.c: Likewise.
6326 * sysdeps/i386/strpbrk.S: Likewise.
6327 * sysdeps/ieee754/k_standard.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6330 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6331 * sysdeps/mach/hurd/profil.c: Likewise.
6332 * sysdeps/s390/dl-procinfo.h: Likewise.
6333 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6334 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6335 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6336 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6337 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6338
0186c6e9
OB
63392013-08-30 Ondřej Bílka <neleai@seznam.cz>
6340
6341 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6342 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6343
d4e16af1
OB
63442013-08-29 Ondřej Bílka <neleai@seznam.cz>
6345
6346 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6347 aix specific files.
6348 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6349 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6350 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6351 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6352 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6353 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6354 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6355 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6356
88335980
TS
63572013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6358 Roland McGrath <roland@hack.frob.com>
6359
6360 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6361 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6362
ed479b02
ST
63632013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6364
6365 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6366 __executable_start symbol instead of _start.
6367
f1cc4c86
TS
63682013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6369
d821f07c
TS
6370 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6371 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6372 Move macros to...
6373 * sysdeps/gnu/ldsodefs.h: ... this new file.
6374
c54290cf
TS
6375 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6376 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6377 instead of ELFOSABI_LINUX.
6378
0007fc9b 6379 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
6380 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6381 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6382 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6383 Likewise.
6384 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6385 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6386 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6387 Likewise.
6388 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6389 (ibm_extended_long_double): Add ieee_nan member.
6390 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6391 (do_test): New function.
6392
f1cc4c86
TS
6393 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6394 TEST_TRUNC.
6395 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6396 functions, renamed from truncdfsf_test, trunctfsf_test,
6397 trunctfdf_test.
6398 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6399 functions.
6400 (do_test): Run all these.
6401
6f65e668
OB
64022013-08-29 Ondřej Bílka <neleai@seznam.cz>
6403
6404 * argp/argp-help.c: Fix typos.
6405 * argp/argp-parse.c: Likewise.
6406 * debug/backtracesyms.c: Likewise.
6407 * elf/elf.h: Likewise.
6408 * malloc/malloc.c: Likewise.
6409 * nis/nis_print.c: Likewise.
6410 * resolv/res_comp.c: Likewise.
6411 * stdlib/stdlib.h: Likewise.
6412 * sunrpc/clnt_tcp.c: Likewise.
6413 * sunrpc/clnt_udp.c: Likewise.
6414 * sunrpc/clnt_unix.c: Likewise.
6415 * sysdeps/unix/bsd/ptsname.c: Likewise.
6416 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6417 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
6418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6419 Likewise.
6420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6421 Likewise.
6422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6423 Likewise.
6f65e668
OB
6424 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6425
3a309239
SP
64262013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6427
6428 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6430
3b813b29
MF
64312013-08-27 Mike Frysinger <vapier@gentoo.org>
6432
6433 [BZ #15897]
6434 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6435 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6436 ($(objpfx)bug-dl-leaf): New rule.
6437 ($(objpfx)bug-dl-leaf.so): Likewise.
6438 ($(objpfx)bug-dl-leaf.out): Likewise.
6439 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6440 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6441 * dlfcn/bug-dl-leaf.c: New test.
6442 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6443 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6444 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6445 (dlclose): Likewise.
6446 (dlmopen): Likewise.
6447
8cc3269f
RM
64482013-08-27 Roland McGrath <roland@hack.frob.com>
6449
7f9d0034
RM
6450 * include/netdb.h [!_ISOMAC]:
6451 Don't include <tls.h>.
6452 (h_errno, __libc_h_errno): Move declaration and macros out of
6453 [_LIBC_REENTRANT].
6454
fb431262
RM
6455 * include/resolv.h [_RESOLV_H_]:
6456 Don't include <tls.h>.
6457 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6458 * resolv/res_libc.c: Don't include <tls.h>.
6459 (_res): Use __attribute__ ((nocommon)) in place of
6460 __attribute__ ((section (".bss"))).
6461
bd81123a
RM
6462 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6463 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6464
c4e42566
RM
6465 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6466
f890a59b
RM
6467 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6468 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6469
6470 * resolv/res_mkquery.c: Include <sys/time.h>.
6471
5d1f0a09
RM
6472 * inet/ifreq.c: Moved to ...
6473 * sysdeps/unix/ifreq.c: ... here.
6474 * inet/ifreq.c: New file, true stub version.
6475
6fcf28b3
RM
6476 * socket/sa_len.c: New file.
6477 * socket/Makefile (aux): Add it.
6478 * sysdeps/unix/sysv/linux/Makefile
6479 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6480 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6481 and #include <socket/sa_len.c>.
6482 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6483 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6484
e041fb8b
RM
6485 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6486 * bits/socket.h: ... here.
6487
8cc3269f
RM
6488 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6489 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6490 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6491
5d228a43
AS
64922013-08-27 Andreas Schwab <schwab@suse.de>
6493
45b8accc
AS
6494 [BZ #15736]
6495 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6496 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6497 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6498 * string/test-strcasecmp.c (test_main): Run tests in several
6499 locales.
6500 * string/test-strncasecmp.c (test_main): Likewise.
6501
5d228a43
AS
6502 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6503 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6504 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6505 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6506 (__strncasecmp_ssse3) [PIC]: Likewise.
6507
59d112a4
RM
65082013-08-26 Roland McGrath <roland@hack.frob.com>
6509
53234cc3
RM
6510 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6511
59d112a4
RM
6512 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6513 instead of explicitly declaring xdecrypt.
6514 * nis/nss_nis/nis-publickey.c: Likewise.
6515
595aba70
SP
65162013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6517
6518 [BZ #15890]
6519 * nscd/aicache.c: Include res_hconf.h.
6520 (addhstaiX): Initialize res_hconf.
6521
ffabd393
AS
65222013-08-26 Andreas Schwab <schwab@suse.de>
6523
6524 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6525 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6526
e0a69f5c
SP
65272013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6528
6529 * nscd/aicache.c (addhstaiX): Fix indentation.
6530
8c12f01d
MF
65312013-08-25 Mike Frysinger <vapier@gentoo.org>
6532
6533 * configure.ac: Quote $build_pt_chown test.
6534 * configure: Regenerated.
6535
8fe89494
JM
65362013-08-23 Joseph Myers <joseph@codesourcery.com>
6537
6538 [BZ #15532]
6539 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6540 * math/s_cexpf.c (__cexpf): Likewise.
6541 * math/s_cexpl.c (__cexpl): Likewise.
6542 * math/libm-test.inc (cexp_test_data): Correct expected return
6543 value for NaN + i0. Add another test.
6544
75b181d6
DM
65452013-08-22 David S. Miller <davem@davemloft.net>
6546
6547 * po/ca.po: Update Catalan translation from translation project.
936241e4 6548 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 6549
acd06bb1
JM
65502013-08-21 Joseph Myers <joseph@codesourcery.com>
6551
6552 [BZ #15797]
6553 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6554 is infinite, not alongside NaN test.
6555 * math/s_fdimf.c (__fdimf): Likewise.
6556 * math/s_fdiml.c (__fdiml): Likewise.
6557 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6558 errno is unchanged.
6559
c0c3f78a
OB
65602013-08-21 Ondřej Bílka <neleai@seznam.cz>
6561
6562 * argp/argp-help.c: Fix typos.
6563 * crypt/speeds.c: Likewise.
6564 * csu/check_fds.c: Likewise.
6565 * elf/dl-load.c: Likewise.
6566 * elf/dl-open.c: Likewise.
6567 * elf/reldep3.c: Likewise.
6568 * elf/reldep.c: Likewise.
6569 * elf/sprof.c: Likewise.
6570 * iconv/iconv_charmap.c: Likewise.
6571 * iconv/skeleton.c: Likewise.
6572 * iconv/strtab.c: Likewise.
6573 * io/lockf64.c: Likewise.
6574 * libio/libioP.h: Likewise.
6575 * resolv/gai_notify.c: Likewise.
6576 * resolv/ns_name.c: Likewise.
6577 * resolv/ns_samedomain.c: Likewise.
6578 * resolv/res_send.c: Likewise.
6579 * stdlib/random.c: Likewise.
6580 * sunrpc/rpc/xdr.h: Likewise.
6581 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6582 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6583 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6584 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6585 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6586 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6587 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6588 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6589 * sysdeps/mach/hurd/check_fds.c: Likewise.
6590 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6591 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6592 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6593 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6594 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6595 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6596 * sysdeps/pthread/aio_notify.c: Likewise.
6597 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6598 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6599 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6600 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6601 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6602
46ed1038
LD
66032013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6604
6605 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6606 version if bit_Slow_SSE4_2 is set.
6607 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6608 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6609
d400dcac
AZ
66102013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6611
6612 [BZ #15867]
6613 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6614 trampoline stack frame information.
6615 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6616 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6617 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6618 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6619 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6620 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6621 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6622 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6623 sa_flags value.
6624 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6625 interrupting a syscall and set with option SA_SIGINFO.
6626
42c8fdd8
JM
66272013-08-20 Joseph Myers <joseph@codesourcery.com>
6628
c980f2f4
JM
6629 [BZ #15531]
6630 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6631 argument is infinite.
6632 * math/s_cprojf.c (__cprojf): Likewise.
6633 * math/s_cprojl.c (__cprojl): Likewise.
6634 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6635 * math/libm-test.inc (cproj_test_data): Add more tests.
6636
0716c4fc
JM
6637 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6638
42c8fdd8
JM
6639 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6640 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6641 size. Use __ffs to determine corresponding shift.
6642
b31469d0
JM
66432013-08-20 Joseph Myers <joseph@codesourcery.com>
6644 Roland McGrath <roland@hack.frob.com>
6645
6646 * Makefile (INSTALL): Remove trailing blank lines from output of
6647 makeinfo.
6648
4e39af6e
AK
66492013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6650
6651 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6652 Align 32 bit compat elf_greg to 8 bytes.
6653
f315524e
AA
66542013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6655
6656 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6657
1326ba1a
SP
66582013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6659
6660 * string/strcoll_l.c (coll_seq): New structure.
6661 (get_next_seq_cached): New function.
6662 (get_next_seq): New function.
6663 (do_compare): New function.
6664 (STRCOLL): Use GNU style definition. Simplify implementation
6665 by using get_next_seq, get_next_seq_cached and do_compare.
6666
91ce4085
FW
66672013-08-16 Florian Weimer <fweimer@redhat.com>
6668
6669 [BZ #14699]
6670 CVE-2013-4237
6671 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6672 member.
6673 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6674 member.
6675 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6676 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6677 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6678 conditional.
6679 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6680 GETDENTS_64BIT_ALIGNED.
6681 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6682 * manual/filesys.texi (Reading/Closing Directory): Document
6683 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6684 strongly.
6685 * manual/conf.texi (Limits for Files): Add portability note to
6686 NAME_MAX, PATH_MAX.
6687 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6688
ca0a6bc4
AS
66892013-08-13 Andreas Schwab <schwab@suse.de>
6690
6691 [BZ #15749]
6692 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6693 of fabs.
6694 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6695 LDBL_MAX_EXP >= 16384]: Add tests for it.
6696
6c1fd795
DM
66972013-08-12 David S. Miller <davem@davemloft.net>
6698
6699 * version.h (RELEASE): Set to "development".
6700 (VERSION): Set to "2.18.90".
6701 * NEWS: Add 2.19 section.
6702
31ad488d
DM
67032013-08-03 David S. Miller <davem@davemloft.net>
6704
6705 * po/ko.po: Update Korean translation from translation project.
6706
db24e684
DM
67072013-08-01 David S. Miller <davem@davemloft.net>
6708
6709 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6710 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6711 Bilka.
6712
f723285b
DM
67132013-07-30 David S. Miller <davem@davemloft.net>
6714
6715 * po/fr.po: Update French translation from translation project.
6716
3cbc52db
DM
67172013-07-28 David S. Miller <davem@davemloft.net>
6718
30bbc0cc
DM
6719 * po/cs.po: Update Czech translation from translation project.
6720
3cbc52db
DM
6721 * po/sv.po: Update Swedish translation from translation project.
6722
d492e6d0
DM
67232013-07-27 David S. Miller <davem@davemloft.net>
6724
f1a7f492
DM
6725 * po/eo.po: Update Esperanto translation from translation project.
6726
90e62a4a
DM
6727 * po/vi.po: Update Vietnamese translation from translation project.
6728
d492e6d0
DM
6729 * po/de.po: Update German translation from translation project.
6730
d4baa62d
DM
67312013-07-26 David S. Miller <davem@davemloft.net>
6732
641aa7b4
DM
6733 * po/bg.po: Update Bulgarian translation from translation project.
6734
d4baa62d
DM
6735 * po/nl.po: Update Dutch translation from translation project.
6736 * po/pl.po: Update Polish translation from translation project.
6737 * po/ru.po: Update Russian translation from translation project.
6738
61a9dcb9
DM
67392013-07-24 David S. Miller <davem@davemloft.net>
6740
6741 * po/libc.pot: Update.
6742
7b1f8b58
AZ
67432013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6744
6745 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6746 variable page size.
6747 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6748 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6749 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6750
a8fc7a03
AK
67512013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6752
6753 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6754
e4608715
CD
67552013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6756 Andreas Schwab <schwab@suse.de>
6757 Roland McGrath <roland@hack.frob.com>
6758 Joseph Myers <joseph@codesourcery.com>
6759 Carlos O'Donell <carlos@redhat.com>
6760
6761 [BZ #15755]
6762 * config.h.in: Define HAVE_PT_CHOWN.
6763 * config.make.in (build-pt-chown): New variable.
6764 * configure.in (--enable-pt_chown): New configure option.
6765 * configure: Regenerate.
6766 * login/Makefile: Include Makeconfig. Build pt_chown only if
6767 build-pt-chown is enabled.
6768 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6769 pt_chown to fix pty ownership.
6770 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6771 CLOSE_ALL_FDS.
6772 * manual/install.texi (Configuring and compiling): Mention
6773 --enable-pt_chown. Add @findex for grantpt.
6774 * INSTALL: Regenerate.
6775
da2d62df
DM
67762013-07-20 David S. Miller <davem@davemloft.net>
6777
6778 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6779 difference between 32-bit and 64-bit.
6780
d7e06450
CD
67812013-07-15 Carlos O'Donell <carlos@redhat.com>
6782
6783 [BZ #15711]
6784 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6785 Avoid system header dependency with -ffreestanding.
6786 ($(objpfx)bits/syscall%d): Likewise.
6787
f959cfd7
DM
67882013-07-13 David S. Miller <davem@davemloft.net>
6789
6790 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6791 underflows from atanl/atan2l due to bug 15319.
6792 (casinh_test_data): Likewise.
6793
c61f8513
DM
67942013-07-07 David S. Miller <davem@davemloft.net>
6795
6796 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6797
72c90ed0
JA
67982013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6799
6800 * sysdeps/i386/fpu/libm-test-ulps: Update.
6801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6802
52dfbe13
SP
68032013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6804
6805 * configure.in (--enable-lock-elision): Fix message text.
6806 * INSTALL: Regenerate.
6807 * configure: Regenerate.
6808
3f169543
AZ
68092013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6810
6811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6812
521c6785
AJ
68132013-07-03 Andreas Jaeger <aj@suse.de>
6814
6815 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6816 define.
6817 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6818 (ptrace_peeksiginfo_args): Add.
6819 (__ptrace_peeksiginfo_flags): Add.
6820 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6821 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6822 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6823
d2cc15cb
AM
68242013-07-03 Allan McRae <allan@archlinux.org>
6825
6826 * sysdeps/i386/fpu/libm-test-ulps: Update.
6827
3aaeeca7
DM
68282013-07-02 David S. Miller <davem@davemloft.net>
6829
6830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6831
5314ed1a
MT
68322013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6833
6834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6835
67338156
JM
68362013-07-02 Joseph Myers <joseph@codesourcery.com>
6837
6838 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6840
1717da59
AK
68412013-07-02 Andi Kleen <ak@linux.intel.com>
6842
6843 * config.h.in (ENABLE_LOCK_ELISION): Add.
6844 * configure.in (--enable-lock-elision): Add option.
6845 * manual/install.texi: Document --enable lock elision.
6846 * configure: Regenerate
6847 * INSTALL: Regenerate.
6848
1c81621c
L
68492013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6850
6851 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6852 SSE4.2 strcasecmp for libc.a.
6853 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6854
77f01ab5
JM
68552013-07-02 Joseph Myers <joseph@codesourcery.com>
6856
6857 [BZ #13304]
6858 * soft-fp/op-common.h (_FP_FMA): New macro.
6859 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6860 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6861 (_FP_MUL_MEAT_1_imm): ... here.
6862 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6863 (_FP_MUL_MEAT_1_wide): ... here.
6864 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6865 (_FP_MUL_MEAT_1_hard): ... here.
6866 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6867 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6868 (_FP_MUL_MEAT_2_wide): ... here.
6869 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6870 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6871 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6872 (_FP_MUL_MEAT_2_gmp): ... here.
6873 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6874 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6875 (_FP_MUL_MEAT_4_wide): ... here.
6876 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6877 (_FP_MUL_MEAT_4_gmp): ... here.
6878 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6879 (_FP_WFRACBITS_DW_S): Likewise.
6880 (_FP_WFRACXBITS_DW_S): Likewise.
6881 (_FP_HIGHBIT_DW_S): Likewise.
6882 (FP_FMA_S): Likewise.
6883 (_FP_FRAC_HIGH_DW_S): Likewise.
6884 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6885 (_FP_WFRACBITS_DW_D): Likewise.
6886 (_FP_WFRACXBITS_DW_D): Likewise.
6887 (_FP_HIGHBIT_DW_D): Likewise.
6888 (FP_FMA_D): Likewise.
6889 (_FP_FRAC_HIGH_DW_D): Likewise.
6890 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6891 (_FP_WFRACBITS_DW_E): Likewise.
6892 (_FP_WFRACXBITS_DW_E): Likewise.
6893 (_FP_HIGHBIT_DW_E): Likewise.
6894 (FP_FMA_E): Likewise.
6895 (_FP_FRAC_HIGH_DW_E): Likewise.
6896 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6897 (_FP_WFRACBITS_DW_Q): Likewise.
6898 (_FP_WFRACXBITS_DW_Q): Likewise.
6899 (_FP_HIGHBIT_DW_Q): Likewise.
6900 (FP_FMA_Q): Likewise.
6901 (_FP_FRAC_HIGH_DW_Q): Likewise.
6902 * soft-fp/fmasf4.c: New file.
6903 * soft-fp/fmadf4.c: Likewise.
6904 * soft-fp/fmatf4.c: Likewise.
6905
6308fd9a
LD
69062013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6907
6908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6909 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6910 Silvermont.
6911 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6912 macro.
6913 (index_Slow_SSE4_2): Likewise.
6914 (index_Prefer_PMINUB_for_stringop): Likewise.
6915 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6916 bit_Slow_SSE4_2 is set.
6917 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6918 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6919
89cd9569
RA
69202013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6921
6922 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6923 rtld_global._dl_hwcap2.
6924 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6925 POWER8.
6926 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6927 POWER8 feature descriptions defined in _dl_hwcap2.
6928 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6929 string handling for POWER8 feature bits.
6930 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6931 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6932 _dl_powerpc_cap_flags.
6933 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6934 * sysdeps/powerpc/rtld-global-offsets.sym
6935 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6936 _dl_hwcap2 in the rtld_global_ro structure.
6937
1ae8bfe0
RA
69382013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6939
6940 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6941 hardware capabilities in support of AT_HWCAP2.
6942 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6943 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6944 GLRO(dl_hwcap2).
6945 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6946 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6947 explicitly the unknown a_type display mechanism is used.
6948 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6949 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6950 struct member.
6951 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6952 to macro prototype for AT_HWCAP2 support.
6953 * sysdeps/i386/dl-procinfo.h: Likewise.
6954 * sysdeps/s390/dl-procinfo.h: Likewise.
6955 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6956 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6957 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6958 return -1 for unknown a_type display fallback.
6959 * sysdeps/sparc/dl-procinfo.h: Likewise.
6960 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6961 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6962
8fbec010
JM
69632013-06-28 Joseph Myers <joseph@codesourcery.com>
6964
6965 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6966 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6967
0432680e
PY
69682013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6969
6970 [BZ #12492]
6971 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6972 mprotect making __stack_prot writable.
6973
ce61a2ad
NF
69742013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6975 Joseph Myers <joseph@codesourcery.com>
6976
6977 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6978 as being properly aligned.
6979
f91f1c0f
MR
69802013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6981
3d0f5d0c
MR
6982 * dlfcn/modstatic5.c: New file.
6983 * dlfcn/tststatic5.c: New file.
6984 * dlfcn/Makefile (tests): Add tststatic5.
6985 (tests-static): Likewise.
6986 (modules-names): Add modstatic5.
6987 (tststatic5-ENV): New variable.
6988 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6989
f91f1c0f
MR
6990 [BZ #15022]
6991 * elf/dl-support.c (_dl_main_map): New variable.
6992 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6993 (_dl_nns, _dl_load_adds): Set to 1.
6994 (_dl_initial_searchlist): Refer to _dl_main_map.
6995 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6996 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6997 call to _dl_get_origin.
6998 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6999 around call_map.
7000 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7001 * dlfcn/modstatic3.c: New file.
7002 * dlfcn/tststatic3.c: New file.
7003 * dlfcn/tststatic4.c: New file.
7004 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7005 (tests-static): Likewise.
7006 (modules-names): Add modstatic3.
7007 (tststatic3-ENV, tststatic4-ENV): New variables.
7008 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7009 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7010
cbe7d24b
JM
70112013-06-26 Joseph Myers <joseph@codesourcery.com>
7012
7013 * configure.in (CC): Require GCC version 4.4 or later.
7014 * configure: Regenerated.
7015 * manual/install.texi (Tools for Compilation): Update GCC version
7016 requirement.
7017 * INSTALL: Regenerated.
7018
11b8a0e1
LD
70192013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7020
7021 [BZ #15674]
bb5bb87c
L
7022 * string/test-memcmp.c (check2): New.
7023 (main): Call check2.
7024
11b8a0e1
LD
7025 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7026
b0037103
MR
70272013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7028
7029 [BZ #15022]
7030 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7031 over to...
7032 (dl_open_worker) [!SHARED]: ... here.
7033
c18c701d
RA
70342013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7035
7036 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7037
1d17fa5f
RH
70382013-06-25 Richard Henderson <rth@redhat.com>
7039
7040 * locale/programs/locarchive.c: Include <libc-internal.h>
7041
8fcb833a
JM
70422013-06-25 Joseph Myers <joseph@codesourcery.com>
7043
7044 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7045 trailing whitespace removed.
7046
17db6e8d
MF
70472013-06-24 Mike Frysinger <vapier@gentoo.org>
7048
7049 [BZ #10283]
17db6e8d
MF
7050 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7051 * locale/programs/locarchive.c: Include libc-mmap.h.
7052 (prepare_address_space): Take two new outputs (the mmap base and len).
7053 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
7054 values.
7055 (create_archive): Declare new mmap base and len values for
7056 prepare_address_space, and store the result in ah.
7057 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7058 (enlarge_archive): If ah->mmap_base is not NULL, use that and
7059 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7060 Declare new mmap base and len values for
7061 prepare_address_space, and store the result in new_ah.
7062 (open_archive): Declare new mmap base and len values for
7063 prepare_address_space, and store the result in ah.
7064 (close_archive): If ah->mmap_base is not NULL, use that and
7065 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7066 * sysdeps/generic/libc-mmap.h: New file.
7067
d605071e
MF
70682013-06-24 Mike Frysinger <vapier@gentoo.org>
7069
7070 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7071 (ALIGN_UP): Likewise.
7072 (PTR_ALIGN_DOWN): Likewise.
7073 (PTR_ALIGN_UP): Likewise.
7074
2f063a6e
RA
70752013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7076
7077 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7078 entry mapped to PPC_PLATFORM_POWER8.
7079 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7080 POWER8.
7081 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7082 (_dl_string_platform): Add case for exporting platform position for
7083 POWER8.
7084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7085 search path to sysdeps/powerpc/powerpc32/power8 directory.
7086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7087 search path to sysdeps/powerpc/powerpc64/power8 directory.
7088 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7089 power7 directories.
7090 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7091 power7 directories.
7092
a31ee4b3
SP
70932013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7094
a74ca98f
SP
7095 * INSTALL: Regenerate.
7096
a31ee4b3
SP
7097 * nscd/connections.c (nscd_init): Fix comment.
7098
695c378f
JM
70992013-06-22 Joseph Myers <joseph@codesourcery.com>
7100
d8412221
JM
7101 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7102
695c378f
JM
7103 [BZ #15667]
7104 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7105 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7106
d1d54715
MR
71072013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7108
7109 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7110 DL_DST_REQ_STATIC.
7111 (DL_DST_REQ_STATIC): Remove macro.
7112
8fdda7af
JM
71132013-06-21 Joseph Myers <joseph@codesourcery.com>
7114
7115 [BZ #7006]
7116 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7117 with a shift of 0 bits.
7118
f3bc5e5a
MR
71192013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7120
7121 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7122 $(tststatic-ENV).
7123
be09e8c9
KK
71242013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7125
7126 [BZ #15655]
7127 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7128
85c2e611
AZ
71292013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7130
7131 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7132 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7133 accepts -fno-tree-loop-distribute-patterns.
7134 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7135 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7136 recursive call.
7137 * string/memset.c (memset): Likewise.
7138 * string/test-memmove.c (simple_memmove): Disable loop transformation
7139 to library calls.
7140 * string/test-memset.c (simple_memset): Likewise.
7141 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7142 * benchtests/bench-memset.c (simple_memset): Likewise.
7143 * configure: Regenerated.
7144
c91e0825
JM
71452013-06-20 Joseph Myers <joseph@codesourcery.com>
7146
b8c792af
JM
7147 * math/test-misc.c (main): Ignore fesetround failure when failures
7148 of subsequent rounding tests would be ignored.
7149
c91e0825
JM
7150 [BZ #15654]
7151 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7152 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7153 * math/fegetenv.c (__fegetenv): Return 0.
7154 * math/fegetexcept.c (fegetexcept): Return 0.
7155 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7156 FE_TONEAREST.
7157 * math/feholdexcpt.c (feholdexcept): Return 0.
7158 * math/fesetenv.c (__fesetenv): Return 0.
7159 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7160 argument FE_TONEAREST.
7161 * math/feupdateenv.c (__feupdateenv): Return 0.
7162 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7163
bfcacbde
RM
71642013-06-18 Roland McGrath <roland@hack.frob.com>
7165
7166 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7167 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7168 ($(objpfx)rtld-%.os rules): Use them.
7169
e55a9b25
AZ
71702013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7171
7172 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7173 fields.
7174
346d65b3
RM
71752013-06-17 Roland McGrath <roland@hack.frob.com>
7176
12086fb4
RM
7177 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7178 length of target pattern, then descending length of dependency pattern.
7179 * configure.in (AWK): Require gawk 3.1.2 or newer.
7180 * manual/install.texi (Tools for Compilation): Say that we do.
7181 * configure: Regenerated.
7182
346d65b3
RM
7183 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7184 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7185 * scripts/sysd-rules.awk: ... this new script.
7186 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7187 than a glob-style pattern.
7188
1a846317
JM
71892013-06-17 Joseph Myers <joseph@codesourcery.com>
7190
7191 * math/test-misc.c (main): Do not treat incorrectly rounded
7192 conversions as failure unless ROUNDING_TESTS passes.
7193
8fc75e6f
JM
71942013-06-15 Joseph Myers <joseph@codesourcery.com>
7195
3711a167
JM
7196 [BZ #15631]
7197 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7198 restore exception state around main square root computation, then
7199 check for inexactness explicitly.
7200
8fc75e6f
JM
7201 * math/libm-test.inc (fma_test_data): Add another test.
7202
61dd6208
SP
72032013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7204
adf23d2c
SP
7205 * manual/threads.texi (Non-POSIX Extensions): New document
7206 node. Document pthread_getattr_default_np and
7207 pthread_setattr_default_np.
7208
61dd6208
SP
7209 * Versions.def (libpthread): Add GLIBC_2.18.
7210 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7212 Likewise.
7213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7214 Likewise.
7215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7216 Likewise.
7217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7218 Likewise.
7219 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7220 Likewise.
7221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7222 Likewise.
7223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7224 Likewise.
7225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7226 Likewise.
7227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7228 Likewise.
7229
d086fc7b
LD
72302013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7231
7232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7233 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7234
747ef469
SP
72352013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7236 H.J. Lu <hjl.tools@gmail.com>
7237
7238 [BZ #15627]
7239 * sysdeps/x86_64/rtld-memset.c: Remove file.
7240 * sysdeps/x86_64/rtld-memset.S: New file.
7241
1b2feed2
JM
72422013-06-14 Joseph Myers <joseph@codesourcery.com>
7243
7244 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7245 (test_in_one_mode): Take arguments for whether the rounding mode
7246 is supported for each floating-point type.
7247 (do_test): Pass new arguments to test_in_one_mode using
7248 ROUNDING_TESTS.
7249
a58ad3f8
RM
72502013-06-13 Roland McGrath <roland@hack.frob.com>
7251
7252 * posix/tst-waitid.c (do_test): Distinguish different instances of
7253 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7254 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7255 before entering the kernel for waitpid.
7256
c204ab28
SP
72572013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7258
7259 * NEWS: Fix note on clock function precision. Text by Roland
7260 McGrath.
7261
f4a29fba
RM
72622013-06-13 Roland McGrath <roland@hack.frob.com>
7263
7264 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7265 it into place only when and if the sanity check passes.
7266
1f24b9ad
JM
72672013-06-13 Joseph Myers <joseph@codesourcery.com>
7268
7269 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7270 output for whether conversion result is exact. Take argument
7271 indicating whether type is IBM long double.
7272 (round_for_all): Change need_exact field to ibm_ld.
7273 * stdlib/tst-strtod-round.c (struct exactness): New type.
7274 (struct test): Change bool ld_ok field to struct exactness exact.
7275 (TEST): Update all definitions for change to field.
7276 (tests): Regenerate array contents.
7277 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7278 field value. Check for IBM long double here.
7279 (do_test): Update calls to test_in_one_mode.
7280
58206c68
SP
72812013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7282
7283 [BZ #12515]
7284 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7285 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7286
2d6f4c5b 72872013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
7288
7289 [BZ #15605]
7290 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7291 generated by the compiler on loop optimizations.
7292 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7293 general definitions.
7294
94f2c076
JM
72952013-06-12 Joseph Myers <joseph@codesourcery.com>
7296
7297 * math/bug-nextafter.c: Include <math-tests.h>.
7298 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7299 the relevant type.
7300 * math/bug-nexttoward.c: Include <math-tests.h>.
7301 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7302 the relevant type.
7303 * math/test-misc.c: Include <math-tests.h>.
7304 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7305 the relevant type.
7306
e0e50a0a
AJ
73072013-06-12 Andreas Jaeger <aj@suse.de>
7308
7309 * po/ia.po: Update Interlingua translation from translation
7310 project.
7311
25061094
SP
73122013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7313
7314 * include/fenv.h: Include stdbool.h.
7315 (struct rm_ctx): New structure.
7316 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7317 Define macro.
7318 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7319 (SET_RESTORE_ROUNDF): Likewise.
7320 (SET_RESTORE_ROUNDL): Likewise.
7321 (SET_RESTORE_ROUND_NOEX): Likewise.
7322 (SET_RESTORE_ROUND_NOEXF): Likewise.
7323 (SET_RESTORE_ROUND_NOEXL): Likewise.
7324 (SET_RESTORE_ROUND_53BIT): Likewise.
7325 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7326 (libc_feresetround_noexf_ctx): Likewise.
7327 (libc_feresetround_noexl_ctx): Likewise.
7328 (libc_feholdsetround_53bit_ctx): Likewise.
7329 (libc_feresetround_53bit_ctx): Likewise.
7330 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7331 (libc_feholdexcept_setround_sse_ctx): New function.
7332 (libc_fesetenv_sse_ctx): Likewise.
7333 (libc_feupdateenv_sse_ctx): Likewise.
7334 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7335 (libc_feholdexcept_setround_387_ctx): Likewise.
7336 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7337 (libc_feholdsetround_387_prec_ctx): Likewise.
7338 (libc_feholdsetround_387_ctx): Likewise.
7339 (libc_feholdsetround_387_53bit_ctx): Likewise.
7340 (libc_feholdsetround_sse_ctx): Likewise.
7341 (libc_feresetround_sse_ctx): Likewise.
7342 (libc_feresetround_387_ctx): Likewise.
7343 (libc_feupdateenv_387_ctx): Likewise.
7344 (libc_feholdexcept_setroundf_ctx): Define macro.
7345 (libc_fesetenvf_ctx): Likewise.
7346 (libc_feupdateenvf_ctx): Likewise.
7347 (libc_feholdsetroundf_ctx): Likewise.
7348 (libc_feresetroundf_ctx): Likewise.
7349 (libc_feholdexcept_setround_ctx): Likewise.
7350 (libc_fesetenv_ctx): Likewise.
7351 (libc_feupdateenv_ctx): Likewise.
7352 (libc_feholdsetround_ctx): Likewise.
7353 (libc_feresetround_ctx): Likewise.
7354 (libc_feholdexcept_setroundl_ctx): Likewise.
7355 (libc_feupdateenvl_ctx): Likewise.
7356 (libc_feholdsetroundl_ctx): Likewise.
7357 (libc_feresetroundl_ctx): Likewise.
7358 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7359 (libc_feresetround_53bit_ctx): Likewise.
7360
59b30555
SP
73612013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7362
7363 * locale/iso-639.def: Convert to UTF-8.
7364
f1d73d30
JM
73652013-06-11 Joseph Myers <joseph@codesourcery.com>
7366
7367 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7368 (EXCEPTION_TESTS_double): Likewise.
7369 (EXCEPTION_TESTS_long_double): Likewise.
7370 (EXCEPTION_TESTS): Likewise.
7371 * math/libm-test.inc (test_exceptions): Only test exceptions if
7372 EXCEPTION_TESTS (FLOAT).
7373
94aca5e7
SP
73742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7375
7376 * benchtests/Makefile (string-bench): Add strcpy_chk and
7377 stpcpy_chk.
7378 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7379 * benchtests/bench-stpcpy_chk.c: New file.
7380 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7381 * benchtests/bench-strcpy_chk.c: New file.
7382 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7383 code.
7384 (do_test): Likewise.
7385
fac0c5f2
RA
73862013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7387
7388 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7389 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7390 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7391 with tabs where appropriate.
7392 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7393 dl-procinfo.h.
7394 [PPC_PLATFORM_PPC440]: Likewise.
7395 [PPC_PLATFORM_PPC464]: Likewise.
7396 [PPC_PLATFORM_PPC476]: Likewise.
7397 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7398 ppc464, and ppc476 platform strings merging from ports/
7399 dl-procinfo.h.
7400
f22bc486
AS
74012013-06-11 Andreas Schwab <schwab@suse.de>
7402
7403 [BZ #14991]
7404 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7405 (from_ucs4_idx): Regenerate.
7406 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7407 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7408 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7409 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7410 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7411 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7412 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7413 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7414 from FROM_LOOP and TO_LOOP specific macros.
7415 (BODY): Handle combining characters.
7416 * iconvdata/BIG5HKSCS.irreversible: Update.
7417 * iconvdata/BIG5HKSCS.precomposed: New file.
7418 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7419 characters.
7420 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7421
c1f75dc3
SP
74222013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7423
4eacded2
SP
7424 * include/sys/time.h: Fix indentation and add copyright header.
7425
fec799f8
SP
7426 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7427 (do_test): Likewise.
7428 * string/test-memchr.c (do_one_test): Likewise.
7429 (do_test): Likewise.
7430 * string/test-memcmp.c (do_one_test): Likewise.
7431 (do_test): Likewise.
7432 * string/test-memcpy.c (do_one_test): Likewise.
7433 (do_test): Likewise.
7434 * string/test-memmem.c (do_one_test): Likewise.
7435 (do_test): Likewise.
7436 (do_random_tests): Likewise.
7437 * string/test-memmove.c (do_one_test): Likewise.
7438 (do_test): Likewise.
7439 * string/test-memset.c (do_one_test): Likewise.
7440 (do_test): Likewise.
7441 * string/test-rawmemchr.c (do_one_test): Likewise.
7442 (do_test): Likewise.
7443 * string/test-strcasecmp.c (do_one_test): Likewise.
7444 (do_test): Likewise.
7445 * string/test-strcasestr.c (do_one_test): Likewise.
7446 (do_test): Likewise.
7447 * string/test-strcat.c (do_one_test): Likewise.
7448 (do_test): Likewise.
7449 * string/test-strchr.c (do_one_test): Likewise.
7450 (do_test): Likewise.
7451 * string/test-strcmp.c (do_one_test): Likewise.
7452 (do_test): Likewise.
7453 * string/test-strcpy.c (do_one_test): Likewise.
7454 (do_test): Likewise.
7455 * string/test-string.h: Likewise.
7456 (test_init): Likewise.
7457 * string/test-strlen.c (do_one_test): Likewise.
7458 (do_test): Likewise.
7459 * string/test-strncasecmp.c (do_one_test): Likewise.
7460 (do_test): Likewise.
7461 * string/test-strncat.c (do_one_test): Likewise.
7462 (do_test): Likewise.
7463 * string/test-strncmp.c (do_one_test): Likewise.
7464 (do_test_limit): Likewise.
7465 (do_test): Likewise.
7466 * string/test-strncpy.c (do_one_test): Likewise.
7467 (do_test): Likewise.
7468 * string/test-strnlen.c (do_one_test): Likewise.
7469 (do_test): Likewise.
7470 * string/test-strpbrk.c (do_one_test): Likewise.
7471 (do_test): Likewise.
7472 * string/test-strrchr.c (do_one_test): Likewise.
7473 (do_test): Likewise.
7474 * string/test-strspn.c (do_one_test): Likewise.
7475 (do_test): Likewise.
7476 * string/test-strstr.c (do_one_test): Likewise.
7477 (do_test): Likewise.
7478
97020474
SP
7479 * benchtests/Makefile (string-bench): Add string benchmarks.
7480 * benchtests/bench-bcopy-ifunc.c: New file.
7481 * benchtests/bench-bcopy.c: New file.
7482 * benchtests/bench-bzero-ifunc.c: New file.
7483 * benchtests/bench-bzero.c: New file.
7484 * benchtests/bench-memccpy-ifunc.c: New file.
7485 * benchtests/bench-memccpy.c: New file.
7486 * benchtests/bench-memchr-ifunc.c: New file.
7487 * benchtests/bench-memchr.c: New file.
7488 * benchtests/bench-memcmp-ifunc.c: New file.
7489 * benchtests/bench-memcmp.c: New file.
7490 * benchtests/bench-memmem-ifunc.c: New file.
7491 * benchtests/bench-memmem.c: New file.
7492 * benchtests/bench-memmove-ifunc.c: New file.
7493 * benchtests/bench-memmove.c: New file.
7494 * benchtests/bench-mempcpy-ifunc.c: New file.
7495 * benchtests/bench-mempcpy.c: New file.
7496 * benchtests/bench-memset-ifunc.c: New file.
7497 * benchtests/bench-memset.c: New file.
7498 * benchtests/bench-rawmemchr-ifunc.c: New file.
7499 * benchtests/bench-rawmemchr.c: New file.
7500 * benchtests/bench-stpcpy-ifunc.c: New file.
7501 * benchtests/bench-stpcpy.c: New file.
7502 * benchtests/bench-stpncpy-ifunc.c: New file.
7503 * benchtests/bench-stpncpy.c: New file.
7504 * benchtests/bench-strcasecmp-ifunc.c: New file.
7505 * benchtests/bench-strcasecmp.c: New file.
7506 * benchtests/bench-strcasestr-ifunc.c: New file.
7507 * benchtests/bench-strcasestr.c: New file.
7508 * benchtests/bench-strcat-ifunc.c: New file.
7509 * benchtests/bench-strcat.c: New file.
7510 * benchtests/bench-strchr-ifunc.c: New file.
7511 * benchtests/bench-strchr.c: New file.
7512 * benchtests/bench-strchrnul-ifunc.c: New file.
7513 * benchtests/bench-strchrnul.c: New file.
7514 * benchtests/bench-strcmp-ifunc.c: New file.
7515 * benchtests/bench-strcmp.c: New file.
7516 * benchtests/bench-strcpy-ifunc.c: New file.
7517 * benchtests/bench-strcpy.c: New file.
7518 * benchtests/bench-strcspn-ifunc.c: New file.
7519 * benchtests/bench-strcspn.c: New file.
7520 * benchtests/bench-strlen-ifunc.c: New file.
7521 * benchtests/bench-strlen.c: New file.
7522 * benchtests/bench-strncasecmp-ifunc.c: New file.
7523 * benchtests/bench-strncasecmp.c: New file.
7524 * benchtests/bench-strncat-ifunc.c: New file.
7525 * benchtests/bench-strncat.c: New file.
7526 * benchtests/bench-strncmp-ifunc.c: New file.
7527 * benchtests/bench-strncmp.c: New file.
7528 * benchtests/bench-strncpy-ifunc.c: New file.
7529 * benchtests/bench-strncpy.c: New file.
7530 * benchtests/bench-strnlen-ifunc.c: New file.
7531 * benchtests/bench-strnlen.c: New file.
7532 * benchtests/bench-strpbrk-ifunc.c: New file.
7533 * benchtests/bench-strpbrk.c: New file.
7534 * benchtests/bench-strrchr-ifunc.c: New file.
7535 * benchtests/bench-strrchr.c: New file.
7536 * benchtests/bench-strspn-ifunc.c: New file.
7537 * benchtests/bench-strspn.c: New file.
7538 * benchtests/bench-strstr-ifunc.c: New file.
7539 * benchtests/bench-strstr.c: New file.
7540
c1f75dc3
SP
7541 * benchtests/Makefile: Disable parallel execution of targets.
7542 (string-bench): Add memcpy.
7543 (benchset): New variable to store a list of benchmark sets.
7544 (bench-func): Renamed from bench.
7545 (bench-set): New target.
7546 (bench): Depend on bench-func and bench-set.
7547 * benchtests/README: Add section on benchmark sets.
7548 * benchtests/bench-memcpy-ifunc.c: New file.
7549 * benchtests/bench-memcpy.c: New file.
7550 * benchtests/bench-string.h: New file.
7551
50fd745b
AS
75522013-06-11 Andreas Schwab <schwab@suse.de>
7553
7554 [BZ #15577]
7555 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7556 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7557 values in the triple.
7558 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7559 terminator in the group key.
7560
3ee7e9fe
AJ
75612013-06-11 Andreas Jaeger <aj@suse.de>
7562
7563 * po/zh_TW.po: Update Chinese (traditional) translation from
7564 translation project.
7565
89fb6835
SP
75662013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7567
7568 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7569 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7570 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7571 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7572 (clock_getcpuclockid): Likewise.
7573 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7574 Add weak_alias and libc_hidden_def.
7575 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7576 * rt/clock_gettime.c (clock_gettime): Rename to
7577 __clock_gettime. Add weak_alias and libc_hidden_def.
7578 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7579 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7580 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7581 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7582 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7583 Likewise.
7584 * rt/clock_settime.c (clock_settime): Rename to
7585 __clock_settime. Add weak_alias and libc_hidden_def.
7586 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7587
0efa6f8b
JM
75882013-06-10 Joseph Myers <joseph@codesourcery.com>
7589
b8c61b4b
JM
7590 * mach/err_boot.sub: Remove trailing whitespace.
7591 * mach/err_ipc.sub: Likewise.
7592 * mach/err_mach.sub: Likewise.
7593
0efa6f8b
JM
7594 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7595 (ROUNDING_TESTS_double): Likewise.
7596 (ROUNDING_TESTS_long_double): Likewise.
7597 (ROUNDING_TESTS): Likewise.
7598 * math/libm-test.inc: Include <math-tests.h>.
7599 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7600 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7601 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7602 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7603
50b818bf
SP
76042013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7605
7606 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7607 of assigning.
7608
60d2f8f3
JM
76092013-06-08 Joseph Myers <joseph@codesourcery.com>
7610
4902d2c3
JM
7611 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7612 otherwise empty TRANS lines.
7613 * sysdeps/gnu/errlist.c: Regenerated.
7614
60d2f8f3
JM
7615 * catgets/gencat.c (error_print): Use (void) in function
7616 definition.
7617 * crypt/crypt_util.c (__init_des): Likewise.
7618 * crypt/speeds.c (Stop): Likewise.
7619 (main): Likewise.
7620 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7621 * inet/ruserpass.c (token): Likewise.
7622 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7623 * intl/localealias.c (extend_alias_table): Likewise.
7624 * intl/plural-exp.c (init_germanic_plural): Likewise.
7625 * libio/fcloseall.c (__fcloseall): Likewise.
7626 * libio/genops.c (_IO_flush_all): Likewise.
7627 (_IO_flush_all_linebuffered): Likewise.
7628 (_IO_cleanup): Likewise.
7629 (_IO_iter_begin): Likewise.
7630 (_IO_iter_end): Likewise.
7631 (_IO_list_lock): Likewise.
7632 (_IO_list_unlock): Likewise.
7633 (_IO_list_resetlock): Likewise.
7634 * libio/getchar.c (getchar): Likewise.
7635 * libio/getchar_u.c (getchar_unlocked): Likewise.
7636 * libio/getwchar.c (getwchar): Likewise.
7637 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7638 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7639 * login/getpt.c (__getpt): Likewise.
7640 * login/tst-utmp.c (main): Likewise.
7641 * malloc/hooks.c (__malloc_check_init): Likewise.
7642 * malloc/malloc.c (__malloc_stats): Likewise.
7643 * malloc/mtrace.c (tr_break): Likewise.
7644 (mtrace): Likewise.
7645 (muntrace): Likewise.
7646 * misc/fstab.c (endfsent): Likewise.
7647 * misc/getclktck.c (__getclktck): Likewise.
7648 * misc/getdtsz.c (__getdtablesize): Likewise.
7649 * misc/gethostid.c (gethostid): Likewise.
7650 * misc/getpagesize.c (__getpagesize): Likewise.
7651 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7652 (__get_nprocs): Likewise.
7653 (__get_phys_pages): Likewise.
7654 (__get_avphys_pages): Likewise.
7655 * misc/getttyent.c (getttyent): Likewise.
7656 (setttyent): Likewise.
7657 (endttyent): Likewise.
7658 * misc/getusershell.c (getusershell): Likewise.
7659 (endusershell): Likewise.
7660 (setusershell): Likewise.
7661 (initshells): Likewise.
7662 * misc/hsearch.c (__hdestroy): Likewise.
7663 * misc/sync.c (sync): Likewise.
7664 * misc/syslog.c (closelog_internal): Likewise.
7665 (closelog): Likewise.
7666 * misc/ttyslot.c (ttyslot): Likewise.
7667 * misc/vhangup.c (vhangup): Likewise.
7668 * posix/fork.c (__fork): Likewise.
7669 * posix/getegid.c (__getegid): Likewise.
7670 * posix/geteuid.c (__geteuid): Likewise.
7671 * posix/getgid.c (__getgid): Likewise.
7672 * posix/getpid.c (__getpid): Likewise.
7673 * posix/getppid.c (__getppid): Likewise.
7674 * posix/getuid.c (__getuid): Likewise.
7675 * posix/pause.c (pause): Likewise.
7676 * posix/setpgrp.c (setpgrp): Likewise.
7677 * posix/setsid.c (__setsid): Likewise.
7678 * posix/test-vfork.c (noop): Likewise.
7679 * resolv/gethnamaddr.c (_endhtent): Likewise.
7680 (_gethtent): Likewise.
7681 (ht_endhostent): Likewise.
7682 (gethostent): Likewise.
7683 (dns_service): Likewise.
7684 * stdlib/drand48.c (drand48): Likewise.
7685 * stdlib/lrand48.c (lrand48): Likewise.
7686 * stdlib/mrand48.c (mrand48): Likewise.
7687 * stdlib/rand.c (rand): Likewise.
7688 * stdlib/random.c (__random): Likewise.
7689 * stdlib/setenv.c (clearenv): Likewise.
7690 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7691 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7692 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7693 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7694 (__get_nprocs): Likewise.
7695 (__get_phys_pages): Likewise.
7696 (__get_avphys_pages): Likewise.
7697 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7698 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7699 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7700 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7701 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7702 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7703 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7704 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7705 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7706 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7707 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7708 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7709 * sysdeps/posix/clock.c (clock): Likewise.
7710 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7711 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7712 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7713 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7714 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7715 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7716 (__get_nprocs_conf): Likewise.
7717 (__get_phys_pages): Likewise.
7718 (__get_avphys_pages): Likewise.
7719 * time/clock.c (clock): Likewise.
7720 * time/tzset.c (__tzname_max): Likewise.
7721
2e09a79a
JM
77222013-06-07 Joseph Myers <joseph@codesourcery.com>
7723
7724 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7725 (__bswap_32): Do not use "register".
7726 * crypt/crypt.c (_ufc_doit_r): Likewise.
7727 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7728 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7729 * gmon/gmon.c (__monstartup): Likewise.
7730 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7731 * hurd/hurdmalloc.c (more_memory): Likewise.
7732 (malloc): Likewise.
7733 (free): Likewise.
7734 (realloc): Likewise.
7735 (malloc_fork_prepare): Likewise.
7736 (malloc_fork_parent): Likewise.
7737 (malloc_fork_child): Likewise.
7738 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7739 (_svcauth_des): Likewise.
7740 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7741 * inet/inet_net.c (inet_network): Likewise.
7742 * inet/inet_netof.c (inet_netof): Likewise.
7743 * inet/rcmd.c (__validuser2_sa): Likewise.
7744 * io/fts.c (fts_open): Likewise.
7745 (fts_load): Likewise.
7746 (fts_close): Likewise.
7747 (fts_read): Likewise.
7748 (fts_children): Likewise.
7749 (fts_build): Likewise.
7750 (fts_stat): Likewise.
7751 (fts_sort): Likewise.
7752 (fts_alloc): Likewise.
7753 (fts_lfree): Likewise.
7754 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7755 (_IO_file_xsgetn): Likewise.
7756 (_IO_file_xsgetn_mmap): Likewise.
7757 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7758 (_IO_cookie_write): Likewise.
7759 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7760 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7761 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7762 * malloc/obstack.c (_obstack_begin): Likewise.
7763 (_obstack_begin_1): Likewise.
7764 (_obstack_newchunk): Likewise.
7765 (_obstack_allocated_p): Likewise.
7766 (obstack_free): Likewise.
7767 (_obstack_memory_used): Likewise.
7768 * misc/getttyent.c (getttynam): Likewise.
7769 (getttyent): Likewise.
7770 (skip): Likewise.
7771 (value): Likewise.
7772 * misc/getusershell.c (initshells): Likewise.
7773 * misc/syslog.c (__vsyslog_chk): Likewise.
7774 * misc/ttyslot.c (ttyslot): Likewise.
7775 * nis/nis_hash.c (__nis_hash): Likewise.
7776 * posix/fnmatch_loop.c (FCT): Likewise.
7777 * posix/getconf.c (print_all): Likewise.
7778 (main): Likewise.
7779 * posix/getopt.c (exchange): Likewise.
7780 * posix/glob.c (globfree): Likewise.
7781 (prefix_array): Likewise.
7782 (__glob_pattern_type): Likewise.
7783 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7784 (NS_GET32): Likewise.
7785 (NS_PUT16): Likewise.
7786 (NS_PUT32): Likewise.
7787 * resolv/gethnamaddr.c (getanswer): Likewise.
7788 (gethostbyname2): Likewise.
7789 (gethostbyaddr): Likewise.
7790 (_gethtent): Likewise.
7791 (_gethtbyname2): Likewise.
7792 (_gethtbyaddr): Likewise.
7793 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7794 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7795 * resolv/res_init.c (__res_vinit): Likewise.
7796 (net_mask): Likewise.
7797 * resolv/res_mkquery.c (outchar): Likewise.
7798 (PRINT): Likewise.
7799 * stdio-common/printf_fp.c (outchar): Likewise.
7800 (PRINT): Likewise.
7801 * stdio-common/printf_fphex.c (outchar): Likewise.
7802 (PRINT): Likewise.
7803 * stdio-common/printf_size.c (outchar): Likewise.
7804 (PRINT): Likewise.
7805 * stdio-common/test_rdwr.c (main): Likewise.
7806 * stdio-common/tfformat.c (matches): Likewise.
7807 * stdio-common/vfprintf.c (outchar): Likewise.
7808 (printf_unknown): Likewise.
7809 (buffered_vfprintf): Likewise.
7810 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7811 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7812 (ReadFile): Likewise.
7813 * stdlib/qsort.c (SWAP): Likewise.
7814 (_quicksort): Likewise.
7815 * stdlib/setenv.c (__add_to_environ): Likewise.
7816 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7817 * stdlib/strtol_l.c (__strtol_l): Likewise.
7818 * stdlib/tst-strtod.c (main): Likewise.
7819 * stdlib/tst-strtol.c (main): Likewise.
7820 * stdlib/tst-strtoll.c (main): Likewise.
7821 * string/bits/string2.h (__strcmp_cc): Likewise.
7822 (__strcmp_cg): Likewise.
7823 (__strcspn_c1): Likewise.
7824 (__strcspn_c2): Likewise.
7825 (__strcspn_c3): Likewise.
7826 (__strspn_c1): Likewise.
7827 (__strspn_c2): Likewise.
7828 (__strspn_c3): Likewise.
7829 (__strsep_1c): Likewise.
7830 (__strsep_2c): Likewise.
7831 (__strsep_3c): Likewise.
7832 * string/memccpy.c (__memccpy): Likewise.
7833 * string/stpcpy.c (__stpcpy): Likewise.
7834 * string/strcmp.c (strcmp): Likewise.
7835 * string/strrchr.c (strrchr): Likewise.
7836 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7837 Likewise.
7838 * sysdeps/mach/hurd/getcwd.c
7839 (_hurd_canonicalize_directory_name_internal): Likewise.
7840 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7841 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7842 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7843 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7844 Likewise, in both definitions.
7845 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7846 definitions.
7847 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7848 64] (__bswap_64): Likewise.
7849 * time/test_time.c (main): Likewise.
7850 * time/tzfile.c (__tzfile_read): Likewise.
7851 (__tzfile_compute): Likewise.
7852 * time/tzset.c (__tzset_parse_tz): Likewise.
7853 (tzset_internal): Likewise.
7854 (compute_change): Likewise.
7855 * wcsmbs/wcscat.c (__wcscat): Likewise.
7856 * wcsmbs/wcschr.c (wcschr): Likewise.
7857 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7858 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7859 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7860 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7861 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7862 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7863 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7864 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7865 * wcsmbs/wmemset.c (wmemset): Likewise.
7866
9e54314b
JM
78672013-06-06 Joseph Myers <joseph@codesourcery.com>
7868
7869 * scripts/config.guess: Update to version 2013-05-16.
7870 * scripts/config.sub: Update to version 2013-04-24.
7871 * scripts/install-sh: Update to version 2011-11-20.07.
7872 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7873 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7874
350635a5
OB
78752013-06-06 Ondřej Bílka <neleai@seznam.cz>
7876
7877 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7878 * elf/sln.c: Likewise.
7879 * hurd/hurd/ioctl.h: Likewise.
7880 * hurd/hurdmalloc.c: Likewise.
7881 * hurd/xattr.c: Likewise.
7882 * include/shlib-compat.h: Likewise.
7883 * inet/ruserpass.c: Likewise.
7884 * libio/iofgets_u.c: Likewise.
7885 * libio/iofgetws_u.c: Likewise.
7886 * locale/programs/ld-identification.c: Likewise.
7887 * locale/programs/ld-time.c: Likewise.
7888 * mach/msg-destroy.c: Likewise.
7889 * nss/nss_files/files-netgrp.c: Likewise.
7890 * resolv/res_data.c: Likewise.
7891 * soft-fp/op-1.h: Likewise.
7892 * soft-fp/op-2.h: Likewise.
7893 * soft-fp/op-4.h: Likewise.
7894 * soft-fp/op-common.h: Likewise.
7895 * stdio-common/printf_fphex.c: Likewise.
7896 * stdlib/strtod_l.c: Likewise.
7897 * sunrpc/rpc/clnt.h: Likewise.
7898 * sysdeps/generic/framestate.c: Likewise.
7899 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7900 * sysdeps/i386/bsd-setjmp.S: Likewise.
7901 * sysdeps/i386/__longjmp.S: Likewise.
7902 * sysdeps/i386/setjmp.S: Likewise.
7903 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7904 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7905 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7906 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7907 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7908 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7909 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7910 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7911 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7912 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7913 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7914 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7915 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7916 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7917 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7918 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7919 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7920 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7921 * sysdeps/ieee754/support.c: Likewise.
7922 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7923 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7924 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7925 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7926 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7927 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7928 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7929 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7930 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7931 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7932 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7933 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7934 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7935 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7936 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7937 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7938 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7940
44a988af
OB
79412013-06-05 Ondřej Bílka <neleai@seznam.cz>
7942
25506f09 7943 * posix/transbug.c: Remove executable mode.
44a988af 7944
9c84384c
JM
79452013-06-05 Joseph Myers <joseph@codesourcery.com>
7946
7947 * crypt/speeds.c: Remove trailing whitespace.
7948 * dlfcn/default.c: Likewise.
7949 * elf/ifuncdep2.c: Likewise.
7950 * elf/ifuncmain1.c: Likewise.
7951 * elf/ifuncmain1vis.c: Likewise.
7952 * elf/testobj.h: Likewise.
7953 * elf/tst-stackguard1.c: Likewise.
7954 * gmon/sys/gmon.h: Likewise.
7955 * hurd/hurdmsg.c: Likewise.
7956 * hurd/new-fd.c: Likewise.
7957 * hurd/ports-get.c: Likewise.
7958 * iconvdata/ibm1008_420.c: Likewise.
7959 * inet/tst-getni1.c: Likewise.
7960 * inet/tst-getni2.c: Likewise.
7961 * libio/ioungetc.c: Likewise.
7962 * libio/wfiledoalloc.c: Likewise.
7963 * manual/libm-err-tab.pl: Likewise.
7964 * math/w_dremf.c: Likewise.
7965 * misc/ftruncate.c: Likewise.
7966 * posix/bug-glob2.c: Likewise.
7967 * posix/tst-pcre.c: Likewise.
7968 * posix/wait4.c: Likewise.
7969 * resolv/README: Likewise.
7970 * resolv/res_debug.h: Likewise.
7971 * resolv/tst-inet_ntop.c: Likewise.
7972 * setjmp/bug269-setjmp.c: Likewise.
7973 * soft-fp/extended.h: Likewise.
7974 * soft-fp/op-1.h: Likewise.
7975 * soft-fp/op-2.h: Likewise.
7976 * soft-fp/op-4.h: Likewise.
7977 * soft-fp/op-8.h: Likewise.
7978 * soft-fp/testit.c: Likewise.
7979 * stdio-common/bug16.c: Likewise.
7980 * stdlib/random.c: Likewise.
7981 * sunrpc/rpcsvc/rquota.x: Likewise.
7982 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7983 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7984 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7985 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7986 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7987 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7988 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7989 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7990 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7991 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7992 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7993 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7994 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7995 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7996 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7997 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7998 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7999 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8000 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8001 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8002 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8003 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8004 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8005 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8006 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8007 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8008 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8009 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8010 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8011 * sysdeps/ieee754/s_lib_version.c: Likewise.
8012 * sysdeps/mach/hurd/check_fds.c: Likewise.
8013 * sysdeps/mach/hurd/getsockname.c: Likewise.
8014 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8015 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8016 * sysdeps/powerpc/bits/link.h: Likewise.
8017 * sysdeps/powerpc/dl-procinfo.c: Likewise.
8018 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8019 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8020 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8021 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8022 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8023 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8024 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8025 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8026 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8027 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8028 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8029 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8030 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8031 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8032 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8033 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8034 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8035 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8036 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8037 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8038 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8039 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8040 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8041 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8042 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8043 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8044 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8045 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8046 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8047 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8048 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8049 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8050 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8051 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8052 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8053 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8054 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8055 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8056 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8057 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8058 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8059 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8060 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8061 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8062 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8063 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8064 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8065 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8066 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8067 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8068 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8069 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8070 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8071 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8072 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8073 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8074 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8075 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8076 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8077 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8078 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8079 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8080 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8081 * sysdeps/powerpc/sysdep.h: Likewise.
8082 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8083 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8084 * sysdeps/sh/dl-trampoline.S: Likewise.
8085 * sysdeps/sh/memset.S: Likewise.
8086 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8087 * sysdeps/sh/strlen.S: Likewise.
8088 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8089 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8090 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8091 * sysdeps/sparc/sparc32/rem.S: Likewise.
8092 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8093 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8094 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8095 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8096 * sysdeps/sparc/sparc32/urem.S: Likewise.
8097 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8098 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8099 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8100 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8101 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8102 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8103 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8104 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8105 * sysdeps/unix/bsd/times.c: Likewise.
8106 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8107 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8111 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8112 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8113 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8114 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8115 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8116 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8117 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8118 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8119 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8120 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8121 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8122 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8123 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8124 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8125 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8126 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8127 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8128 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8129 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8130 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8131 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8132 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8133 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8134 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8135 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8136 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8137 * sysdeps/x86_64/strcspn.S: Likewise.
8138
869378a5
RA
81392013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8140
8141 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8142 generated file. Regenerate properly from gen-translit.pl.
8143 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8144 locale/C-translit.h.
8145
840e2943
AS
81462013-06-05 Andreas Schwab <schwab@suse.de>
8147
8148 [BZ #15100]
8149 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8150 week as 6 instead of -1.
8151 * time/tst-strptime.c (day_tests): Add test case.
8152
4c60cb0c
SP
81532013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8154
8155 * sysdeps/generic/math_private.h
8156 (libc_feholdexcept_setround_53bit): Replace with
8157 libc_feholdsetround_53bit.
8158 (libc_feupdateenv_53bit): Replace with
8159 libc_feresetround_53bit.
8160 (SET_RESTORE_ROUND_53BIT): Adjust.
8161
d180203e
SP
81622013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8163
96df079a
SP
8164 * string/test-strchrnul.c: Add copyright header.
8165
d180203e
SP
8166 * posix/tst-getaddrinfo4.c: Increase test timeout.
8167
8b0ccb2d
CD
81682013-06-03 Carlos O'Donell <carlos@redhat.com>
8169
8170 [BZ #15536]
8171 * math/libm-test.inc (MAX_EXP): Remove
8172 (MIN_EXP): Define.
8173 (ulp): Use MIN_EXP - MANT_DIG.
8174 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8175
3b3c4d40
CD
81762013-05-31 Carlos O'Donell <carlos@redhat.com>
8177
8178 * po/be.po: Revert last change.
8179 * po/zh_CN.po: Likewise.
8180 * po/header.pot: Likewise.
8181
fab7ce3f
JM
81822013-05-31 Joseph Myers <joseph@codesourcery.com>
8183
8184 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8185 link-libc-deps to empty as target-specific variable.
8186 * Makerules (link-libc-args): New variable.
8187 (libc-for-link): Likewise.
8188 (link-libc-deps): Likewise.
8189 (lib%.so): Depend on $(link-libc-deps). Link with
8190 $(link-libc-args).
8191 (build-module): Link with $(link-libc-args).
8192 (build-module-asneeded): Likewise.
8193 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8194 list of objects.
8195 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8196 target-specific variable.
8197 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8198 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8199 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8200 libc.
8201 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8202 libc and ld.so.
8203 ($(objpfx)libpcprofile.so): Likewise.
8204 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8205 libc_nonshared.a.
8206 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8207 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8208 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8209 $(link-libc-deps).
8210 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8211 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8212 * login/Makefile ($(objpfx)libutil.so): Likewise.
8213 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8214 * math/Makefile ($(objpfx)libm.so): Likewise.
8215 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8216 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8217 variable instead of depending directly on libc.
8218 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8219 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8220 $(link-libc-deps).
8221 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8222 libc.
8223 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8224 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8225 ($(objpfx)libanl.so): Likewise.
8226 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8227 ld.so.
8228 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8229 $(link-libc-deps).
8230 * sysdeps/i386/fpu/Makefile: Remove file.
8231 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8232 ($(objpfx)libm.so): Remove dependency on ld.so.
8233
eca5920c
PF
82342013-05-30 Patsy Franklin <pfrankli@redhat.com>
8235
8236 [BZ # 15553]
8237 * nis/yp_xdr.c (XDRMAXNAME): Define.
8238 (XDRMAXRECORD): Define.
8239 (xdr_domainname): Use XDRMAXNAME.
8240 (xdr_mapname): Likewise.
8241 (xdr_peername): Likewise.
8242 (xdr_keydat): Use XDRMAXRECORD.
8243 (xdr_valdat): Likewise.
8244
82452013-05-30 Jeff Law <law@redhat.com>
96945714
JL
8246
8247 [BZ #14256]
8248 * manual/errno.texi (ESTALE): Update to account for more than
8249 just NFS file systems.
8250 * sysdeps/gnu/errlist.c: Regenerated.
8251
b9375348
SP
82522013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8253
8254 [BZ #15465]
8255 * elf/Makefile (tests): Add tst-null-argv.
8256 (modules-names): Add tst-null-argv-lib.
8257 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8258 (tst-null-argv-ENV): Set environment for tst-null-argv.
8259 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8260 (RTLD_PROGNAME): New macro.
8261 * elf/tst-null-argv.c: New test case.
8262 * elf/tst-null-argv-lib.c: Library for test case.
8263 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8264 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8265 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8266 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8267 * elf/dl-init.c (call_init): Likewise.
8268 (_dl_init): Likewise.
8269 * elf/dl-load.c (print_search_path): Likewise.
8270 (_dl_map_object): Likewise.
8271 * elf/dl-lookup.c (do_lookup_x): Likewise.
8272 (add_dependency): Likewise.
8273 (_dl_lookup_symbol_x): Likewise.
8274 (_dl_debug_bindings): Likewise.
8275 * elf/dl-open.c (_dl_show_scope): Likewise.
8276 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8277 * elf/dl-version.c (match_symbol): Likewise.
8278 (_dl_check_map_versions): Likewise.
8279 * elf/rtld.c (dl_main): Likewise.
8280 (print_unresolved): Use RTLD_PROGNAME.
8281 (print_missing_version): Likewise.
8282 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8283 (elf_machine_rela): Likewise.
8284 * sysdeps/powerpc/powerpc32/dl-machine.c
8285 (__process_machine_rela): Likewise.
8286 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8287 Likewise.
8288 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8289 Likewise.
8290 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8291 Likewise.
8292 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8293 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8294 Likewise.
8295 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8296 Likewise.
8297 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8298
8a9f20c8
CD
82992013-05-28 Carlos O'Donell <carlos@redhat.com>
8300
8301 * po/be.po: Add descriptive title.
8302 * po/zh_CN.po: Likewise.
8303 * po/header.pot: Likewise.
8304
0e60d68e
MF
83052013-05-28 Mike Frysinger <vapier@gentoo.org>
8306
8307 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8308 error message.
8309 (enlarge_archive): Likewise.
8310
56b672e9
BN
83112013-05-28 Ben North <ben@redfrontdoor.org>
8312
8313 * manual/arith.texi (frexp): It is the magnitude of the return
8314 value which lies in [0.5, 1), not the return value itself.
8315
5e056687
AZ
83162013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8317
8318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8319
2b66ef5d
TS
83202013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8321
528c2405
TS
8322 * stdio-common/bug26.c (main): Correct fscanf template.
8323
07b4c13d
TS
8324 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8325 declare _dl_skip_args.
8326
ec9dd97c
TS
8327 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8328 Don't declare.
8329
2b66ef5d
TS
8330 * manual/platform.texi: Add missing @end deftypefun.
8331
4f8dfe27
JM
83322013-05-24 Joseph Myers <joseph@codesourcery.com>
8333
0323d086
JM
8334 [BZ #15529]
8335 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8336 bit of mantissa of 2^16382.
8337 * math/libm-test.inc (hypot_test_data): Add more tests.
8338
dd4259b9
JM
8339 * math/libm-test.inc: Add drem and pow10 to list of tested
8340 functions.
8341 (pow10_test): New function.
8342 (drem_test): Likewise.
8343 (drem_test_tonearest): Likewise.
8344 (drem_test_towardzero): Likewise.
8345 (drem_test_downward): Likewise.
8346 (drem_test_upward): Likewise.
8347 (main): Call the new functions.
8348
4f8dfe27
JM
8349 * math/libm-test.inc (finite_test_data): Remove.
8350 (finite_test): Run tests from isfinite_test_data.
8351 (gamma_test_data): Remove.
8352 (gamma_test): Run tests from lgamma_test_data.
8353 * sysdeps/i386/fpu/libm-test-ulps: Update.
8354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8355
d116b7c4
AZ
83562013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8357
8358 * manual/platform.texi: Add PowerPC PPR function set documentation.
8359 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8360 implementation.
8361
e96e3767
CD
83622013-05-24 Carlos O'Donell <carlos@redhat.com>
8363
8364 * math/libm-test.inc (MAX_EXP): Define.
8365 (ULPDIFF): Define.
8366 (ulp): New function.
8367 (check_float_internal): Use ULPDIFF.
8368 (cpow_test): Disable failing test.
8369 (check_ulp): Test ulp() implemetnation.
8370 (main): Call check_ulp before starting tests.
8371
b679a606
JM
83722013-05-24 Joseph Myers <joseph@codesourcery.com>
8373
e8bdba36
JM
8374 * math/gen-libm-test.pl (generate_testfile): Do not handle
8375 START_DATA and END_DATA.
8376 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8377 END_DATA.
8378 (acos_tonearest_test_data): Likewise.
8379 (acos_towardzero_test_data): Likewise.
8380 (acos_downward_test_data): Likewise.
8381 (acos_upward_test_data): Likewise.
8382 (acosh_test_data): Likewise.
8383 (asin_test_data): Likewise.
8384 (asin_tonearest_test_data): Likewise.
8385 (asin_towardzero_test_data): Likewise.
8386 (asin_downward_test_data): Likewise.
8387 (asin_upward_test_data): Likewise.
8388 (asinh_test_data): Likewise.
8389 (atan_test_data): Likewise.
8390 (atanh_test_data): Likewise.
8391 (atan2_test_data): Likewise.
8392 (cabs_test_data): Likewise.
8393 (cacos_test_data): Likewise.
8394 (cacosh_test_data): Likewise.
8395 (carg_test_data): Likewise.
8396 (casin_test_data): Likewise.
8397 (casinh_test_data): Likewise.
8398 (catan_test_data): Likewise.
8399 (catanh_test_data): Likewise.
8400 (cbrt_test_data): Likewise.
8401 (ccos_test_data): Likewise.
8402 (ccosh_test_data): Likewise.
8403 (ceil_test_data): Likewise.
8404 (cexp_test_data): Likewise.
8405 (cimag_test_data): Likewise.
8406 (clog_test_data): Likewise.
8407 (clog10_test_data): Likewise.
8408 (conj_test_data): Likewise.
8409 (copysign_test_data): Likewise.
8410 (cos_test_data): Likewise.
8411 (cos_tonearest_test_data): Likewise.
8412 (cos_towardzero_test_data): Likewise.
8413 (cos_downward_test_data): Likewise.
8414 (cos_upward_test_data): Likewise.
8415 (cosh_test_data): Likewise.
8416 (cosh_tonearest_test_data): Likewise.
8417 (cosh_towardzero_test_data): Likewise.
8418 (cosh_downward_test_data): Likewise.
8419 (cosh_upward_test_data): Likewise.
8420 (cpow_test_data): Likewise.
8421 (cproj_test_data): Likewise.
8422 (creal_test_data): Likewise.
8423 (csin_test_data): Likewise.
8424 (csinh_test_data): Likewise.
8425 (csqrt_test_data): Likewise.
8426 (ctan_test_data): Likewise.
8427 (ctan_tonearest_test_data): Likewise.
8428 (ctan_towardzero_test_data): Likewise.
8429 (ctan_downward_test_data): Likewise.
8430 (ctan_upward_test_data): Likewise.
8431 (ctanh_test_data): Likewise.
8432 (ctanh_tonearest_test_data): Likewise.
8433 (ctanh_towardzero_test_data): Likewise.
8434 (ctanh_downward_test_data): Likewise.
8435 (ctanh_upward_test_data): Likewise.
8436 (erf_test_data): Likewise.
8437 (erfc_test_data): Likewise.
8438 (exp_test_data): Likewise.
8439 (exp_tonearest_test_data): Likewise.
8440 (exp_towardzero_test_data): Likewise.
8441 (exp_downward_test_data): Likewise.
8442 (exp_upward_test_data): Likewise.
8443 (exp10_test_data): Likewise.
8444 (exp2_test_data): Likewise.
8445 (expm1_test_data): Likewise.
8446 (fabs_test_data): Likewise.
8447 (fdim_test_data): Likewise.
8448 (finite_test_data): Likewise.
8449 (floor_test_data): Likewise.
8450 (fma_test_data): Likewise.
8451 (fma_towardzero_test_data): Likewise.
8452 (fma_downward_test_data): Likewise.
8453 (fma_upward_test_data): Likewise.
8454 (fmax_test_data): Likewise.
8455 (fmin_test_data): Likewise.
8456 (fmod_test_data): Likewise.
8457 (fpclassify_test_data): Likewise.
8458 (frexp_test_data): Likewise.
8459 (gamma_test_data): Likewise.
8460 (hypot_test_data): Likewise.
8461 (ilogb_test_data): Likewise.
8462 (isfinite_test_data): Likewise.
8463 (isgreater_test_data): Likewise.
8464 (isgreaterequal_test_data): Likewise.
8465 (isinf_test_data): Likewise.
8466 (isless_test_data): Likewise.
8467 (islessequal_test_data): Likewise.
8468 (islessgreater_test_data): Likewise.
8469 (isnan_test_data): Likewise.
8470 (isnormal_test_data): Likewise.
8471 (issignaling_test_data): Likewise.
8472 (isunordered_test_data): Likewise.
8473 (j0_test_data): Likewise.
8474 (j1_test_data): Likewise.
8475 (jn_test_data): Likewise.
8476 (ldexp_test_data): Likewise.
8477 (lgamma_test_data): Likewise.
8478 (lrint_test_data): Likewise.
8479 (lrint_tonearest_test_data): Likewise.
8480 (lrint_towardzero_test_data): Likewise.
8481 (lrint_downward_test_data): Likewise.
8482 (lrint_upward_test_data): Likewise.
8483 (llrint_test_data): Likewise.
8484 (llrint_tonearest_test_data): Likewise.
8485 (llrint_towardzero_test_data): Likewise.
8486 (llrint_downward_test_data): Likewise.
8487 (llrint_upward_test_data): Likewise.
8488 (log_test_data): Likewise.
8489 (log10_test_data): Likewise.
8490 (log1p_test_data): Likewise.
8491 (log2_test_data): Likewise.
8492 (logb_test_data): Likewise.
8493 (logb_downward_test_data): Likewise.
8494 (lround_test_data): Likewise.
8495 (llround_test_data): Likewise.
8496 (modf_test_data): Likewise.
8497 (nearbyint_test_data): Likewise.
8498 (nextafter_test_data): Likewise.
8499 (nexttoward_test_data): Likewise.
8500 (pow_test_data): Likewise.
8501 (pow_tonearest_test_data): Likewise.
8502 (pow_towardzero_test_data): Likewise.
8503 (pow_downward_test_data): Likewise.
8504 (pow_upward_test_data): Likewise.
8505 (remainder_test_data): Likewise.
8506 (remainder_tonearest_test_data): Likewise.
8507 (remainder_towardzero_test_data): Likewise.
8508 (remainder_downward_test_data): Likewise.
8509 (remainder_upward_test_data): Likewise.
8510 (remquo_test_data): Likewise.
8511 (rint_test_data): Likewise.
8512 (rint_tonearest_test_data): Likewise.
8513 (rint_towardzero_test_data): Likewise.
8514 (rint_downward_test_data): Likewise.
8515 (rint_upward_test_data): Likewise.
8516 (round_test_data): Likewise.
8517 (scalb_test_data): Likewise.
8518 (scalbn_test_data): Likewise.
8519 (scalbln_test_data): Likewise.
8520 (signbit_test_data): Likewise.
8521 (sin_test_data): Likewise.
8522 (sin_tonearest_test_data): Likewise.
8523 (sin_towardzero_test_data): Likewise.
8524 (sin_downward_test_data): Likewise.
8525 (sin_upward_test_data): Likewise.
8526 (sincos_test_data): Likewise.
8527 (sinh_test_data): Likewise.
8528 (sinh_tonearest_test_data): Likewise.
8529 (sinh_towardzero_test_data): Likewise.
8530 (sinh_downward_test_data): Likewise.
8531 (sinh_upward_test_data): Likewise.
8532 (sqrt_test_data): Likewise.
8533 (tan_test_data): Likewise.
8534 (tan_tonearest_test_data): Likewise.
8535 (tan_towardzero_test_data): Likewise.
8536 (tan_downward_test_data): Likewise.
8537 (tan_upward_test_data): Likewise.
8538 (tanh_test_data): Likewise.
8539 (tgamma_test_data): Likewise.
8540 (trunc_test_data): Likewise.
8541 (y0_test_data): Likewise.
8542 (y1_test_data): Likewise.
8543 (yn_test_data): Likewise.
8544 (significand_test_data): Likewise.
8545
b679a606
JM
8546 * math/gen-libm-test.pl (@functions): Remove variable.
8547 (generate_testfile): Don't handle START and END lines.
8548 * math/libm-test.inc (START): New macro.
8549 (END): Likewise.
8550 (END_COMPLEX): Likewise.
8551 (acos_test): Use END macro without arguments.
8552 (acos_test_tonearest): Likewise.
8553 (acos_test_towardzero): Likewise.
8554 (acos_test_downward): Likewise.
8555 (acos_test_upward): Likewise.
8556 (acosh_test): Likewise.
8557 (asin_test): Likewise.
8558 (asin_test_tonearest): Likewise.
8559 (asin_test_towardzero): Likewise.
8560 (asin_test_downward): Likewise.
8561 (asin_test_upward): Likewise.
8562 (asinh_test): Likewise.
8563 (atan_test): Likewise.
8564 (atanh_test): Likewise.
8565 (atan2_test): Likewise.
8566 (cabs_test): Likewise.
8567 (cacos_test): Use END_COMPLEX macro without arguments.
8568 (cacosh_test): Likewise.
8569 (carg_test): Use END macro without arguments.
8570 (casin_test): Use END_COMPLEX macro without arguments.
8571 (casinh_test): Likewise.
8572 (catan_test): Likewise.
8573 (catanh_test): Likewise.
8574 (cbrt_test): Use END macro without arguments.
8575 (ccos_test): Use END_COMPLEX macro without arguments.
8576 (ccosh_test): Likewise.
8577 (ceil_test): Use END macro without arguments.
8578 (cexp_test): Use END_COMPLEX macro without arguments.
8579 (cimag_test): Use END macro without arguments.
8580 (clog_test): Use END_COMPLEX macro without arguments.
8581 (clog10_test): Likewise.
8582 (conj_test): Likewise.
8583 (copysign_test): Use END macro without arguments.
8584 (cos_test): Likewise.
8585 (cos_test_tonearest): Likewise.
8586 (cos_test_towardzero): Likewise.
8587 (cos_test_downward): Likewise.
8588 (cos_test_upward): Likewise.
8589 (cosh_test): Likewise.
8590 (cosh_test_tonearest): Likewise.
8591 (cosh_test_towardzero): Likewise.
8592 (cosh_test_downward): Likewise.
8593 (cosh_test_upward): Likewise.
8594 (cpow_test): Use END_COMPLEX macro without arguments.
8595 (cproj_test): Likewise.
8596 (creal_test): Use END macro without arguments.
8597 (csin_test): Use END_COMPLEX macro without arguments.
8598 (csinh_test): Likewise.
8599 (csqrt_test): Likewise.
8600 (ctan_test): Likewise.
8601 (ctan_test_tonearest): Likewise.
8602 (ctan_test_towardzero): Likewise.
8603 (ctan_test_downward): Likewise.
8604 (ctan_test_upward): Likewise.
8605 (ctanh_test): Likewise.
8606 (ctanh_test_tonearest): Likewise.
8607 (ctanh_test_towardzero): Likewise.
8608 (ctanh_test_downward): Likewise.
8609 (ctanh_test_upward): Likewise.
8610 (erf_test): Use END macro without arguments.
8611 (erfc_test): Likewise.
8612 (exp_test): Likewise.
8613 (exp_test_tonearest): Likewise.
8614 (exp_test_towardzero): Likewise.
8615 (exp_test_downward): Likewise.
8616 (exp_test_upward): Likewise.
8617 (exp10_test): Likewise.
8618 (exp2_test): Likewise.
8619 (expm1_test): Likewise.
8620 (fabs_test): Likewise.
8621 (fdim_test): Likewise.
8622 (finite_test): Likewise.
8623 (floor_test): Likewise.
8624 (fma_test): Likewise.
8625 (fma_test_towardzero): Likewise.
8626 (fma_test_downward): Likewise.
8627 (fma_test_upward): Likewise.
8628 (fmax_test): Likewise.
8629 (fmin_test): Likewise.
8630 (fmod_test): Likewise.
8631 (fpclassify_test): Likewise.
8632 (frexp_test): Likewise.
8633 (gamma_test): Likewise.
8634 (hypot_test): Likewise.
8635 (ilogb_test): Likewise.
8636 (isfinite_test): Likewise.
8637 (isgreater_test): Likewise.
8638 (isgreaterequal_test): Likewise.
8639 (isinf_test): Likewise.
8640 (isless_test): Likewise.
8641 (islessequal_test): Likewise.
8642 (islessgreater_test): Likewise.
8643 (isnan_test): Likewise.
8644 (isnormal_test): Likewise.
8645 (issignaling_test): Likewise.
8646 (isunordered_test): Likewise.
8647 (j0_test): Likewise.
8648 (j1_test): Likewise.
8649 (jn_test): Likewise.
8650 (ldexp_test): Likewise.
8651 (lgamma_test): Likewise.
8652 (lrint_test): Likewise.
8653 (lrint_test_tonearest): Likewise.
8654 (lrint_test_towardzero): Likewise.
8655 (lrint_test_downward): Likewise.
8656 (lrint_test_upward): Likewise.
8657 (llrint_test): Likewise.
8658 (llrint_test_tonearest): Likewise.
8659 (llrint_test_towardzero): Likewise.
8660 (llrint_test_downward): Likewise.
8661 (llrint_test_upward): Likewise.
8662 (log_test): Likewise.
8663 (log10_test): Likewise.
8664 (log1p_test): Likewise.
8665 (log2_test): Likewise.
8666 (logb_test): Likewise.
8667 (logb_test_downward): Likewise.
8668 (lround_test): Likewise.
8669 (llround_test): Likewise.
8670 (modf_test): Likewise.
8671 (nearbyint_test): Likewise.
8672 (nextafter_test): Likewise.
8673 (nexttoward_test): Likewise.
8674 (pow_test): Likewise.
8675 (pow_test_tonearest): Likewise.
8676 (pow_test_towardzero): Likewise.
8677 (pow_test_downward): Likewise.
8678 (pow_test_upward): Likewise.
8679 (remainder_test): Likewise.
8680 (remainder_test_tonearest): Likewise.
8681 (remainder_test_towardzero): Likewise.
8682 (remainder_test_downward): Likewise.
8683 (remainder_test_upward): Likewise.
8684 (remquo_test): Likewise.
8685 (rint_test): Likewise.
8686 (rint_test_tonearest): Likewise.
8687 (rint_test_towardzero): Likewise.
8688 (rint_test_downward): Likewise.
8689 (rint_test_upward): Likewise.
8690 (round_test): Likewise.
8691 (scalb_test): Likewise.
8692 (scalbn_test): Likewise.
8693 (scalbln_test): Likewise.
8694 (signbit_test): Likewise.
8695 (sin_test): Likewise.
8696 (sin_test_tonearest): Likewise.
8697 (sin_test_towardzero): Likewise.
8698 (sin_test_downward): Likewise.
8699 (sin_test_upward): Likewise.
8700 (sincos_test): Likewise.
8701 (sinh_test): Likewise.
8702 (sinh_test_tonearest): Likewise.
8703 (sinh_test_towardzero): Likewise.
8704 (sinh_test_downward): Likewise.
8705 (sinh_test_upward): Likewise.
8706 (sqrt_test): Likewise.
8707 (tan_test): Likewise.
8708 (tan_test_tonearest): Likewise.
8709 (tan_test_towardzero): Likewise.
8710 (tan_test_downward): Likewise.
8711 (tan_test_upward): Likewise.
8712 (tanh_test): Likewise.
8713 (tgamma_test): Likewise.
8714 (trunc_test): Likewise.
8715 (y0_test): Likewise.
8716 (y1_test): Likewise.
8717 (yn_test): Likewise.
8718 (significand_test): Likewise.
8719
bae143d2
OB
87202013-05-24 Ondřej Bílka <neleai@seznam.cz>
8721
8722 [BZ #15381]
8723 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8724
9323d39b
EM
87252013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8726
d4ea44a0 8727 [BZ #14894]
9323d39b
EM
8728 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8729 __ppc_mdoio and __ppc_mdoom.
8730 * manual/platform.texi: Document new functions __ppc_yield,
8731 __ppc_mdoio and __ppc_mdoom.
8732
13e23af7
CD
87332013-05-22 Carlos O'Donell <carlos@redhat.com>
8734
8735 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8736 (main): Mention "tls" pseudo-hwcap is legacy.
8737 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8738
351fe550
JM
87392013-05-22 Joseph Myers <joseph@codesourcery.com>
8740
8741 * math/gen-libm-test.pl (parse_args): Output only string of
8742 arguments as text for test name, not full call or descriptions of
8743 tests for extra outputs.
8744 (generate_testfile): Do not pass function name to parse_args.
8745 Generate this_func variable from START.
8746 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8747 field to arg_str.
8748 (struct test_ff_f_data): Likewise.
8749 (test_ff_f_data_nexttoward): Likewise.
8750 (struct test_fi_f_data): Likewise.
8751 (struct test_fl_f_data): Likewise.
8752 (struct test_if_f_data): Likewise.
8753 (struct test_fff_f_data): Likewise.
8754 (struct test_c_f_data): Likewise.
8755 (struct test_f_f1_data): Likewise. Remove field extra_name.
8756 (struct test_fF_f1_data): Likewise.
8757 (struct test_ffI_f1_data): Likewise.
8758 (struct test_c_c_data): Rename test_name field to arg_str.
8759 (struct test_cc_c_data): Likewise.
8760 (struct test_f_i_data): Likewise.
8761 (struct test_ff_i_data): Likewise.
8762 (struct test_f_l_data): Likewise.
8763 (struct test_f_L_data): Likewise.
8764 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8765 and extra2_name.
8766 (COMMON_TEST_SETUP): New macro.
8767 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8768 (COMMON_TEST_CLEANUP): Likewise.
8769 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8770 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8771 macros.
8772 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8773 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8774 macros.
8775 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8776 (RUN_TEST_fff_f): Take argument string. Call new setup and
8777 cleanup macros.
8778 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8779 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8780 macros.
8781 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8782 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8783 macros.
8784 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8785 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8786 cleanup macros.
8787 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8788 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8789 cleanup macros.
8790 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8791 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8792 cleanup macros.
8793 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8794 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8795 macros.
8796 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8797 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8798 macros.
8799 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8800 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8801 macros.
8802 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8803 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8804 cleanup macros.
8805 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8806 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8807 cleanup macros.
8808 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8809 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8810 macros.
8811 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8812 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8813 cleanup macros.
8814 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8815 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8816 macros.
8817 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8818 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8819 macros.
8820 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8821 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8822 cleanup macros.
8823 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8824
85118d4d
EBM
88252013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8826
8827 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8828 to _sifields.sigfault.
8829 (si_addr_lsb): Define new macro.
8830 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8831 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8832 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8833
7a44c18f
CD
88342013-05-03 Carlos O'Donell <carlos at redhat.com>
8835
8836 [BZ #15441]
8837 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8838 returns -1.
8839 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8840 null return -1.
8841 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8842 loading the domain.
8843
b50a7181
JM
88442013-05-22 Joseph Myers <joseph@codesourcery.com>
8845
8846 * math/gen-libm-test.pl (parse_args): Do not include expected
8847 result in test name.
8848 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8849 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8850 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8851 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8852 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8854
051063c8
SP
88552013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8856
3ce9e010
SP
8857 * benchtests/Makefile: Sort function entries.
8858
051063c8
SP
8859 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8860 tanh, asinh, acosh, atanh.
8861 * benchtests/acos-inputs: New file.
8862 * benchtests/acosh-inputs: New file.
8863 * benchtests/asin-inputs: New file.
8864 * benchtests/asinh-inputs: New file.
8865 * benchtests/atanh-inputs: New file.
8866 * benchtests/cosh-inputs: New file.
8867 * benchtests/log-inputs: New file.
8868 * benchtests/sinh-inputs: New file.
8869 * benchtests/tanh-inputs: New file.
8870
47c22455
DL
88712013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8872
8873 [BZ #15339]
8874 * posix/tst-getaddrinfo4.c: New test.
8875 * posix/Makefile (tests): Add it.
8876
3d04f5db
SP
88772013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8878
8879 [BZ #15339]
8880 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8881 when no services were used.
8882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8883 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8884
d5dd6189
AS
88852013-05-21 Andreas Schwab <schwab@suse.de>
8886
8887 [BZ #15014]
8888 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8889 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8890 successful.
8891 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8892 redundant variable declarations and reallocation of buffer when
8893 parsing as IPv6 address. Always set NSS status when called from
8894 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8895 buffer too small. Correct computation of needed size.
8896 * nss/Makefile (tests): Add test-digits-dots.
8897 * nss/test-digits-dots.c: New test.
8898
fef94eab
SP
88992013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8900
8901 * benchtests/Makefile: Remove instructions for adding
8902 benchmark tests.
8903 * benchtests/README: New file to explain how to execute and
8904 enhance the benchmark tests.
8905
e39adf43
AS
89062013-05-21 Andreas Schwab <schwab@suse.de>
8907
8908 [BZ #15493]
8909 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8910 * setjmp/tst-sigsetjmp.c: New test.
8911
b2b671b6
OB
89122013-05-20 Ondřej Bílka <neleai@seznam.cz>
8913
8914 * sysdeps/x86_64/memset.S (memset): New implementation.
8915 (__bzero): Likewise.
8916 (__memset_tail): New function.
8917
2d48b41c
OB
89182013-05-20 Ondřej Bílka <neleai@seznam.cz>
8919
8920 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8921 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8922 __memcpy_sse2_unaligned ifunc selection.
8923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8924 Add memcpy-sse2-unaligned.S.
8925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8926 Add: __memcpy_sse2_unaligned.
8927
f16cc3eb
JM
89282013-05-19 Joseph Myers <joseph@codesourcery.com>
8929
3e694268
JM
8930 [BZ #15490]
8931 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8932 math_force_eval before restoring floating-point envrionment.
8933 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8934 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8935 Likewise.
8936 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8937 <math_private.h>.
8938 (__nearbyintl): Use math_force_eval before restoring
8939 floating-point environment.
8940 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8941
db62a907
JM
8942 * math/gen-libm-test.pl (special_functions): Remove.
8943 (parse_args): Don't handle TEST_extra. Handle functions with no
8944 return value.
8945 * math/libm-test.inc (struct test_sincos_data): Replace with
8946 struct test_fFF_11_data.
8947 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8948 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8949 (sincos_test_data): Change element type to struct
8950 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8951 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8952 RUN_TEST_LOOP_sincos.
8953 * math/README.libm-test: Don't mention special handling of
8954 individual functions.
8955 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8956 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8957 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8958 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8959 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8961
f16cc3eb
JM
8962 * math/gen-libm-test.pl (get_variable): Remove function.
8963 (parse_args): Don't show pointer parameters to call in test
8964 names. Use "extra output N" in test names for extra outputs
8965 rather than naming variables.
8966
3779b5b6
JM
89672013-05-18 Joseph Myers <joseph@codesourcery.com>
8968
2ee094ff
JM
8969 [BZ #15488]
8970 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8971 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8972 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8973 double tests.
8974 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8975 disable.
8976 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8977 check_long_double.
8978
3779b5b6
JM
8979 * math/gen-libm-test.pl (@tests): Remove variable.
8980 ($count): Likewise.
8981 (new_test): Remove function.
8982 (show_exceptions): New function.
8983 (special_functions): Use show_exceptions instead of new_test.
8984 (parse_args): Likewise.
8985 (generate_testfile): Pass only function name in generated call to
8986 print_max_error or print_complex_max_error.
8987 (get_ulps): Do not handle complex tests specially.
8988 (output_test): Rename to ...
8989 (get_all_ulps_for_test): ... this. Return a string rather than
8990 printing to a file. Require ulps to be present.
8991 (output_ulps): Generate arrays rather than #defines.
8992 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8993 (struct ulp_data): New type.
8994 (BUILD_COMPLEX_ULP): Remove macro.
8995 (compare_ulp_data): New function.
8996 (find_ulps): Likewise.
8997 (find_test_ulps): Likewise.
8998 (find_function_ulps): Likewise.
8999 (find_complex_function_ulps): Likewise.
9000 (print_max_error): Determine allowed ulps using
9001 find_function_ulps.
9002 (print_complex_max_error): Determine allowed ulps using
9003 find_complex_function_ulps.
9004 (check_float_internal): Determine max ulps using find_test_ulps.
9005 (check_float): Do not take max_ulp parameter. Update call to
9006 check_float_internal.
9007 (check_complex): Likewise.
9008 (check_int): Do not take max_ulp parameter.
9009 (check_long): Likewise.
9010 (check_bool): Likewise.
9011 (check_longlong): Likewise.
9012 (struct test_f_f_data): Remove max_ulp field.
9013 (struct test_ff_f_data): Likewise.
9014 (struct test_ff_f_data_nexttoward): Likewise.
9015 (struct test_fi_f_data): Likewise.
9016 (struct test_fl_f_data): Likewise.
9017 (struct test_if_f_data): Likewise.
9018 (struct test_fff_f_data): Likewise.
9019 (struct test_c_f_data): Likewise.
9020 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9021 (struct test_fF_f1_data): Likewise.
9022 (struct test_ffI_f1_data): Likewise.
9023 (struct test_c_c_data): Remove max_ulp field.
9024 (struct test_cc_c_data): Likewise.
9025 (struct test_f_i_data): Likewise.
9026 (struct test_ff_i_data): Likewise.
9027 (struct test_f_l_data): Likewise.
9028 (struct test_f_L_data): Likewise.
9029 (struct test_sincos_data): Likewise.
9030 (RUN_TEST_f_f): Do not handle ulps.
9031 (RUN_TEST_LOOP_f_f): Likewise.
9032 (RUN_TEST_2_f): Likewise.
9033 (RUN_TEST_LOOP_2_f): Likewise.
9034 (RUN_TEST_fff_f): Likewise.
9035 (RUN_TEST_LOOP_fff_f): Likewise.
9036 (RUN_TEST_c_f): Likewise.
9037 (RUN_TEST_LOOP_c_f): Likewise.
9038 (RUN_TEST_f_f1): Likewise.
9039 (RUN_TEST_LOOP_f_f1): Likewise.
9040 (RUN_TEST_fF_f1): Likewise.
9041 (RUN_TEST_LOOP_fF_f1): Likewise.
9042 (RUN_TEST_fI_f1): Likewise.
9043 (RUN_TEST_LOOP_fI_f1): Likewise.
9044 (RUN_TEST_ffI_f1): Likewise.
9045 (RUN_TEST_LOOP_ffI_f1): Likewise.
9046 (RUN_TEST_c_c): Likewise.
9047 (RUN_TEST_LOOP_c_c): Likewise.
9048 (RUN_TEST_cc_c): Likewise.
9049 (RUN_TEST_LOOP_cc_c): Likewise.
9050 (RUN_TEST_f_i): Likewise.
9051 (RUN_TEST_LOOP_f_i): Likewise.
9052 (RUN_TEST_f_i_tg): Likewise.
9053 (RUN_TEST_LOOP_f_i_tg): Likewise.
9054 (RUN_TEST_ff_i_tg): Likewise.
9055 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9056 (RUN_TEST_f_b): Likewise.
9057 (RUN_TEST_LOOP_f_b): Likewise.
9058 (RUN_TEST_f_b_tg): Likewise.
9059 (RUN_TEST_LOOP_f_b_tg): Likewise.
9060 (RUN_TEST_f_l): Likewise.
9061 (RUN_TEST_LOOP_f_l): Likewise.
9062 (RUN_TEST_f_L): Likewise.
9063 (RUN_TEST_LOOP_f_L): Likewise.
9064 (RUN_TEST_sincos): Likewise.
9065 (RUN_TEST_LOOP_sincos): Likewise.
9066
8269107f
JM
90672013-05-17 Joseph Myers <joseph@codesourcery.com>
9068
bb38759d
JM
9069 [BZ #15480]
9070 [BZ #15485]
9071 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9072 main case of finite arguments, set rounding mode to FE_TONEAREST
9073 and discard exceptions.
9074 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9075 exceptions.
9076 (remainder_tonearest_test_data): New variable.
9077 (remainder_test_tonearest): New function.
9078 (remainder_towardzero_test_data): New variable.
9079 (remainder_test_towardzero): New function.
9080 (remainder_downward_test_data): New variable.
9081 (remainder_test_downward): New function.
9082 (remainder_upward_test_data): New variable.
9083 (remainder_test_upward): New function.
9084 (main): Call the new test functions.
9085
a00bdcf0
JM
9086 * math/libm-test.inc (struct test_f_f1_data): Remove field
9087 extra_init.
9088 (struct test_fF_f1_data): Likewise.
9089 (struct test_ffI_f1_data): Likewise.
9090 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9091 based on value of EXTRA_EXPECTED.
9092 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9093 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9094 EXTRA_VAR based on value of EXTRA_EXPECTED.
9095 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9096 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9097 EXTRA_VAR based on value of EXTRA_EXPECTED.
9098 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9099 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9100 EXTRA_VAR based on value of EXTRA_EXPECTED.
9101 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9102 * math/gen-libm-test.pl (parse_args): Don't output initializers
9103 for extra output values.
9104
de407f79
JM
9105 * math/libm-test.inc (check_int): Expect result to be exactly
9106 equal to expected value and do not handle ulps.
9107 (check_long): Likewise.
9108 (check_longlong): Likewise.
9109
8269107f
JM
9110 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9111 exceptions.
9112 (cimag_test_data): Likewise.
9113 (conj_test_data): Likewise.
9114 (copysign_test_data): Likewise.
9115 (cproj_test_data): Likewise.
9116 (creal_test_data): Likewise.
9117 (fabs_test_data): Likewise.
9118 (fdim_test_data): Likewise.
9119 (finite_test_data): Likewise.
9120 (floor_test_data): Likewise.
9121 (fmax_test_data): Likewise.
9122 (fmin_test_data): Likewise.
9123 (fmod_test_data): Likewise.
9124 (fpclassify_test_data): Likewise.
9125 (frexp_test_data): Likewise.
9126 (ilogb_test_data): Likewise.
9127 (isfinite_test_data): Likewise.
9128 (isgreater_test_data): Likewise.
9129 (isgreaterequal_test_data): Likewise.
9130 (isinf_test_data): Likewise.
9131 (isless_test_data): Likewise.
9132 (islessequal_test_data): Likewise.
9133 (islessgreater_test_data): Likewise.
9134 (isnan_test_data): Likewise.
9135 (isnormal_test_data): Likewise.
9136 (issignaling_test_data): Likewise.
9137 (isunordered_test_data): Likewise.
9138 (ldexp_test_data): Likewise.
9139 (lrint_test_data): Likewise.
9140 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9141 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9142 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9143 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9144 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9145 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9146 test input.
9147 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9148 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9149 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9150 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9151 that test input.
9152 (lrint_downward_test_data): Test for "inexact" exceptions.
9153 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9154 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9155 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9156 test input.
9157 (lrint_upward_test_data): Test for "inexact" exceptions.
9158 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9159 test input.
9160 (llrint_test_data): Test for "inexact" exceptions.
9161 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9162 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9163 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9164 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9165 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9166 (llrint_downward_test_data): Test for "inexact" exceptions.
9167 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9168 (llrint_upward_test_data): Test for "inexact" exceptions.
9169 (logb_test_data): Likewise.
9170 (logb_downward_test_data): Likewise.
9171 (nextafter_test_data): Likewise.
9172 (nexttoward_test_data): Likewise.
9173 (remainder_test_data): Likewise.
9174 (remquo_test_data): Likewise.
9175 (scalbn_test_data): Likewise.
9176 (scalbln_test_data): Likewise.
9177 (signbit_test_data): Likewise.
9178 (sqrt_test_data): Likewise.
9179 (significand_test_data): Likewise.
9180
48a18de1
SP
91812013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9182
9183 [BZ #15424]
9184 * benchtests/bench-modf.c (struct args): Mark arg0 as
9185 volatile.
9186 * scripts/bench.pl: Mark members of struct args as volatile.
9187
13d3b41a
AZ
91882013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9189
68191c1d 9190 [BZ # 15497]
13d3b41a
AZ
9191 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9192 negative infinity on POWER6 or lower.
9193 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9194
2848b105
MR
91952013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9196
9197 [BZ #15442]
9198 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9199 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9200 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9201 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9202 (_FP_SETQNAN): New macro.
9203 (_FP_SETQNAN_SEMIRAW): Likewise.
9204 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9205 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9206 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9207 (FP_EXTEND): Use _FP_FRAC_SNANP.
9208 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9209 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9210 into account.
9211 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9212 New macro.
9213 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9214 Likewise.
9215
323e5cb7
JM
92162013-05-16 Joseph Myers <joseph@codesourcery.com>
9217
c58b274f
JM
9218 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9219 with DIVIDE_BY_ZERO_EXCEPTION.
9220 (gamma_test_data): Likewise.
9221 (lgamma_test_data): Likewise.
9222 (log_test_data): Likewise.
9223 (log10_test_data): Likewise.
9224 (log2_test_data): Likewise.
9225 (tgamma_test_data): Likewise.
9226
0ab34904
JM
9227 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9228 (acos_test_tonearest): Likewise.
9229 (acos_test_towardzero): Likewise.
9230 (acos_test_downward): Likewise.
9231 (acos_test_upward): Likewise.
9232 (acosh_test): Likewise.
9233 (asin_test): Likewise.
9234 (asin_test_tonearest): Likewise.
9235 (asin_test_towardzero): Likewise.
9236 (asin_test_downward): Likewise.
9237 (asin_test_upward): Likewise.
9238 (asinh_test): Likewise.
9239 (atan_test): Likewise.
9240 (atanh_test): Likewise.
9241 (atan2_test): Likewise.
9242 (cabs_test): Likewise.
9243 (cacos_test): Likewise.
9244 (cacosh_test): Likewise.
9245 (casin_test): Likewise.
9246 (casinh_test): Likewise.
9247 (catan_test): Likewise.
9248 (catanh_test): Likewise.
9249 (cbrt_test): Likewise.
9250 (ccos_test): Likewise.
9251 (ccosh_test): Likewise.
9252 (cexp_test): Likewise.
9253 (clog_test): Likewise.
9254 (clog10_test): Likewise.
9255 (cos_test): Likewise.
9256 (cos_test_tonearest): Likewise.
9257 (cos_test_towardzero): Likewise.
9258 (cos_test_downward): Likewise.
9259 (cos_test_upward): Likewise.
9260 (cosh_test): Likewise.
9261 (cosh_test_tonearest): Likewise.
9262 (cosh_test_towardzero): Likewise.
9263 (cosh_test_downward): Likewise.
9264 (cosh_test_upward): Likewise.
9265 (cpow_test): Likewise.
9266 (csin_test): Likewise.
9267 (csinh_test): Likewise.
9268 (csqrt_test): Likewise.
9269 (ctan_test): Likewise.
9270 (ctan_test_tonearest): Likewise.
9271 (ctan_test_towardzero): Likewise.
9272 (ctan_test_downward): Likewise.
9273 (ctan_test_upward): Likewise.
9274 (ctanh_test): Likewise.
9275 (ctanh_test_tonearest): Likewise.
9276 (ctanh_test_towardzero): Likewise.
9277 (ctanh_test_downward): Likewise.
9278 (ctanh_test_upward): Likewise.
9279 (erf_test): Likewise.
9280 (erfc_test): Likewise.
9281 (exp_test): Likewise.
9282 (exp_test_tonearest): Likewise.
9283 (exp_test_towardzero): Likewise.
9284 (exp_test_downward): Likewise.
9285 (exp_test_upward): Likewise.
9286 (exp10_test): Likewise.
9287 (exp2_test): Likewise.
9288 (expm1_test): Likewise.
9289 (fmod_test): Likewise.
9290 (gamma_test): Likewise.
9291 (hypot_test): Likewise.
9292 (j0_test): Likewise.
9293 (j1_test): Likewise.
9294 (jn_test): Likewise.
9295 (lgamma_test): Likewise.
9296 (log_test): Likewise.
9297 (log10_test): Likewise.
9298 (log1p_test): Likewise.
9299 (log2_test): Likewise.
9300 (logb_test_downward): Likewise.
9301 (pow_test): Likewise.
9302 (pow_test_tonearest): Likewise.
9303 (pow_test_towardzero): Likewise.
9304 (pow_test_downward): Likewise.
9305 (pow_test_upward): Likewise.
9306 (remainder_test): Likewise.
9307 (remquo_test): Likewise.
9308 (sin_test): Likewise.
9309 (sin_test_tonearest): Likewise.
9310 (sin_test_towardzero): Likewise.
9311 (sin_test_downward): Likewise.
9312 (sin_test_upward): Likewise.
9313 (sincos_test): Likewise.
9314 (sinh_test): Likewise.
9315 (sinh_test_tonearest): Likewise.
9316 (sinh_test_towardzero): Likewise.
9317 (sinh_test_downward): Likewise.
9318 (sinh_test_upward): Likewise.
9319 (sqrt_test): Likewise.
9320 (tan_test): Likewise.
9321 (tan_test_tonearest): Likewise.
9322 (tan_test_towardzero): Likewise.
9323 (tan_test_downward): Likewise.
9324 (tan_test_upward): Likewise.
9325 (tanh_test): Likewise.
9326 (tgamma_test): Likewise.
9327 (y0_test): Likewise.
9328 (y1_test): Likewise.
9329 (yn_test): Likewise.
9330
323e5cb7
JM
9331 * math/gen-libm-test.pl (adjust_arg): Remove function.
9332 (special_function): Remove argument $in_func. Only handle
9333 generating output for tables of tests, not inside functions.
9334 (parse_args): Likewise.
9335 (generate_testfile): Remove variable $in_func. Update call to
9336 parse_args.
9337 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9338 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9339 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9340 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9341 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9342 (MAX_VALUE_INIT): Rename macro to max_value.
9343 (MIN_VALUE_INIT): Rename macro to min_value.
9344 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9345 (plus_zero): Remove variable.
9346 (minus_zero): Likewise.
9347 (plus_infty): Likewise.
9348 (minus_infty): Likewise.
9349 (qnan_value): Likewise.
9350 (max_value): Likewise.
9351 (min_value): Likewise.
9352 (min_subnorm_value): Likewise.
9353
e054f494
RA
93542013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9355
9356 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9357 uint64_t or uint32_t usage.
9358 * crypt/sha256-block.c: Likewise.
9359 * crypt/sha256-crypt.c: Likewise.
9360 * crypt/sha256.c: Likewise.
9361 * crypt/sha512-block.c: Likewise.
9362 * crypt/sha512-crypt.c: Likewise.
9363 * crypt/sha512.c: Likewise.
9364 * debug/backtrace-tst.c: Likewise.
9365 * debug/pcprofiledump.c: Likewise.
9366 * elf/cache.c: Likewise.
9367 * elf/dl-cache.c: Likewise.
9368 * elf/dl-misc.c: Likewise.
9369 * elf/dl-profile.c: Likewise.
9370 * elf/dl-support.c: Likewise.
9371 * elf/ldconfig.c: Likewise.
9372 * elf/sprof.c: Likewise.
9373 * iconv/dummy-repertoire.c: Likewise.
9374 * iconv/iconv_charmap.c: Likewise.
9375 * iconv/skeleton.c: Likewise.
9376 * iconvdata/8bit-generic.c: Likewise.
9377 * iconvdata/cp737.h: Likewise.
9378 * iconvdata/cp775.h: Likewise.
9379 * iconvdata/ibm1008.h: Likewise.
9380 * iconvdata/ibm1025.h: Likewise.
9381 * iconvdata/ibm1046.h: Likewise.
9382 * iconvdata/ibm1097.h: Likewise.
9383 * iconvdata/ibm1112.h: Likewise.
9384 * iconvdata/ibm1122.h: Likewise.
9385 * iconvdata/ibm1123.h: Likewise.
9386 * iconvdata/ibm1124.h: Likewise.
9387 * iconvdata/ibm1129.h: Likewise.
9388 * iconvdata/ibm1130.h: Likewise.
9389 * iconvdata/ibm1132.h: Likewise.
9390 * iconvdata/ibm1133.h: Likewise.
9391 * iconvdata/ibm1137.h: Likewise.
9392 * iconvdata/ibm1140.h: Likewise.
9393 * iconvdata/ibm1141.h: Likewise.
9394 * iconvdata/ibm1142.h: Likewise.
9395 * iconvdata/ibm1143.h: Likewise.
9396 * iconvdata/ibm1144.h: Likewise.
9397 * iconvdata/ibm1145.h: Likewise.
9398 * iconvdata/ibm1146.h: Likewise.
9399 * iconvdata/ibm1147.h: Likewise.
9400 * iconvdata/ibm1148.h: Likewise.
9401 * iconvdata/ibm1149.h: Likewise.
9402 * iconvdata/ibm1153.h: Likewise.
9403 * iconvdata/ibm1154.h: Likewise.
9404 * iconvdata/ibm1155.h: Likewise.
9405 * iconvdata/ibm1156.h: Likewise.
9406 * iconvdata/ibm1157.h: Likewise.
9407 * iconvdata/ibm1158.h: Likewise.
9408 * iconvdata/ibm1160.h: Likewise.
9409 * iconvdata/ibm1161.h: Likewise.
9410 * iconvdata/ibm1162.h: Likewise.
9411 * iconvdata/ibm1163.h: Likewise.
9412 * iconvdata/ibm1164.h: Likewise.
9413 * iconvdata/ibm1166.h: Likewise.
9414 * iconvdata/ibm1167.h: Likewise.
9415 * iconvdata/ibm12712.h: Likewise.
9416 * iconvdata/ibm1390.h: Likewise.
9417 * iconvdata/ibm1399.h: Likewise.
9418 * iconvdata/ibm16804.h: Likewise.
9419 * iconvdata/ibm4517.h: Likewise.
9420 * iconvdata/ibm4899.h: Likewise.
9421 * iconvdata/ibm4909.h: Likewise.
9422 * iconvdata/ibm4971.h: Likewise.
9423 * iconvdata/ibm5347.h: Likewise.
9424 * iconvdata/ibm803.h: Likewise.
9425 * iconvdata/ibm856.h: Likewise.
9426 * iconvdata/ibm901.h: Likewise.
9427 * iconvdata/ibm902.h: Likewise.
9428 * iconvdata/ibm9030.h: Likewise.
9429 * iconvdata/ibm9066.h: Likewise.
9430 * iconvdata/ibm921.h: Likewise.
9431 * iconvdata/ibm922.h: Likewise.
9432 * iconvdata/ibm9448.h: Likewise.
9433 * iconvdata/isiri-3342.h: Likewise.
9434 * iconvdata/jis0201.h: Likewise.
9435 * include/link.h: Likewise.
9436 * include/netdb.h: Likewise.
9437 * inet/check_native.c: Likewise.
9438 * inet/check_pf.c: Likewise.
9439 * inet/getipv4sourcefilter.c: Likewise.
9440 * inet/getnameinfo.c: Likewise.
9441 * inet/getsourcefilter.c: Likewise.
9442 * inet/htonl.c: Likewise.
9443 * inet/setipv4sourcefilter.c: Likewise.
9444 * inet/setsourcefilter.c: Likewise.
9445 * inet/test-inet6_opt.c: Likewise.
9446 * inet/tst-network.c: Likewise.
9447 * locale/C-collate.c: Likewise.
9448 * locale/C-ctype.c: Likewise.
9449 * locale/C-time.c: Likewise.
9450 * locale/C-translit.h: Likewise.
9451 * locale/loadarchive.c: Likewise.
9452 * locale/programs/3level.h: Likewise.
9453 * locale/programs/charmap.c: Likewise.
9454 * locale/programs/charmap.h: Likewise.
9455 * locale/programs/ld-address.c: Likewise.
9456 * locale/programs/ld-collate.c: Likewise.
9457 * locale/programs/ld-ctype.c: Likewise.
9458 * locale/programs/ld-identification.c: Likewise.
9459 * locale/programs/ld-measurement.c: Likewise.
9460 * locale/programs/ld-messages.c: Likewise.
9461 * locale/programs/ld-monetary.c: Likewise.
9462 * locale/programs/ld-name.c: Likewise.
9463 * locale/programs/ld-numeric.c: Likewise.
9464 * locale/programs/ld-paper.c: Likewise.
9465 * locale/programs/ld-telephone.c: Likewise.
9466 * locale/programs/ld-time.c: Likewise.
9467 * locale/programs/linereader.c: Likewise.
9468 * locale/programs/locale.c: Likewise.
9469 * locale/programs/locarchive.c: Likewise.
9470 * locale/programs/locfile.h: Likewise.
9471 * locale/programs/repertoire.c: Likewise.
9472 * locale/programs/simple-hash.c: Likewise.
9473 * locale/programs/simple-hash.h: Likewise.
9474 * malloc/memusage.c: Likewise.
9475 * malloc/memusagestat.c: Likewise.
9476 * nis/nis_defaults.c: Likewise.
9477 * nis/nis_hash.c: Likewise.
9478 * nis/nis_print.c: Likewise.
9479 * nis/nis_xdr.c: Likewise.
9480 * nscd/connections.c: Likewise.
9481 * nscd/hstcache.c: Likewise.
9482 * nscd/nscd_gethst_r.c: Likewise.
9483 * nscd/nscd_getserv_r.c: Likewise.
9484 * nscd/nscd_helper.c: Likewise.
9485 * nscd/servicescache.c: Likewise.
9486 * nss/makedb.c: Likewise.
9487 * nss/nss_db/db-XXX.c: Likewise.
9488 * nss/nss_db/db-initgroups.c: Likewise.
9489 * nss/nss_db/db-netgrp.c: Likewise.
9490 * nss/nss_files/files-network.c: Likewise.
9491 * nss/nss_files/files-parse.c: Likewise.
9492 * posix/bug-regex5.c: Likewise.
9493 * posix/fnmatch_loop.c: Likewise.
9494 * posix/regcomp.c: Likewise.
9495 * posix/regexec.c: Likewise.
9496 * posix/tst-rfc3484-2.c: Likewise.
9497 * posix/tst-rfc3484-3.c: Likewise.
9498 * posix/tst-rfc3484.c: Likewise.
9499 * resolv/nss_dns/dns-canon.c: Likewise.
9500 * resolv/nss_dns/dns-network.c: Likewise.
9501 * resolv/res_init.c: Likewise.
9502 * resolv/res_mkquery.c: Likewise.
9503 * resolv/tst-aton.c: Likewise.
9504 * stdlib/cxa_atexit.c: Likewise.
9505 * stdlib/cxa_finalize.c: Likewise.
9506 * stdlib/gen-fpioconst.c: Likewise.
9507 * stdlib/strtol_l.c: Likewise.
9508 * string/tst-endian.c: Likewise.
9509 * sunrpc/auth_des.c: Likewise.
9510 * sunrpc/clnt_udp.c: Likewise.
9511 * sunrpc/rtime.c: Likewise.
9512 * sunrpc/svcauth_des.c: Likewise.
9513 * sunrpc/xdr.c: Likewise.
9514 * sunrpc/xdr_intXX_t.c: Likewise.
9515 * sunrpc/xdr_rec.c: Likewise.
9516 * sysdeps/generic/ldconfig.h: Likewise.
9517 * sysdeps/generic/ldsodefs.h: Likewise.
9518 * sysdeps/generic/memusage.h: Likewise.
9519 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9520 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9521 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9522 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9523 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9524 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9525 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9526 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9527 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9528 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9529 * sysdeps/posix/getaddrinfo.c: Likewise.
9530 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9531 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9532 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9533 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9534 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9535 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9536 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9537 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9538 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9539 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9540 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9541 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9542 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9543 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9544 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9545 * sysdeps/x86_64/dl-tls.h: Likewise.
9546 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9547 * time/alt_digit.c: Likewise.
9548 * time/era.c: Likewise.
9549 * wcsmbs/tst-c16c32-1.c: Likewise.
9550
8c75f674
JM
95512013-05-16 Joseph Myers <joseph@codesourcery.com>
9552
9553 * math/libm-test.inc (struct test_sincos_data): New type.
9554 (RUN_TEST_LOOP_sincos): New macro.
9555 (sincos_test_data): New variable.
9556 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9557
e6e49e59
RH
95582013-05-16 Richard Henderson <rth@redhat.com>
9559
9560 * math/atest-exp2.c (LIMB64): New macro.
9561 (CONSTSZ): New macro.
9562 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9563 (hexdig): Move ...
9564 (print_mpn_fp): ... to function scope.
9565 (read_mpn_hex): Remove.
9566 (get_log2): Remove.
9567 (exp2_mpn): Use mp_log2.
9568 (main): Use mp_exp1.
9569
15c7c18d
JM
95702013-05-16 Joseph Myers <joseph@codesourcery.com>
9571
105a07df
JM
9572 * math/libm-test.inc: Remove comment about not testing "inexact"
9573 exceptions.
9574 (INEXACT_EXCEPTION): New macro.
9575 (NO_INEXACT_EXCEPTION): Likewise.
9576 (INVALID_EXCEPTION_OK): Update value.
9577 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9578 (OVERFLOW_EXCEPTION_OK): Likewise.
9579 (UNDERFLOW_EXCEPTION_OK): Likewise.
9580 (IGNORE_ZERO_INF_SIGN): Likewise.
9581 (ERRNO_UNCHANGED): Likewise.
9582 (ERRNO_EDOM): Likewise.
9583 (ERRNO_ERANGE): Likewise.
9584 (test_exceptions): Handle testing "inexact" exceptions.
9585 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9586 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9587 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9588 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9589 INEXACT_EXCEPTION.
9590 (rint_towardzero_test_data): Likewise.
9591 (rint_downward_test_data): Likewise.
9592 (rint_upward_test_data): Likewise.
9593
e9eee333
JM
9594 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9595 with OVERFLOW_EXCEPTION.
9596 (exp10_test_data): Likewise.
9597 (exp2_test_data): Likewise.
9598 (expm1_test_data): Likewise.
9599 (lgamma_test_data): Likewise.
9600 (pow_test_data): Likewise.
9601 (tgamma_test_data): Likewise.
9602 (yn_test_data): Remove duplicate test of overflow.
9603
1c38ff73
JM
9604 * math/libm-test.inc (struct test_cc_c_data): New type.
9605 (RUN_TEST_LOOP_cc_c): New macro.
9606 (cpow_test_data): New variable.
9607 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9608
15c7c18d
JM
9609 * math/libm-test.inc (struct test_f_L_data): New type.
9610 (RUN_TEST_LOOP_f_L): New macro.
9611 (llrint_test_data): New variable.
9612 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9613 (llrint_tonearest_test_data): New variable.
9614 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9615 (llrint_towardzero_test_data): New variable.
9616 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9617 (llrint_downward_test_data): New variable.
9618 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9619 (llrint_upward_test_data): New variable.
9620 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9621 (llround_test_data): New variable.
9622 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9623
f137ff13
PC
96242013-05-13 Peter Collingbourne <pcc@google.com>
9625
9626 * math/atest-exp2.c (get_log2): Remove const attribute.
9627
3608cb24
JM
96282013-05-15 Joseph Myers <joseph@codesourcery.com>
9629
9630 * math/libm-test.inc (struct test_f_l_data): New type.
9631 (RUN_TEST_LOOP_f_l): New macro.
9632 (lrint_test_data): New variable.
9633 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9634 (lrint_tonearest_test_data): New variable.
9635 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9636 (lrint_towardzero_test_data): New variable.
9637 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9638 (lrint_downward_test_data): New variable.
9639 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9640 (lrint_upward_test_data): New variable.
9641 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9642 (lround_test_data): New variable.
9643 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9644
39b1f617
PC
96452013-05-15 Peter Collingbourne <pcc@google.com>
9646
1deff3dc
PC
9647 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9648 (EXTRACT_WORDS64) Use where appropriate.
9649 (INSERT_WORDS64) Likewise.
9650
791f3ba0
PC
9651 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9652 constraints with x constraints.
9653 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9654
39b1f617
PC
9655 * malloc/obstack.c (_obstack_compat): Add initializer.
9656
12fba011
EM
96572013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9658
9659 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9660 si_trapno and add si_addr_lsb to _sifields.sigfault.
9661 (si_trapno): Remove macro.
9662 (si_addr_lsb): Define new macro.
9663 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9664
d369f531
JM
96652013-05-15 Joseph Myers <joseph@codesourcery.com>
9666
b861c6c4
JM
9667 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9668 instead of TEST_f_l.
9669 (llrint_test_tonearest): Likewise.
9670 (llrint_test_towardzero): Likewise.
9671 (llrint_test_downward): Likewise.
9672 (llrint_test_upward): Likewise.
9673 (llround_test): Likewise.
9674
7abeee12
JM
9675 * math/libm-test.inc (struct test_f_i_data): Add comment.
9676 (RUN_TEST_LOOP_f_b): New macro.
9677 (RUN_TEST_LOOP_f_b_tg): Likewise.
9678 (finite_test_data): New variable.
9679 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9680 (isfinite_test_data): New variable.
9681 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9682 (isinf_test_data): New variable.
9683 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9684 (isnan_test_data): New variable.
9685 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9686 (isnormal_test_data): New variable.
9687 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9688 (issignaling_test_data): New variable.
9689 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9690 (signbit_test_data): New variable.
9691 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9692
cbe8c4d3
JM
9693 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9694 with INVALID_EXCEPTION.
9695 (acosh_test_data): Likewise.
9696 (asin_test_data): Likewise.
9697 (atanh_test_data): Likewise.
9698 (fmod_test_data): Likewise.
9699 (log_test_data): Likewise.
9700 (log10_test_data): Likewise.
9701 (log2_test_data): Likewise.
9702 (pow_test_data): Likewise.
9703 (sqrt_test_data): Likewise.
9704 (y0_test_data): Likewise.
9705 (y1_test_data): Likewise.
9706 (yn_test_data): Likewise.
9707
5575c0e5
JM
9708 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9709 function contents.
9710
d369f531
JM
9711 * math/libm-test.inc (struct test_ff_i_data): New type.
9712 (RUN_TEST_LOOP_ff_i_tg): New macro.
9713 (isgreater_test_data): New variable.
9714 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9715 (isgreaterequal_test_data): New variable.
9716 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9717 (isless_test_data): New variable.
9718 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9719 (islessequal_test_data): New variable.
9720 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9721 (islessgreater_test_data): New variable.
9722 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9723 (isunordered_test_data): New variable.
9724 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9725
781fd748
DM
97262013-05-14 David S. Miller <davem@davemloft.net>
9727
9728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9729
87aa21df
JM
97302013-05-14 Joseph Myers <joseph@codesourcery.com>
9731
5e908270
JM
9732 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9733
f71172e5
JM
9734 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9735 extra_test to int.
9736 (struct test_f_i_data): Change type of max_ulp to int.
9737
8cfa635a
JM
9738 * math/libm-test.inc (test_ffI_f1_data): New type.
9739 (RUN_TEST_LOOP_ffI_f1): New macro.
9740 (remquo_test_data): New variable.
9741 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9742
2bcb36b2
JM
9743 * setjmp/tst-setjmp-fp.c: New file.
9744 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9745 (link-libm): New variable.
9746 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9747
acbd839a
JM
9748 * math/libm-test.inc (struct test_f_i_data): New type.
9749 (RUN_TEST_LOOP_f_i): New macro.
9750 (RUN_TEST_LOOP_f_i_tg): Likewise.
9751 (fpclassify_test_data): New variable.
9752 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9753 (ilogb_test_data): New variable.
9754 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9755
e414d745
JM
9756 * math/libm-test.inc (scalbln_test): Correct function name in END
9757 call.
9758
d9c2a0fd
JM
9759 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9760 (RUN_TEST_LOOP_fI_f1): New macro.
9761 (frexp_test_data): New variable.
9762 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9763
9dc9095d
JM
9764 * math/libm-test.inc (struct test_fF_f1_data): New type.
9765 (RUN_TEST_LOOP_fF_f1): New macro.
9766 (modf_test_data): New variable.
9767 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9768
87aa21df
JM
9769 * math/libm-test.inc (struct test_f_f1_data): New type.
9770 (RUN_TEST_LOOP_f_f1): New macro.
9771 (gamma_test_data): New variable.
9772 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9773 (lgamma_test_data): New variable.
9774 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9775
141af660
CD
97762013-05-13 Carlos O'Donell <carlos@redhat.com>
9777
9778 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9779 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9780 (main): Comment "tls" pseudo-hwcap.
9781
6d33265c
JM
97822013-05-13 Joseph Myers <joseph@codesourcery.com>
9783
68fc074c
JM
9784 * math/libm-test.inc (struct test_fl_f_data): New type.
9785 (RUN_TEST_LOOP_fl_f): New variable.
9786 (scalbln_test_data): New variable.
9787 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9788
243216e1
JM
9789 * math/libm-test.inc (struct test_fi_f_data): New type.
9790 (RUN_TEST_LOOP_fi_f): New macro.
9791 (ldexp_test_data): New variable.
9792 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9793 (scalbn_test_data): New variable.
9794 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9795
6a1992e2
JM
9796 * math/libm-test.inc (struct test_c_f_data): New type.
9797 (RUN_TEST_LOOP_c_f): New macro.
9798 (cabs_test_data): New variable.
9799 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9800 (carg_test_data): New variable.
9801 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9802 (cimag_test_data): New variable.
9803 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9804 (creal_test_data): New variable.
9805 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9806
0e400df5
JM
9807 * math/libm-test.inc (struct test_if_f_data): New type.
9808 (RUN_TEST_LOOP_if_f): New macro.
9809 (jn_test_data): New variable.
9810 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9811 (yn_test_data): New variable.
9812 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9813
6d33265c
JM
9814 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9815
f98ece5f
AZ
98162013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9817
9818 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9819 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9820
0f7d347b
SP
98212013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9822
43fe811b
SP
9823 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9824 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9825 (bench-deps): Add bench-timing.h.
9826 * benchtests-bench-skeleton.c: Include bench-timing.h.
9827 (main): Use TIMING_* macros instead of clock_gettime.
9828 * benchtests/bench-timing.h: New file.
9829
0f7d347b
SP
9830 [BZ #14582]
9831 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9832 Renamed from _LIB_VERSION.
9833 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9834
601a3a5f
JM
98352013-05-12 Joseph Myers <joseph@codesourcery.com>
9836
4f184d30
JM
9837 * math/libm-test.inc (struct test_fff_f_data): New type.
9838 (RUN_TEST_LOOP_fff_f): New macro.
9839 (fma_test_data): New variable.
9840 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9841 (fma_towardzero_test_data): New variable.
9842 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9843 (fma_downward_test_data): New variable.
9844 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9845 (fma_upward_test_data): New variable.
9846 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9847
08198877
JM
9848 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9849 (struct test_c_c_data): New type.
9850 (RUN_TEST_LOOP_c_c): New macro.
9851 (cacos_test_data): New variable.
9852 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9853 (cacosh_test_data): New variable.
9854 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9855 (casin_test_data): New variable.
9856 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9857 (casinh_test_data): New variable.
9858 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9859 (catan_test_data): New variable.
9860 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9861 (catanh_test_data): New variable.
9862 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9863 (ccos_test_data): New variable.
9864 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9865 (ccosh_test_data): New variable.
9866 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9867 (cexp_test_data): New variable.
9868 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9869 (clog_test_data): New variable.
9870 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9871 (clog10_test_data): New variable.
9872 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9873 (conj_test_data): New variable.
9874 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9875 (cproj_test_data): New variable.
9876 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9877 (csin_test_data): New variable.
9878 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9879 (csinh_test_data): New variable.
9880 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9881 (csqrt_test_data): New variable.
9882 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9883 (ctan_test_data): New variable.
9884 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9885 (ctan_tonearest_test_data): New variable.
9886 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9887 (ctan_towardzero_test_data): New variable.
9888 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9889 (ctan_downward_test_data): New variable.
9890 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9891 (ctan_upward_test_data): New variable.
9892 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9893 (ctanh_test_data): New variable.
9894 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9895 (ctanh_tonearest_test_data): New variable.
9896 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9897 (ctanh_towardzero_test_data): New variable.
9898 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9899 (ctanh_downward_test_data): New variable.
9900 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9901 (ctanh_upward_test_data): New variable.
9902 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9903 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9904 of BUILD_COMPLEX.
9905
601a3a5f
JM
9906 * math/libm-test.inc (struct test_ff_f_data): New type.
9907 (struct test_ff_f_data_nexttoward): Likewise.
9908 (RUN_TEST_LOOP_2_f): New macro.
9909 (RUN_TEST_LOOP_ff_f): Likewise.
9910 (atan2_test_data): New variable.
9911 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9912 (copysign_test_data): New variable.
9913 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9914 (fdim_test_data): New variable.
9915 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9916 (fmax_test_data): New variable.
9917 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9918 (fmin_test_data): New variable.
9919 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9920 (fmod_test_data): New variable.
9921 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9922 (hypot_test_data): New variable.
9923 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9924 (nextafter_test_data): New variable.
9925 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9926 (nexttoward_test_data): New variable.
9927 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9928 (pow_test_data): New variable.
9929 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9930 (pow_tonearest_test_data): New variable.
9931 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9932 (pow_towardzero_test_data): New variable.
9933 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9934 (pow_downward_test_data): New variable.
9935 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9936 (pow_upward_test_data): New variable.
9937 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9938 (remainder_test_data): New variable.
9939 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9940 (scalb_test_data): New variable.
9941 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9942 * sysdeps/i386/fpu/libm-test-ulps: Update.
9943
74c57478
JM
99442013-05-11 Joseph Myers <joseph@codesourcery.com>
9945
8329e4da
JM
9946 * math/libm-test.inc (fma_test): Use max_value instead of local
9947 variable fltmax.
9948 (nextafter_test): Likewise.
9949
74c57478
JM
9950 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9951 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9952 (acos_downward_test_data): New variable.
9953 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9954 (acos_upward_test_data): New variable.
9955 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9956 (acosh_test_data): New variable.
9957 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9958 (asin_test_data): New variable.
9959 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9960 (asin_tonearest_test_data): New variable.
9961 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9962 (asin_towardzero_test_data): New variable.
9963 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9964 (asin_downward_test_data): New variable.
9965 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9966 (asin_upward_test_data): New variable.
9967 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9968 (asinh_test_data): New variable.
9969 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9970 (atan_test_data): New variable.
9971 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9972 (atanh_test_data): New variable.
9973 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9974 (cbrt_test_data): New variable.
9975 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9976 (ceil_test_data): New variable.
9977 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9978 (cos_test_data): New variable.
9979 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9980 (cos_tonearest_test_data): New variable.
9981 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9982 (cos_towardzero_test_data): New variable.
9983 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9984 (cos_downward_test_data): New variable.
9985 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9986 (cos_upward_test_data): New variable.
9987 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9988 (cosh_test_data): New variable.
9989 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9990 (cosh_tonearest_test_data): New variable.
9991 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9992 (cosh_towardzero_test_data): New variable.
9993 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9994 (cosh_downward_test_data): New variable.
9995 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9996 (cosh_upward_test_data): New variable.
9997 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9998 (erf_test_data): New variable.
9999 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10000 (erfc_test_data): New variable.
10001 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10002 (exp_test_data): New variable.
10003 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10004 (exp_tonearest_test_data): New variable.
10005 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10006 (exp_towardzero_test_data): New variable.
10007 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10008 (exp_downward_test_data): New variable.
10009 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10010 (exp_upward_test_data): New variable.
10011 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10012 (exp10_test_data): New variable.
10013 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10014 (exp2_test_data): New variable.
10015 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10016 (expm1_test_data): New variable.
10017 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10018 (fabs_test_data): New variable.
10019 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10020 (floor_test_data): New variable.
10021 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10022 (j0_test_data): New variable.
10023 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10024 (j1_test_data): New variable.
10025 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10026 (log_test_data): New variable.
10027 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10028 (log10_test_data): New variable.
10029 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10030 (log1p_test_data): New variable.
10031 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10032 (log2_test_data): New variable.
10033 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10034 (logb_test_data): New variable.
10035 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10036 (logb_downward_test_data): New variable.
10037 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10038 (nearbyint_test_data): New variable.
10039 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10040 (rint_test_data): New variable.
10041 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10042 (rint_tonearest_test_data): New variable.
10043 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10044 (rint_towardzero_test_data): New variable.
10045 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10046 (rint_downward_test_data): New variable.
10047 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10048 (rint_upward_test_data): New variable.
10049 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10050 (round_test_data): New variable.
10051 (round_test): Run tests with RUN_TEST_LOOP_f_f.
10052 (sin_test_data): New variable.
10053 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10054 (sin_tonearest_test_data): New variable.
10055 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10056 (sin_towardzero_test_data): New variable.
10057 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10058 (sin_downward_test_data): New variable.
10059 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10060 (sin_upward_test_data): New variable.
10061 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10062 (sinh_test_data): New variable.
10063 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10064 (sinh_tonearest_test_data): New variable.
10065 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10066 (sinh_towardzero_test_data): New variable.
10067 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10068 (sinh_downward_test_data): New variable.
10069 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10070 (sinh_upward_test_data): New variable.
10071 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10072 (sqrt_test_data): New variable.
10073 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10074 (tan_test_data): New variable.
10075 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10076 (tan_tonearest_test_data): New variable.
10077 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10078 (tan_towardzero_test_data): New variable.
10079 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10080 (tan_downward_test_data): New variable.
10081 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10082 (tan_upward_test_data): New variable.
10083 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10084 (tanh_test_data): New variable.
10085 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10086 (tgamma_test_data): New variable.
10087 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10088 (trunc_test_data): New variable.
10089 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10090 (y0_test_data): New variable.
10091 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10092 (y1_test_data): New variable.
10093 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10094 (significand_test_data): New variable.
10095 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10096
7187d844
CG
100972013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10098
10099 [BZ #12387]
10100 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10101
f63fae73
PT
101022013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10103
10104 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10105
8a67a4b3
AJ
101062013-05-10 Andreas Jaeger <aj@suse.de>
10107
10108 [BZ #15448]
10109 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10110 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10111
51df539d
JM
101122013-05-10 Joseph Myers <joseph@codesourcery.com>
10113
10114 * math/gen-libm-test.pl (adjust_arg): New function.
10115 (special_functions): Handle generating output in both functions
10116 and arrays.
10117 (parse_args): Likewise.
10118 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10119 $in_func argument to parse_args.
10120 * math/libm-test.inc (struct test_f_f_data): New type.
10121 (IF_ROUND_INIT_): New macro.
10122 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10123 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10124 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10125 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10126 (ROUND_RESTORE_): Likewise.
10127 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10128 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10129 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10130 (ROUND_RESTORE_FE_UPWARD): Likewise.
10131 (RUN_TEST_LOOP_f_f): New macro.
10132 (acos_test_data): New variable.
10133 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10134 (acos_tonearest_test_data): New variable.
10135 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10136
5c637fe5
SP
101372013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10138
10139 * benchtests/bench-skeleton.c (startup): Fix coding style.
10140
ab2b9461
JM
101412013-05-10 Joseph Myers <joseph@codesourcery.com>
10142
10143 [BZ #6809]
10144 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10145 negative infinity argument.
10146 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10147 negative infinity argument.
10148 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10149 negative infinity argument.
10150 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10151 domain errors.
10152
4c0fe6fe
FW
101532013-05-10 Florian Weimer <fweimer@redhat.com>
10154
10155 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10156 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10157 * iconv/iconv_prog.c (main): Likewise.
10158 * locale/programs/charmap-dir.c (charmap_readdir)
10159 (fopen_uncompressed): Likewise.
10160 * locale/programs/locfile.c (siblings_uncached)
10161 (write_locale_data): Use lstat64 instead of lstat.
10162 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10163 stat.
10164
a3375d29
AJ
101652013-05-10 Andreas Jaeger <aj@suse.de>
10166
10167 [BZ #15395]
10168 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10169 localization.
10170 Include <locale.h>.
10171
36129722
CD
101722013-05-09 Carlos O'Donell <carlos@redhat.com>
10173
10174 * elf/dl-close.c (_dl_close_worker): Add comments.
10175
faa7f811
JM
101762013-05-09 Joseph Myers <joseph@codesourcery.com>
10177
ed41ffef
JM
10178 [BZ #15359]
10179 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10180 high part of pi/2.
10181 (__ieee754_rem_pio2l): Update comments.
10182
d0213cd0
JM
10183 [BZ #15429]
10184 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10185 high part of pi/2.
10186 (__ieee754_rem_pio2l): Update comments.
10187
0d3e777a
JM
10188 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10189 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10190
24f56066
JM
10191 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10192 M_PI_4l.
10193
faa7f811
JM
10194 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10195 (M_PI_34_LOG10El): Likewise.
10196 (M_PI2_LOG10El): Likewise.
10197 (M_PI4_LOG10El): Likewise.
10198 (M_PI_LOG10El): Likewise.
10199
e9a5e0fd
AZ
102002013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10201
10202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10203
d8cd06db
JM
102042013-05-08 Joseph Myers <joseph@codesourcery.com>
10205
a0d9f9d7
JM
10206 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10207 (MINUS_ZERO_INIT): Likewise.
10208 (PLUS_INFTY_INIT): Likewise.
10209 (MINUS_INFTY_INIT): Likewise.
10210 (QNAN_VALUE_INIT): Likewise.
10211 (MAX_VALUE_INIT): Likewise.
10212 (MIN_VALUE_INIT): Likewise.
10213 (MIN_SUBNORM_VALUE_INIT): Likewise.
10214 (plus_zero): Initialize with PLUS_ZERO_INIT.
10215 (minus_zero): Initialize with MINUS_ZERO_INIT.
10216 (plus_infty): Initialize with PLUS_INFTY_INIT.
10217 (minus_infty): Initialize with MINUS_INFTY_INIT.
10218 (qnan_value): Initialize with QNAN_VALUE_INIT.
10219 (max_value): Initialize with MAX_VALUE_INIT.
10220 (min_value): Initialize with MIN_VALUE_INIT.
10221 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10222
ae08db3b
JM
10223 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10224 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10225 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10226 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10227
f44bf14a
JM
10228 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10229 (RUN_TEST_2_f): Likewise.
10230 (RUN_TEST_ff_f): Likewise.
10231 (RUN_TEST_fi_f): Likewise.
10232 (RUN_TEST_fl_f): Likewise.
10233 (RUN_TEST_fff_f): Likewise.
10234 (RUN_TEST_c_f): Likewise.
10235 (RUN_TEST_f_f1): Likewise.
10236 (RUN_TEST_fF_f1): Likewise.
10237 (RUN_TEST_fI_f1): Likewise.
10238 (RUN_TEST_ffI_f1): Likewise.
10239 (RUN_TEST_c_c): Likewise.
10240 (RUN_TEST_cc_c): Likewise.
10241 (RUN_TEST_f_i): Likewise.
10242 (RUN_TEST_f_i_tg): Likewise.
10243 (RUN_TEST_ff_i_tg): Likewise.
10244 (RUN_TEST_f_b): Likewise.
10245 (RUN_TEST_f_b_tg): Likewise.
10246 (RUN_TEST_f_l): Likewise.
10247 (RUN_TEST_f_L): Likewise.
10248 (RUN_TEST_sincos): Likewise.
10249 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10250 whether to show exceptions. Do not include ");\n" in return
10251 value.
10252 (special_functions): Output call to RUN_TEST_sincos instead of
10253 check_float calls. Update calls to new_test.
10254 (parse_args): Output call to single RUN_TEST_* macro instead of
10255 check_* calls and other assignments. Update calls to new_test.
10256
d8cd06db
JM
10257 [BZ #2546]
10258 [BZ #2560]
10259 [BZ #5159]
10260 [BZ #15426]
10261 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10262 input to result for tgamma overflow.
10263 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10264 (gamma_coeff): New variable.
10265 (NCOEFF): New macro.
10266 (gamma_positive): New function.
10267 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10268 underflow here. Use gamma_positive instead of exp (lgamma) for
10269 other arguments.
10270 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10271 (gamma_coeff): New variable.
10272 (NCOEFF): New macro.
10273 (gammaf_positive): New function.
10274 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10275 underflow here. Use gamma_positive instead of exp (lgamma) for
10276 other arguments.
10277 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10278 (gamma_coeff): New variable.
10279 (NCOEFF): New macro.
10280 (gammal_positive): New function.
10281 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10282 underflow here. Use gamma_positive instead of exp (lgamma) for
10283 other arguments.
10284 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10285 (gamma_coeff): New variable.
10286 (NCOEFF): New macro.
10287 (gammal_positive): New function.
10288 (__ieee754_gammal_r): Handle positive infinity, overflow and
10289 underflow here. Handle NaN the same as positive infinity. Remove
10290 check x < 0xffffffff for negative integers. Use gamma_positive
10291 instead of exp (lgamma) for other arguments.
10292 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10293 (gamma_coeff): New variable.
10294 (NCOEFF): New macro.
10295 (gammal_positive): New function.
10296 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10297 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10298 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10299 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10300 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10301 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10302 * sysdeps/generic/math_private.h (__gamma_productf): New
10303 prototype.
10304 (__gamma_product): Likewise.
10305 (__gamma_productl): Likewise.
10306 * math/Makefile (libm-calls): Add gamma_product.
10307 * math/libm-test.inc (tgamma_test): Add more tests.
10308 * sysdeps/i386/fpu/libm-test-ulps: Update.
10309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10310
bb7cf681
OB
103112013-05-08 Ondřej Bílka <neleai@seznam.cz>
10312
10313 * benchtests/bench-skeleton.c (main): Preheat CPU.
10314
ba853947
AJ
103152013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10316
10317 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10318
8347c74c
RM
103192013-05-07 Roland McGrath <roland@hack.frob.com>
10320
10321 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10322 and _dl_skip_args_internal.
10323
e8dd4791
CD
103242013-05-07 Carlos O'Donell <carlos@redhat.com>
10325
10326 * manual/message.texi (Message Translation): Talk about users.
10327 Message to key mapping impacts design.
10328
c7405830
RM
103292013-05-06 Roland McGrath <roland@hack.frob.com>
10330
a9173057
RM
10331 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10332
976e2f03
RM
10333 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10334
9723ffc5
RM
10335 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10336 * sysdeps/wordsize-64/glob64.c: ... here.
10337
962e6658
RM
10338 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10339 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10340 New macros.
10341
ee586a6d
RM
10342 * debug/getlogin_r_chk.c: Moved to ...
10343 * login/getlogin_r_chk.c: ... here.
10344 * debug/Makefile (routines): Move getlogin_r_chk to ...
10345 * login/Makefile (routines): ... here.
10346 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10347 * login/Versions (libc: GLIBC_2.4): ... here.
10348
355f9165
RM
10349 * io/poll.c (__poll): Renamed from poll.
10350 Add libc_hidden_def.
10351 (poll): Define as weak alias.
10352
bd9ffde6
RM
10353 * debug/ptsname_r_chk.c: Moved to ...
10354 * login/ptsname_r_chk.c: ... here.
10355 * debug/Makefile (routines): Move ptsname_r_chk to ...
10356 * login/Makefile (routines): ... here.
10357 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10358 * login/Versions (libc: GLIBC_2.4): ... here.
10359
8fb16a04
RM
10360 * posix/getlogin.c: Moved to ...
10361 * login/getlogin.c: ... here.
10362 * posix/getlogin_r.c: Moved to ...
10363 * login/getlogin_r.c: ... here.
10364 * posix/getlogin_r.c: Moved to ...
10365 * login/getlogin_r.c: ... here.
10366 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10367 * login/Makefile (routines): ... here.
10368 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10369 * login/Versions (libc: GLIBC_2.0): ... here.
10370
b99b892f
RM
10371 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10372 (setrlimit): Define as weak alias.
10373
c7405830
RM
10374 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10375 Call __ names for open, ftruncate, and close.
10376 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10377 (truncate): Define as weak alias.
10378
5bf96de5
JM
103792013-05-06 Joseph Myers <joseph@codesourcery.com>
10380
9ea3513c
JM
10381 * math/gen-libm-test.pl (parse_args): Initialize x before each
10382 test of frexp, modf and remquo.
10383
5bf96de5
JM
10384 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10385 test signgam value.
10386
16e616a7
AZ
103872013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10388
10389 [BZ #15418]
10390 [BZ #15419]
10391 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10392 internal tests.
10393 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10394
d5e82754
RM
103952013-05-06 Roland McGrath <roland@hack.frob.com>
10396
10397 * elf/dl-writev.h: New file.
10398 * elf/dl-misc.c: Include it.
10399 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10400 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10401
a7548d41
JM
104022013-05-04 Joseph Myers <joseph@codesourcery.com>
10403
b7dab1e4
JM
10404 * math/libm-test.inc (noXFails): Remove variable.
10405 (noXPasses): Likewise.
10406 (BUILD_COMPLEX_INT): Remove macro.
10407 (print_screen): Remove xfail argument.
10408 (print_screen_max_error): Likewise.
10409 (update_stats): Likewise.
10410 (print_max_error): Likewise. Update calls to other affected
10411 functions.
10412 (print_complex_max_error): Likewise.
10413 (test_single_exception): Update calls to print_screen.
10414 (test_single_errno): Likewise.
10415 (check_float_internal): Remove xfail argument. Update calls to
10416 other affected functions.
10417 (check_float): Likewise.
10418 (check_complex): Likewise.
10419 (check_int): Likewise.
10420 (check_long): Likewise.
10421 (check_bool): Likewise.
10422 (check_longlong): Likewise.
10423 (main): Don't print noXFails and noXPasses.
10424 * math/gen-libm-test.pl (top level): Don't mention expected
10425 failure handling in comment.
10426 (new_test): Don't handle expected failures.
10427 (parse_args): Don't mention expected failure handling in comment.
10428 (generate_testfile): Don't handle expected failures.
10429 (parse_ulps): Likewise.
10430 (print_ulps_file): Likewise.
10431 (get_failure): Remove function.
10432 (output_test): Don't handle expected failures.
10433 * make/README.libm-test: Don't mention expected failure handling.
10434
a7548d41
JM
10435 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10436 (minus_zero): Likewise.
10437 (plus_infty): Likewise.
10438 (minus_infty): Likewise.
10439 (qnan_value): Likewise.
10440 (max_value): Likewise.
10441 (min_value): Likewise.
10442 (min_subnorm_value): Likewise.
10443 (initialize): Do not initialize those variables dynamically.
10444
60bfd54c
RM
104452013-05-03 Roland McGrath <roland@hack.frob.com>
10446
cc0e6ed8
RM
10447 * io/open.c (__open_2): Moved to ...
10448 * io/open_2.c: ... this new file.
10449 * io/open64.c (__open64_2): Moved to ...
10450 * io/open64_2.c: ... this new file.
10451 * io/openat.c (__openat_2): Moved to ...
10452 * io/openat_2.c: ... this new file.
10453 * io/openat64.c (__openat64_2): Moved to ...
10454 * io/openat64_2.c: ... this new file.
10455 * io/Makefile (routines): Add them.
10456 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10457 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10458 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10459 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10460 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10461 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10462 (__openat64): Add hidden_ver.
10463 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10464 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10465
60bfd54c
RM
10466 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10467 Separately conditionalize setting of GLRO(dl_sysinfo) so
10468 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10469 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10470
83e7640f
AZ
104712013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10472
10473 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10474 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10475 definition.
10476 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10477 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10478 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10479 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10480 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10481
d5dc2af3
JM
104822013-05-03 Joseph Myers <joseph@codesourcery.com>
10483
c31a5b1e
JM
10484 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10485 test signgam value.
10486
d5dc2af3
JM
10487 * math/libm-test.inc (hypot_test): Do not use
10488 IGNORE_ZERO_INF_SIGN.
10489
164fd39d
AJ
104902013-05-03 Andreas Jaeger <aj@suse.de>
10491
10492 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10493 Linux 3.9.
10494 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10495 (PF_MAX): Adjust for VSOCK change.
10496
8237f48c
AZ
104972013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10498
10499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10500
9df02941
CD
105012013-05-02 Carlos O'Donell <carlos@redhat.com>
10502
10503 [BZ #15264]
10504 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10505 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10506 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10507
d422395e
DM
105082013-05-02 David S. Miller <davem@davemloft.net>
10509
10510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10511
a07c5731
OB
105122013-05-01 Ondřej Bílka <neleai@seznam.cz>
10513
10514 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10515
1324e37f
RM
105162013-05-01 Roland McGrath <roland@hack.frob.com>
10517
10518 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10519
0695940b
RS
105202013-05-01 Richard Smith <richard@metafoo.co.uk>
10521
bb5f27ad 10522 [BZ #14952]
0695940b
RS
10523 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10524 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10525 Use __attribute__ ((__gnu_inline__)).
10526 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10527 Don't use __attribute__ ((__gnu_inline__)).
10528
10de07f5
JM
105292013-05-01 Joseph Myers <joseph@codesourcery.com>
10530
10531 [BZ #15423]
10532 * math/s_catan.c (__catan): Handle small real or imaginary part of
10533 input specially to avoid spurious underflow.
10534 * math/s_catanf.c (__catanf): Likewise.
10535 * math/s_catanh.c (__catanh): Likewise.
10536 * math/s_catanhf.c (__catanhf): Likewise.
10537 * math/s_catanhl.c (__catanhl): Likewise.
10538 * math/s_catanl.c (__catanl): Likewise.
10539 * math/libm-test.inc (catan_test): Add more tests.
10540 (catanh_test): Likewise.
10541 * sysdeps/i386/fpu/libm-test-ulps: Update.
10542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10543
cb4d5414
AZ
105442013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10545
10546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10547
caf84319
JM
105482013-04-30 Joseph Myers <joseph@codesourcery.com>
10549
10550 [BZ #15416]
10551 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10552 accurately for denominator in atan2.
10553 * math/s_catanf.c (__catanf): Likewise.
10554 * math/s_catanh.c (__catanh): Likewise.
10555 * math/s_catanhf.c (__catanhf): Likewise.
10556 * math/s_catanhl.c (__catanhl): Likewise.
10557 * math/s_catanl.c (__catanl): Likewise.
10558 * math/libm-test.inc (catan_test): Add more tests.
10559 (catanh_test): Likewise.
10560 * sysdeps/i386/fpu/libm-test-ulps: Update.
10561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10562
d569c6ee
SP
105632013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10564
6dbe713d
SP
10565 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10566
f0ee064b
SP
10567 * benchtests/Makefile (bench): Remove slow benchmarks.
10568 * benchtests/atan-inputs: Add slow benchmark inputs.
10569 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10570 (BENCH_FUNC): Accept variant offset.
10571 (VARIANT): Define.
10572 * benchtests/bench-skeleton.c (main): Run benchmark for each
10573 variant.
10574 * benchtests/cos-inputs: Add slow benchmark inputs.
10575 * benchtests/exp-inputs: Likewise.
10576 * benchtests/pow-inputs: Likewise.
10577 * benchtests/sin-inputs: Likewise.
10578 * benchtests/slowatan-inputs: Remove.
10579 * benchtests/slowatan.c: Remove.
10580 * benchtests/slowcos-inputs: Remove.
10581 * benchtests/slowcos.c: Remove.
10582 * benchtests/slowexp-inputs: Remove.
10583 * benchtests/slowexp.c: Remove.
10584 * benchtests/slowpow-inputs: Remove.
10585 * benchtests/slowpow.c: Remove.
10586 * benchtests/slowsin-inputs: Remove.
10587 * benchtests/slowsin.c: Remove.
10588 * benchtests/slowtan-inputs: Remove.
10589 * benchtests/slowtan.c: Remove.
10590 * benchtests/tan-inputs: Add slow benchmark inputs.
10591 * scripts/bench.pl: Parse comments and directives.
10592
d569c6ee
SP
10593 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10594 in CPPFLAGS.
10595 ($(objpfx)bench-%.c): Remove *-ITER.
10596 * benchtests/bench-modf.c: Remove definition of ITER.
10597 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10598 (main): Loop for DURATION seconds instead of fixed number of
10599 iterations.
10600 * scripts/bench.pl: Don't expect iterations in parameters.
10601
a6a242fe
RM
106022013-04-29 Roland McGrath <roland@hack.frob.com>
10603
10604 * io/fchdir.c (__fchdir): Renamed from fchdir.
10605 (fchdir): Define as weak alias.
10606
f2da7793
JM
106072013-04-29 Joseph Myers <joseph@codesourcery.com>
10608
10609 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10610 (ERRNO_EDOM): Likewise.
10611 (ERRNO_ERANGE): Likewise.
10612 (noErrnoTests): New variable.
10613 (init_max_error): Set errno to 0.
10614 (test_single_errno): New function.
10615 (test_errno): Likewise.
10616 (check_float_internal): Call test_errno. Set errno to 0.
10617 (check_complex): Refer to errno tests in comment.
10618 (check_int): Call test_errno. Set errno to 0.
10619 (check_long): Likewise.
10620 (check_bool): Likewise.
10621 (check_longlong): Likewise.
10622 (cos_test): Use ERRNO_* flags for errno tests instead of
10623 check_int.
10624 (expm1_test): Likewise.
10625 (fmod_test): Likewise.
10626 (ilogb_test): Likewise.
10627 (lgamma_test): Likewise.
10628 (pow_test): Likewise.
10629 (remainder_test): Likewise.
10630 (sin_test): Likewise.
10631 (tan_test): Likewise.
10632 (yn_test): Likewise.
10633 (initialize): Set errno to 0.
10634 (main): Print number of errno tests.
10635 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10636
b1a36ceb
AJ
106372013-04-29 Andreas Jaeger <aj@suse.de>
10638
c3ed8088
AJ
10639 [BZ #15084]
10640 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10641 and RES_USEVC.
10642
f1a24198
AJ
10643 [BZ #15085]
10644 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10645 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10646 unimplemented.
10647
9ce3b2cb
AJ
10648 [BZ #15380]
10649 * stdlib/random.c (__initstate): Return NULL if
10650 __initstate fails.
10651
f1a24198 10652 [BZ #15086]
b1a36ceb
AJ
10653 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10654 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10655 RES_SNGLKUPREOP.
10656
7e7b6f36
AZ
106572013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10658
10659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10660
4d14f449
JM
106612013-04-29 Joseph Myers <joseph@codesourcery.com>
10662
10663 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10664 of individual tests.
10665 (casin_test): Likewise.
10666 (casinh_test): Likewise.
10667
5b4217d7
JM
106682013-04-27 Joseph Myers <joseph@codesourcery.com>
10669
10670 [BZ #15409]
10671 * math/s_catan.c (__catan): Handle arguments with large real or
10672 imaginary part separately without squaring.
10673 * math/s_catanf.c (__catanf): Likewise.
10674 * math/s_catanh.c (__catanh): Likewise.
10675 * math/s_catanhf.c (__catanhf): Likewise.
10676 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10677 and redefine.
10678 (__catanhl): Handle arguments with large real or imaginary part
10679 separately without squaring.
10680 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10681 and redefine.
10682 (__catanl): Handle arguments with large real or imaginary part
10683 separately without squaring.
10684 * math/libm-test.inc (catan_test): Add more tests.
10685 (catanh_test): Likewise.
10686 * sysdeps/i386/fpu/libm-test-ulps: Update.
10687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10688
4220c3ef
AJ
106892013-04-27 Andreas Jaeger <aj@suse.de>
10690
10691 [BZ #15007]
10692 * stdlib/stdlib.h: Update guards for qecvt.
10693 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10694 <stdlib.h>.
10695
4721b2d1
AM
106962013-04-27 Allan McRae <allan@archlinux.org>
10697
10698 * sysdeps/i386/fpu/libm-test-ulps: Update.
10699
f0302940
JM
107002013-04-26 Joseph Myers <joseph@codesourcery.com>
10701
9457fd95
JM
10702 [BZ #15406]
10703 * math/s_catan.c: Include <float.h>.
10704 (__catan): Ensure underflow exception occurs for underflowed
10705 result.
10706 * math/s_catanf.c: Include <float.h>.
10707 (__catanf): Ensure underflow exception occurs for underflowed
10708 result.
10709 * math/s_catanh.c: Include <float.h>.
10710 (__catanh): Ensure underflow exception occurs for underflowed
10711 result.
10712 * math/s_catanhf.c: Include <float.h>.
10713 (__catanhf): Ensure underflow exception occurs for underflowed
10714 result.
10715 * math/s_catanhl.c: Include <float.h>.
10716 (__catanhl): Ensure underflow exception occurs for underflowed
10717 result.
10718 * math/s_catanl.c: Include <float.h>.
10719 (__catanl): Ensure underflow exception occurs for underflowed
10720 result.
10721 * math/libm-test.inc (catan_test): Add more tests.
10722 (catanh_test): Likewise.
10723
f0302940
JM
10724 [BZ #15405]
10725 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10726 underflowed result.
10727 * math/s_ccoshf.c (__ccoshf): Likewise.
10728 * math/s_ccoshl.c (__ccoshl): Likewise.
10729 * math/s_csin.c (__csin): Likewise.
10730 * math/s_csinf.c (__csinf): Likewise.
10731 * math/s_csinh.c (__csinh): Likewise.
10732 * math/s_csinhf.c (__csinhf): Likewise.
10733 * math/s_csinhl.c (__csinhl): Likewise.
10734 * math/s_csinl.c (__csinl): Likewise.
10735 * math/libm-test.inc (ccos_test): Add more tests.
10736 (ccosh_test): Likewise.
10737 (csin_test): Likewise.
10738 (csinh_test): Likewise.
10739
aa630f59
AZ
107402013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10741
10742 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10743 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10744 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10745 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10746 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10747 powerpc/power5+/fpu folders.
10748 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10749
10750
1b835983
MT
107512013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10752
10753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10754
73709b26
JM
107552013-04-25 Joseph Myers <joseph@codesourcery.com>
10756
10757 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10758 additions to variable.
10759 [$(config-machine) = x86_64] (modules-names): Likewise.
10760 ($(objpfx)tst-audit3): Remove dependency.
10761 ($(objpfx)tst-audit3.out): Likewise.
10762 ($(objpfx)tst-audit4): Likewise.
10763 ($(objpfx)tst-audit4.out): Likewise.
10764 ($(objpfx)tst-audit5): Likewise.
10765 ($(objpfx)tst-audit5.out): Likewise.
10766 ($(objpfx)tst-audit6): Likewise.
10767 ($(objpfx)tst-audit6.out): Likewise.
10768 ($(objpfx)tst-audit7): Likewise.
10769 ($(objpfx)tst-audit7.out): Likewise.
10770 (tst-audit3-ENV): Remove variable.
10771 (tst-audit4-ENV): Likewise.
10772 (tst-audit5-ENV): Likewise.
10773 (tst-audit6-ENV): Likewise.
10774 (tst-audit7-ENV): Likewise.
10775 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10776 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10777 addition to variable.
10778 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10779 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10780 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10781 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10782 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10783 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10784 tst-audit3, tst-audit4 and tst-audit5.
10785 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10786 tst-audit6 and tst-audit7.
10787 [$(subdir) = elf] (modules-names): Add audit modules for those
10788 tests.
10789 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10790 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10791 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10792 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10793 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10794 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10795 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10796 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10797 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10798 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10799 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10800 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10801 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10802 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10803 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10804 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10805 Likewise.
10806 [$(subdir) = elf && $(config-cflags-avx) = yes]
10807 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10808 [$(subdir) = elf && $(config-cflags-avx) = yes]
10809 (CFLAGS-tst-auditmod4a.c): Likewise.
10810 [$(subdir) = elf && $(config-cflags-avx) = yes]
10811 (CFLAGS-tst-auditmod4b.c): Likewise.
10812 [$(subdir) = elf && $(config-cflags-avx) = yes]
10813 (CFLAGS-tst-auditmod6b.c): Likewise.
10814 [$(subdir) = elf && $(config-cflags-avx) = yes]
10815 (CFLAGS-tst-auditmod6c.c): Likewise.
10816 [$(subdir) = elf && $(config-cflags-avx) = yes]
10817 (CFLAGS-tst-auditmod7b.c): Likewise.
10818 * elf/tst-audit3.c: Move to ...
10819 * sysdeps/x86_64/tst-audit3.c: ... here.
10820 * elf/tst-audit4.c: Move to ...
10821 * sysdeps/x86_64/tst-audit4.c: ... here.
10822 * elf/tst-audit5.c: Move to ...
10823 * sysdeps/x86_64/tst-audit5.c: ... here.
10824 * elf/tst-audit6.c: Move to ...
10825 * sysdeps/x86_64/tst-audit6.c: ... here.
10826 * elf/tst-audit7.c: Move to ...
10827 * sysdeps/x86_64/tst-audit7.c: ... here.
10828 * elf/tst-auditmod3a.c: Move to ...
10829 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10830 * elf/tst-auditmod3b.c: Move to ...
10831 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10832 * elf/tst-auditmod4a.c: Move to ...
10833 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10834 * elf/tst-auditmod4b.c: Move to ...
10835 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10836 * elf/tst-auditmod5a.c: Move to ...
10837 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10838 * elf/tst-auditmod5b.c: Move to ...
10839 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10840 * elf/tst-auditmod6a.c: Move to ...
10841 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10842 * elf/tst-auditmod6b.c: Move to ...
10843 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10844 * elf/tst-auditmod6c.c: Move to ...
10845 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10846 * elf/tst-auditmod7a.c: Move to ...
10847 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10848 * elf/tst-auditmod7b.c: Move to ...
10849 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10850
1ef74943
PP
108512013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10852
10853 [BZ #15366]
10854 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10855 define unconditionally.
10856 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10857 define unconditionally.
10858 (INT8_C, INT16_C, etc.): Likewise.
10859
93fd48c5
MR
108602013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10861
ae9552cf
MR
10862 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10863 __ehdr_start with hidden visibility.
10864
93fd48c5
MR
10865 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10866
418601aa
CD
108672013-04-24 Carlos O'Donell <carlos@redhat.com>
10868
10869 * math/libm-test.inc (cos_test): Use accurate hex constants.
10870 (sincost_test): Likewise.
10871
2f38fbfe
JM
108722013-04-24 Joseph Myers <joseph@codesourcery.com>
10873
5e221800
JM
10874 * math/libm-test.inc (catan_test): Add more tests.
10875 (catanh_test): Likewise.
10876
77f143fd
JM
10877 * math/s_catanf.c (__catanf): Use suffixed floating-point
10878 constants.
10879 * math/s_catanhf.c (__catanhf): Likewise.
10880 * math/s_catanhl.c (__catanhl): Likewise.
10881 * math/s_catanl.c (__catanl): Likewise.
10882
2f38fbfe
JM
10883 [BZ #15394]
10884 * math/s_catan.c (__catan): Calculate imaginary part of result
10885 with log1p not log unless computing log of number close to 0.
10886 * math/s_catanf.c (__catanf): Likewise.
10887 * math/s_catanl.c (__catanl): Likewise.
10888 * math/s_catanh.c (__catanh): Calculate real part of result with
10889 log1p not log unless computing log of number close to 0.
10890 * math/s_catanhf.c (__catanhf): Likewise.
10891 * math/s_catanhl.c (__catanhl): Likewise.
10892 * math/libm-test.inc (catan_test): Add more tests.
10893 (catanh_test): Likewise.
10894 * sysdeps/i386/fpu/libm-test-ulps: Update.
10895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10896
45d69176
SP
108972013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10898
10899 * benchtests/Makefile: Mention files in which fast and slow
10900 paths of math functions are implemented.
10901
87f51853
RM
109022013-04-23 Roland McGrath <roland@hack.frob.com>
10903
10904 * sysdeps/posix/timespec_get.c: New file.
10905
3c026539
AZ
109062013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10907
10908 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10909 POWER.
10910 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10911 for POWER.
10912 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10913 powerpc/power5/fpu folders.
10914 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10915 * benchtests/Makefile: Add modf testcase.
10916 * benchtests/bench-modf.c: New file: Benchmark test for mo
10917
ff491d14
SP
109182013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10919
10920 [BZ #14888]
10921 * time/Makefile (tests): Add tst-strptime-whitespace.
10922 * time/strptime_l.c (get_number): Use ISSPACE.
10923 (__strptime_internal): Likewise.
10924 * time/tst-strptime-whitespace.c: New test case.
10925
7ed3f4e8
AS
109262013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10927
10928 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10929 member.
10930 (_nss_files_init): Set it here.
10931
5c95f7b6
HC
109322013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10933
10934 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10935 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10936 unsigned.
10937
d34c9158
JBG
109382013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10939
10940 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10941
2169712d
SP
109422013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10943
10944 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10945 size just once.
10946
29c5de99
DM
109472013-04-21 David S. Miller <davem@davemloft.net>
10948
10949 * po/ru.po: Update Russion translation from translation project.
10950
ccdad15d
AC
109512013-04-17 Adam Conrad <adconrad@0c3.net>
10952
10953 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10954 and setfsgid.
10955
0f122b8d
CD
109562013-04-17 Carlos O'Donell <carlos@redhat.com>
10957
5c5b07da 10958 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10959 * configure: Regenerate.
5c5b07da 10960 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10961 Add example to error message.
10962 * sysdeps/i386/configure: Regenerate.
10963
037714dd
SP
109642013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10965
10966 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10967 slowtan.
10968 * benchtests/cos-inputs: New file.
10969 * benchtests/slowcos-inputs: New file.
10970 * benchtests/slowcos.c: New file.
10971 * benchtests/slowtan-inputs: New file.
10972 * benchtests/slowtan.c: New file.
10973 * benchtests/tan-inputs: New file.
10974
e913141d
RM
109752013-04-16 Roland McGrath <roland@hack.frob.com>
10976
10977 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10978 considered kosher.
10979
a2964074
SP
109802013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10981
4856bcd2
SP
10982 * benchtests/Makefile: Include cppflags-iterator.mk to add
10983 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10984
a2964074
SP
10985 * Makefile.in (bench-clean): New target.
10986 * benchtests/Makefile (bench-clean): Likewise.
10987
9fbf9aca
DH
109882013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10989
10990 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10991
207d1e2a
TS
109922013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10993
10994 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10995
306dfba9
AS
109962013-04-15 Andreas Schwab <schwab@suse.de>
10997
10998 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10999 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11000 * nscd/pwdcache.c (cache_addpw): Likewise.
11001 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
11002 more than recsize.
11003
206a6699
SP
110042013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11005
11006 * benchtests/Makefile (bench): Write all output to
11007 bench-out.tmp together.
11008
0582f6b3
AS
110092013-04-15 Andreas Schwab <schwab@suse.de>
11010
11011 * nscd/nscd.c (main): Don't fork again after closing files.
11012
acb4325f
SP
110132013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11014
5cb26d0a
SP
11015 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11016
acb4325f
SP
11017 * benchtests/Rules (bench-deps): Collect dependencies into a
11018 single variable. Add Makefile to dependencies.
11019 ($(objpfx)bench-%.c): Depend on bench-deps.
11020
47792506
RM
110212013-04-12 Roland McGrath <roland@hack.frob.com>
11022 Xavier Roche <roche+kml2@exalead.com>
11023
11024 [BZ #15361]
11025 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11026 just that it's a file descriptor.
11027 * manual/llio.texi (Synchronizing AIO Operations): Update description
11028 for EBADF error from aio_fsync.
11029
8fc1bee5
SP
110302013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11031
11032 * Rules (bench): Move target definition...
11033 * benchtests/Makefile: ... here.
11034
aba5e333
CD
110352013-04-11 Carlos O'Donell <carlos@redhat.com>
11036
11037 * math/libm-test.inc (cos_test): Fix PI/2 test.
11038 (sincos_test): Likewise.
11039 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11040 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11041
273cdee8
AS
110422013-04-11 Andreas Schwab <schwab@suse.de>
11043
6ecec3b6
AS
11044 [BZ #13988]
11045 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11046 accept exponent character only when digits were seen.
11047 * stdio-common/Makefile (tests): Add bug26.
11048 * stdio-common/bug26.c: New file.
11049
273cdee8
AS
11050 [BZ #14293]
11051 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11052 non-freeable.
11053
8da491f5
SP
110542013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11055
01dc6df9
SP
11056 * Makeconfig (rtld-prefix): Define built linker prefix.
11057 * Rules (run-bench): Use it.
11058 * math/Makefile (run-regen-ulps): Likewise.
11059
8da491f5
SP
11060 * Rules (bench): Remove eval.
11061
abe7f530
SP
110622013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11063 Roland McGrath <roland@hack.frob.com>
11064 Ondrej Bilka <neleai@seznam.cz>
11065
11066 [BZ #15346]
11067 * time/getdate.c: Include ctype.h and alloca.h.
11068 (__getdate_r): Trim leading and trailing spaces of input.
11069 * time/tst-getdate.c (tests): Add tests with leading and
11070 trailing spaces.
11071
61c23e62
RM
110722013-04-08 Roland McGrath <roland@hack.frob.com>
11073
11074 [BZ #14280]
11075 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11076 when computing value.
11077
7208a313
CD
110782013-04-06 Carlos O'Donell <carlos@redhat.com>
11079
085b2d41
CD
11080 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11081 Use testrun.sh to run libm tests.
11082
7208a313
CD
11083 [BZ #15309]
11084 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11085
872c0acd
MM
110862013-04-06 Marko Myllynen <myllynen@redhat.com>
11087
11088 [BZ #15264]
11089 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11090
26510bdd
CD
110912013-04-06 Carlos O'Donell <carlos@redhat.com>
11092
11093 * Makefile.in (regen-ulps): New target.
11094 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11095 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11096 [ifneq (no,$(PERL)] (regen-ulps): New target.
11097 [ifeq (no,$(PERL)] (regen-ulps): New target.
11098 * math/libm-test.inc (ulps_file_name): Define.
11099 (output_dir): New variable.
11100 (options): Add "output-dir" option.
11101 (parse_opt): Handle 'o' case.
11102 (main): If output_dir is non-NULL use it as a prefix
11103 otherwise use "".
11104 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11105
a01f19c8
CD
111062013-04-06 Carlos O'Donell <carlos@redhat.com>
11107
11108 [BZ #10060, #10062]
11109 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11110 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11111 fail configure if __sync_val_compare_and_swap is not inlined.
11112 * sysdeps/i386/configure: Regenerate.
11113 * configure.in: Build for i686 when configured for i386.
11114 * configure: Regenerate.
11115 * README: Remove i386 reference.
11116
b7a329a5
CD
111172013-04-06 Carlos O'Donell <carlos@redhat.com>
11118
11119 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11120 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11121
bf0f50df
TS
111222013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11123
ee091edf
TS
11124 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11125 (lmsnanval): New variables.
11126 (F): Add conversion tests.
11127 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11128 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11129
a8b792d6
TS
11130 * stdio-common/tstdiomisc.c (F): Properly collect individual
11131 tests' results.
11132
a1cbf437
TS
11133 [BZ #14686, #15336]
11134 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11135 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11136 Instead, use input NaN values or generate a qNaN by arithmetic
11137 operation. Also fix bugs to comply with the standard.
11138 * math/libm-test.inc (remainder_test): Add more tests.
11139
8b43a0c9
TS
11140 [BZ #15335, #15342]
11141 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11142 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11143 input NaN values or generate a qNaN by arithmetic operation.
11144
d91da4ce
TS
11145 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11146 unreachable code.
11147
bf0f50df
TS
11148 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11149 definitions.
11150
05e166c8
JM
111512013-04-03 Joseph Myers <joseph@codesourcery.com>
11152
11153 [BZ #14478]
11154 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11155 underflowed result.
11156 * math/s_cexpf.c (__cexpf): Likewise.
11157 * math/s_cexpl.c (__cexpl): Likewise.
11158 * math/libm-test.inc (cexp_test): Add more tests.
11159
1cef1b19
AS
111602013-04-03 Andreas Schwab <schwab@suse.de>
11161
11162 [BZ #15330]
11163 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11164 order arrays from heap if bigger than alloca cutoff.
11165
74d87055
TS
111662013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11167
11168 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11169 (SNAN_TESTS_double): Refer to GCC PR56831.
11170 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11171 GCC PR56828.
11172
d755bba4
SP
111732013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11174
90d5d5bb
SP
11175 * Rules (bench): Move bench.out after the run is complete.
11176
73e0cd5d
SP
11177 * Rules (bench): Echo currently running benchmark.
11178
64aabd4b
SP
11179 * benchtests/Makefile (bench): Add atan and slowatan.
11180 * benchtests/atan-inputs: New file.
11181 * benchtests/slowatan-inputs: New file.
11182 * benchtests/slowatan.c: New file.
11183
c871eccd
SP
11184 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11185 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11186 its value.
11187
d755bba4
SP
11188 [BZ #15305]
11189 * sysdeps/unix/sysv/linux/kernel-features.h
11190 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11191 __ASSUME_XFS_RESTRICTED_CHOWN.
11192 * sysdeps/unix/sysv/linux/pathconf.c
11193 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11194 Save and restore errno.
11195
52ce4860
JM
111962013-04-02 Joseph Myers <joseph@codesourcery.com>
11197
11198 [BZ #15327]
11199 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11200 arguments using __kernel_casinh.
11201 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11202 arguments using __kernel_casinhf.
11203 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11204 arguments using __kernel_casinhl.
11205 * math/libm-test.inc (cacosh_test): Add more tests.
11206 * sysdeps/i386/fpu/libm-test-ulps: Update.
11207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11208
81f311c2
SP
112092013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11210
e7906a47
SP
11211 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11212 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11213
92e3664b
SP
11214 * bench/Makefile (bench): Add sin and slowsin.
11215 * benchtests/sin-inputs: New file.
11216 * benchtests/slowsin-inputs: New file.
11217 * benchtests/slowsin.c: New file.
11218
81f311c2
SP
11219 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11220 (bench): Add slowexp and slowpow.
11221 (exp-ITER): Increase iterations.
11222 (pow-ITER): Likewise.
11223 * benchtests/exp-inputs: Change input.
11224 * benchtests/pow-inputs: Likewise.
11225 * benchtests/slowexp-inputs: New file.
11226 * benchtests/slowexp.c: New file.
11227 * benchtests/slowpow-inputs: New file.
11228 * benchtests/slowpow.c: New file.
11229
ab0f1aa9
AZ
112302013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11231
11232 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11233 instructions.
11234 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11235 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11236 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11237 * benchtests/Makefile: Add rint benchtest.
11238 * benchtests/rint-inputs: Input for rint benchtest.
11239
57267616
TS
112402013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11241
11242 * Versions.def (libm): Add GLIBC_2.18.
11243 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11244 hidden libm prototypes.
11245 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11246 * math/Makefile (libm-calls): Add s_issignaling.
11247 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11248 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11249 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11250 declaration.
11251 * math/math.h [__USE_GNU] (issignaling): New macro.
11252 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11253 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11254 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11255 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11256 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11257 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11258 * manual/arith.texi (issignaling): New section.
11259 * manual/libm-err-tab.pl (@all_functions): Update comment.
11260 * math/gen-libm-test.pl (parse_args): Apply special handling for
11261 issignaling.
11262 * math/libm-test.inc (print_float, issignaling_test): New
11263 functions.
11264 (check_float_internal): Add issignaling checks.
11265 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11266 default definition.
11267 * sysdeps/powerpc/math-tests.h: New file.
11268 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11269 tests.
11270 * math/test-snan.c (TEST_FUNC): Likewise.
11271
6142896d
DM
112722013-03-30 David S. Miller <davem@davemloft.net>
11273
11274 * po/de.po: Update from translation team.
11275
ccc8cadf
JM
112762013-03-30 Joseph Myers <joseph@codesourcery.com>
11277
11278 [BZ #10357]
11279 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11280 imaginary part less than 1.0 and real part less than 0.5
11281 specially.
11282 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11283 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11284 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11285 (cacos_test): Add more tests.
11286 (casin_test): Likewise.
11287 (casinh_test): Likewise.
11288 * sysdeps/i386/fpu/libm-test-ulps: Update.
11289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11290
0f6a8d4b
SP
112912013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11292
0d1029de
SP
11293 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11294 ONE with its value.
11295
c2d94018
SP
11296 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11297 (__pow_mp): Replace ONE and MONE with their values.
11298 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11299 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11300 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11301 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11302 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11303 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11304
27ec37f1
SP
11305 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11306
a64d7e0e
SP
11307 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11308 (__pow_mp): Replace ZERO and MZERO with their values.
11309 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11310 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11311 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11312 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11313 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11314 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11315 (__sqr): Likewise.
11316
d26dd3eb
SP
11317 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11318
0f6a8d4b
SP
11319 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11320
e57b0c61
RM
113212013-03-28 Roland McGrath <roland@hack.frob.com>
11322
11323 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11324 Declare with __attribute__ ((weak)).
11325 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11326 Call __call_tls_dtors only if it's not NULL.
11327
356b3480
RM
113282013-03-28 Roland McGrath <roland@hack.frob.com>
11329
288f7d79
RM
11330 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11331 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11332 magic __ehdr_start linker symbol if it's defined.
11333 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11334 them up here if it was already done.
11335
dc0a0263
RM
11336 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11337 (_dl_aux_init): Use const in cast when setting it.
11338 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11339 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11340 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11341
3d3436ae
RM
11342 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11343 Declare them here.
11344 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11345 * csu/libc-tls.c: Nor here.
11346 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11347
356b3480
RM
11348 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11349 (__libc_message): Never call vsyslog.
11350
b0f1246a
AM
113512013-03-28 Alan Modra <amodra@gmail.com>
11352
11353 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11354 Define as empty.
11355 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11356 Likewise.
11357
fbbe2b9a
AZ
113582013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11359
11360 [BZ #15214]
11361 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11362 underflow.
11363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11364
1728ab37
SP
113652013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11366
7a86be6e
SP
11367 [BZ #15304]
11368 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11369 Don't add gid passed as argument.
11370
1728ab37
SP
11371 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11372
3a7182a1
JM
113732013-03-27 Joseph Myers <joseph@codesourcery.com>
11374
11375 [BZ #15307]
11376 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11377 imaginary part between 1.0 and 1.5 and real part less than 0.5
11378 specially.
11379 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11380 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11381 * math/libm-test.inc (cacos_test): Add more tests.
11382 (casin_test): Likewise.
11383 (casinh_test): Likewise.
11384 * sysdeps/i386/fpu/libm-test-ulps: Update.
11385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11386
6f2e90e7
SP
113872013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11388
5739f705
SP
11389 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11390 constants.
11391 (norm): Likewise.
11392 (denorm): Likewise.
11393 (__dbl_mp): Likewise.
11394 (add_magnitudes): Likewise.
11395 (sub_magnitudes): Likewise.
11396 (__add): Likewise.
11397 (__sub): Likewise.
11398 (__mul): Likewise.
11399 (__sqr): Likewise.
11400 (__inv): Likewise.
11401 (__dvd): Likewise.
11402
e375e83d
SP
11403 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11404 commented code.
11405 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11406 (__dubcos): Likewise.
11407 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11408 (__ieee754_acos): Likewise.
11409 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11410 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11411 (__exp1): Likewise.
11412 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11413 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11414 (log1): Likewise.
11415 (my_log2): Likewise.
11416 (checkint): Likewise.
11417 * sysdeps/ieee754/dbl-64/e_remainder.c
11418 (__ieee754_remainder): Likewise.
11419 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11420 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11421 (bsloww): Likewise.
11422 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11423
6f2e90e7
SP
11424 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11425 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11426 MANTISSA_STORE_T to store computations on mantissa. Use
11427 macros for rounding and division.
11428 (denorm): Likewise.
11429 (__dbl_mp): Likewise.
11430 (add_magnitudes): Likewise.
11431 (sub_magnitudes): Likewise.
11432 (__mul): Likewise.
11433 (__sqr): Likewise.
11434 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11435 powers of two in terms of TWOPOW macro.
11436 (mp_no): Make type of mantissa as MANTISSA_T.
11437 [!RADIXI]: Define RADIXI.
11438 [!TWO52]: Define TWO52.
11439 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11440
fce14d4e
AZ
114412013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11442
11443 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11444 llroundl symbol when building for PPC32.
11445
9ad027fb
MW
114462013-03-24 Mark H Weaver <mhw@netris.org>
11447
11448 * manual/arith.texi (Normalization Functions): Fix prototypes for
11449 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11450
e42a38dd
AZ
114512013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11452
11453 [BZ #13889]
11454 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11455 high value to check if expl overflow.
11456 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11457 to check for underflow and overflow.
11458 * math/libm-test.inc: Add exp test.
11459
2e0fb521
DL
114602013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11461
11462 [BZ #11120]
11463 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11464 with NOT_IN_libc.
11465
b5784d95
AZ
114662013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11467
11468 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11469 symbol.
11470
5aa4a1a1
TS
114712013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11472
bdef0be7
TS
11473 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11474 wrap blocks consisting of several statements.
11475
5aa4a1a1
TS
11476 * sysdeps/generic/math-tests.h: New file.
11477 * sysdeps/i386/fpu/math-tests.h: Likewise.
11478 * math/test-snan.c: Include it.
11479 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11480
98c48fe5
JM
114812013-03-21 Joseph Myers <joseph@codesourcery.com>
11482
11483 [BZ #15285]
11484 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11485 (__ieee754_j0l): Do not improve calculations using cos of twice
11486 input for inputs above LDBL_MAX / 2.0L.
11487 (__ieee754_y0l): Likewise.
11488 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11489 (__ieee754_j1l): Do not improve calculations using cos of twice
11490 input for inputs above LDBL_MAX / 2.0L.
11491 (__ieee754_y1l): Likewise.
11492 * math/libm-test.inc (j0_test): Add another test.
11493 (j1_test): Likewise.
11494 (y0_test): Likewise.
11495 (y1_test): Likewise.
11496 * sysdeps/i386/fpu/libm-test-ulps: Update.
11497
3775a8bc
SP
114982013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11499
11500 * Rules ($(objpfx)bench-%.c): Include code from a C source
11501 file.
11502
0a1b2ae6
JM
115032013-03-21 Joseph Myers <joseph@codesourcery.com>
11504
11505 [BZ #15287]
11506 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11507 imaginary part 1.0 and real part less than 0.5 specially.
11508 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11509 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11510 * math/libm-test.inc (cacos_test): Add more tests.
11511 (casin_test): Likewise.
11512 (casinh_test): Likewise.
11513 * sysdeps/i386/fpu/libm-test-ulps: Update.
11514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11515
b33d4ce4
SP
115162013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11517
11518 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11519 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11520
bef0b507
JM
115212013-03-20 Joseph Myers <joseph@codesourcery.com>
11522
11523 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11524 * config.make.in (config-cflags-sse4): Remove variable.
11525 (config-cflags-avx): Likewise.
11526 (config-cflags-sse2avx): Likewise.
11527 (config-cflags-novzeroupper): Likewise.
11528 (config-asflags-i686): Likewise.
11529 (have-mfma4): Likewise.
11530 (have-as-vis3): Likewise.
11531 (MIG): Likewise.
11532 * configure.in (MIG): Do not AC_SUBST.
11533 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11534 (libc_cv_cc_sse4): Do not AC_SUBST.
11535 (libc_cv_cc_avx): Likewise.
11536 (libc_cv_cc_sse2avx): Likewise.
11537 (libc_cv_cc_novzeroupper): Likewise.
11538 (libc_cv_cc_fma4): Likewise.
11539 (libc_cv_as_i686): Likewise.
11540 (libc_cv_sparc_as_vis3): Likewise.
11541 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11542 LIBC_CONFIG_VAR.
11543 (config-asflags-i686): Likewise.
11544 (config-cflags-avx): Likewise.
11545 (config-cflags-sse2avx): Likewise.
11546 (have-mfma4): Likewise.
11547 (config-cflags-novzeroupper): Likewise.
11548 * sysdeps/mach/configure.in (MIG): Likewise.
11549 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11550 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11551 LIBC_CONFIG_VAR.
11552 (config-cflags-avx): Likewise.
11553 (config-cflags-sse2avx): Likewise.
11554 (have-mfma4): Likewise.
11555 (config-cflags-novzeroupper): Likewise.
11556 * configure: Regenerated.
11557 * sysdeps/i386/configure: Likewise.
11558 * sysdeps/mach/configure: Likewise.
11559 * sysdeps/sparc/configure: Likewise.
11560 * sysdeps/x86_64/configure: Likewise.
11561
912cc4b3
RM
115622013-03-20 Roland McGrath <roland@hack.frob.com>
11563
11564 [BZ #14812]
11565 * locale/programs/localedef.c (options): Put N_ translation marker
11566 on argument names, not just descriptions.
11567
04eed2b0
MS
115682013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11569
11570 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11571
a065ceff
OB
115722013-03-20 Ondřej Bílka <neleai@seznam.cz>
11573
9bb2a810 11574 [BZ #14176]
a065ceff
OB
11575 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11576
a600e5ce
RM
115772013-03-19 Roland McGrath <roland@hack.frob.com>
11578
11579 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11580 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11581 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11582 [!BEFORE_ABORT] (before_abort): New function.
11583 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11584 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11585 (writev_for_fatal): New function.
11586 (WRITEV_FOR_FATAL): New macro; call that.
11587 (backtrace_and_maps): New function.
11588 (BEFORE_ABORT): New macro; call that.
11589 (struct str_list): Type removed.
11590 (__libc_message, __libc_fatal): Functions removed.
11591 Include <sysdeps/posix/libc_fatal.c> instead.
11592
6b18bea6
JM
115932013-03-19 Joseph Myers <joseph@codesourcery.com>
11594
11595 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11596 constants.
11597 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11598 double constants.
11599
aaa8cb4b
AS
116002013-03-19 Andreas Schwab <schwab@suse.de>
11601
44673770
AS
11602 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11603 * sysdeps/gnu/configure: Regenerate.
11604
aaa8cb4b
AS
11605 * configure.in: Substitute libc_cv_rtlddir.
11606 * configure: Regenerate.
11607 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11608 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11609 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11610 * elf/Makefile (install-others, CFLAGS-interp.c)
11611 (ldso_install, common-ldd-rewrite): Likewise.
11612 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11613 $(inst_slibdir)/$(rtld-installed-name).
11614 * scripts/rellns-sh: Add -p option.
11615 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11616 for source.
11617
d3cfc668
SP
116182013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11619
11620 * manual/nptl.texi: Renamed to ...
11621 * manual/threads.texi: ... this.
11622 * manual/Makefile (chapters): Update.
11623
0e2b9cdd
RM
116242013-03-18 Roland McGrath <roland@hack.frob.com>
11625
11626 [BZ #14812]
11627 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11628 on argument names, not just descriptions.
0e2b9cdd
RM
11629 * malloc/memusagestat.c (options): Likewise.
11630 * nss/getent.c (options): Likewise.
63270c24
RM
11631
116322013-03-18 Benno Schulenberg <bensberg@justemail.net>
11633
11634 [BZ #14812]
11635 * iconv/iconv_prog.c (options): Put N_ translation marker
11636 on argument names, not just descriptions.
11637 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11638
b2e1393c
OB
116392013-03-18 Ondrej Bilka <neleai@seznam.cz>
11640
11641 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11642 implementation which is faster on all x86_64 architectures.
11643 Tested on AMD, Intel Nehalem, SNB, IVB.
11644 * sysdeps/x86_64/strnlen.S: Likewise.
11645
11646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11647 Remove all multiarch strlen and strnlen versions.
11648 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11649 Remove strlen and strnlen related parts.
11650
11651 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11652 Inline strlen part.
11653 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11654
11655 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11656 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11657 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11658 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11659 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11660 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11661
ec4ff04d
CD
116622013-03-17 Carlos O'Donell <carlos@redhat.com>
11663
11664 * manual/memory.texi (Malloc Tunable Parameters):
11665 Sort parameters alphabetically. Add comments for missing entries.
11666
cd18e90a
DM
116672013-03-17 David S. Miller <davem@davemloft.net>
11668
11669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11670
2a185d32
JM
116712013-03-16 Joseph Myers <joseph@codesourcery.com>
11672
d2f9799e
JM
11673 [BZ #15283]
11674 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11675 for arguments at most half maximum finite value.
11676 * math/libm-test.inc (j0_test): Add more tests.
11677 (j1_test): Likewise.
11678 (y0_test): Likewise.
11679 (y1_test): Likewise.
11680 * sysdeps/i386/fpu/libm-test-ulps: Update.
11681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11682
2a185d32
JM
11683 [BZ #14155]
11684 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11685 1 / x and functions P and Q for arguments above 0x1p256L.
11686 (__ieee754_y0l): Likewise.
11687 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11688 (__ieee754_y1l): Likewise.
11689 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11690 (j1_test): Likewise.
11691 (y0_test): Likewise.
11692 (y1_test): Likewise.
11693
6cbec759
TS
116942013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11695
11696 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11697 variable.
11698
bc16e260
RM
116992013-03-15 Roland McGrath <roland@hack.frob.com>
11700
aefc9b8c
RM
11701 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11702 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11703 zero since it's initialized to EXEC_PAGESIZE.
11704
bc16e260
RM
11705 * sysdeps/unix/sysv/linux/ldsodefs.h
11706 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11707 * sysdeps/generic/ldsodefs.h: ... here.
11708
a57da955
TS
117092013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11710
af00a34d
TS
11711 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11712
495ded2c
TS
11713 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11714 math/test-snan.c.
11715 * math/test-snan.c: Renamed from
11716 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11717 * math/Makefile (tests): Add test-snan.
11718 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11719 test-powerpc-snan.
11720
777b0332
TS
11721 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11722 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11723 functions.
11724 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11725 __builtin_nan family of functions.
11726 * math/libm-test.inc (initialize): Initialize qnan_value with
11727 __builtin_nan family of functions.
11728 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11729 Remove variables.
11730 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11731 Remove functions.
11732 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11733 storage class. Initialize qNaN_var and sNaN_var with
11734 __builtin_nan and __builtin_nans families of functions,
11735 respectively.
11736
64d063b8
TS
11737 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11738 (sqrt_test): Remove duplicate test with qNaN input.
11739 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11740 (round_test, signbit_test, significand_test): Note missing +/-Inf
11741 as well as qNaN tests.
11742
67e971f1
TS
11743 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11744 qNaN_var. Fix a few strings, too.
11745 * math/libm-test.inc (nan_value): Rename to qnan_value.
11746 * math/gen-libm-test.pl (%beautify): Adjust to that.
11747 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11748 * math/test-misc.c (main): Likewise.
11749 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11750 to __qnan_bytes, and __qnan_union, respectively.
11751 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11752 Likewise.
11753 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11754 and lqnanval, respectively.
11755 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11756 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11757 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11758 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11759
64487e12
TS
11760 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11761 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11762 doubles.
11763
e015e27b
TS
11764 * math/test-misc.c (main): Fix copy'n'pastos.
11765 * misc/tst-efgcvt.c (special): Likewise.
11766
a57da955
TS
11767 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11768 Remove declarations.
11769
1e380345
SP
117702013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11771
11772 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11773 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11774 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11775 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11776
ef26eece
AZ
117772013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11778
11779 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11780 macro to return vdso values correctly in IFUNC implementations.
11781 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11782 Optimization by using IFUNC.
11783
8cfdb7e0
SP
117842013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11785 Richard Henderson <rth@redhat.com>
11786 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11787
11788 * Makefile.in (bench): New target.
11789 * NEWS: Mention the benchmark framework.
11790 * Rules (bench): Likewise.
11791 (binaries-bench): Generate binaries for functions to
11792 benchmark.
11793 * benchtests/Makefile: New makefile for benchmark tests.
11794 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11795 programs.
11796 * benchtests/exp-inputs: New input file for EXP function.
11797 * benchtests/pow-inputs: New input file for POW function.
11798 * scripts/bench.pl: New script to generate source files for
11799 benchmark programs.
11800
bcda9880
SP
118012013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11802
d22ca8cd
SP
11803 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11804 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11805 computations on mantissa. Use macros for rounding and
11806 division.
11807 (denorm): Likewise.
11808 (__dbl_mp): Likewise.
11809 (add_magnitudes): Likewise.
11810 (sub_magnitudes): Likewise.
11811 (__mul): Likewise.
11812 (__sqr): Likewise.
11813 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11814 powers of two in terms of TWOPOW macro.
11815 (mp_no): Make type of mantissa as MANTISSA_T.
11816 [!RADIXI]: Define RADIXI.
11817 [!TWO52]: Define TWO52.
11818 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11819
bcda9880
SP
11820 * manual/nptl.texi (cindex): Modify threads to pthreads.
11821
06d5adfb
JM
118222013-03-15 Joseph Myers <joseph@codesourcery.com>
11823
11824 * sysdeps/x86_64/preconfigure: Regenerated.
11825
41c7328e
JM
118262013-03-14 Joseph Myers <joseph@codesourcery.com>
11827
11828 [BZ #14155]
11829 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11830 0x1p28 and above.
11831 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11832 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11833 0x1p28 and above.
11834 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11835 * math/libm-test.inc (j0_test): Do not allow one spurious
11836 underflow exception.
11837 (y1_test): Likewise.
11838
e25cfa60
SP
118392013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11840
0409959c
SP
11841 * manual/Makefile (chapters): Add nptl.
11842 * manual/debug.texi (Debugging Support): Add link to Threads
11843 chapter.
11844 * manual/nptl.texi: New file.
11845
e25cfa60
SP
11846 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11847
58a1335e
PB
118482013-03-14 Petr Baudis <pasky@ucw.cz>
11849
11850 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11851 for non-NULL pointer before the memory validity test. Pointed
11852 out by Holger Brunck <holger.brunck@keymile.com>.
11853
9dc7c64f
AS
118542013-03-13 Andreas Schwab <schwab@suse.de>
11855
11856 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11857 instead of .os.
11858
54206aa6
JM
118592013-03-13 Joseph Myers <joseph@codesourcery.com>
11860
11861 * timezone/zic.c: Update from tzcode 2013b.
11862
e98cdb38
CD
118632013-03-12 Carlos O'Donell <carlos@redhat.com>
11864
11865 * manual/install.texi (Configuring and compiling):
11866 Mention i686 and i586.
11867 * INSTALL: Regenerate.
11868
9967e003
RM
118692013-03-12 Roland McGrath <roland@hack.frob.com>
11870
11871 * sysdeps/init_array/elf-init.c: New file.
11872 * csu/elf-init.c
11873 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11874 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11875
11876 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11877 __gmon_start__ as global, but as static with a .preinit_array pointer.
11878 * sysdeps/init_array/gmon-start.c: New file. Use that.
11879 * sysdeps/init_array/crti.S: New file, empty except for comments.
11880 * sysdeps/init_array/crtn.S: Likewise.
11881
e6b5a293 118822013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11883
11884 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11885 definining bcopy.
80f844c9
OB
11886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11887 Remove Prefer_SSE_for_memop.
11888 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11889 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11890 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11892 memset-x86-64.
80f844c9 11893 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11894 Remove bzero, memset ifunc support.
80f844c9
OB
11895 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11896 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11897 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11898 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11899
fb6b0fcb
AS
119002013-03-11 Andreas Schwab <schwab@suse.de>
11901
11902 [BZ #15234]
11903 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11904 by SHLIB_COMPAT.
11905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11906 (GLIBC_2.16): Remove pthread_atfork.
11907
3e6bd4b1
PP
119082013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11909
11910 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11911 (ptestcases.h): Likewise.
11912
222d7f00
RM
119132013-03-08 Roland McGrath <roland@hack.frob.com>
11914
11915 * Makeconfig ($(common-objpfx)config.status): Depend on
11916 sysdeps/*/preconfigure{,.in} too.
11917
1ba4f030
JM
119182013-03-08 Joseph Myers <joseph@codesourcery.com>
11919
a222d91a
JM
11920 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11921 (__free_hook): Use void * instead of __malloc_ptr_t.
11922 (__malloc_hook): Likewise.
11923 (__realloc_hook): Likewise.
11924 (__memalign_hook): Likewise.
11925 (__after_morecore_hook): Likewise.
11926 * malloc/arena.c (save_malloc_hook): Likewise.
11927 (save_free_hook): Likewise.
11928 * malloc/hooks.c (malloc_hook_ini): Likewise.
11929 (realloc_hook_ini): Likewise.
11930 (memalign_hook_ini): Likewise.
11931 * malloc/malloc.c (malloc_hook_ini): Likewise.
11932 (realloc_hook_ini): Likewise.
11933 (memalign_hook_ini): Likewise.
11934 (__free_hook): Likewise.
11935 (__malloc_hook): Likewise.
11936 (__realloc_hook): Likewise.
11937 (__memalign_hook): Likewise.
11938 (__libc_malloc): Likewise.
11939 (__libc_free): Likewise.
11940 (__libc_realloc): Likewise.
11941 (__libc_memalign): Likewise.
11942 (__libc_valloc): Likewise.
11943 (__libc_pvalloc): Likewise.
11944 (__libc_calloc): Likewise.
11945 (__posix_memalign): Likewise.
11946 * malloc/morecore.c (__sbrk): Likewise.
11947 (__default_morecore): Likewise.
11948
5cc45e10
JM
11949 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11950
dd54b864
JM
11951 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11952 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11953 __malloc_ptrdiff_t.
11954
1ba4f030
JM
11955 * malloc/malloc.h (__malloc_size_t): Remove macro.
11956 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11957 __malloc_size_t.
11958 (old_memalign_hook): Likewise.
11959 (old_realloc_hook): Likewise.
11960 (struct hdr): Likewise.
11961 (flood): Likewise.
11962 (mallochook): Likewise.
11963 (memalignhook): Likewise.
11964 (reallochook): Likewise.
11965 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11966 (tr_old_realloc_hook): Likewise.
11967 (tr_old_memalign_hook): Likewise.
11968 (tr_mallochook): Likewise.
11969 (tr_reallochook): Likewise.
11970 (tr_memalignhook): Likewise.
11971
edf66e57
AZ
119722013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11973
11974 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11975 default_ldbl_pack and using as default implementation.
11976 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11977 implementation.
11978 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11979 redundant definition.
11980 (ldbl_insert_mantissa): Likewise.
11981 (ldbl_canonicalize): Likewise.
11982 (ldbl_nearbyint): Likewise.
11983 (ldbl_pack): Rename to ldbl_pack_ppc.
11984 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11985 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11986 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11987
6d9145d8
SP
119882013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11989
11990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11991 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11992 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11993 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11995 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11996 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11997 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11998
4dd4e157
AJ
119992013-03-07 Andreas Jaeger <aj@suse.de>
12000
12001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12002 bits/mman-linux.h.
12003
adbb8027
SP
120042013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12005
ce544b5b
SP
12006 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12007 Include mpa.h and declare __MPEXP.
12008 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12009 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12010 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12011 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12012 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12013 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12014 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12015
4cc149fd
SP
12016 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12017 (__slowpow): Use long double EXPL and LOGL functions to
12018 compute POW.
12019 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12020 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12021 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12022 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12023 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12024 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12025
e6ebd4a7
SP
12026 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12027 intermediate variable to calculate exponent.
12028 (__sqr): Likewise.
12029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12030 Likewise.
12031 (__sqr): Likewise.
12032
82a9811d
SP
12033 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12034 [!NO__SQR]: Define __sqr.
12035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12036 and NO__SQR. Remove all code except __mul and __sqr. Include
12037 sysdeps/ieee754/dbl-64/mpa.c.
12038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12039
adbb8027
SP
12040 [BZ #12723]
12041 * posix/Makefile (tests): Add tst-pathconf.
12042 * posix/tst-pathconf.c: New test case.
12043 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12044 _PC_PIPE_BUF.
12045 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12046
39120df9
PF
120472013-03-06 Patsy Franklin <pfrankli@redhat.com>
12048
12049 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12050
67525cb8
AJ
120512013-03-06 Andreas Jaeger <aj@suse.de>
12052
664a9ce4
AJ
12053 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12054 definition via __MAP_ANONYMOUS.
12055
8e39047d
AJ
12056 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12057 it's not part of Linux headers.
12058
67525cb8
AJ
12059 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12060 (MAP_HUGE_MASK): Define.
12061
12062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12063 Define.
12064 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12065 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12066 Define.
12067 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12068 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12069 Define.
12070 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12071 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12072 Define.
12073 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12074
12075 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12076 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12077 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12078 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12079 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12080 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12081
12082 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12083 Handle f2fs.
12084
12085 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12086 Handle f2fs and efivarfs.
12087
12088 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12089 f2fs.
12090
12091 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12092 (EFIVARFS_MAGIC): Add.
12093 (F2FS_LINK_MAX): Add.
12094
e1b42695
PP
120952013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12096
12097 * stdio-common/vfprintf.c: Replace __builtin_expect with
12098 __glibc_unlikely.
12099
2d67d91a
JM
121002013-03-06 Joseph Myers <joseph@codesourcery.com>
12101
12102 [BZ #13550]
12103 * sysdeps/generic/bp-sym.h: Remove file.
12104 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12105 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12106 <bp-sym.h> and <bp-asm.h>.
12107 (__longjmp): Don't use BP_SYM.
12108 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12109 and <bp-asm.h>.
12110 (memcpy): Don't use BP_SYM.
12111 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12112 <bp-sym.h> and <bp-asm.h>.
12113 (memcpy): Don't use BP_SYM.
12114 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12115 <bp-asm.h>.
12116 (memcpy): Don't use BP_SYM.
12117 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12118 <bp-asm.h>.
12119 (memset): Don't use BP_SYM.
12120 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12121 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12122 (__bzero): Don't use BP_SYM.
12123 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12124 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12125 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12126 <bp-sym.h> and <bp-asm.h>.
12127 (memcmp): Don't use BP_SYM. Remove comment about bounded
12128 pointers.
12129 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12130 <bp-sym.h> and <bp-asm.h>.
12131 (memcpy): Don't use BP_SYM.
12132 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12133 <bp-sym.h> and <bp-asm.h>.
12134 (memset): Don't use BP_SYM.
12135 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12136 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12137 (__bzero): Don't use BP_SYM.
12138 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12139 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12140 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12141 <bp-sym.h> and <bp-asm.h>.
12142 (strncmp): Don't use BP_SYM. Remove comment about bounded
12143 pointers.
12144 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12145 <bp-sym.h> and <bp-asm.h>.
12146 (memcpy): Don't use BP_SYM.
12147 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12148 <bp-sym.h> and <bp-asm.h>.
12149 (memset): Don't use BP_SYM.
12150 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12151 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12152 (__bzero): Don't use BP_SYM.
12153 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12154 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12155 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12156 <bp-sym.h> and <bp-asm.h>.
12157 (__memchr): Don't use BP_SYM.
12158 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12159 <bp-sym.h> and <bp-asm.h>.
12160 (memcmp): Don't use BP_SYM. Remove comment about bounded
12161 pointers.
12162 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12163 <bp-sym.h> and <bp-asm.h>.
12164 (memcpy): Don't use BP_SYM.
12165 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12166 <bp-sym.h> and <bp-asm.h>.
12167 (__mempcpy): Don't use BP_SYM.
12168 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12169 <bp-sym.h> and <bp-asm.h>.
12170 (__memrchr): Don't use BP_SYM.
12171 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12172 <bp-sym.h> and <bp-asm.h>.
12173 (memset): Don't use BP_SYM.
12174 (__bzero): Likewise.
12175 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12176 <bp-sym.h> and <bp-asm.h>.
12177 (__rawmemchr): Don't use BP_SYM.
12178 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12179 <bp-sym.h> and <bp-asm.h>.
12180 (__STRCMP): Don't use BP_SYM.
12181 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12182 <bp-sym.h> and <bp-asm.h>.
12183 (strchr): Don't use BP_SYM.
12184 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12185 <bp-sym.h> and <bp-asm.h>.
12186 (__strchrnul): Don't use BP_SYM.
12187 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12188 <bp-sym.h> and <bp-asm.h>.
12189 (strlen): Don't use BP_SYM.
12190 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12191 <bp-sym.h> and <bp-asm.h>.
12192 (strncmp): Don't use BP_SYM. Remove comment about bounded
12193 pointers.
12194 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12195 <bp-sym.h> and <bp-asm.h>.
12196 (__strnlen): Don't use BP_SYM.
12197 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12198 <bp-sym.h> and <bp-asm.h>.
12199 (__GI__setjmp): Don't use BP_SYM.
12200 (_setjmp): Likewise.
12201 (__sigsetjmp): Likewise.
12202 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12203 (L(start_addresses)): Don't use BP_SYM.
12204 (_start): Likewise.
12205 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12206 <bp-asm.h>.
12207 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12208 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12209 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12210 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12211 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12212 <bp-asm.h>.
12213 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12214 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12215 about bounded pointers.
12216 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12217 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12218 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12219 <bp-asm.h>.
12220 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12221 about bounded pointers. Remove GKM FIXME comments.
12222 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12223 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12224 <bp-asm.h>.
12225 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12226 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12227 Remove GKM FIXME comments.
12228 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12229 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12230 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12231 <bp-asm.h>.
12232 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12233 about bounded pointers. Remove GKM FIXME comment.
12234 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12235 and <bp-asm.h>.
12236 (strncmp): Don't use BP_SYM. Remove comment about bounded
12237 pointers.
12238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12239 <bp-sym.h> and <bp-asm.h>.
12240 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12242 <bp-sym.h> and <bp-asm.h>.
12243 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12244 comment.
12245
cdcf361f
PP
122462013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12247
12248 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12249 call free(NULL).
12250
3c4a2b15
DM
122512013-03-05 David S. Miller <davem@davemloft.net>
12252
12253 * po/es.po: Update from translation team.
12254
cdcf361f 122552013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
12256
12257 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12258 <bits/mman-linux.h>.
12259 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12260 is fine.
12261 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12262 <bits/mman-linux.h> to end of file.
12263 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12264 is fine.
12265 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12266 <bits/mman-linux.h> to end of file.
12267 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12268 is fine.
12269 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12270 <bits/mman-linux.h> to end of file.
12271
12272 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12273 (MCL_CURRENT, MCL_FUTURE): Define here.
12274
5f67c04f
AK
122752013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12276
8a4473cc 12277 [BZ #15232]
5f67c04f
AK
12278 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12279 attribute_hidden.
12280 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12281
c3e94a95
AK
122822013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12283
12284 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12285 fourth parameter needed for rt_sigprocmask syscall.
12286 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12287 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12288 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12289 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12290 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12291 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12292
cfb6382a
JM
122932013-03-04 Joseph Myers <joseph@codesourcery.com>
12294
12295 [BZ #13550]
12296 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12297 comment about bounded pointers.
12298 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12299 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12300
539d8e01
AJ
123012013-03-04 Andreas Jaeger <aj@suse.de>
12302
12303 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12304 common definitions.
12305
12306 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12307 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12308 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12309 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12310 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
12311 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12312
2e167a70 123132013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
12314
12315 [BZ #15055]
12316 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12317 __ieee754_sqrl instead of __sqrl.
12318
68508633
JM
123192013-03-01 Joseph Myers <joseph@codesourcery.com>
12320
12321 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12322 * sysdeps/powerpc/fpu_control.h: ... here.
12323 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12324 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12325 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12326 * sysdeps/powerpc/bits/mathinline.h: ... here.
12327
7775448e
RM
123282013-03-01 Roland McGrath <roland@hack.frob.com>
12329
12330 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12331 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12332 to just [NEED_DL_SYSINFO_DSO].
12333 * elf/dl-support.c: Likewise.
12334 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12335 * elf/rtld.c (dl_main): Likewise.
12336 * elf/setup-vdso.h (setup_vdso): Likewise.
12337 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12338 * sysdeps/unix/sysv/linux/dl-sysdep.c
12339 (_dl_discover_osversion): Likewise.
12340
4e9b5995
CD
123412013-03-01 Carlos O'Donell <carlos@redhat.com>
12342
12343 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12344 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12345
e23872c8
SP
123462013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12347
e5c74c63
SP
12348 * NEWS: Mention libm performance improvements and non-x86 PI
12349 futex support.
12350
e23872c8
SP
12351 * csu/libc-start.c (__pthread_initialize_minimal): Change
12352 function arguments.
12353 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12354
b5510883
JM
123552013-02-28 Joseph Myers <joseph@codesourcery.com>
12356
12357 [BZ #13550]
12358 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12359 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12360 <bp-sym.h> and <bp-asm.h>.
12361 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12362 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12363 and <bp-asm.h>.
12364 (memcpy): Don't use BP_SYM.
12365 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12366 <bp-asm.h>.
12367 (__mpn_add_n): Don't use BP_SYM.
12368 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12369 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12370 and <bp-asm.h>.
12371 (__mpn_addmul_1): Don't use BP_SYM.
12372 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12373 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12374 <bp-sym.h>.
12375 (_setjmp): Don't use BP_SYM.
12376 (__novmx_setjmp): Likewise.
12377 (__GI__setjmp): Likewise.
12378 (__vmx_setjmp): Likewise.
12379 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12380 <bp-sym.h>.
12381 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12382 (__bzero): Don't use BP_SYM.
12383 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12384 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12385 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12386 <bp-sym.h> and <bp-asm.h>.
12387 (memcpy): Don't use BP_SYM.
12388 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12389 <bp-sym.h> and <bp-asm.h>.
12390 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12391 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12392 <bp-sym.h> and <bp-asm.h>.
12393 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12394 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12395 <bp-asm.h>.
12396 (__mpn_lshift): Don't use BP_SYM.
12397 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12398 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12399 <bp-asm.h>.
12400 (memset): Don't use BP_SYM.
12401 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12402 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12403 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12404 <bp-asm.h>.
12405 (__mpn_mul_1): Don't use BP_SYM.
12406 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12407 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12408 <bp-sym.h> and <bp-asm.h>.
12409 (memcmp): Don't use BP_SYM.
12410 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12411 <bp-sym.h> and <bp-asm.h>.
12412 (memcpy): Don't use BP_SYM.
12413 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12414 <bp-sym.h> and <bp-asm.h>.
12415 (memset): Don't use BP_SYM.
12416 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12417 <bp-sym.h> and <bp-asm.h>.
12418 (strncmp): Don't use BP_SYM.
12419 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12420 <bp-sym.h> and <bp-asm.h>.
12421 (memcpy): Don't use BP_SYM.
12422 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12423 <bp-sym.h> and <bp-asm.h>.
12424 (memset): Don't use BP_SYM.
12425 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12426 <bp-sym.h> and <bp-asm.h>.
12427 (__memchr): Don't use BP_SYM.
12428 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12429 <bp-sym.h> and <bp-asm.h>.
12430 (memcmp): Don't use BP_SYM.
12431 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12432 <bp-sym.h> and <bp-asm.h>.
12433 (memcpy): Don't use BP_SYM.
12434 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12435 <bp-sym.h> and <bp-asm.h>.
12436 (__mempcpy): Don't use BP_SYM.
12437 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12438 <bp-sym.h> and <bp-asm.h>.
12439 (__memrchr): Don't use BP_SYM.
12440 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12441 <bp-sym.h> and <bp-asm.h>.
12442 (memset): Don't use BP_SYM.
12443 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12444 <bp-sym.h> and <bp-asm.h>.
12445 (__rawmemchr): Don't use BP_SYM.
12446 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12447 <bp-sym.h> and <bp-asm.h>.
12448 (__STRCMP): Don't use BP_SYM.
12449 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12450 <bp-sym.h> and <bp-asm.h>.
12451 (strchr): Don't use BP_SYM.
12452 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12453 <bp-sym.h> and <bp-asm.h>.
12454 (__strchrnul): Don't use BP_SYM.
12455 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12456 <bp-sym.h> and <bp-asm.h>.
12457 (strlen): Don't use BP_SYM.
12458 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12459 <bp-sym.h> and <bp-asm.h>.
12460 (strncmp): Don't use BP_SYM.
12461 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12462 <bp-sym.h> and <bp-asm.h>.
12463 (__strnlen): Don't use BP_SYM.
12464 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12465 <bp-asm.h>.
12466 (__mpn_rshift): Don't use BP_SYM.
12467 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12468 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12469 <bp-sym.h> and <bp-asm.h>.
12470 (__sigsetjmp): Don't use BP_SYM.
12471 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12472 (L(start_addresses)): Don't use BP_SYM.
12473 (_start): Likewise.
12474 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12475 <bp-asm.h>.
12476 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12477 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12478 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12479 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12480 <bp-asm.h>.
12481 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12482 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12483 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12484 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12485 <bp-asm.h>.
12486 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12487 comments.
12488 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12489 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12490 <bp-asm.h>.
12491 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12492 FIXME comments.
12493 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12494 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12495 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12496 <bp-asm.h>.
12497 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12498 comment.
12499 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12500 and <bp-asm.h>.
12501 (strncmp): Don't use BP_SYM,
12502 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12503 <bp-asm.h>.
12504 (__mpn_sub_n): Don't use BP_SYM.
12505 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12506 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12507 and <bp-asm.h>.
12508 (__mpn_submul_1): Don't use BP_SYM.
12509 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12511 <bp-sym.h> and <bp-asm.h>.
12512 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12514 <bp-sym.h> and <bp-asm.h>.
12515 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12516 comment.
12517
8d19fe64
SP
125182013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12519
12520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12521 Use ZK to minimize writes to Z.
12522 (sub_magnitudes): Simplify code a bit.
12523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12524 Use ZK to minimize writes to Z.
12525 (sub_magnitudes): Simplify code a bit.
12526
85bd816a
RM
125272013-02-27 Roland McGrath <roland@hack.frob.com>
12528
12529 * csu/gmon-start.c: Add special exception to license text.
12530
b5977bf2
RH
125312013-02-27 Richard Henderson <rth@redhat.com>
12532
12533 * scripts/config.guess: Update from config.git.
12534 * scripts/config.sub: Likewise.
12535
11d6e2f2
SP
125362013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12537
09c14ed2
SP
12538 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12539
a688864e
SP
12540 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12541
6295157a
SP
12542 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12543
b8de2202
SP
12544 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12545
11d6e2f2
SP
12546 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12547
7e80ddb8
RM
125482013-02-26 Roland McGrath <roland@hack.frob.com>
12549
12550 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12551 [$(build-shared = yes].
7e80ddb8 12552
7da6d9ed
SP
125532013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12554
45f05884
SP
12555 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12556 (__mul): Reduce iterations for calculating mantissa.
12557
2236d359
SP
12558 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12559 MPTWO.
12560 (__mpranred): Likewise.
12561
7da6d9ed
SP
12562 [BZ #15160]
12563 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12564 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12565
b7688c42
PE
125662013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12567
12568 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12569 Define __attribute__.
12570
53a5c423
SP
125712013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12572
12573 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12574 unused.
12575 * posix/regex_internal.h (__attribute): Remove.
12576 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12577 (re_string_context_at): Likewise.
12578 (bitset_not): Use __attribute__ and mark function as possibly
12579 unused.
12580 (bitset_merge): Likewise.
12581 (bitset_mask): Likewise.
12582 (re_string_char_size_at): Likewise.
12583 (re_string_wchar_at): Likewise.
12584 (re_string_elem_size_at): Likewise.
12585
60f5a8b5
SP
125862013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12587
2a983a2e
SP
12588 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12589 code.
12590 (cc32): Likewise.
12591
e69804d1
SP
12592 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12593 (__acr): Likewise.
12594 (__cpy): Likewise.
12595 (norm): Likewise.
12596 (denorm): Likewise.
12597 (__dbl_mp): Likewise.
12598 (add_magnitudes): Likewise.
12599 (sub_magnitudes): Likewise.
12600 (__mul): Likewise.
12601 (__inv): Likewise.
12602
2f22a1e8
SP
12603 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12604 style.
12605
8930ddc7
SP
12606 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12607 style.
12608
dc60cb11
SP
12609 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12610 code.
12611
60f5a8b5
SP
12612 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12613 up changes with default code.
12614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12615 Likewise.
12616
b4d1fd33
AM
126172013-02-24 Allan McRae <allan@archlinux.org>
12618
faf6f8bc
AM
12619 * manual/socket.texi (The Internet Namespace): Order menu items
12620 to match that in the file.
12621
b4d1fd33
AM
12622 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12623 node listing of the info page menu.
12624
2366713d
JM
126252013-02-21 Joseph Myers <joseph@codesourcery.com>
12626
12627 [BZ #13550]
12628 * sysdeps/i386/bp-asm.h: Remove file.
12629 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12630 (PARMS): Do not use macros from bp-asm.h.
12631 (S1): Likewise.
12632 (S2): Likewise.
12633 (SIZE): Likewise.
12634 (__mpn_add_n): Do not use BP_SYM
12635 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12636 "bp-asm.h".
12637 (PARMS): Do not use macros from bp-asm.h.
12638 (S1): Likewise.
12639 (SIZE): Likewise.
12640 (__mpn_addmul_1): Do not use BP_SYM
12641 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12642 "bp-asm.h".
12643 (PARMS): Do not use macros from bp-asm.h.
12644 (SIGMSK): Likewise.
12645 (_setjmp): Likewise. Do not use BP_SYM.
12646 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12647 "bp-asm.h".
12648 (PARMS): Do not use macros from bp-asm.h.
12649 (SIGMSK): Likewise.
12650 (setjmp): Likewise. Do not use BP_SYM.
12651 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12652 "bp-asm.h".
12653 (PARMS): Do not use macros from bp-asm.h.
12654 (__frexp): Do not use BP_SYM.
12655 (frexp): Likewise.
12656 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12657 "bp-asm.h".
12658 (PARMS): Do not use macros from bp-asm.h.
12659 (__frexpf): Do not use BP_SYM.
12660 (frexpf): Likewise.
12661 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12662 "bp-asm.h".
12663 (PARMS): Do not use macros from bp-asm.h.
12664 (__frexpl): Do not use BP_SYM.
12665 (frexpl): Likewise.
12666 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12667 "bp-asm.h".
12668 (PARMS): Do not use macros from bp-asm.h.
12669 (__remquo): Do not use BP_SYM.
12670 (remquo): Likewise.
12671 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12672 "bp-asm.h".
12673 (PARMS): Do not use macros from bp-asm.h.
12674 (__remquof): Do not use BP_SYM.
12675 (remquof): Likewise.
12676 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12677 "bp-asm.h".
12678 (PARMS): Do not use macros from bp-asm.h.
12679 (__remquol): Do not use BP_SYM.
12680 (remquol): Likewise.
12681 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12682 "bp-asm.h".
12683 (PARMS): Do not use macros from bp-asm.h.
12684 (DEST): Likewise.
12685 (SRC): Likewise.
12686 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12687 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12688 "bp-asm.h".
12689 (PARMS): Do not use macros from bp-asm.h.
12690 (strlen): Do not use BP_SYM.
12691 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12692 "bp-asm.h".
12693 (PARMS): Do not use macros from bp-asm.h.
12694 (S1): Likewise.
12695 (S2): Likewise.
12696 (SIZE): Likewise.
12697 (__mpn_add_n): Do not use BP_SYM.
12698 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12699 "bp-asm.h".
12700 (PARMS): Do not use macros from bp-asm.h.
12701 (S1): Likewise.
12702 (SIZE): Likewise.
12703 (__mpn_addmul_1): Do not use BP_SYM.
12704 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12705 weak_alias.
12706 (bzero): Likewise.
12707 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12708 "bp-asm.h".
12709 (PARMS): Do not use macros from bp-asm.h.
12710 (S): Likewise.
12711 (SIZE): Likewise.
12712 (__mpn_lshift): Do not use BP_SYM.
12713 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12714 "bp-asm.h".
12715 (PARMS): Do not use macros from bp-asm.h.
12716 (DEST): Likewise.
12717 (SRC): Likewise.
12718 (LEN): Likewise.
12719 (memcpy): Likewise. Do not use BP_SYM.
12720 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12721 libc_hidden_def and weak_alias.
12722 (mempcpy): Do not use BP_SYM in weak_alias.
12723 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12724 "bp-asm.h".
12725 (PARMS): Do not use macros from bp-asm.h.
12726 (DEST): Likewise.
12727 (LEN): Likewise.
12728 [!BZERO_P] (CHR): Likewise.
12729 (memset): Likewise. Do not use BP_SYM.
12730 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12731 "bp-asm.h".
12732 (PARMS): Do not use macros from bp-asm.h.
12733 (S1): Likewise.
12734 (SIZE): Likewise.
12735 (__mpn_mul_1): Do not use BP_SYM.
12736 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12737 "bp-asm.h".
12738 (PARMS): Do not use macros from bp-asm.h.
12739 (S): Likewise.
12740 (SIZE): Likewise.
12741 (__mpn_rshift): Do not use BP_SYM.
12742 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12743 "bp-asm.h".
12744 (PARMS): Do not use macros from bp-asm.h.
12745 (STR): Likewise.
12746 (CHR): Likewise.
12747 (strchr): Likewise. Do not use BP_SYM.
12748 (index): Do not use BP_SYM in weak_alias.
12749 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12750 "bp-asm.h".
12751 (PARMS): Do not use macros from bp-asm.h.
12752 (DEST): Likewise.
12753 (SRC): Likewise.
12754 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12755 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12756 "bp-asm.h".
12757 (PARMS): Do not use macros from bp-asm.h.
12758 (strlen): Do not use BP_SYM.
12759 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12760 "bp-asm.h".
12761 (PARMS): Do not use macros from bp-asm.h.
12762 (S1): Likewise.
12763 (S2): Likewise.
12764 (SIZE): Likewise.
12765 (__mpn_sub_n): Do not use BP_SYM.
12766 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12767 "bp-asm.h".
12768 (PARMS): Do not use macros from bp-asm.h.
12769 (S1): Likewise.
12770 (SIZE): Likewise.
12771 (__mpn_submul_1): Do not use BP_SYM.
12772 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12773 "bp-asm.h".
12774 (PARMS): Do not use macros from bp-asm.h.
12775 (S1): Likewise.
12776 (S2): Likewise.
12777 (SIZE): Likewise.
12778 (__mpn_add_n): Do not use BP_SYM.
12779 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12780 weak_alias.
12781 (bzero): Likewise.
12782 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12783 "bp-asm.h".
12784 (PARMS): Do not use macros from bp-asm.h.
12785 (BLK2): Likewise.
12786 (LEN): Likewise.
12787 (memcmp): Do not use BP_SYM.
12788 (bcmp): Do not use BP_SYM in weak_alias.
12789 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12790 "bp-asm.h".
12791 (PARMS): Do not use macros from bp-asm.h.
12792 (DEST): Likewise.
12793 (SRC): Likewise.
12794 (LEN): Likewise.
12795 (memcpy): Likewise. Do not use BP_SYM.
12796 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12797 "bp-asm.h".
12798 (PARMS): Do not use macros from bp-asm.h.
12799 (DEST): Likewise.
12800 (SRC): Likewise.
12801 (LEN): Likewise.
12802 (memmove): Likewise. Do not use BP_SYM.
12803 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12804 "bp-asm.h".
12805 (PARMS): Do not use macros from bp-asm.h.
12806 (DEST): Likewise.
12807 (SRC): Likewise.
12808 (LEN): Likewise.
12809 (__mempcpy): Likewise. Do not use BP_SYM.
12810 (mempcpy): Do not use BP_SYM in weak_alias.
12811 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12812 "bp-asm.h".
12813 (PARMS): Do not use macros from bp-asm.h.
12814 (DEST): Likewise.
12815 (LEN): Likewise.
12816 [!BZERO_P] (CHR): Likewise.
12817 (memset): Likewise. Do not use BP_SYM.
12818 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12819 "bp-asm.h".
12820 (PARMS): Do not use macros from bp-asm.h.
12821 (STR2): Likewise.
12822 (strcmp): Do not use BP_SYM.
12823 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12824 "bp-asm.h".
12825 (PARMS): Do not use macros from bp-asm.h.
12826 (STR): Likewise.
12827 (DELIM): Likewise.
12828 [USE_AS_STRTOK_R] (SAVE): Likewise.
12829 (FUNCTION): Likewise. Do not use BP_SYM.
12830 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12831 aliases.
12832 (strtok_r): Likewise.
12833 (__GI___strtok_r): Likewise.
12834 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12835 (PARMS): Do not use macros from bp-asm.h.
12836 (S): Likewise.
12837 (SIZE): Likewise.
12838 (__mpn_lshift): Do not use BP_SYM.
12839 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12840 (PARMS): Do not use macros from bp-asm.h.
12841 (STR): Likewise.
12842 (CHR): Likewise.
12843 (__memchr): Do not use BP_SYM.
12844 (memchr): Do not use BP_SYM in weak_alias.
12845 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12846 (PARMS): Do not use macros from bp-asm.h.
12847 (BLK2): Likewise.
12848 (LEN): Likewise.
12849 (memcmp): Do not use BP_SYM.
12850 (bcmp): Do not use BP_SYM in weak_alias.
12851 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12852 (PARMS): Do not use macros from bp-asm.h.
12853 (S1): Likewise.
12854 (SIZE): Likewise.
12855 (__mpn_mul_1): Do not use BP_SYM.
12856 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12857 "bp-asm.h".
12858 (PARMS): Do not use macros from bp-asm.h.
12859 (STR): Likewise.
12860 (CHR): Likewise.
12861 (__rawmemchr): Do not use BP_SYM.
12862 (rawmemchr): Do not use BP_SYM in weak_alias.
12863 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12864 (PARMS): Do not use macros from bp-asm.h.
12865 (S): Likewise.
12866 (SIZE): Likewise.
12867 (__mpn_rshift): Do not use BP_SYM.
12868 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12869 (PARMS): Do not use macros from bp-asm.h.
12870 (SIGMSK): Likewise.
12871 (__sigsetjmp): Likewise. Do not use BP_SYM.
12872 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12873 (_start): Do not use BP_SYM.
12874 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12875 (PARMS): Do not use macros from bp-asm.h.
12876 (DEST): Likewise.
12877 (SRC): Likewise.
12878 (__stpcpy): Likewise. Do not use BP_SYM.
12879 (stpcpy): Do not use BP_SYM in weak_alias.
12880 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12881 "bp-asm.h".
12882 (PARMS): Do not use macros from bp-asm.h.
12883 (DEST): Likewise.
12884 (SRC): Likewise.
12885 (LEN): Likewise.
12886 (__stpncpy): Likewise. Do not use BP_SYM.
12887 (stpncpy): Do not use BP_SYM in weak_alias.
12888 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12889 (PARMS): Do not use macros from bp-asm.h.
12890 (STR): Likewise.
12891 (CHR): Likewise.
12892 (strchr): Likewise. Do not use BP_SYM.
12893 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12894 "bp-asm.h".
12895 (PARMS): Do not use macros from bp-asm.h.
12896 (STR): Likewise.
12897 (CHR): Likewise.
12898 (__strchrnul): Likewise. Do not use BP_SYM.
12899 (strchrnul): Do not use BP_SYM in weak_alias.
12900 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12901 "bp-asm.h".
12902 (PARMS): Do not use macros from bp-asm.h.
12903 (STOP): Likewise.
12904 (strcspn): Do not use BP_SYM.
12905 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12906 "bp-asm.h".
12907 (PARMS): Do not use macros from bp-asm.h.
12908 (STR): Likewise.
12909 (STOP): Likewise.
12910 (strpbrk): Likewise. Do not use BP_SYM.
12911 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12912 "bp-asm.h".
12913 (PARMS): Do not use macros from bp-asm.h.
12914 (STR): Likewise.
12915 (CHR): Likewise.
12916 (strrchr): Likewise. Do not use BP_SYM.
12917 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12918 (PARMS): Do not use macros from bp-asm.h.
12919 (SKIP): Likewise.
12920 (strspn): Do not use BP_SYM.
12921 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12922 (PARMS): Do not use macros from bp-asm.h.
12923 (STR): Likewise.
12924 (DELIM): Likewise.
12925 (SAVE): Likewise.
12926 (FUNCTION): Likewise. Do not use BP_SYM.
12927 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12928 aliases.
12929 (strtok_r): Likewise.
12930 (__GI___strtok_r): Likewise.
12931 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12932 (PARMS): Do not use macros from bp-asm.h.
12933 (S1): Likewise.
12934 (S2): Likewise.
12935 (SIZE): Likewise.
12936 (__mpn_sub_n): Do not use BP_SYM.
12937 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12938 "bp-asm.h".
12939 (PARMS): Do not use macros from bp-asm.h.
12940 (S1): Likewise.
12941 (SIZE): Likewise.
12942 (__mpn_submul_1): Do not use BP_SYM.
12943 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12944 <bp-sym.h>.
12945 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12946 and <bp-asm.h>.
12947 (PARMS): Do not use macros from bp-asm.h.
12948 (FLAGS): Likewise.
12949 (PTID): Likewise.
12950 (TLS): Likewise.
12951 (CTID): Likewise.
12952 (__clone): Do not use BP_SYM.
12953 (clone): Do not use BP_SYM in weak_alias.
12954 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12955 and <bp-asm.h>.
12956 (PARMS): Do not use macros from bp-asm.h.
12957 (LEN): Likewise.
12958 (__mmap64): Do not use BP_SYM.
12959 (mmap64): Do not use BP_SYM in weak_alias.
12960 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12961 <bp-sym.h> and <bp-asm.h>.
12962 (PARMS): Do not use macros from bp-asm.h.
12963 (__posix_fadvise64_l64): Do not use BP_SYM.
12964 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12965 (PARMS): Do not use macros from bp-asm.h.
12966 (NSOPS): Likewise.
12967 (semtimedop): Do not use BP_SYM.
12968 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12969 and <bp-asm.h>.
12970
582a3cff
AM
129712013-02-21 Allan McRae <allan@archlinux.org>
12972
12973 * manual/message.texi (Charset conversion in gettext):
12974 Move @end statement to beginning of line.
12975
bab8a695
SP
129762013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12977
80945231
SP
12978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12979 static.
12980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12981 Likewise.
12982
bab8a695
SP
12983 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12984 (denorm): Likewise.
12985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12987
e21d7aa7
AK
129882013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12989
12990 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12991 tail-call to the resolved function if pltexit isn't needed.
12992
4c7a4263
SP
129932013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12994
12995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12996 or Y being zero as being unlikely.
12997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12998 Likewise.
12999
41f49342
CD
130002013-02-20 Carlos O'Donell <carlos@redhat.com>
13001
13002 * manual/nss.texi (System Databases and Name Service Switch):
13003 Remove frobnicate @pxref.
13004
50022a93
TS
130052013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13006
13007 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13008 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13009
08cbd996
PM
130102013-02-20 Petr Machata <pmachata@redhat.com>
13011
13012 * elf/elf.h (R_ARM_TARGET1): New macro.
13013 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13014 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13015 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13016 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13017 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13018 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13019 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13020 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13021 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13022 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13023 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13024 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13025 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13026 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13027 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13028 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13029 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13030 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13031 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13032 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13033 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13034 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13035 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13036 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13037 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13038 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13039 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13040 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13041 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13042 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13043 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13044 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13045 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13046 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13047 (R_ARM_THM_GOT_BREL12): Likewise.
13048 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13049 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13050 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13051 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13052 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13053 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13054 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13055 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13056 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13057
c7b275d6
TS
130582013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13059
13060 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13061 __attribute_used__ to __attribute__ ((unused)).
13062
20cd7fb3
SP
130632013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13064
13065 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13066 powerpc mpa.c.
13067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13068 comment formatting.
13069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13070
92945b52
JM
130712013-02-19 Joseph Myers <joseph@codesourcery.com>
13072
13073 [BZ #13550]
13074 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13075 Remove macro.
13076 (ENTER): Remove both macro definitions.
13077 (LEAVE): Likewise.
13078 (CHECK_BOUNDS_LOW): Likewise.
13079 (CHECK_BOUNDS_HIGH): Likewise.
13080 (CHECK_BOUNDS_BOTH): Likewise.
13081 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13082 (RETURN_BOUNDED_POINTER): Likewise.
13083 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13084 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13085 (POP_ERRNO_LOCATION_RETURN): Likewise.
13086 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13087 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13088 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13089 macros.
13090 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13091 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13092 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13093 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13094 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13095 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13096 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13097 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13098 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13099 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13100 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13101 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13102 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13103 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13104 removed macros.
13105 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13106 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13107 macros.
13108 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13109 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13110 * sysdeps/i386/i586/memset.S (memset): Likewise.
13111 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13112 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13113 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13114 macros.
13115 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13116 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13117 Change uses of L(2) to L(out).
13118 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13119 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13120 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13121 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13122 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13123 removed macros.
13124 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13125 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13126 macros.
13127 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13128 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13129 (RETURN): Do not use macro LEAVE.
13130 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13131 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13132 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13133 * sysdeps/i386/i686/memset.S (memset): Likewise.
13134 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13135 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13136 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13137 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13138 Likewise.
13139 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13140 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13141 L(1_2) and L(1_3) into L(1).
13142 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13143 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13144 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13145 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13146 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13147 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13148 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13149 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13150 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13151 macros.
13152 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13153 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13154 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13155 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13156 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13157 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13158 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13159 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13160 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13161 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13162 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13163 * sysdeps/i386/strspn.S (strspn): Likewise.
13164 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13165 conditional code.
13166 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13167 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13168 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13169 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13170 L(1_3) into L(1_1).
13171 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13172 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13173 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13174 macros.
13175 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13176
2389741a
JJ
131772013-02-19 Jakub Jelinek <jakub@redhat.com>
13178
13179 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13180 macro.
13181
2016b3cd
SP
131822013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13183
e4f22324
SP
13184 * math/atest-exp.c (exp_mpn): Remove ROUND.
13185 * math/atest-exp2.c (exp_mpn): Likewise.
13186 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13187
2016b3cd
SP
13188 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13189 * stdlib/tst-tls-atexit-lib.c: Likewise.
13190 * stdlib/tst-tls-atexit.c: Likewise.
13191
4be9b544
MF
131922013-02-18 Mike Frysinger <vapier@gentoo.org>
13193
13194 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13195 and __attribute_alloc_size__.
13196
2f62b9ee
MF
131972013-02-18 Mike Frysinger <vapier@gentoo.org>
13198
13199 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13200 __attribute_alloc_size__.
13201 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13202 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13203
6ff444c4
MF
132042013-02-18 Mike Frysinger <vapier@gentoo.org>
13205
13206 * include/programs/xmalloc.h: New file.
13207 * catgets/gencat.c: Include it.
13208 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13209 * elf/pldd.c: Likewise.
13210 * iconv/iconv_charmap.c: Likewise.
13211 * iconv/iconvconfig.c: Likewise.
13212 * iconv/strtab.c: Likewise.
13213 * locale/programs/locale.c: Likewise.
13214 * locale/programs/localedef.h: Likewise.
13215 * locale/programs/simple-hash.c: Likewise.
13216 * nscd/nscd.h: Likewise.
13217 * nss/makedb.c: Likewise.
13218 * sysdeps/generic/ldconfig.h: Likewise.
13219
be179c8a
SP
132202013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13221
ba384f6e
SP
13222 * Versions.def: Add GLIBC_2.18.
13223 * include/link.h (struct link_map): New member l_tls_dtor_count.
13224 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13225 (__call_tls_dtors): Likewise.
13226 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13227 __cxa_thread_atexit_impl.
13228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13229 Likewise.
13230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13231 Likewise.
13232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13233 Likewise.
13234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13235 Likewise.
13236 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13238 Likewise.
13239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13240 Likewise.
13241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13243 Likewise.
13244 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13245 (tests): Add test case tst-tls-atexit.
13246 (modules-names): Add shared library for tst-tls-atexit.
85891aca 13247 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
13248 (GLIBC_PRIVATE): Add __call_tls_dtors.
13249 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13250 for libstdc++.
13251 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13252 * stdlib/tst-tls-atexit.c: New test case.
13253 * stdlib/tst-tls-atexit-lib.c: New test case.
13254
ffaa74cf 13255 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 13256
be179c8a
SP
13257 * elf/Versions (ld): Add _dl_find_dso_for_object.
13258 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13259 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13260 (dl_open_worker): Use _dl_find_dso_for_object.
13261 * elf/dl-sym.c (do_sym): Likewise.
13262 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13263
f78b5caa
AK
132642013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13265
13266 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13267 Syntactic changes only.
13268 (_dl_runtime_profile): Do a tail-call to the resolved function.
13269
29691210
JM
132702013-02-17 Joseph Myers <joseph@codesourcery.com>
13271
13272 [BZ #13550]
13273 * sysdeps/x86_64/bp-asm.h: Remove file.
13274 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13275 <bp-sym.h> and <bp-asm.h>.
13276 (__clone): Do not use BP_SYM.
13277 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13278 <bp-sym.h> and <bp-asm.h>.
13279 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13280 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13281 "bp-asm.h".
13282 (_setjmp): Do not use BP_SYM.
13283 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13284 "bp-asm.h".
13285 (setjmp): Do not use BP_SYM.
13286 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13287 libc_hidden_def.
13288 (mempcpy): Do not use BP_SYM in weak_alias.
13289 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13290 "bp-asm.h".
13291 (strchr): Do not use BP_SYM.
13292 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13293 "bp-asm.h".
13294 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13295 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13296 (_start): Do not use BP_SYM.
13297 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13298 "bp-asm.h".
13299 (strcat): Do not use BP_SYM.
13300 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13301 "bp-asm.h".
13302 (STRCMP): Do not use BP_SYM.
13303 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13304 "bp-asm.h".
13305 (STRCPY): Do not use BP_SYM.
13306 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13307 "bp-asm.h".
13308 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13309 "bp-asm.h".
13310 (FUNCTION): Do not use BP_SYM.
13311 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13312 weak_alias.
13313 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13314
f238fd19
AJ
133152013-02-17 Andreas Jaeger <aj@suse.de>
13316
13317 * time/Versions: Sort entries.
13318 * string/Versions: Likewise.
13319 * resolv/Versions: Likewise.
13320 * posix/Versions: Likewise.
13321 * iconv/Versions: Likewise.
13322 * elf/Versions: Likewise.
13323 * wcsmbs/Versions: Likewise.
13324
bd07f23c 133252013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 13326
22af19f9
SP
13327 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13328 loop termination condition.
13329
4709fe76
SP
13330 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13331 variable to calculate EZ.
13332 (__sqr): Likewise.
2d0e0f29
SP
13333
13334 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13335 the lower precision input.
13336
daaa7713
JM
133372013-02-15 Joseph Myers <joseph@codesourcery.com>
13338
13339 [BZ #13550]
13340 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13341 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13342 (run-via-rtld-prefix): Do not handle %-bp tests.
13343 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13344 (all-object-suffixes): Remove .ob.
13345 (bppfx): Remove variable.
13346 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13347 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13348 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13349 [$(build-bounded) = yes] (libtype.ob): Likewise.
13350 * Makerules (elide-routines.ob): Remove variable.
13351 (do-tests-clean): Do not handle *-bp.out.
13352 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13353 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13354 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13355 (tests): Do not include $(tests-bp.out).
13356 (xtests): Do not include $(xtests-bp.out).
13357 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13358 [$(build-bounded) = yes] ($(addprefix
13359 $(objpfx),$(binaries-bounded))): Remove rule.
13360 ($(objpfx)%-bp.out): Remove rule.
13361 * config.make.in (build-bounded): Remove variable.
13362 * crypt/Makefile [$(build-bounded) = yes]
13363 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13364 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13365 append to variable.
13366 [$(build-bounded) = yes] (install-lib): Likewise.
13367 [$(build-bounded) = yes] (generated): Likewise.
13368 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13369 Remove rule.
13370 * intl/Makefile [$(build-bounded) = yes]
13371 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13372 * math/Makefile [$(build-bounded) = yes]
13373 ($(tests:%=$(objpfx)%-bp): Likewise.
13374 * misc/Makefile [$(build-bounded) = yes]
13375 ($(objpfx)tst-tsearch-bp): Likewise.
13376 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13377 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13378 Remove dependency.
13379 * string/Makefile (o-objects.ob): Remove variable.
13380 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13381 (CFLAGS-.ob): Remove variable.
13382 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13383 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13384 both definitions of variable.
13385 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13386 (ASFLAGS-.ob): Remove variable.
13387
e97ed6dd
JM
133882013-02-14 Joseph Myers <joseph@codesourcery.com>
13389
2bdd4ca6
JM
13390 [BZ #13550]
13391 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13392 Remove __BOUNDED_POINTERS__ from condition.
13393 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13394 * string/bits/string2.h [!__NO_STRING_INLINES &&
13395 !__BOUNDED_POINTERS__]: Likewise.
13396 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13397 Likewise.
13398 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13399 Remove conditional code.
13400 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13401 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13402 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13403 condition.
13404
e97ed6dd
JM
13405 [BZ #13550]
13406 * csu/libc-start.c: Do not include <bp-sym.h>.
13407 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13408 * elf/dl-open.c: Do not include <bp-sym.h>.
13409 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13410 * math/fegetenv.c: Do not include <bp-sym.h>.
13411 (fegetenv): Do not use BP_SYM in versioned symbols.
13412 * nptl/sysdeps/pthread/bits/libc-lockP.h
13413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13414 <bp-sym.h>.
13415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13416 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13418 (__pthread_mutex_destroy): Likewise.
13419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13420 (__pthread_mutex_lock): Likewise.
13421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13422 (__pthread_mutex_trylock): Likewise.
13423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13424 (__pthread_mutex_unlock): Likewise.
13425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13426 (__pthread_mutexattr_init): Likewise.
13427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13428 (__pthread_mutexattr_destroy): Likewise.
13429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13430 (__pthread_mutexattr_settype): Likewise.
13431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13432 (__pthread_rwlock_init): Likewise.
13433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13434 (__pthread_rwlock_destroy): Likewise.
13435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13436 (__pthread_rwlock_rdlock): Likewise.
13437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13438 (__pthread_rwlock_tryrdlock): Likewise.
13439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13440 (__pthread_rwlock_wrlock): Likewise.
13441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13442 (__pthread_rwlock_trywrlock): Likewise.
13443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13444 (__pthread_rwlock_unlock): Likewise.
13445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13446 (__pthread_key_create): Likewise.
13447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13448 (__pthread_setspecific): Likewise.
13449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13450 (__pthread_getspecific): Likewise.
13451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13452 Likewise.
13453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13454 (_pthread_cleanup_push_defer): Likewise.
13455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13456 (_pthread_cleanup_pop_restore): Likewise.
13457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13458 (pthread_setcancelstate): Likewise.
13459 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13460 <bp-sym.h>.
13461 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13462 (memchr): Do not use BP_SYM in weak_alias.
13463 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13464 (fegetenv): Do not use BP_SYM in versioned symbols.
13465 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13466 (fesetenv): Do not use BP_SYM in versioned symbols.
13467 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13468 (feupdateenv): Do not use BP_SYM in versioned symbols.
13469 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13470 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13471 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13472 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13473 (open64): Do not use BP_SYM in weak_alias.
13474 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13475 (fegetenv): Do not use BP_SYM in versioned symbols.
13476 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13477 (fesetenv): Do not use BP_SYM in versioned symbols.
13478 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13479 (feupdateenv): Do not use BP_SYM in versioned symbols.
13480 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13481 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13482 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13483 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13484 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13485 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13486 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13487 <bp-sym.h>.
13488 (__libc_start_main): Do not use BP_SYM.
13489
d6752ccd
SP
134902013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13491
cb57ce60
SP
13492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13493 redundant return line.
13494 (norm): Likewise.
13495 (denorm): Likewise.
13496 (dbl_mp): Likewise.
13497 (sub_magnitudes): Likewise.
13498 (__add): Likewise.
13499 (__sub): Likewise.
13500 (__mul): Likewise.
13501 (__inv): Likewise.
13502 (__dvd): Likewise.
13503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13504 (norm): Likewise.
13505 (denorm): Likewise.
13506 (dbl_mp): Likewise.
13507 (sub_magnitudes): Likewise.
13508 (__add): Likewise.
13509 (__sub): Likewise.
13510 (__mul): Likewise.
13511 (__inv): Likewise.
13512 (__dvd): Likewise.
13513
f414520d
SP
13514 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13515 instead of __mul.
13516 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13517 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13518 (cc32): Likewise.
13519
d6752ccd
SP
13520 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13521 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13522 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13523 of __mul for squares.
13524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13525 function
13526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13527 Likewise.
13528 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13529 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13530
70d9946a
JM
135312013-02-13 Joseph Myers <joseph@codesourcery.com>
13532
13533 [BZ #13550]
13534 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13535 code.
13536 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13537 prototype or function definition. Rename ubp_* variables and
13538 parameters. Remove argv definitions conditional on
13539 [__BOUNDED_POINTERS__].
13540 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13541 * elf/dl-runtime.c (_dl_fixup): Likewise.
13542 * include/set-hooks.h (RUN_HOOK): Likewise.
13543 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13544 definition.
13545 * string/strcpy.c (strcpy): Do not use __unbounded.
13546 * sysdeps/generic/frame.h (struct layout): Likewise.
13547 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13548 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13549 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13550 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13551 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13552 (__backtrace): Likewise.
13553 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13554 use __ptrvalue.
13555 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13556 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13557 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13558 Likewise.
13559 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13560 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13561 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13562 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13563 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13564 Do not use __unbounded.
13565 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13566 Rename __unboundedrlimits parameter to rlimits in prototype.
13567 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13568 Do not use __unbounded.
13569 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13570 not use __ptrvalue.
13571 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13572 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13573 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13574 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13575 __ptrvalue or __unbounded.
13576 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13577 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13578 use __unbounded.
13579 (__new_msgctl): Do not use __ptrvalue.
13580 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13581 __unbounded.
13582 (__libc_msgrcv): Do not use __ptrvalue.
13583 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13584 startup_info): Do not use __unbounded.
13585 (__libc_start_main): Likewise. Rename ubp_* variables and
13586 parameters. Remove argv definitions conditional on
13587 [__BOUNDED_POINTERS__].
13588 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13589 __ptrvalue.
13590 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13591 use __unbounded.
13592 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13593 or __ptrvalue.
13594 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13595 use __unbounded.
13596 (__new_shmctl): Do not use __ptrvalue.
13597 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13598 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13599 Likewise.
13600 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13601 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13602 (__libc_sigaction): Likewise.
13603 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13604 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13605 Likewise.
13606 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13607
cc7834d6
OB
136082013-02-13 Ondřej Bílka <neleai@seznam.cz>
13609
ffb1ec7b 13610 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13611
13612 * string/mempcpy.c: Implement by calling memcpy.
13613
bdf02814
SP
136142013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13615
c2af38aa
SP
13616 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13617
4e92d59e
SP
13618 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13619 evaluation.
13620
909279a5
SP
13621 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13622 values in the mantissa.
13623
bdf02814
SP
13624 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13625 minimize writes to Z.
13626 (sub_magnitudes): Simplify code a bit.
13627
cd525923
RM
136282013-02-12 Roland McGrath <roland@hack.frob.com>
13629
13630 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13631 from the message. The linker prefixes all warnings with that already.
13632
7e2f0d2d
AS
136332013-02-12 Andreas Schwab <schwab@suse.de>
13634
a445af0b
AS
13635 [BZ #15078]
13636 * posix/regexec.c (extend_buffers): Add parameter min_len.
13637 (check_matching): Pass minimum needed length.
13638 (clean_state_log_if_needed): Likewise.
13639 (get_subexp): Likewise.
13640 * posix/Makefile (tests): Add bug-regex34.
13641 (bug-regex34-ENV): Define.
13642 * posix/bug-regex34.c: New file.
13643
7e2f0d2d
AS
13644 [BZ #11561]
13645 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13646 elements compare against the byte sequence of it, not its name.
13647 * posix/Makefile (tests): Add bug-regex35.
13648 (bug-regex35-ENV): Define.
13649 * posix/bug-regex35.c: New file.
13650
a175b684
TV
136512013-02-11 Tom de Vries <tom@codesourcery.com>
13652
13653 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13654 comment.
13655 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13656 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13657 (CHECK_EOL): Add undef.
13658
310998fe 136592013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13660
13661 * bits/stdlib-bsearch.h: New file.
13662 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13663 * stdlib/stdlib.h: Likewise.
41eda41d 13664
8ded91fb
RM
136652013-02-11 Roland McGrath <roland@hack.frob.com>
13666
13667 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13668 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13669 declaration.
13670 * manual/search.texi (Array Search Function): Add missing const in
13671 lfind prototype.
13672 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13673 declaration to use rlim_t.
13674 (Basic Scheduling Functions): Remove erroneous const from
13675 sched_getparam prototype. Remove erroneous * from
13676 sched_get_priority_max and sched_get_priority_min prototypes.
13677 (Resource Usage): Fix summary @comment on vtimes to refer to
13678 sys/vtimes.h rather than vtimes.h.
13679 Add missing *s in vtimes prototype.
13680 (Limits on Resources): Fix ulimit prototype to return long int.
13681 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13682 prototypes to use long int rather than double.
13683 (BSD Random): Fix initstate and setstate to use char *, not void *.
13684 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13685 prototype to make second argument 'struct aiocb64 *const[]'.
13686 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13687 (Status of AIO Operations): Remove erroneous const in aio_return and
13688 aio_return64 prototypes.
13689 (Synchronizing I/O): Fix sync prototype to return void.
13690 * manual/startup.texi (Suboptions): Remove an erroneous const in
13691 getsubopt prototype.
13692 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13693 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13694 use size_t rather than int.
13695 (Scanning All Users): Likewise for getpwent_r.
13696 (Setting Groups): Add missing const to setgroups prototype.
13697 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13698 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13699 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13700 'const void *' rather than 'const char *'.
13701 (Host Address Functions): Likewise for inet_ntop.
13702 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13703 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13704 ssize_t for return value.
13705 (Sending Data): Likewise for send, sendto, sendmsg.
13706 (Socket Option Functions): Add a missing const in setsockopt prototype.
13707 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13708 use wchar_t for the argument.
13709 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13710 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13711 take no arguments.
13712 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13713 double/float/long double for second argument.
13714 Fix return types of significand, significandf, significandl.
13715 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13716 argument in fchmod prototype.
13717 (File Owner): Use uid_t and gid_t in fchown prototype.
13718 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13719 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13720 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13721 use 'const struct dirent **' as argument types to CMP function pointer
13722 argument.
13723 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13724 (File Times): Fix summary magic @comment for struct utimbuf and utime
13725 to refer to utime.h, not time.h.
13726 * manual/string.texi (Argz Functions): Add missing const in
13727 argz_extract and argz_next prototypes.
13728 (Finding Tokens in a String): Likewise for basename.
13729 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13730 (Copying and Concatenation): Fix typo in wmemmove prototype.
13731 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13732 (Signal Stack): Remove erroneous const in sigstack prototype.
13733 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13734 prototype.
13735 (Simple Calendar Time): Likewise for stime.
13736 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13737 prototype.
13738 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13739 say sys/sysctl.h instead.
13740 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13741 and vsyslog prototypes.
13742
fe77fe6d
TV
137432013-02-11 Tom de Vries <tom@codesourcery.com>
13744
13745 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13746 Remove.
13747
3a09b620
RM
137482013-02-11 Roland McGrath <roland@hack.frob.com>
13749
13750 * misc/sys/mman.h: Fix typo in mremap comment.
13751
550a0b89
RM
137522013-02-08 Roland McGrath <roland@hack.frob.com>
13753
13754 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13755 the '\0' terminator.
13756
a2da1673
JM
137572013-02-08 Joseph Myers <joseph@codesourcery.com>
13758
13759 [BZ #13550]
13760 * debug/segfault.c: Don't include <bp-checks.h>.
13761 * sysdeps/generic/bp-checks.h: Remove file.
13762 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13763 (__GETDENTS): Don't use CHECK_N.
13764 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13765 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13766 (__getgroups): Don't use CHECK_N.
13767 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13768 (setgroups): Don't use CHECK_N.
13769 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13770 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13771 (__libc_msgrcv): Don't use CHECK_N.
13772 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13773 (__libc_msgsnd): Don't use CHECK_N.
13774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13775 <bp-checks.h>.
13776 (__libc_pread): Don't use CHECK_N.
13777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13778 include <bp-checks.h>.
13779 (__libc_pread64): Don't use CHECK_N.
13780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13781 include <bp-checks.h>.
13782 (__libc_pwrite): Don't use CHECK_N.
13783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13784 include <bp-checks.h>.
13785 (__libc_pwrite64): Don't use CHECK_N.
13786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13787 <bp-checks.h>.
13788 (__libc_pread): Don't use CHECK_N.
13789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13790 include <bp-checks.h>.
13791 (__libc_pread64): Don't use CHECK_N.
13792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13793 include <bp-checks.h>.
13794 (__libc_pwrite): Don't use CHECK_N.
13795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13796 include <bp-checks.h>.
13797 (__libc_pwrite64): Don't use CHECK_N.
13798 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13799 (do_pread): Don't use CHECK_N.
13800 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13801 (do_pread64): Don't use CHECK_N.
13802 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13803 (do_pwrite): Don't use CHECK_N.
13804 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13805 (do_pwrite64): Don't use CHECK_N.
13806 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13807 (__libc_readv): Don't use CHECK_N.
13808 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13809 (semop): Don't use CHECK_N.
13810 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13811 <bp-checks.h>.
13812 (semtimedop): Don't use CHECK_N.
13813 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13814 (__libc_pread): Don't use CHECK_N.
13815 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13816 <bp-checks.h>.
13817 (__libc_pread64): Don't use CHECK_N.
13818 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13819 <bp-checks.h>.
13820 (__libc_pwrite): Don't use CHECK_N.
13821 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13822 <bp-checks.h>.
13823 (__libc_pwrite64): Don't use CHECK_N.
13824 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13825 <bp-checks.h>.
13826 (__libc_msgrcv): Don't use CHECK_N.
13827 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13828 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13829 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13830 (__libc_writev): Don't use CHECK_N.
13831
b84660a8
RM
138322013-02-08 Roland McGrath <roland@hack.frob.com>
13833
7f3e75f8
RM
13834 * string/strcpy.c: Removed unused variable.
13835
b84660a8
RM
13836 * Makeconfig (+sysdep-includes): Define with := rather than =.
13837 Use an existing include/ subdir of each sysdeps dir before it.
13838
471514d3
CD
138392013-02-08 Carlos O'Donell <carlos@redhat.com>
13840
13841 * nscd/connection.c (register_traced_file): Comment function.
13842 [HAVE_INOTIFY] (union __inev): Define.
13843 [HAVE_INOTIFY] (inotify_check_files): New function.
13844 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13845 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13846 clear_db_cache.
13847 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13848
b2d3c3be
CD
138492013-02-08 Carlos O'Donell <carlos@redhat.com>
13850
13851 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13852 loaded if not already and that a failure is permanent.
13853
b39949d2
CD
138542013-02-08 Carlos O'Donell <carlos@redhat.com>
13855
ddacd1db 13856 [BZ #15006]
b39949d2
CD
13857 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13858 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13859
b2c9eff4
JM
138602013-02-08 Joseph Myers <joseph@codesourcery.com>
13861
f3aae3f3
JM
13862 [BZ #13550]
13863 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13864 (CHECK_1_NULL_OK): Likewise.
13865 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13866 (__fxstat): Do not use CHECK_1.
13867 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13868 <bp-checks.h>.
13869 (___fxstat64): Do not use CHECK_1.
13870 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13871 <bp-checks.h>.
13872 (__fxstatat): Do not use CHECK_1.
13873 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13874 <bp-checks.h>.
13875 (__fxstatat64): Do not use CHECK_1.
13876 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13877 <bp-checks.h>.
13878 (__fxstat): Do not use CHECK_1.
13879 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13880 <bp-checks.h>.
13881 (__fxstatat): Do not use CHECK_1.
13882 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13883 <bp-checks.h>.
13884 (__getresgid): Do not use CHECK_1.
13885 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13886 <bp-checks.h>.
13887 (__getresuid): Do not use CHECK_1.
13888 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13889 <bp-checks.h>.
13890 (__lxstat): Do not use CHECK_1.
13891 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13892 <bp-checks.h>.
13893 (__old_msgctl): Do not use CHECK_1.
13894 (__new_msgctl): Likewise.
13895 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13896 <bp-checks.h>.
13897 (__new_setrlimit): Do not use CHECK_1.
13898 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13899 <bp-checks.h>.
13900 (__old_shmctl): Do not use CHECK_1.
13901 (__new_shmctl): Likewise.
13902 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13903 <bp-checks.h>.
13904 (__xstat): Do not use CHECK_1.
13905 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13906 (__lxstat): Do not use CHECK_1.
13907 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13908 <bp-checks.h>.
13909 (___lxstat64): Do not use CHECK_1.
13910 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13911 (__old_msgctl): Do not use CHECK_1.
13912 (__new_msgctl): Likewise.
13913 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13914 <bp-checks.h>.
13915 (__gettimeofday): Do not use CHECK_1.
13916 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13917 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13918 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13919 <bp-checks.h>.
13920 (__gettimeofday): Do not use CHECK_1.
13921 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13922 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13923 (__new_shmctl): Do not use CHECK_1.
13924 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13925 <bp-checks.h>.
13926 (do_sigtimedwait): Do not use CHECK_1.
13927 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13928 <bp-checks.h>.
13929 (do_sigwaitinfo): Do not use CHECK_1.
13930 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13931 <bp-checks.h>.
13932 (msgctl): Do not use CHECK_1.
13933 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13934 <bp-checks.h>.
13935 (shmctl): Do not use CHECK_1.
13936 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13937 (ustat): Do not use CHECK_1.
13938 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13939 <bp-checks.h>.
13940 (__fxstat): Do not use CHECK_1.
13941 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13942 <bp-checks.h>.
13943 (__fxstatat): Do not use CHECK_1.
13944 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13945 <bp-checks.h>.
13946 (__lxstat): Do not use CHECK_1.
13947 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13948 <bp-checks.h>.
13949 (__xstat): Do not use CHECK_1.
13950 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13951 (__xstat): Do not use CHECK_1.
13952 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13953 (___xstat64): Do not use CHECK_1.
13954
b2c9eff4
JM
13955 [BZ #13550]
13956 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13957 definitions.
13958 (CHECK_BOUNDS_HIGH): Likewise.
13959 * string/strcpy.c: Do not include <bp-checks.h>.
13960 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13961
f1d70dad
RM
139622013-02-07 Roland McGrath <roland@hack.frob.com>
13963
13964 * nscd/nscd-client.h (__nscd_drop_map_ref):
13965 Add __attribute__ ((unused)).
13966 * nis/nss-nisplus.h (niserr2nss): Likewise.
13967
13968 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13969 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13970
13971 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13972 Remove inline keyword.
13973 * include/rounding-mode.h (round_away): Likewise.
13974 * libio/wfileops.c (adjust_wide_data): Likewise.
13975 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13976 (__m128i_strloadu_tolower): Likewise.
13977 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13978 (__m128i_strloadu_tolower): Likewise.
13979 * time/mktime.c (ydhms_diff): Likewise.
13980 * locale/elem-hash.h (elem_hash): Likewise.
13981 * locale/setlocale.c (setdata): Likewise.
13982 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13983 (re_string_wchar_at): Likewise.
13984 (bitset_not, bitset_merge, bitset_mask): Likewise.
13985 [!(__GNUC__ > 3)] (inline): Remove macro.
13986 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13987 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13988 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13989 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13990 * string/memcmp.c (memcmp_bytes): Likewise.
13991 * locale/programs/locarchive.c (compute_hashval): Likewise.
13992 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13993 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13994 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13995 * nss/getent.c (print_rpc, print_protocols): Likewise.
13996 (print_passwd, print_group, print_aliases): Likewise.
13997 * nis/nss-nisplus.h (niserr2nss): Likewise.
13998 * nscd/connections.c (restart_p): Likewise.
13999 Change return type to bool.
14000
eab55bfb
RM
140012013-02-05 Roland McGrath <roland@hack.frob.com>
14002
7bd642f5
RM
14003 * Makeconfig (all-Depend-files): Add existing
14004 $(sorted-subdirs:=/Depend) files.
14005 (all-subdirs): Remove nss.
14006 * sysdeps/unix/inet/Subdirs: Add it here instead.
14007 * hesiod/Depend: New file.
14008
573c29b2
RM
14009 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14010 instead of calling alloca.
14011
b2e25af0
RM
14012 * io/lseek.c (__lseek): Rename to __libc_lseek.
14013 Define __lseek as an alias.
14014
eab55bfb
RM
14015 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14016
9a0d1941
CD
140172013-02-04 Carlos O'Donell <carlos@redhat.com>
14018
14019 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14020 else clause and remove check for non-standard endianness.
14021
b83bbec4
DM
140222013-02-04 David S. Miller <davem@davemloft.net>
14023
14024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14025
6277fdab
JM
140262013-02-04 Joseph Myers <joseph@codesourcery.com>
14027
14028 [BZ #13550]
14029 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14030 (__ubp_memchr): Remove prototype.
14031 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14032 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14033 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14034 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14035 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14036 Remove alias.
14037 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14038 (__ubp_memchr): Likewise.
14039 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14040 (__ubp_memchr): Likewise.
14041 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14042 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14043 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14044 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14045 CHECK_STRING.
14046 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14047 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14048 (__getcwd): Do not use CHECK_STRING.
14049 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14050 <bp-checks.h>.
14051 (__real_chown): Do not use CHECK_STRING.
14052 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14053 <bp-checks.h>.
14054 (fchownat): Do not use CHECK_STRING.
14055 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14056 CHECK_STRING.
14057 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14058 <bp-checks.h>.
14059 (__lchown): Do not use CHECK_STRING.
14060 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14061 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14062 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14063 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14065 include <bp-checks.h>.
14066 (truncate64): Do not use CHECK_STRING.
14067 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14068 <bp-checks.h>.
14069 (__real_chown): Do not use CHECK_STRING.
14070 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14071 <bp-checks.h>.
14072 (__lchown): Do not use CHECK_STRING.
14073 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14074 <bp-checks.h>.
14075 (__chown): Do not use CHECK_STRING.
14076 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14077 <bp-checks.h>.
14078 (truncate64): Do not use CHECK_STRING.
14079 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14080 Likewise.
14081 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14082 (__xmknod): Do not use CHECK_STRING.
14083 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14084 <bp-checks.h>.
14085 (__xmknodat): Do not use CHECK_STRING.
14086 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14087 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14088
903ae060
AS
140892013-02-04 Andreas Schwab <schwab@suse.de>
14090
14091 [BZ #14142]
14092 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14093 * include/netdb.h: Likewise for h_errno.
14094 * elf/tst-stackguard1.c: Include <tls.h>.
14095
542f9466
JK
140962013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14097
14098 * elf/link.h (struct link_map): Extend the l_addr comment.
14099 * include/link.h (struct link_map): Likewise.
14100
e782a927
JM
141012013-02-01 Joseph Myers <joseph@codesourcery.com>
14102
14103 [BZ #13550]
14104 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14105 (BOUNDED_1): Remove macro.
14106 * debug/backtrace.c: Don't include <bp-checks.h>.
14107 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14108 (__backtrace): Likewise.
14109 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14110 <bp-checks.h>.
14111 (__backtrace): Don't use BOUNDED_1.
14112 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14113 <bp-checks.h>.
14114 (__backtrace): Don't use BOUNDED_1.
14115 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14116 (__backtrace): Don't use BOUNDED_1.
14117 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14118 (shmat): Don't use BOUNDED_N.
14119
8cf28c5e
JM
141202013-01-31 Joseph Myers <joseph@codesourcery.com>
14121
3a7ac8a0
JM
14122 [BZ #13550]
14123 * sysdeps/generic/bp-start.h: Remove file.
14124 * csu/libc-start.c: Don't include <bp-start.h>.
14125 (LIBC_START_MAIN): Set up __environ directly instead of using
14126 INIT_ARGV_and_ENVIRON.
14127 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14128 <bp-start.h>.
14129
f3499f95
JM
14130 [BZ #13550]
14131 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14132 definitions.
14133 (CHECK_FCNTL): Likewise.
14134 (CHECK_N_PAGES): Likewise.
14135
32a45bea
JM
14136 [BZ #13550]
14137 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14138 definitions.
14139 (CHECK_SIGSET_NULL_OK): Likewise.
14140 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14141 <bp-checks.h>.
14142 (sigpending): Don't use CHECK_SIGSET.
14143 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14144 <bp-checks.h>.
14145 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14146 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14147 <bp-checks.h>.
14148 (do_sigsuspend): Don't use CHECK_SIGSET.
14149 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14150 use CHECK_SIGSET.
14151 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14152 (do_sigwait): Don't use CHECK_SIGSET.
14153 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14154 use CHECK_SIGSET.
14155 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14156 include <bp-checks.h>.
14157 (sigpending): Don't use CHECK_SIGSET.
14158 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14159 include <bp-checks.h>.
14160 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14161 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14162 <bp-checks.h>.
14163 (sigpending): Don't use CHECK_SIGSET.
14164 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14165 <bp-checks.h>.
14166 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14167
2e8a5c8c
JM
14168 [BZ #13550]
14169 * sysdeps/generic/bp-semctl.h: Remove file.
14170 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14171 <bp-checks.h> and <bp-semctl.h>.
14172 (__old_semctl): Don't use CHECK_SEMCTL.
14173 (__new_semctl): Likewise.
14174 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14175 and <bp-semctl.h>.
14176 (__old_semctl): Don't use CHECK_SEMCTL.
14177 (__new_semctl): Likewise.
14178 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14179 <bp-checks.h> and <bp-semctl.h>.
14180 (__old_semctl): Don't use CHECK_SEMCTL.
14181 (__new_semctl): Likewise.
14182 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14183 <bp-checks.h> and <bp-semctl.h>.
14184 (semctl): Don't use CHECK_SEMCTL.
14185
c2d54929
JM
14186 [BZ #13550]
14187 * Makerules (elide-bp-thunks): Remove variable.
14188 (elide-routines.oS): Don't use $(elide-bp-thunks).
14189 (elide-routines.os): Likewise.
14190 (elide-routines.o): Likewise.
14191 (elide-routines.op): Likewise.
14192 (elide-routines.og): Likewise.
14193 (objects): Don't use $(bp-thunks).
14194 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14195 include.
14196 (common-generated): Do not add s-proto-bp.d.
14197 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14198 (int): Likewise.
14199 (typ): Likewise.
14200 Do not generate makefile rules for bounded-pointer thunks.
14201 * sysdeps/generic/bp-thunks.h: Remove file.
14202 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14203 * sysdeps/unix/s-proto-bp.S: Likewise.
14204
8cf28c5e
JM
14205 [BZ #15062]
14206 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14207 parts of result separately when argument is not close to line from
14208 -i to i and one part of argument is small.
14209 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14210 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14211 * math/libm-test.inc (cacos_test): Add more tests.
14212 (casin_test): Likewise.
14213 (casinh_test): Likewise.
14214 * sysdeps/i386/fpu/libm-test-ulps: Update.
14215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14216
c4e33b8d
DM
142172013-01-31 David S. Miller <davem@davemloft.net>
14218
14219 * po/de.po: Update from translation team.
14220
3b60b421
MK
142212013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14222
14223 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14224
bb931195
TS
142252013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14226
b5a5da23
TS
14227 * configure.in (_AC_PROG_CC_C89): New definition.
14228 * configure: Regenerate.
14229
bb931195
TS
14230 * configure.in (AC_PROG_CPP): New definition.
14231 * configure: Regenerate.
14232
8c53a12c
JM
142332013-01-23 Joseph Myers <joseph@codesourcery.com>
14234
14235 * debug/tst-backtrace.h: New file.
14236 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14237 (ret): Remove variable.
14238 (x): Likewise.
14239 (FAIL): Remove macro.
14240 (NO_INLINE): Likewise.
14241 (fn1): Use match function instead of strstr.
14242 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14243 (ret): Remove variable.
14244 (x): Likewise.
14245 (FAIL): Remove macro.
14246 (NO_INLINE): Likewise.
14247 (fn): Use match function instead of strstr.
14248 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14249 (ret): Remove variable.
14250 (x): Likewise.
14251 (FAIL): Remove macro.
14252 (NO_INLINE): Likewise.
14253 (handle_signal): Use match function instead of strstr.
14254 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14255 (ret): Remove variable.
14256 (x): Likewise.
14257 (FAIL): Remove macro.
14258 (NO_INLINE): Likewise.
14259 (handle_signal): Use match function instead of strstr.
14260
4858fa2a
RM
142612013-01-23 Roland McGrath <roland@hack.frob.com>
14262
14263 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14264
bae8e7f5
DM
142652013-01-23 David S. Miller <davem@davemloft.net>
14266
14267 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14268 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14269 argument of CAS if possible.
14270 * sysdeps/sparc/sparc64/bits/atomic.h
14271 (__arch_compare_and_exchange_val_32_acq): Likewise.
14272 (__arch_compare_and_exchange_val_64_acq): Likewise.
14273
9cbbc4ae
PT
142742013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14275
14276 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14277 * sysdeps/posix/ulimit.c: ... this.
92a601b8 14278 Include <limits.h>.
67b3f58c 14279 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 14280
5655a0b5
AC
142812013-01-23 Adam Conrad <adconrad@0c3.net>
14282
14283 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14284 (LDFLAGS-tst-array5): Likewise.
14285
052aff95
JM
142862013-01-23 Joseph Myers <joseph@codesourcery.com>
14287
14288 [BZ #15036]
14289 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14290 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14291 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14292 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14293
7c1e01aa
DM
142942013-01-21 David S. Miller <davem@davemloft.net>
14295
14296 * sysdeps/sparc/backtrace.c: New file.
14297 * sysdeps/sparc/sparc32/backtrace.h: New file.
14298 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14299 * sysdeps/sparc/sparc64/backtrace.h: New file.
14300 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14301 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14302 -funwind-tables.
14303
ab087e0a
AS
143042013-01-21 Andreas Schwab <schwab@suse.de>
14305
14306 [BZ #15020]
14307 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14308 closed its stdout.
14309
ed689c2f
AS
143102013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14311
14312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14313 "mpa2.h".
14314 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14315
31d470ac
JM
143162013-01-18 Joseph Myers <joseph@codesourcery.com>
14317 Mark Mitchell <mark@codesourcery.com>
14318 Tom de Vries <tom@codesourcery.com>
14319 Paul Pluzhnikov <ppluzhnikov@google.com>
14320
14321 * debug/tst-backtrace2.c: New file.
14322 * debug/tst-backtrace3.c: Likewise.
14323 * debug/tst-backtrace4.c: Likewise.
14324 * debug/tst-backtrace5.c: Likewise.
14325 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14326 (CFLAGS-tst-backtrace3.c): Likewise.
14327 (CFLAGS-tst-backtrace4.c): Likewise.
14328 (CFLAGS-tst-backtrace5.c): Likewise.
14329 (LDFLAGS-tst-backtrace2): Likewise.
14330 (LDFLAGS-tst-backtrace3): Likewise.
14331 (LDFLAGS-tst-backtrace4): Likewise.
14332 (LDFLAGS-tst-backtrace5): Likewise.
14333 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14334 tst-backtrace4 and tst-backtrace5.
14335
90567f30 143362013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
14337 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14338
14339 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14340 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14341 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14342 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14344 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14345 "+r" and remove output regs list as redundant. Add explicit inline
14346 asm to specify register of return val to work around compiler codegen
14347 bug. Remove (int) cast on return value. Add return type parameter to
14348 use in macro so that this macro does not truncate return value for
14349 64-bit values.
14350 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14351 pass to INTERNAL_VSYSCALL_NCS.
14352 (INLINE_VSYSCALL): Add 'long int' as return type to
14353 INTERNAL_VSYSCALL_NCS macro invocation.
14354 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14355 INTERNAL_VSYSCALL_NCS macro invocation.
14356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14357
d3b9ea61
SP
143582013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14359
0b57daeb
SP
14360 [BZ #14496]
14361 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14362 Fix application of SIMD FP exception mask.
14363
caa99d06
SP
14364 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14365 mp_no from a power of two.
14366 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14367 __mpexp_twomm1. Use __pow_mp.
14368
d3b9ea61
SP
14369 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14370 multiplication.
14371
1dbaee3c
DM
143722013-01-17 David S. Miller <davem@davemloft.net>
14373
14374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14375
728d7b43
JM
143762013-01-17 Joseph Myers <joseph@codesourcery.com>
14377
14378 [BZ #15023]
14379 * include/complex.h: Condition contents on [!_COMPLEX_H].
14380 (__kernel_casinhf): New prototype.
14381 (__kernel_casinh): Likewise.
14382 (__kernel_casinhl): Likewise.
14383 * math/Makefile (libm_calls): Add k_casinh.
14384 * math/k_casinh.c: New file.
14385 * math/k_casinhf.c: Likewise.
14386 * math/k_casinhl.c: Likewise.
14387 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14388 finite nonzero arguments.
14389 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14390 finite nonzero arguments.
14391 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14392 finite nonzero arguments.
14393 * math/s_casinh.c: Do not include <float.h>.
14394 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14395 * math/s_casinhf.c: Do not include <float.h>.
14396 (__casinhf): Move code for finite nonzero arguments to
14397 k_casinhf.c.
14398 * math/s_casinhl.c: Do not include <float.h>.
14399 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14400 redefine.
14401 (__casinhl): Move code for finite nonzero arguments to
14402 k_casinhl.c.
14403 * math/libm-test.inc (cacos_test): Add more tests.
14404 * sysdeps/i386/fpu/libm-test-ulps: Update.
14405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14406
2a26ef3a
PT
144072013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14408
14409 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14410 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14411 [!HAVE_MREMAP]: Remove [defined linux] case.
14412 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14413
a897655d
SP
144142013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14415
14416 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14417
881ebe89 144182013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
14419
14420 * elf/elf.h (R_386_SIZE32): New relocation.
14421 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14422 R_386_SIZE32.
14423 (elf_machine_rela): Likewise.
14424 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14425 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14426
59981e9b
JM
144272013-01-17 Joseph Myers <joseph@codesourcery.com>
14428
14429 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14430 (FP_FAST_FMA): Do not define.
14431 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14432 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14433 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14434 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14435 !_SOFT_FLOAT]: Likewise.
14436 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14437 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14438 value.
14439 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14440 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14441 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14442 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14443 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14444 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14445 file.
14446
cfa8054f
AS
144472013-01-16 Andreas Schwab <schwab@suse.de>
14448
14449 [BZ #14327]
14450 * include/stdlib.h (__mktemp): Add declaration.
14451 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14452 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14453
dd930cc5
SP
144542013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14455
881ebe89
SP
14456 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14457 definitions.
14458 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14459 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14460 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14461 definitions here.
14462 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14463 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14464 definitions.
14465 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14466 and ONE.
14467 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14468 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14469 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14470 definitions.
14471 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14472 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14473 definitions.
14474 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 14475
dd930cc5
SP
14476 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14477
c19a9f89
DM
144782013-01-15 David S. Miller <davem@davemloft.net>
14479
1aa61767
DM
14480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14481 trunc{,f} to libm-sysdep_routes.
14482 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14484 file.
14485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14487 file.
14488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14489 file.
14490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14492 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14493 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14494 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14495 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14496 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14497 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14498
c42d5e98
DM
14499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14500 nearbyint{,f} to libm-sysdep_routes.
14501 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14503 New file.
14504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14505 file.
14506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14507 New file.
14508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14509 file.
14510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14512 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14513 file.
14514 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14515 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14516 file.
14517 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14518 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14519 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14520
c19a9f89
DM
14521 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14522 libc_feholdexcept and libc_fesetenv.
14523
357679d2
MF
145242013-01-15 Mike Frysinger <vapier@gentoo.org>
14525
14526 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14527
65a82e3d
DM
145282013-01-14 David S. Miller <davem@davemloft.net>
14529
8b954ab9
DM
14530 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14531 (SPARC_ASM_VIS2_IFUNC): Likewise.
14532 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14534 use of 'siam' instruction.
14535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14536 Likewise.
14537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14538 Likewise.
14539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14540 Likewise.
14541 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14546 file.
14547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14548 file.
14549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14550 file.
14551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14552 file.
14553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14555 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14558 new VIS2 routines.
14559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14562 Likewise.
14563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14568 routines to libm-sysdep_routines.
14569 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14570
65a82e3d
DM
14571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14572 fdim/fdimf to libm-sysdep_routines.
14573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14574 file.
14575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14577 file.
14578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14581 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14582 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14583 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14584 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14585
e34ab705
SP
145862013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14587
2a91b573
SP
14588 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14589 to optimize copies.
14590
1066a534
SP
14591 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14594
e34ab705
SP
14595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14596 local variable MPTWO.
14597 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14598 Likewise.
14599
aba5e596
MF
146002013-01-13 Mike Frysinger <vapier@gentoo.org>
14601
14602 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14603 GLOB_NOESCAPE.
14604
e557e9e5
MF
146052013-01-13 Mike Frysinger <vapier@gentoo.org>
14606
14607 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14608
0428cec9
MF
146092013-01-13 Mike Frysinger <vapier@gentoo.org>
14610
14611 * manual/pattern.texi (glob_t): Document gl_flags.
14612 (glob64_t): Likewise.
14613
8794a964
DM
146142013-01-11 David S. Miller <davem@davemloft.net>
14615
66438c3f
RM
14616 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14617 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14618 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14619 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14620 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14621 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14622 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14623 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14624 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14625 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14626 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14627 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14628 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14629
4ae4244d
DM
14630 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14631 sparc V9 rather than using V8 code.
14632 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14633 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14634
8794a964
DM
14635 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14636 Move to...
14637 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14638 Here.
14639
6270516e
RM
146402013-01-11 Roland McGrath <roland@hack.frob.com>
14641
14642 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14643 not in the main loop.
14644 * configure: Regenerated.
14645
6a57d931
JM
146462013-01-11 Joseph Myers <joseph@codesourcery.com>
14647
14648 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14649 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14650 to just #else.
14651 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14652 [!__GLIBC_HAVE_LONG_LONG] case.
14653 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14654 condition to just #else.
14655 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14656 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14657 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14658 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14659 unconditional.
14660 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14661 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14662 #elif condition to just #else.
14663 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14664 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14665 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14666 #elif condition to just #else.
14667
0e8529e9
SE
146682013-01-11 Steve Ellcey <sellcey@mips.com>
14669
14670 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14671 (EF_MIPS_ARCH_64): Fix value.
14672 (EF_MIPS_ARCH_32R2): New.
14673 (EF_MIPS_ARCH_64R2): New.
14674
740b3dbe
L
146752013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14676
14677 * Makeconfig (+link-pie-before-libc): New.
14678 (+link-pie-after-libc): Likewise.
14679 (+link-pie-tests): Likewise.
14680 (+link-pie): Rewritten.
14681 (link-before-libc): Remove $(config-LDFLAGS).
14682 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14683 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14684 (config-LDFLAGS): Renamed to ...
14685 (rtld-LDFLAGS): This.
14686 (rtld-tests-LDFLAGS): New macro.
14687 (link-libc-rpath-link): Likewise.
14688 (link-libc-tests-rpath-link): Likewise.
14689 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14690 (link-libc): Prepand $(link-libc-rpath-link).
14691 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14692 (test-program-prefix): New macro.
14693 (test-via-rtld-prefix): Likewise.
14694 (test-program-cmd): Likewise.
14695 (host-test-program-cmd): Likewise.
14696 * Makefile ($(common-objpfx)testrun.sh): Replace
14697 $(run-program-prefix) with $(test-program-prefix).
14698 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14699 $(rtld-LDFLAGS).
14700 ($(common-objpfx)shlib.lds): Likewise.
14701 (build-module-helper): Likewise.
14702 ($(common-objpfx)format.lds): Likewise.
14703 * Rules (binaries-pie-tests): New.
14704 (binaries-pie-notests): Likewise.
14705 (binaries-pie): Rewritten.
14706 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14707 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14708 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14709 (make-test-out): Replace $(host-built-program-cmd) with
14710 $(host-test-program-cmd).
14711 * config.make.in (build-hardcoded-path-in-tests): New variable.
14712 * configure.in (--enable-hardcoded-path-in-tests): New configure
14713 option.
14714 (hardcoded_path_in_tests): New AC_SUBST.
14715 * configure: Regenerated.
14716 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14717 $(built-program-cmd) with $(test-program-cmd).
14718 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14719 (test_program_cmd): This.
14720 * elf/Makefile ($(objpfx)order.out): Run test with
14721 $(test-program-prefix).
14722 ($(objpfx)order2.out): Likewise.
14723 ($(objpfx)tst-initorder.out): Likewise.
14724 ($(objpfx)tst-initorder2.out): Likewise.
14725 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14726 $(test-program-cmd).
14727 ($(objpfx)tst-array1-static.out): Likewise.
14728 ($(objpfx)tst-array2.out): Likewise.
14729 ($(objpfx)tst-array3.out): Likewise.
14730 ($(objpfx)tst-array4.out): Likewise.
14731 ($(objpfx)tst-array5.out): Likewise.
14732 ($(objpfx)tst-array5-static.out): Likewise.
14733 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14734 $(test-program-cmd).
14735 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14736 $(run-program-prefix) with $(test-program-prefix).
14737 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14738 (test_program_prefix): This.
14739 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14740 $(run-program-prefix) with $(test-program-prefix).
14741 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14742 (test_program_prefix): This.
14743 * iconvdata/tst-tables.sh: Likewise.
14744 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14745 $(run-program-prefix) with $(test-program-prefix).
14746 ($(objpfx)tst-translit.out): Likewise.
14747 ($(objpfx)tst-gettext2.out): Likewise.
14748 ($(objpfx)tst-gettext4.out): Likewise.
14749 ($(objpfx)tst-gettext6.out): Likewise.
14750 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14751 (test_program_prefix): This.
14752 * intl/tst-gettext2.sh: Likewise.
14753 * intl/tst-gettext4.sh Likewise.
14754 * intl/tst-gettext6.sh: Likewise.
14755 * intl/tst-translit.sh: Likewise.
14756 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14757 with $(test-program-cmd).
14758 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14759 $(run-program-prefix) with $(test-program-prefix).
14760 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14761 (test_program_prefix): This.
14762 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14763 $(run-program-prefix) with $(test-program-prefix).
14764 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14765 (test_program_prefix): This.
14766 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14767 * posix/Makefile ($(objpfx)globtest.out): Replace
14768 $(run-via-rtld-prefix) and $(test-wrapper) with
14769 $(test-program-prefix) and $(test-via-rtld-prefix).
14770 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14771 $(test-program-prefix).
14772 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14773 $(host-test-program-cmd).
14774 (tst-spawn-ARGS): Likewise.
14775 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14776 $(test-program-prefix).
14777 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14778 (test_via_rtld_prefix): This.
14779 (test_wrapper): Renamed to ...
14780 (test_program_prefix): This.
14781 (run_program_prefix): Replaced by test_program_prefix.
14782 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14783 (test_program_prefix): This.
14784 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14785 with $(host-test-program-cmd).
14786 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14787 $(run-program-prefix) with $(test-program-prefix).
14788 ($(objpfx)tst-printf.out): Likewise.
14789 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14790 $(test-program-cmd).
14791 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14792 (test_program_prefix): This.
14793 * stdio-common/tst-unbputc.sh: Likewise.
14794 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14795 $(run-program-prefix) with $(test-program-prefix).
14796 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14797 (test_program_prefix): This.
14798 * string/Makefile ($(objpfx)tst-svc.out): Replace
14799 $(built-program-cmd) with $(test-program-cmd).
14800
c6fe55cf
AJ
148012013-01-11 Andreas Jaeger <aj@suse.de>
14802
14803 [BZ #15003]
14804 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14805 value. Sync with Linux 3.7.
14806
9e6919c8
DM
148072013-01-10 David S. Miller <davem@davemloft.net>
14808
14809 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14810 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14811 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14812
1c9f1a02
RM
148132013-01-10 Roland McGrath <roland@hack.frob.com>
14814
14815 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14816 never set.
14817 * configure: Regenerated.
14818
b9de2dde
DM
148192013-01-10 David S. Miller <davem@davemloft.net>
14820
14821 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14822 sparc V9 rather than using V8 code.
14823 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14824 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14825
e7f68ef4
RM
148262013-01-10 Roland McGrath <roland@hack.frob.com>
14827
14828 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14829 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14830 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14831 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14832 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14833 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14834 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14835 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14836 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14837 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14838 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14839 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14840 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14841 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14842 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14843 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14844 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14845 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14846 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14847 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14848 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14849 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14850 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14851 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14852 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14853 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14854 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14855
5a47cc9c
DM
148562013-01-10 David S. Miller <davem@davemloft.net>
14857
14858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14859
4cf8f209
L
148602013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14861
14862 * posix/Makefile (tests-static): New variable.
14863 (tests): Add $(tests-static).
14864 (tst-exec-static-ARGS): New variable.
14865 (tst-spawn-static-ARGS): Likewise.
14866 * posix/tst-exec-static.c: New file.
14867 * posix/tst-spawn-static.c: Likewise.
14868 * posix/tst-exec.c: Support run directly.
14869 * posix/tst-spawn.c: Likewise.
14870
fed0faa1
JM
148712013-01-10 Joseph Myers <joseph@codesourcery.com>
14872
828beb13
JM
14873 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14874 long.
14875 * math/bits/mathcalls.h (llrint): Likewise.
14876 (llround): Likewise.
14877 * stdlib/stdlib.h (struct drand48_data): Likewise.
14878 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14879 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14880 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14881 Likewise.
14882 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14883 Likewise.
14884 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14885 (elf_greg_t): Likewise.
14886 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14887 (__jmp_buf): Likewise.
14888 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14889 definitions.
14890 (llrint): Likewise, for all definitions.
14891 (llrintl): Likewise.
14892
fed0faa1
JM
14893 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14894 Remove [__GNUC__] condition.
14895 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14896 condition to just [__USE_ISOC99].
14897 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14898
1a20cb20
L
148992013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14900
14901 [BZ #14200]
14902 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14903 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14904 defined.
14905 (_POSIX_V6_ILP32_OFF32): Likewise.
14906 (_XBS5_ILP32_OFF32): Likewise.
14907 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14908 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14909
751b85f7
SP
149102013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14911
7490eb81
SP
14912 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14913
751b85f7
SP
14914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14915 doubles __mpexp_twomm1. Adjust usage.
14916 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14917 Remove.
14918
988197f0
AS
149192013-01-10 Andreas Schwab <schwab@suse.de>
14920
14921 [BZ #14964]
14922 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14923 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14924
e83d7298
DM
149252013-01-09 David S. Miller <davem@davemloft.net>
14926
034ed64b 14927 [BZ #15003]
e83d7298
DM
14928 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14929 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14930 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14931 TCP_FASTOPEN): Define.
14932 (tcp_repair_opt): New structure.
14933 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14934 enum values.
14935 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14936 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14937 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14938 (tcp_cookie_transactions): New structure.
14939
d5e0b9bd
AB
149402013-01-09 Anton Blanchard <anton@samba.org>
14941
14942 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14943 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14944 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14945 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14946
0c07e3ea
JM
149472013-01-09 Joseph Myers <joseph@codesourcery.com>
14948
14949 * include/features.h (__USE_ANSI): Remove.
14950
232f7002
RM
149512013-01-09 Roland McGrath <roland@hack.frob.com>
14952
ad98e30c
RM
14953 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14954
232f7002
RM
14955 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14956
950c99ca
SP
149572013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14958
b5792741
SP
14959 * sysdeps/s390/fpu/libm-test-ulps: Update.
14960
47cf2278
SP
14961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14962
950c99ca
SP
14963 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14964 (__acr): Likewise.
14965 (__cpy): Likewise.
14966 (norm): Likewise.
14967 (denorm): Likewise.
14968 (__mp_dbl): Likewise.
14969 (__dbl_mp): Likewise.
14970 (add_magnitudes): Likewise.
14971 (sub_magnitudes): Likewise.
14972 (__add): Likewise.
14973 (__sub): Likewise.
14974 (__mul): Likewise.
14975 (__inv): Likewise.
14976 (__dvd): Likewise.
14977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14978 (__acr): Likewise.
14979 (__cpy): Likewise.
14980 (norm): Likewise.
14981 (denorm): Likewise.
14982 (__mp_dbl): Likewise.
14983 (__dbl_mp): Likewise.
14984 (add_magnitudes): Likewise.
14985 (sub_magnitudes): Likewise.
14986 (__add): Likewise.
14987 (__sub): Likewise.
14988 (__mul): Likewise.
14989 (__inv): Likewise.
14990 (__dvd): Likewise.
14991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14992 (__acr): Likewise.
14993 (__cpy): Likewise.
14994 (norm): Likewise.
14995 (denorm): Likewise.
14996 (__mp_dbl): Likewise.
14997 (__dbl_mp): Likewise.
14998 (add_magnitudes): Likewise.
14999 (sub_magnitudes): Likewise.
15000 (__add): Likewise.
15001 (__sub): Likewise.
15002 (__mul): Likewise.
15003 (__inv): Likewise.
15004 (__dvd): Likewise.
15005
eede9df9
JM
150062013-01-08 Joseph Myers <joseph@codesourcery.com>
15007
15008 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15009 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15010 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15011 2 && __USE_EXTERN_INLINES]: Likewise.
15012
c40ea3d9
AJ
150132013-01-08 Andreas Jaeger <aj@suse.de>
15014
15015 [BZ# 14985]
15016 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15017 Remove.
15018 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15019 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15020
2ccdea26
AB
150212013-01-07 Anton Blanchard <anton@samba.org>
15022
15023 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15024 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15025 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15026 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15027 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15028 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15029 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15030 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15032 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15033 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15034 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15035 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15036 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15037 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15038 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15039 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15040 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15041 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15042 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15043 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15044 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15045 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15046 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15047 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15048 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15049 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15050 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15051 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15052 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15053 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15055 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15056 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15057 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15058 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15059 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15060 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15061 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15062 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15063 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15064 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15065 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15066
a9708fed
JM
150672013-01-07 Joseph Myers <joseph@codesourcery.com>
15068
375607b9
JM
15069 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15070 (__MALLOC_PMT): Likewise.
15071 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15072 [__GNUC__], only on [_LIBC].
15073 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15074 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15075 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15076 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15077 forward declaration.
15078 (realloc_hook_ini): Likewise.
15079 (memalign_hook_ini): Likewise.
15080 (__libc_memalign): Do not use __MALLOC_PMT in variable
15081 declaration.
15082 (__libc_valloc): Likewise.
15083 (__libc_pvalloc): Likewise.
15084 (__libc_calloc): Likewise.
15085 (__posix_memalign): Likewise.
15086
a9708fed
JM
15087 [BZ #14996]
15088 * math/s_casinh.c: Include <float.h>.
15089 (__casinh): Do not do computation with squaring and square root
15090 for large arguments.
15091 * math/s_casinhf.c: Include <float.h>.
15092 (__casinhf): Do not do computation with squaring and square root
15093 for large arguments.
15094 * math/s_casinhl.c: Include <float.h>.
15095 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15096 (__casinhl): Do not do computation with squaring and square root
15097 for large arguments.
15098 * math/libm-test.inc (casin_test): Add more tests.
15099 (casinh_test): Likewise.
15100 * sysdeps/i386/fpu/libm-test-ulps: Update.
15101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15102
afec409a
L
151032013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15104
15105 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15106 (__x86_64_raw_data_cache_size): Likewise.
15107 (__x86_64_data_cache_size_half): Likewise.
15108 (__x86_64_raw_data_cache_size_half): Likewise.
15109 (__x86_64_shared_cache_size): Likewise.
15110 (__x86_64_raw_shared_cache_size): Likewise.
15111 (__x86_64_shared_cache_size_half): Likewise.
15112 (__x86_64_raw_shared_cache_size_half): Likewise.
15113 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15114 to ...
15115 (__x86_data_cache_size): This.
15116 (__x86_64_raw_data_cache_size): Renamed to ...
15117 (__x86_raw_data_cache_size): This.
15118 (__x86_64_data_cache_size_half): Renamed to ...
15119 (__x86_data_cache_size_half): This.
15120 (__x86_64_raw_data_cache_size_half): Renamed to ...
15121 (__x86_raw_data_cache_size_half): This.
15122 (__x86_64_shared_cache_size): Renamed to ...
15123 (__x86_shared_cache_size): This.
15124 (__x86_64_raw_shared_cache_size): Renamed to ...
15125 (__x86_raw_shared_cache_size): This.
15126 (__x86_64_shared_cache_size_half): Renamed to ...
15127 (__x86_shared_cache_size_half): This.
15128 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15129 (__x86_raw_shared_cache_size_half): This.
15130 * sysdeps/x86_64/memcpy.S: Updated.
15131 * sysdeps/x86_64/memset.S: Likewise.
15132 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15133 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15134 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15135
0b3986d0
DM
151362013-01-04 David S. Miller <davem@davemloft.net>
15137
15138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15139
e47686e9
AS
151402013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15141
d643bac1
AS
15142 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15143 1 to avoid redefinition warning.
15144 (__USE_GNU): Don't define.
15145 (init_signaling_nan): Protoize.
15146
e47686e9
AS
15147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15148
b18decba
SP
151492013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15150
fffb407f
SP
15151 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15153 (__cpymn): Likewise.
15154 (norm): Remove commented code.
15155 (denorm): Likewise.
15156 (__mp_dbl): Likewise.
15157 (__inv): Likewise.
15158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15159 (__cpymn): Likewise.
15160 (norm): Remove commented code.
15161 (denorm): Likewise.
15162 (__mp_dbl): Likewise.
15163 (__inv): Likewise.
15164
b18decba
SP
15165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15166 mp_no value for 1.0 and 2.0.
15167 (norm): Use RADIXI instead of radixi.d.
15168 (denorm): Likewise.
15169 (__mul): Use 0.0 instead of zero.d.
15170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15171 mp_no value for 1.0 and 2.0.
15172 (norm): Use RADIXI instead of radixi.d.
15173 (denorm): Likewise.
15174 (__mul): Use 0.0 instead of zero.d.
15175
cdc1c96f
JM
151762013-01-04 Joseph Myers <joseph@codesourcery.com>
15177
15178 [BZ #14994]
15179 * math/s_casinh.c (__casinh): Reduce finite argument to first
15180 quadrant then set signs of results at the end.
15181 * math/s_casinhf.c (__casinhf): Likewise.
15182 * math/s_casinhl.c (__casinhl): Likewise.
15183 * math/libm-test.inc (casin_test): Add more tests.
15184 (casinh_test): Likewise.
15185 * sysdeps/i386/fpu/libm-test-ulps: Update.
15186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15187
302913e1
SP
151882013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15189
6420d207
SP
15190 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15191
a9e48ab4
SP
15192 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15193
b7837264
SP
15194 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15195 declarations.
15196 (denorm): Likewise.
15197 (__mp_dbl): Likewise.
15198 (__inv): Likewise.
15199
f8af25d2
SP
15200 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15201 and adjust the header comment.
15202
302913e1
SP
15203 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15204 variable name from declaration.
15205
5d7dd1ca
L
152062013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15207
15208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15209 Initialize COMMON_CPUID_INDEX_7 element.
15210 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15211 (CPUID_RTM): Likewise.
15212 (HAS_RTM): Likewise.
15213 (COMMON_CPUID_INDEX_7): New enum.
15214
2f5f40f4
AS
152152013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15216
15217 [BZ #14981]
15218 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15219 size is zero, record memory as freed.
15220
4056f4a0
AJ
152212013-01-03 Andreas Jaeger <aj@suse.de>
15222
15223 * po/ia.po: Add new Interlingua translation.
15224
ab15736f 152252012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
15226
15227 * locale/programs/localedef.c: Fix description of '--posix' flag.
15228
568035b7
JM
152292013-01-02 Joseph Myers <joseph@codesourcery.com>
15230
e6898b8d
JM
15231 * NEWS: Update dates in second copyright notice.
15232 * README: Update copyright dates in example.
15233 * manual/libc.texinfo: Update copyright dates.
15234 * scripts/test-installation.pl: Update copyright date in --version
15235 output.
15236
0e2f9562
JM
15237 * hurd/ctty-input.c: Fix copyright notice formatting.
15238 * hurd/ctty-output.c: Likewise.
15239 * hurd/dtable.c: Likewise.
15240 * hurd/hurd-raise.c: Likewise.
15241 * hurd/hurdprio.c: Likewise.
15242 * hurd/msgportdemux.c: Likewise.
15243 * misc/sys/file.h: Likewise.
15244 * misc/sys/ioctl.h: Likewise.
15245 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15246 * sysdeps/mach/hurd/chdir.c: Likewise.
15247 * sysdeps/mach/hurd/fchdir.c: Likewise.
15248 * sysdeps/mach/hurd/rename.c: Likewise.
15249 * sysdeps/mach/hurd/rmdir.c: Likewise.
15250 * sysdeps/mach/hurd/seekdir.c: Likewise.
15251 * sysdeps/mach/hurd/setsid.c: Likewise.
15252 * sysdeps/posix/wait3.c: Likewise.
15253
568035b7
JM
15254 * All files with FSF copyright notices: Update copyright dates
15255 using scripts/update-copyrights.
15256 * intl/plural.c: Regenerated.
15257 * locale/programs/charmap-kw.h: Likewise.
15258 * locale/programs/locfile-kw.h: Likewise.
15259
da08f647
SP
152602013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15261
0f5477af
SP
15262 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15263 four values.
15264
44e0d4c2
SP
15265 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15266 calculation loop and add branch prediction.
15267
4d55b4e5
SP
15268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15269 check access beyond bounds of m1np.
15270
da08f647
SP
15271 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15272 MPTWO.
15273 (__inv): Remove local variable MPTWO to use the global
15274 constant.
15275 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15276 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15277 variable MPTWO.
15278 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15279 MP3HALFS static const.
15280
8e051029
DM
152812013-01-01 David S. Miller <davem@davemloft.net>
15282
15283 * po/ca.po: Update from translation team.
15284
f4cf5f2d
JM
152852013-01-01 Joseph Myers <joseph@codesourcery.com>
15286
15287 * scripts/update-copyrights: New file.
15288 * Makeconfig: Reformat copyright notice.
15289 * ctype/ctype.h: Likewise.
15290 * debug/swprintf_chk.c: Likewise.
15291 * elf/dl-cache.c: Likewise.
15292 * elf/dl-debug.c: Likewise.
15293 * elf/dl-object.c: Likewise.
15294 * grp/initgroups.c: Likewise.
15295 * hurd/Makefile: Likewise.
15296 * hurd/hurd/signal.h: Likewise.
15297 * hurd/hurdfault.c: Likewise.
15298 * hurd/hurdioctl.c: Likewise.
15299 * hurd/hurdlookup.c: Likewise.
15300 * hurd/intr-msg.c: Likewise.
15301 * iconv/gconv_open.c: Likewise.
15302 * libio/swprintf.c: Likewise.
15303 * locale/lc-ctype.c: Likewise.
15304 * locale/nl_langinfo.c: Likewise.
15305 * mach/Machrules: Likewise.
15306 * mach/Makefile: Likewise.
15307 * malloc/obstack.h: Likewise.
15308 * manual/Makefile: Likewise.
15309 * manual/tsort.awk: Likewise.
15310 * misc/bits/stab.def: Likewise.
15311 * nis/nis_print_group_entry.c: Likewise.
15312 * nis/nis_table.c: Likewise.
15313 * nis/nss_compat/compat-pwd.c: Likewise.
15314 * nis/nss_compat/compat-spwd.c: Likewise.
15315 * po/Makefile: Likewise.
15316 * posix/fnmatch.c: Likewise.
15317 * posix/regex.h: Likewise.
15318 * resolv/Makefile: Likewise.
15319 * resolv/nss_dns/dns-network.c: Likewise.
15320 * resolv/res_hconf.c: Likewise.
15321 * scripts/gen-sorted.awk: Likewise.
15322 * soft-fp/soft-fp.h: Likewise.
15323 * stdio-common/printf.h: Likewise.
15324 * stdlib/monetary.h: Likewise.
15325 * stdlib/random.c: Likewise.
15326 * stdlib/random_r.c: Likewise.
15327 * sysdeps/generic/Makefile: Likewise.
15328 * sysdeps/gnu/Makefile: Likewise.
15329 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15330 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15331 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15332 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15333 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15334 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15336 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15337 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15338 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15339 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15340 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15341 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15342 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15343 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15344 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15345 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15347 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15348 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15349 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15350 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15351 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15352 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15353 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15354 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15355 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15356 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15357 * sysdeps/mach/hurd/errnos.awk: Likewise.
15358 * sysdeps/mach/hurd/fork.c: Likewise.
15359 * sysdeps/mach/hurd/getcwd.c: Likewise.
15360 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15361 * sysdeps/mach/hurd/mmap.c: Likewise.
15362 * sysdeps/mach/hurd/utimes.c: Likewise.
15363 * sysdeps/mach/hurd/xmknod.c: Likewise.
15364 * sysdeps/posix/profil.c: Likewise.
15365 * sysdeps/posix/readdir_r.c: Likewise.
15366 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15367 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15368 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15369 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15371 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15372 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15373 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15375 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15376 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15377 * sysdeps/pthread/lio_listio.c: Likewise.
15378 * sysdeps/sparc/dl-procinfo.h: Likewise.
15379 * sysdeps/unix/i386/sysdep.S: Likewise.
15380 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15381 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15382 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15383 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15385 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15386 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15387 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15388 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15389 * sysdeps/wordsize-32/divdi3.c: Likewise.
15390 * time/sys/time.h: Likewise.
15391 * wcsmbs/Makefile: Likewise.
15392
0549fbba
DM
153932013-01-01 David S. Miller <davem@davemloft.net>
15394
a141f1a7
DM
15395 * po/fr.po: Update from translation team.
15396
0549fbba
DM
15397 * catgets/gencat.c: Update copyright year.
15398 * csu/version.c: Likewise.
15399 * debug/catchsegv.sh: Likewise.
15400 * debug/pcprofiledump.c: Likewise.
15401 * debug/xtrace.sh: Likewise.
15402 * elf/ldconfig.c: Likewise.
15403 * elf/ldd.bash.in: Likewise.
15404 * elf/pldd.c: Likewise.
15405 * elf/sotruss.ksh: Likewise.
15406 * elf/sprof.c: Likewise.
15407 * iconv/iconv_prog.c: Likewise.
15408 * iconv/iconvconfig.c: Likewise.
15409 * locale/programs/locale.c: Likewise.
15410 * locale/programs/localedef.c: Likewise.
15411 * login/programs/pt_chown.c: Likewise.
15412 * malloc/memusage.sh: Likewise.
15413 * malloc/memusagestat.c: Likewise.
15414 * malloc/mtrace.pl: Likewise.
15415 * nscd/nscd.c: Likewise.
15416 * nss/getent.c: Likewise.
15417 * nss/makedb.c: Likewise.
15418 * posix/getconf.c: Likewise.
15419
18ea052c
SP
154202012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15421
15422 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15423 numbers.
15424
9c89fca6
MF
154252012-12-30 Mike Frysinger <vapier@gentoo.org>
15426
15427 * math/bits/mathcalls.h (modf): Use __nonnull.
15428
085ec079
SP
154292012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15430
15431 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15432 (split): Use macro CN instead of the bare value.
15433 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15434 could be used.
15435 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15436 instead of the bare value.
15437 (power1): Likewise.
15438
6d9f97e1
SP
154392012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15440
d63f73be
SP
15441 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15442 __ATAN_TWOM.
15443 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15444
6d9f97e1
SP
15445 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15446 their values.
15447 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15448 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15449 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15450 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15451
4c4febf5
AJ
154522012-12-28 Andreas Jaeger <aj@suse.de>
15453
af5843ef
AJ
15454 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15455 values are from Linux 3.7.
15456
4c4febf5
AJ
15457 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15458 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15459
99136f82
SP
154602012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15461
2f216c3c 15462 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
15463 TRUE case.
15464
99136f82
SP
15465 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15466 (norm): Likewise.
15467 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15468 variables with preprocessor constants.
15469 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15470 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15471 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15472
7fffbdff
BH
154732012-12-27 Bruno Haible <bruno@clisp.org>
15474
15475 [BZ #14317]
15476 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15477 only if needed.
15478
b76eb5f0
SP
154792012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15480
31a7fe5c
SP
15481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15482 and use variable directly.
15483 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15484
b76eb5f0
SP
15485 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15486 MPONE.
15487 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15488 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15489 variable MPONE.
15490 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15491 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15492 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15493 include directive. Remove local variable MPONE.
15494 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15495 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15496 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15497
2c8bfe7d
DM
154982012-12-25 David S. Miller <davem@davemloft.net>
15499
15500 * version.h (RELEASE): Set to "development".
15501 (VERSION): Set to "2.17.90".
15502 * NEWS: Add 2.18 section.
15503
147d03b0
DM
155042012-12-21 David S. Miller <davem@davemloft.net>
15505
15506 * po/hr.po: Update from translation team.
15507
a8ebb2b9
AK
155082012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15509
15510 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15511
95b4f1b6
SE
155122012-12-19 Steve Ellcey <sellcey@mips.com>
15513
b2d94007 15514 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 15515
cedb2a90
MS
155162012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15517
15518 * manual/contrib.texi (Contributors): Spelling correction.
15519
bbf527d6
DM
155202012-12-15 David S. Miller <davem@davemloft.net>
15521
15522 * po/ru.po: Update from translation team.
15523
bc38c906
DM
155242012-12-13 David S. Miller <davem@davemloft.net>
15525
85429b1a
DM
15526 * NEWS: Mention IFUNC testsuite enhancements.
15527
d283e353
DM
15528 * po/pl.po: Update from translation team.
15529 * po/bg.po: Likewise.
15530
bc38c906
DM
15531 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15532 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15533
a181b0d7
DM
155342012-12-11 David S. Miller <davem@davemloft.net>
15535
4641d57e
DM
15536 * po/sv.po: Update from translation team.
15537
f7bc6495
DM
15538 * po/vi.po: Update from translation team.
15539
6fc9048f
DM
15540 * po/cs.po: Update from translation team.
15541
a181b0d7
DM
15542 * po/de.po: Update from translation team.
15543 * po/eo.po: Likewise.
15544 * po/nl.po: Likewise.
15545
f70bfe80
SP
155462012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15547
3c8b4190
SP
15548 [BZ #14246]
15549 * manual/argp.texi (Argp Helper Functions): Move node to follow
15550 Argp Parsing State.
15551
f70bfe80
SP
15552 [BZ #14872]
15553 * manual/conf.texi (Limits on File System Capacity): Mention if
15554 terminating null is included in the max size.
15555
188f0adf
AJ
155562012-12-10 Andreas Jaeger <aj@suse.de>
15557
15558 * po/cs.po: Update from translation team.
15559
56e7d3ad
SP
155602012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15561
15562 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15563 void pointer and cast to uintptr_t.
15564 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15565 path.
15566 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15567 * sysdeps/s390/s390-64/memset.S: Likewise.
15568
76f2d2ea 155692012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
15570
15571 [BZ #14833]
15572 * menual/message.texi (Message Translation): Fix typos.
15573 (Helper programs for gettext): Likewise.
15574
67cbf9a2
AS
155752012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15576
15577 [BZ #14898]
15578 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15579 Change to -1.
15580
682d0e9a
DM
155812012-12-07 David S. Miller <davem@davemloft.net>
15582
15583 * po/libc.pot: Update.
15584
573cd484
RH
155852012-12-07 Richard Henderson <rth@redhat.com>
15586
7e9da188 15587 [BZ #10114]
573cd484
RH
15588 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15589 normal/normal case to before the switch.
15590 (_FP_DIV): Likewise.
15591
e933a943
MF
155922012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15593 Mike Frysinger <vapier@gentoo.org>
15594
15595 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15596 check for __NR_fadvise64_64.
15597
82123268
CM
155982012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15599
15600 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15601 0, not just to plain "0" as a statement.
15602 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15603 with cw.
15604
d9814526
JM
156052012-12-06 Joseph Myers <joseph@codesourcery.com>
15606
15607 * NEWS: Use sourceware.org in Bugzilla URL.
15608
7728c574
SP
156092012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15610
f16946dd
SP
15611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15612 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15613
5704bbcb
SP
15614 * stdio-common/tst-put-error.c (do_test): Add newline to the
15615 padded test to ensure flush.
15616
17aa0516
JL
156172012-12-05 Jeff Law <law@redhat.com>
15618
15619 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15620
363313b5
JM
156212012-12-05 Joseph Myers <joseph@codesourcery.com>
15622
effbd42a
JM
15623 * README: Don't refer to ports add-on as distributed separately.
15624 Mention AArch64 in list of systems supported in the ports add-on.
15625
87600365
JM
15626 * LICENSES: Add more non-FSF copyright and license notices.
15627
a0d7066a
JM
15628 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15629 ((unused)).
15630
66ca5a5b
JM
15631 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15632
363313b5
JM
15633 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15634 10000 as width of padded output.
15635
b37984ad
JM
156362012-12-04 Joseph Myers <joseph@codesourcery.com>
15637
9003570a
JM
15638 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15639
b37984ad
JM
15640 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15641 variable LX with __attribute__ ((unused)).
15642 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15643 Likewise.
15644 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15645 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15646 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15647 with __attribute__ ((unused)).
15648
c8df52ec
DM
156492012-12-04 David S. Miller <davem@abraco.davemloft.net>
15650
15651 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15652
b3b099af
JM
156532012-12-04 Joseph Myers <joseph@codesourcery.com>
15654
c33aa6e3
JM
15655 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15656 (CFLAGS-nldbl-acos.c): New variable.
15657 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15658 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15659 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15660 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15661 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15662 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15663 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15664 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15665 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15666 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15667 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15668 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15669 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15670 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15671 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15672 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15673 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15674 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15675 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15676 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15677 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15678 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15679 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15680 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15681 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15682 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15683 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15684 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15685 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15686 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15687 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15688 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15689 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15690 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15691 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15692 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15693 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15694 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15695 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15696 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15697 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15698 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15699 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15700 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15701 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15702 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15703 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15704 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15705 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15706 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15707 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15708 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15709 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15710 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15711 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15712 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15713 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15714 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15715 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15716 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15717 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15718 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15719 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15720 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15721 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15722 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15723 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15724 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15725 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15726 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15727 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15728 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15729 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15730 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15731 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15732 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15733 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15734 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15735 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15736 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15737 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15738 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15739 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15740 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15741 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15742 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15743 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15744 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15745 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15746 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15747 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15748 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15749 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15750 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15751 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15752 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15753 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15754
20f0018d
JM
15755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15756 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15757
b3b099af
JM
15758 [BZ #14914]
15759 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15760 whole low double instead of just low 47 bits when splitting values
15761 into two parts.
15762
029264d1
AM
157632012-12-03 Allan McRae <allan@archlinux.org>
15764
15765 * manual/stdio.texi (Predefined Printf Handlers): Remove
15766 @hsep and @vsep usage.
15767
c9d6789e
MF
157682012-12-03 Mike Frysinger <vapier@gentoo.org>
15769
15770 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15771 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15772
4b7634a5
JL
157732012-12-03 Jeff Law <law@redhat.com>
15774
15775 * time/sys/time.h (settimeofday): Do not mark TV argument
15776 as __nonnull.
15777
eb6cbd24
MF
157782012-12-01 Mike Frysinger <vapier@gentoo.org>
15779
15780 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15781 when currently writing and seek to current position when not.
15782 * libio/Makefile (tests): Remove bug-fclose1.
15783 * libio/bug-fclose1.c: Delete.
15784
f638872a
JM
157852012-12-01 Joseph Myers <joseph@codesourcery.com>
15786
15787 * manual/arith.texi (feenableexcept): Fix typo.
15788 (fedisableexcept): Likewise.
15789
48085d14
RM
157902012-11-30 Roland McGrath <roland@hack.frob.com>
15791
15792 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15793 second, differently-typed declaration, rather than a cast.
15794
1a538b9f
SP
157952012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15796
15797 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15798 * include/rpc/svc.h: ... here.
15799
d07f2ff1 158002012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15801
15802 [BZ #13013]
15803 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15804 depending n and resplen2 to catch cases where answer
15805 equals answerp2.
15806
c93ec1f0
CD
158072012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15808
15809 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15810 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15811
37db69de
MF
158122012-11-29 Mike Frysinger <vapier@gentoo.org>
15813
15814 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15815
e10c4e4f
RM
158162012-11-29 Roland McGrath <roland@hack.frob.com>
15817
15818 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15819
2af1b328
JL
158202012-11-28 Jeff Law <law@redhat.com>
15821
15822 [BZ #13761]
15823 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15824 dataset_temporary. Track alloca usage into alloca_used.
15825 If dataset is large allocate and release it via malloc/free.
15826
111db5b1
FW
158272012-06-04 Florian Weimer <fweimer@redhat.com>
15828
f06cc227 15829 [BZ #14197]
111db5b1
FW
15830 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15831
dd694abd
DM
158322012-11-28 David S. Miller <davem@davemloft.net>
15833
15834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15835
9984dd01
JM
158362012-11-28 Joseph Myers <joseph@codesourcery.com>
15837
15838 [BZ #14803]
15839 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15840 of pi/2 rounded to nearest to 64 bits.
15841 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15842 nearest to 64 bits.
15843 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15844 bits.
15845
14bc93a9
JL
158462012-11-28 Jeff Law <law@redhat.com>
15847 Martin Osvald <mosvald@redhat.com>
15848
15849 [BZ #14889]
15850 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15851 * sunrpc/svc.c: Include time.h.
15852 (__svc_accept_failed): New function.
15853 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15854 any reason other than EINTR, call __svc_accept_failed.
15855 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15856 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15857
e3c6aa3a
AS
158582012-11-28 Andreas Schwab <schwab@suse.de>
15859
15860 * scripts/abilist.awk: Also handle indirect functions in .opd
15861 section.
15862
1bead169
JM
158632012-11-28 Joseph Myers <joseph@codesourcery.com>
15864
15865 [BZ #13881]
15866 * sysdeps/x86/fpu/powl_helper.c: New file.
15867 * sysdeps/x86/fpu/Makefile: Likewise.
15868 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15869 (p3): New object.
15870 (__ieee754_powl): Use __powl_helper for finite arguments except
15871 integer exponents below 8.
15872 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15873 (p3): New object.
15874 (__ieee754_powl): Use __powl_helper for finite arguments except
15875 integer exponents below 8.
15876 * math/libm-test.inc (pow_test): Add more tests and enable some
15877 previously disabled tests.
15878 * sysdeps/i386/fpu/libm-test-ulps: Update.
15879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15880
0817d63d
SP
158812012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15882 Carlos O'Donell <carlos_odonell@mentor.com>
15883
15884 * nss/makedb.c (is_prime): Assert that input is odd and greater
15885 than 4. Note that fact in a comment too.
15886 (next_prime): Add 4 to input.
15887
de2fd463
SP
158882012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15889
15890 [BZ #11741]
15891 * libio/Makefile (tests): Add test case tst-fwrite-error.
15892 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15893 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15894 * libio/tst-fwrite-error.c: New test case.
15895
c515fb51
L
158962012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15897
15898 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15899 before casting to void *.
15900 * include/libc-internal.h (__pointer_type): New macro.
15901 (__integer_if_pointer_type_sub): Likewise.
15902 (__integer_if_pointer_type): Likewise.
15903 (cast_to_integer): Likewise.
15904 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15905 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15906 before casting to atomic64_t.
15907 (atomic_exchange_acq): Likewise.
15908 (__arch_exchange_and_add_body): Likewise.
15909 (__arch_add_body): Likewise.
15910 (atomic_add_negative): Likewise.
15911 (atomic_add_zero): Likewise.
15912
4cf77aa9
JM
159132012-11-26 Joseph Myers <joseph@codesourcery.com>
15914
15915 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15916 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15917 (add_fdes): Likewise.
15918 (linear_search_fdes): Likewise.
15919 (binary_search_unencoded_fdes): Likewise.
15920
d260b3b4
AS
159212012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15922
15923 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15924
67060746
AC
159252012-11-24 Adam Conrad <adconrad@0c3.net>
15926
15927 * configure.in: Autodetect C++ header directories.
15928 * configure: Regenerated.
15929
800938a1
MF
159302012-11-23 Mike Frysinger <vapier@gentoo.org>
15931
15932 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15933
4e6e34e6
AS
159342012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15935
15936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15937
7c7feb47
JM
159382012-11-22 Joseph Myers <joseph@codesourcery.com>
15939
7184dcdf
JM
15940 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15941 LDBL_MANT_DIG == 106]: Disable some tests.
15942 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15943 Likewise.
15944 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15945 Likewise.
15946
0a42601f
JM
15947 [BZ #14871]
15948 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15949 input for small inputs. Return +/- pi/2 for large inputs.
15950 * math/libm-test.inc (atan_test): Add more tests.
15951
79c9b9fe
JM
15952 * sysdeps/generic/unwind-dw2-fde-glibc.c
15953 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15954 __attribute__ ((unused)).
15955
c60d3bf2
JM
15956 [BZ #14645]
15957 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15958 x * y if x and y are nonzero and z is zero.
15959
ef1e0867
JM
15960 [BZ #14811]
15961 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15962 nonzero exponents with absolute value below 0x1p-117 to +/-
15963 0x1p-117.
15964
1468ded3
JM
15965 [BZ #14869]
15966 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15967 up arguments below 2**-450, not just those below 2**-500.
15968 * math/libm-test.inc (hypot_test): Add another test.
15969
8e27e3cc
JM
15970 [BZ #14868]
15971 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15972 Return a+b for ratio over 2**120, not 2**60.
15973 * math/libm-test.inc (hypot_test): Add another test.
15974
c9c0279b
JM
15975 * math/libm-test.inc (clog_test): Use
15976 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15977 (clog10_test): Likewise.
15978
7c7feb47
JM
15979 [BZ #6778]
15980 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15981
fff1530e
AS
159822012-11-22 Andreas Schwab <schwab@suse.de>
15983
15984 * sysdeps/i386/fpu/libm-test-ulps: Update.
15985
94558d30
PT
159862012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15987
15988 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15989 printf output with newline.
15990
7e1be741
L
159912012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15992
6bfea974
L
15993 [BZ #14865]
15994 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15995 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15996 -z nodlopen, -z initfirst and -z execstack support.
15997 * configure: Regenerated.
15998
7e1be741
L
15999 * elf/elf.h (DF_1_NODIRECT): New macro.
16000 (DF_1_IGNMULDEF): Likewise.
16001 (DF_1_NOKSYMS): Likewise.
16002 (DF_1_NOHDR): Likewise.
16003 (DF_1_EDITED): Likewise.
16004 (DF_1_NORELOC): Likewise.
16005 (DF_1_SYMINTPOSE): Likewise.
16006 (DF_1_GLOBAUDIT): Likewise.
16007 (DF_1_SINGLETON): Likewise.
16008 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16009 DT_1_SUPPORTED_MASK bits.
16010 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16011
105ce2ce
CD
160122012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16013
16014 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16015
123be9de
TS
160162012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16017
d072f3f7
TS
16018 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16019 macro.
16020
123be9de
TS
16021 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16022 (sendmmsg): Move declarations...
16023 * socket/sys/socket.h: ... here.
16024 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16025 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16026 include it from...
16027 * socket/recvmmsg.c: ... this new file.
16028 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16029 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16030 definition of __sendmmsg hidden.
16031 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16032 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16033 Move ENOSYS stub into and include it from...
16034 * socket/sendmmsg.c: ... this new file.
16035 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16036 (sysdep_routines): Move recvmmsg and sendmmsg...
16037 * socket/Makefile (routines): ... here.
16038 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16039 (GLIBC_PRIVATE): Add __sendmmsg.
16040 * include/sys/socket.h (__sendmmsg): Add declarations.
16041 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16042 sendmmsg.
16043
cf9a5d18
JM
160442012-11-20 Joseph Myers <joseph@codesourcery.com>
16045
16046 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16047 variable I1 with __attribute__ ((unused)).
16048 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16049
ecd4caf9
JM
160502012-11-19 Joseph Myers <joseph@codesourcery.com>
16051
be14d48f
JM
16052 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16053 DUMMY variables with __attribute__ ((unused)).
16054
ecd4caf9
JM
16055 * bits/byteswap.h: Include <bits/types.h>.
16056 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16057
986cab95
PT
160582012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16059
16060 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16061 string_t. Do not manually set errno.
16062 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16063 length with __strnlen. Make sure to both set errno and return it on
16064 failure.
16065
6d33cc9d
DM
160662012-11-19 David S. Miller <davem@davemloft.net>
16067
16068 With help from Joseph Myers.
16069 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16070 very large arguments properly.
16071 * math/libm-test.inc (atan_test): New tests.
16072 (atan2_test): New tests.
16073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16075
ee663277
JM
160762012-11-19 Joseph Myers <joseph@codesourcery.com>
16077
877f2d8e
JM
16078 [BZ #14856]
16079 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16080 Define to 3.
16081
116fc08a
JM
16082 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16083 [POSIX] (EADDRNOTAVAIL): Likewise.
16084 [POSIX] (EAFNOSUPPORT): Likewise.
16085 [POSIX] (EALREADY): Likewise.
16086 [POSIX] (ECONNABORTED): Likewise.
16087 [POSIX] (ECONNREFUSED): Likewise.
16088 [POSIX] (ECONNRESET): Likewise.
16089 [POSIX] (EDESTADDRREQ): Likewise.
16090 [POSIX] (EDQUOT): Likewise.
16091 [POSIX] (EHOSTUNREACH): Likewise.
16092 [POSIX] (EIDRM): Likewise.
16093 [POSIX] (EISCONN): Likewise.
16094 [POSIX] (ELOOP): Likewise.
16095 [POSIX] (EMULTIHOP): Likewise.
16096 [POSIX] (ENETDOWN): Likewise.
16097 [POSIX] (ENETUNREACH): Likewise.
16098 [POSIX] (ENOBUFS): Likewise.
16099 [POSIX] (ENODATA): Likewise.
16100 [POSIX] (ENOLINK): Likewise.
16101 [POSIX] (ENOMSG): Likewise.
16102 [POSIX] (ENOPROTOOPT): Likewise.
16103 [POSIX] (ENOSR): Likewise.
16104 [POSIX] (ENOSTR): Likewise.
16105 [POSIX] (ENOTCONN): Likewise.
16106 [POSIX] (ENOTSOCK): Likewise.
16107 [POSIX] (EOPNOTSUPP): Likewise.
16108 [POSIX] (EOVERFLOW): Likewise.
16109 [POSIX] (EPROTO): Likewise.
16110 [POSIX] (EPROTONOSUPPORT): Likewise.
16111 [POSIX] (EPROTOTYPE): Likewise.
16112 [POSIX] (ESTALE): Likewise.
16113 [POSIX] (ETIME): Likewise.
16114 [POSIX] (ETXTBSY): Likewise.
16115 [POSIX] (EWOULDBLOCK): Likewise.
16116 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16117 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16118 [POSIX] (SEEK_CUR): Likewise.
16119 [POSIX] (SEEK_END): Likewise.
16120 [POSIX || UNIX98] (mode_t): Do not require.
16121 [POSIX] (off_t): Likewise.
16122 [POSIX] (pid_t): Likewise.
16123 [POSIX] (sys/stat.h): Do not allow header.
16124 [POSIX] (unistd.h): Likewise.
16125 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16126 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16127 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16128 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16129 require.
16130 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16131 sigevent): Specify elements.
16132 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16133 entry.
16134 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16135 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16136
a483863f
JM
16137 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16138 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16139 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16140 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16141 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16142 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16143 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16144 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16145 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16146 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16147 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16148 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16149 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16150 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16151 Likewise.
16152 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16153 Likewise.
16154 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16155 Likewise.
16156 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16157 Likewise.
16158 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16159 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16160 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16161 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16162 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16163 Specify lower bound on value.
16164 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16165 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16166 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16167 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16168 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16169 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16170 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16171 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16172 value.
16173 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16174 as optional.
16175 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16176 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16177 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16178 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16179 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16180 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16181 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16182 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16183 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16184 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16185 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16186 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16187 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16188 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16189 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16190 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16191 entry.
16192 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16193 optional.
16194 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16195 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16196 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16197 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16198 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16199 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16200 Likewise.
16201 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16202 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16203 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16204 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16205 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16206 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16207 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16208 as optional.
16209 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16210 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16211 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16212 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16213 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16214 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16215 specify as optional.
16216 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16217 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16218 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16219 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16220 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16221 [XPG3] (NL_LANGMAX): Likewise.
16222 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16223 [POSIX || XPG3] (NL_NMAX): Likewise.
16224 [POSIX || XPG3] (NL_SETMAX): Likewise.
16225 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16226 [XPG3] (NZERO): Likewise.
16227 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16228 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16229 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16230 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16231 (REG_ERANGE): Expect.
16232 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16233 optional-constant.
16234 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16235 Use (void) in prototype.
16236 [POSIX] (*_t): Allow.
16237 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16238 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16239 (WRDE_BADVAL): Expect.
16240
5ba924e3
JM
16241 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16242 expect.
16243 [XPG3 || XPG4] (O_RSYNC): Likewise.
16244 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16245 Likewise.
16246 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16247 [XPG3 || XPG4] (sigqueue): Likewise.
16248 [XPG3 || XPG4] (sigtimedwait): Likewise.
16249 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16250 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16251 [XPG3 || XPG4] (vsnprintf): Likewise.
16252 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16253 Likewise.
16254 [XPG3 || XPG4] (blksize_t): Likewise.
16255 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16256 Likewise.
16257 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16258 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16259 [XPG3 || XPG4] (struct itimerspec): Likewise.
16260 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16261 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16262 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16263 [XPG3 || XPG4] (clockid_t): Likewise.
16264 [XPG3 || XPG4] (timer_t): Likewise.
16265 [XPG3 || XPG4] (clock_getres): Likewise.
16266 [XPG3 || XPG4] (clock_gettime): Likewise.
16267 [XPG3 || XPG4] (clock_settime): Likewise.
16268 [XPG3 || XPG4] (nanosleep): Likewise.
16269 [XPG3 || XPG4] (timer_create): Likewise.
16270 [XPG3 || XPG4] (timer_delete): Likewise.
16271 [XPG3 || XPG4] (timer_gettime): Likewise.
16272 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16273 [XPG3 || XPG4] (timer_settime): Likewise.
16274 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16275 [XPG3 || XPG4] (getlogin_r): Likewise.
16276 [XPG3 || XPG4] (pread): Likewise.
16277 [XPG3 || XPG4] (pthread_atfork): Likewise.
16278 [XPG3 || XPG4] (pwrite): Likewise.
16279
ee663277
JM
16280 [BZ #14835]
16281 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16282 <bits/siginfo.h>.
16283
942caa16
PT
162842012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16285
e19af380
PT
16286 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16287 finalizing MALLSTREAM.
16288
942caa16
PT
16289 * sysdeps/mach/hurd/syncfs.c: New file.
16290
cfde9b46
SP
162912012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16292
16293 [BZ #14719]
16294 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16295 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16296 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16297 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16298 (_nss_dns_gethostbyname4_r): Likewise.
16299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16300 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16301
f6da27e5
PH
163022012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16303
16304 [BZ #13763]
16305 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16306
6665d4a2
SM
163072012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16308
1f51ee92
SM
16309 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16310 * elf/cache.c (print_entry): Print ",AArch64" for
16311 FLAG_AARCH64_LIB64
16312
6665d4a2
SM
16313 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16314 * elf/cache.c (print_entry): Print ",hard-float" for
16315 FLAG_ARM_LIBHF.
16316
05b227bd
DM
163172012-11-18 David S. Miller <davem@davemloft.net>
16318
16319 With help from Joseph Myers.
16320 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16321 cutoff to 2**-13.
16322 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16323 cutoff to 2**-25.
16324 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16325 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16326 small.
16327 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16328 * math/libm-test.inc (y0_test): New tests.
16329 (y1_test): New tests.
16330 * sysdeps/i386/fpu/libm-test-ulps: Update.
16331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16333
786b0b67
AS
163342012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16335
16336 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16337 64-bit targets.
16338 * configure: Regenerated.
16339
8e18b86d
DM
163402012-11-17 David S. Miller <davem@davemloft.net>
16341
16342 [BZ #14811]
16343 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16344 nonzero exponents with absolute value below 0x1p-128 to +/-
16345 0x1p-128.
16346
531f1ae0
JM
163472012-11-17 Joseph Myers <joseph@codesourcery.com>
16348
12df29e2
JM
16349 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16350
150dc1a0
JM
16351 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16352
531f1ae0
JM
16353 * posix/getconf-speclist.c: New file.
16354 * posix/posix-envs.def: Likewise.
16355 * posix/confstr.c (START_ENV_GROUP): New macro.
16356 (END_ENV_GROUP): Likewise.
16357 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16358 (KNOWN_PRESENT_ENV_STRING): Likewise.
16359 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16360 (UNKNOWN_ENVIRONMENT): Likewise.
16361 (confstr): Include posix-envs.def instead of handling
16362 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16363 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16364 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16365 (END_ENV_GROUP): Likewise.
16366 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16367 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16368 (UNKNOWN_ENVIRONMENT): Likewise.
16369 (__sysconf): Include posix-envs.def instead of handling associated
16370 cases directly here.
16371 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16372 preprocessing getconf-speclist.c rather than running getconf or
16373 generating empty file.
16374
a93f9cbc
PT
163752012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16376
16377 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16378
d64d9f87
AL
163792012-11-16 Andrej Lajovic <natrij@gmail.com>
16380
16381 [BZ #14672]
16382 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16383
447885eb
DM
163842012-11-16 David S. Miller <davem@davemloft.net>
16385
16386 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16387 smaller than LDBL_EPSILON/2.0L, just return xm1.
16388
bcbf9830
L
163892012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16390
16391 * elf/tst-array1.c (init): Set constructor priority to 1000.
16392 (fini): Set destructor priority to 1000.
16393 * elf/tst-array2dep.c: Likewise.
16394
2b766585
SP
163952012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16396
16397 [BZ #11741]
16398 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16399 (_IO_new_file_xsputn): Also return EOF if none of the input
16400 data was written when overflow failed.
16401 * libio/iopadn.c (_IO_padn): Likewise.
16402 * libio/iowpadn.c (_IO_wpadn): Likewise.
16403 * stdio-common/tst-put-error.c: Add copyright notice.
16404 (do_test): Add case for printing padded string.
16405 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16406 _IO_padn returned error.
16407 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16408 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16409 return EOF.
16410
b1848fde
SP
164112012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16412
16413 * libio/libioP.h: Add comment note that the references to C++
16414 bits are now obsolete.
16415
2fd89785
MS
164162012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16417
16418 * math/libm-test.inc (check_complex): Use asprintf.
16419
e3ea5409
JM
164202012-11-14 Joseph Myers <joseph@codesourcery.com>
16421
16422 * debug/pcprofiledump.c (print_version): Update copyright year.
16423 * malloc/memusagestat.c (print_version): Likewise.
16424
2e64d265
L
164252012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16426
16427 [BZ #14831]
16428 * elf/Makefile (tests): Add tst-audit8.
16429 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16430 ($(objpfx)tst-audit8.out): New target.
16431 (tst-audit8-ENV): New variable.
16432 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16433 audit if l_reloc_result is NULL.
16434 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16435 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16436 * elf/tst-audit8.c: New file.
16437
c485e4d2
MS
164382012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16439
16440 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16441 * misc/Makefile (CFLAGS-select.c): Define.
16442 * posix/Makefile (CFLAGS-pause.c): Define.
16443
3a0d900a
DM
164442012-11-13 David S. Miller <davem@davemloft.net>
16445
16446 * crypt/Makefile: Move test targets after toplevel Rules
16447 inclusion. Grab any necessary sysdep routines when linking.
16448 * crypt/md5.c (md5_process_block): Remove define, we will always
16449 name it __md5_process_block.
16450 (md5_finish_ctx): Update md5_process_block call.
16451 (md5_stream): Likewise.
16452 (md5_process_bytes): Likewise.
16453 (md5_process_block): Rename to __md5_process_block and move to ...
16454 * crypt/md5-block.c: ... here.
16455 * crypt/sha256.c (sha256_process_block): Move to ...
16456 * crypt/sha256-block.c: ... here.
16457 * crypt/sha512.c (sha512_process_block): Move to ...
16458 * crypt/sha512-block.c: ... here.
16459 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16460 path.
16461 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16462 * sysdeps/sparc/sparc64/multiarch/Makefile
16463 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16464 crypt subdir.
16465 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16466 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16467 multiarch changes.
16468 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16469 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16470 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16471 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16472 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16473 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16474 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16475 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16476 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16477 file.
16478 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16479 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16480 file.
16481 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16482
8ca89318
JM
164832012-11-13 Joseph Myers <joseph@codesourcery.com>
16484
e27d476a
JM
16485 * timezone/tzselect.ksh: Update from tzcode git revision
16486 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16487 * timezone/zdump.c: Likewise.
16488 * timezone/zic.c: Likewise.
16489 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16490 in TZVERSION setting, not $(PKGVERSION).
16491 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16492 REPORT_BUGS_TO settings.
16493
8ca89318
JM
16494 [BZ #14838]
16495 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16496 macro.
16497
47594329
MS
164982012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16499
16500 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16501 detection to immediately after _FP_ROUND().
16502 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16503 bits are 0.
16504
640ac3f1
DM
165052012-11-11 David S. Miller <davem@davemloft.net>
16506
16507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16508 inttypes.h
16509 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16510 __close rather than their public counterparts.
16511
3d2577bb
JM
165122012-11-10 Joseph Myers <joseph@codesourcery.com>
16513
16514 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16515 file.
16516 [UNIX98] (sem_timedwait): Do not expect.
16517 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16518 [XPG4 || UNIX98] (sockatmark): Do not expect.
16519 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16520 (clock_getcpuclockid): Do not expect.
16521 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16522 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16523 Do not expect.
16524 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16525 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16526 [UNIX98] (vwscanf): Likewise.
16527 [UNIX98] (vswscanf): Likewise.
16528
fb1ae1ee
JM
165292012-11-09 Joseph Myers <joseph@codesourcery.com>
16530
9ec6f8bd
JM
16531 * timezone/version.h: Remove file.
16532 * timezone/README: Do not refer to version.h.
16533 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16534 $(objpfx)version.h.
16535 ($(objpfx)zdump.o): Likewise.
c3f81911 16536 ($(objpfx)version.h): New target.
9ec6f8bd 16537
0aa8f8a1
JM
16538 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16539 2012i.
16540 * timezone/README: Don't mention modification to tzselect.ksh.
16541 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16542 work on unmodified tzselect.ksh. Substitute version numbers in
16543 tzselect.ksh.
16544
4e87147f
JM
16545 * Makefile (format-me): Remove.
16546 (INSTALL): Adjust indentation. Use commands directly instead of
16547 using $(format-me).
16548
8b748aed
JM
16549 * aclocal.m4 (ACX_PKGVERSION): New macro.
16550 (ACX_BUGURL): Likewise.
16551 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16552 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16553 (REPORT_BUGS_TO): Likewise.
16554 * configure: Regenerated.
16555 * config.h.in (PKGVERSION): New macro.
16556 (REPORT_BUGS_TO): Likewise.
16557 * config.make.in (PKGVERSION): New variable.
16558 (PKGVERSION_TEXI): Likewise.
16559 (REPORT_BUGS_TO): Likewise.
16560 (REPORT_BUGS_TEXI): Likewise.
16561 * Makefile (format-me): Use -I$(common-objpfx)manual.
16562 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16563 ($(common-objpfx)manual/%): New target.
16564 (manual/%): Remove target.
16565 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16566 (print_version): Use PKGVERSION.
16567 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16568 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16569 and REPORT_BUGS_TO.
16570 ($(objpfx)xtrace): Likewise.
16571 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16572 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16573 (print_version): Use PKGVERSION.
16574 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16575 (do_version): Use PKGVERSION.
16576 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16577 REPORT_BUGS_TO.
16578 (common-ldd-rewrite): Likewise.
16579 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16580 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16581 (print_version): Use PKGVERSION.
16582 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16583 * elf/pldd.c (argp_program_bug_address): Remove variable.
16584 (more_help): New function.
16585 (argp): Use more_help.
16586 (print_version): Use PKGVERSION.
16587 * elf/sln.c (main): Use PKGVERSION.
16588 (usage): Use REPORT_BUGS_TO.
16589 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16590 (top level): Use PKGVERSION.
16591 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16592 (print_version): Use PKGVERSION.
16593 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16594 (print_version): Use PKGVERSION.
16595 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16596 (print_version): Use PKGVERSION.
16597 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16598 (print_version): Use PKGVERSION.
16599 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16600 (print_version): Use PKGVERSION.
16601 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16602 (print_version): Use PKGVERSION.
16603 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16604 and BUGURL.
16605 ($(objpfx)memusage): Likewise.
16606 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16607 (do_version): Use PKGVERSION.
16608 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16609 (print_version): Use PKGVERSION.
16610 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16611 ($PKGVERSION): New variable.
16612 ($REPORT_BUGS_TO): Likewise.
16613 (usage): Use $REPORT_BUGS_TO.
16614 (top level): Use $PKGVERSION.
16615 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16616 ($(objpfx)pkgvers.texi): New rule.
16617 ($(objpfx)stamp-pkgvers): Likewise.
16618 * manual/install.texi: Include pkgvers.texi.
16619 (--with-pkgversion): Document new configure option.
16620 (--with-bugurl): Likewise.
16621 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16622 than necessarily for this particular distribution. Use
16623 REPORT_BUGS_TO for where to report bugs.
16624 * INSTALL: Regenerated.
16625 * manual/libc.texinfo: Include pkgvers.texi.
16626 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16627 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16628 (print_version): Use PKGVERSION.
16629 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16630 (print_version): Use PKGVERSION.
16631 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16632 (print_version): Use PKGVERSION.
16633 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16634 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16635 macro.
16636 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16637 (print_version): Use PKGVERSION.
16638 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16639 (print_version): Use PKGVERSION.
16640 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16641 and PKGVERSION.
16642
92e4b6a9
JM
16643 * timezone/checktab.awk: Update from tzcode 2012i.
16644 * timezone/ialloc.c: Likewise.
16645 * timezone/private.h: Likewise.
16646 * timezone/scheck.c: Likewise.
16647 * timezone/tzfile.h: Likewise.
16648 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16649 (TZVERSION): Hardcode tzcode version number.
16650 * timezone/zdump.c: Update from tzcode 2012i.
16651 * timezone/zic.c: Likewise.
16652 * timezone/version.h: New file.
16653 * timezone/README: Describe version.h. Update upstream location.
16654
9bde902c
JM
16655 [BZ #14824]
16656 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16657 (mktemp): Enable declaration.
16658 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16659 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16661 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16662 Likewise.
16663 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16664 Likewise.
16665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16666 Likewise.
16667 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16668 Likewise.
16669 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16670 Likewise.
16671 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16672 Likewise.
16673
fb1ae1ee
JM
16674 [BZ #14821]
16675 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16676 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16677 for copies of such integer values.
16678 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16679 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16680
2c1adbcb
AJ
166812012-11-09 Andreas Jaeger <aj@suse.de>
16682
16683 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16684 definitions and declarations that are provided by
16685 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16686
d0f8457e
AK
166872012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16688
3a235abb 16689 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16690 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16691 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16692 definition.
16693
57241e26
MS
166942012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16695
16696 * elf/elf.h: Update comment before AArch64 relocations.
16697
60e8270d
DM
166982012-11-07 David S. Miller <davem@davemloft.net>
16699
16700 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16701 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16702 (__start_context): Declare.
16703 (__makecontext_ret): Delete.
16704 (__makecontext): Hook up __start_context instead of
16705 __makecontext_ret.
16706 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16707 (sysdep_routines): Add __start_context when in stdlib.
16708
0fbb0fbc
JM
167092012-11-07 Joseph Myers <joseph@codesourcery.com>
16710
16711 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16712 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16713 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16714 hardcoded "nm".
16715 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16716 (READELF): New variable. Use it instead of hardcoded "readelf".
16717
eb48db7e
L
167182012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16719
16720 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16721 * sysdeps/x86/Makefile: Here.
16722 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16723 * sysdeps/x86/tst-xmmymm.sh: This.
16724
05bcf62a
JM
167252012-11-07 Joseph Myers <joseph@codesourcery.com>
16726
c4b6cf53
JM
16727 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16728 expectations.
16729 [UNIX98] (pthread_barrier_t): Do not expect.
16730 [UNIX98] (pthread_barrierattr_t): Likewise.
16731 [UNIX98] (pthread_spinlock_t): Likewise.
16732 [UNIX98] (pthread_barrier_destroy): Likewise.
16733 [UNIX98] (pthread_barrier_init): Likewise.
16734 [UNIX98] (pthread_barrier_wait): Likewise.
16735 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16736 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16737 [UNIX98] (pthread_barrierattr_init): Likewise.
16738 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16739 [UNIX98] (pthread_getcpuclockid): Likewise.
16740 [UNIX98] (pthread_mutex_timedlock): Likewise.
16741 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16742 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16743 [UNIX98] (pthread_sigmask): Likewise.
16744 [UNIX98] (pthread_spin_destroy): Likewise.
16745 [UNIX98] (pthread_spin_init): Likewise.
16746 [UNIX98] (pthread_spin_lock): Likewise.
16747 [UNIX98] (pthread_spin_trylock): Likewise.
16748 [UNIX98] (pthread_spin_unlock): Likewise.
16749 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16750 Do not expect.
16751 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16752 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16753 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16754 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16755 [XPG3 || XPG4] (pthread_key_t): Likewise.
16756 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16757 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16758 [XPG3 || XPG4] (pthread_once_t): Likewise.
16759 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16760 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16761 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16762 [XPG3 || XPG4] (pthread_t): Likewise.
16763
cbe6e120
JM
16764 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16765 not expect.
16766 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16767
1b126443
JM
16768 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16769 Change function return type to int.
16770
b961a573
JM
16771 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16772 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16773 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16774 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16775 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16776 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16777 [!POSIX] (posix_madvise): Likewise.
16778 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16779 && !UNIX98].
16780 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16781 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16782 (mode_t): Likewise.
16783 (posix_mem_offset): Likewise.
16784 (posix_typed_mem_get_info): Likewise.
16785 (posix_typed_mem_open): Likewise.
16786
9e188909
JM
16787 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16788 Change condition to [XOPEN2K8].
16789
05bcf62a
JM
16790 * conform/conformtest.pl: Preprocess allow-header data with -x c
16791 instead of from stdin.
16792 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16793 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16794 [C99-based standards] (cerfc): Likewise.
16795 [C99-based standards] (cexp2): Likewise.
16796 [C99-based standards] (cexpm1): Likewise.
16797 [C99-based standards] (clog10): Likewise.
16798 [C99-based standards] (clog1p): Likewise.
16799 [C99-based standards] (clog2): Likewise.
16800 [C99-based standards] (clgamma): Likewise.
16801 [C99-based standards] (ctgamma): Likewise.
16802 [C99-based standards] (cerff): Likewise.
16803 [C99-based standards] (cerfcf): Likewise.
16804 [C99-based standards] (cexp2f): Likewise.
16805 [C99-based standards] (cexpm1f): Likewise.
16806 [C99-based standards] (clog10f): Likewise.
16807 [C99-based standards] (clog1pf): Likewise.
16808 [C99-based standards] (clog2f): Likewise.
16809 [C99-based standards] (clgammaf): Likewise.
16810 [C99-based standards] (ctgammaf): Likewise.
16811 [C99-based standards] (cerfl): Likewise.
16812 [C99-based standards] (cerfcl): Likewise.
16813 [C99-based standards] (cexp2l): Likewise.
16814 [C99-based standards] (cexpm1l): Likewise.
16815 [C99-based standards] (clog10l): Likewise.
16816 [C99-based standards] (clog1pl): Likewise.
16817 [C99-based standards] (clog2l): Likewise.
16818 [C99-based standards] (clgammal): Likewise.
16819 [C99-based standards] (ctgammal): Likewise.
16820 * conform/data/inttypes.h-data [C99-based standards]: Include
16821 stdint.h-data. Remove all expectations for stdint.h contents.
16822 [C99-based standards] (PRI*): Do not allow.
16823 [C99-based standards] (SCN*): Likewise.
16824 [C99-based standards] (*_t): Likewise.
16825 [C99-based-standards] (PRId8): Expect macro.
16826 [C99-based-standards] (PRIi8): Likewise.
16827 [C99-based-standards] (PRIo8): Likewise.
16828 [C99-based-standards] (PRIu8): Likewise.
16829 [C99-based-standards] (PRIx8): Likewise.
16830 [C99-based-standards] (PRIX8): Likewise.
16831 [C99-based-standards] (SCNd8): Likewise.
16832 [C99-based-standards] (SCNi8): Likewise.
16833 [C99-based-standards] (SCNo8): Likewise.
16834 [C99-based-standards] (SCNu8): Likewise.
16835 [C99-based-standards] (SCNx8): Likewise.
16836 [C99-based-standards] (PRIdLEAST8): Likewise.
16837 [C99-based-standards] (PRIiLEAST8): Likewise.
16838 [C99-based-standards] (PRIoLEAST8): Likewise.
16839 [C99-based-standards] (PRIuLEAST8): Likewise.
16840 [C99-based-standards] (PRIxLEAST8): Likewise.
16841 [C99-based-standards] (PRIXLEAST8): Likewise.
16842 [C99-based-standards] (SCNdLEAST8): Likewise.
16843 [C99-based-standards] (SCNiLEAST8): Likewise.
16844 [C99-based-standards] (SCNoLEAST8): Likewise.
16845 [C99-based-standards] (SCNuLEAST8): Likewise.
16846 [C99-based-standards] (SCNxLEAST8): Likewise.
16847 [C99-based-standards] (PRIdFAST8): Likewise.
16848 [C99-based-standards] (PRIiFAST8): Likewise.
16849 [C99-based-standards] (PRIoFAST8): Likewise.
16850 [C99-based-standards] (PRIuFAST8): Likewise.
16851 [C99-based-standards] (PRIxFAST8): Likewise.
16852 [C99-based-standards] (PRIXFAST8): Likewise.
16853 [C99-based-standards] (SCNdFAST8): Likewise.
16854 [C99-based-standards] (SCNiFAST8): Likewise.
16855 [C99-based-standards] (SCNoFAST8): Likewise.
16856 [C99-based-standards] (SCNuFAST8): Likewise.
16857 [C99-based-standards] (SCNxFAST8): Likewise.
16858 [C99-based-standards] (PRId16): Likewise.
16859 [C99-based-standards] (PRIi16): Likewise.
16860 [C99-based-standards] (PRIo16): Likewise.
16861 [C99-based-standards] (PRIu16): Likewise.
16862 [C99-based-standards] (PRIx16): Likewise.
16863 [C99-based-standards] (PRIX16): Likewise.
16864 [C99-based-standards] (SCNd16): Likewise.
16865 [C99-based-standards] (SCNi16): Likewise.
16866 [C99-based-standards] (SCNo16): Likewise.
16867 [C99-based-standards] (SCNu16): Likewise.
16868 [C99-based-standards] (SCNx16): Likewise.
16869 [C99-based-standards] (PRIdLEAST16): Likewise.
16870 [C99-based-standards] (PRIiLEAST16): Likewise.
16871 [C99-based-standards] (PRIoLEAST16): Likewise.
16872 [C99-based-standards] (PRIuLEAST16): Likewise.
16873 [C99-based-standards] (PRIxLEAST16): Likewise.
16874 [C99-based-standards] (PRIXLEAST16): Likewise.
16875 [C99-based-standards] (SCNdLEAST16): Likewise.
16876 [C99-based-standards] (SCNiLEAST16): Likewise.
16877 [C99-based-standards] (SCNoLEAST16): Likewise.
16878 [C99-based-standards] (SCNuLEAST16): Likewise.
16879 [C99-based-standards] (SCNxLEAST16): Likewise.
16880 [C99-based-standards] (PRIdFAST16): Likewise.
16881 [C99-based-standards] (PRIiFAST16): Likewise.
16882 [C99-based-standards] (PRIoFAST16): Likewise.
16883 [C99-based-standards] (PRIuFAST16): Likewise.
16884 [C99-based-standards] (PRIxFAST16): Likewise.
16885 [C99-based-standards] (PRIXFAST16): Likewise.
16886 [C99-based-standards] (SCNdFAST16): Likewise.
16887 [C99-based-standards] (SCNiFAST16): Likewise.
16888 [C99-based-standards] (SCNoFAST16): Likewise.
16889 [C99-based-standards] (SCNuFAST16): Likewise.
16890 [C99-based-standards] (SCNxFAST16): Likewise.
16891 [C99-based-standards] (PRId32): Likewise.
16892 [C99-based-standards] (PRIi32): Likewise.
16893 [C99-based-standards] (PRIo32): Likewise.
16894 [C99-based-standards] (PRIu32): Likewise.
16895 [C99-based-standards] (PRIx32): Likewise.
16896 [C99-based-standards] (PRIX32): Likewise.
16897 [C99-based-standards] (SCNd32): Likewise.
16898 [C99-based-standards] (SCNi32): Likewise.
16899 [C99-based-standards] (SCNo32): Likewise.
16900 [C99-based-standards] (SCNu32): Likewise.
16901 [C99-based-standards] (SCNx32): Likewise.
16902 [C99-based-standards] (PRIdLEAST32): Likewise.
16903 [C99-based-standards] (PRIiLEAST32): Likewise.
16904 [C99-based-standards] (PRIoLEAST32): Likewise.
16905 [C99-based-standards] (PRIuLEAST32): Likewise.
16906 [C99-based-standards] (PRIxLEAST32): Likewise.
16907 [C99-based-standards] (PRIXLEAST32): Likewise.
16908 [C99-based-standards] (SCNdLEAST32): Likewise.
16909 [C99-based-standards] (SCNiLEAST32): Likewise.
16910 [C99-based-standards] (SCNoLEAST32): Likewise.
16911 [C99-based-standards] (SCNuLEAST32): Likewise.
16912 [C99-based-standards] (SCNxLEAST32): Likewise.
16913 [C99-based-standards] (PRIdFAST32): Likewise.
16914 [C99-based-standards] (PRIiFAST32): Likewise.
16915 [C99-based-standards] (PRIoFAST32): Likewise.
16916 [C99-based-standards] (PRIuFAST32): Likewise.
16917 [C99-based-standards] (PRIxFAST32): Likewise.
16918 [C99-based-standards] (PRIXFAST32): Likewise.
16919 [C99-based-standards] (SCNdFAST32): Likewise.
16920 [C99-based-standards] (SCNiFAST32): Likewise.
16921 [C99-based-standards] (SCNoFAST32): Likewise.
16922 [C99-based-standards] (SCNuFAST32): Likewise.
16923 [C99-based-standards] (SCNxFAST32): Likewise.
16924 [C99-based-standards] (PRId64): Likewise.
16925 [C99-based-standards] (PRIi64): Likewise.
16926 [C99-based-standards] (PRIo64): Likewise.
16927 [C99-based-standards] (PRIu64): Likewise.
16928 [C99-based-standards] (PRIx64): Likewise.
16929 [C99-based-standards] (PRIX64): Likewise.
16930 [C99-based-standards] (SCNd64): Likewise.
16931 [C99-based-standards] (SCNi64): Likewise.
16932 [C99-based-standards] (SCNo64): Likewise.
16933 [C99-based-standards] (SCNu64): Likewise.
16934 [C99-based-standards] (SCNx64): Likewise.
16935 [C99-based-standards] (PRIdLEAST64): Likewise.
16936 [C99-based-standards] (PRIiLEAST64): Likewise.
16937 [C99-based-standards] (PRIoLEAST64): Likewise.
16938 [C99-based-standards] (PRIuLEAST64): Likewise.
16939 [C99-based-standards] (PRIxLEAST64): Likewise.
16940 [C99-based-standards] (PRIXLEAST64): Likewise.
16941 [C99-based-standards] (SCNdLEAST64): Likewise.
16942 [C99-based-standards] (SCNiLEAST64): Likewise.
16943 [C99-based-standards] (SCNoLEAST64): Likewise.
16944 [C99-based-standards] (SCNuLEAST64): Likewise.
16945 [C99-based-standards] (SCNxLEAST64): Likewise.
16946 [C99-based-standards] (PRIdFAST64): Likewise.
16947 [C99-based-standards] (PRIiFAST64): Likewise.
16948 [C99-based-standards] (PRIoFAST64): Likewise.
16949 [C99-based-standards] (PRIuFAST64): Likewise.
16950 [C99-based-standards] (PRIxFAST64): Likewise.
16951 [C99-based-standards] (PRIXFAST64): Likewise.
16952 [C99-based-standards] (SCNdFAST64): Likewise.
16953 [C99-based-standards] (SCNiFAST64): Likewise.
16954 [C99-based-standards] (SCNoFAST64): Likewise.
16955 [C99-based-standards] (SCNuFAST64): Likewise.
16956 [C99-based-standards] (SCNxFAST64): Likewise.
16957 [C99-based-standards] (PRIdMAX): Likewise.
16958 [C99-based-standards] (PRIiMAX): Likewise.
16959 [C99-based-standards] (PRIoMAX): Likewise.
16960 [C99-based-standards] (PRIuMAX): Likewise.
16961 [C99-based-standards] (PRIxMAX): Likewise.
16962 [C99-based-standards] (PRIXMAX): Likewise.
16963 [C99-based-standards] (SCNdMAX): Likewise.
16964 [C99-based-standards] (SCNiMAX): Likewise.
16965 [C99-based-standards] (SCNoMAX): Likewise.
16966 [C99-based-standards] (SCNuMAX): Likewise.
16967 [C99-based-standards] (SCNxMAX): Likewise.
16968 [C99-based-standards] (PRIdPTR): Likewise.
16969 [C99-based-standards] (PRIiPTR): Likewise.
16970 [C99-based-standards] (PRIoPTR): Likewise.
16971 [C99-based-standards] (PRIuPTR): Likewise.
16972 [C99-based-standards] (PRIxPTR): Likewise.
16973 [C99-based-standards] (PRIXPTR): Likewise.
16974 [C99-based-standards] (SCNdPTR): Likewise.
16975 [C99-based-standards] (SCNiPTR): Likewise.
16976 [C99-based-standards] (SCNoPTR): Likewise.
16977 [C99-based-standards] (SCNuPTR): Likewise.
16978 [C99-based-standards] (SCNxPTR): Likewise.
16979 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16980 allow.
16981 * conform/data/stdint.h-data: Update comments to clarify
16982 requirements.
16983 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16984 type.
16985 [C99-based standards] (INT8_MAX): Likewise.
16986 [C99-based standards] (INT16_MIN): Likewise.
16987 [C99-based standards] (INT16_MAX): Likewise.
16988 [C99-based standards] (INT32_MIN): Likewise.
16989 [C99-based standards] (INT32_MAX): Likewise.
16990 [C99-based standards] (INT64_MIN): Likewise.
16991 [C99-based standards] (INT64_MAX): Likewise.
16992 [C99-based standards] (UINT8_MAX): Likewise.
16993 [C99-based standards] (UINT16_MAX): Likewise.
16994 [C99-based standards] (UINT32_MAX): Likewise.
16995 [C99-based standards] (UINT64_MAX): Likewise.
16996 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16997 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16998 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16999 [C99-based standards] (INT_LEAST16_MAX): Likewise.
17000 [C99-based standards] (INT_LEAST32_MIN): Likewise.
17001 [C99-based standards] (INT_LEAST32_MAX): Likewise.
17002 [C99-based standards] (INT_LEAST64_MIN): Likewise.
17003 [C99-based standards] (INT_LEAST64_MAX): Likewise.
17004 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17005 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17006 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17007 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17008 [C99-based standards] (INT_FAST8_MIN): Likewise.
17009 [C99-based standards] (INT_FAST8_MAX): Likewise.
17010 [C99-based standards] (INT_FAST16_MIN): Likewise.
17011 [C99-based standards] (INT_FAST16_MAX): Likewise.
17012 [C99-based standards] (INT_FAST32_MIN): Likewise.
17013 [C99-based standards] (INT_FAST32_MAX): Likewise.
17014 [C99-based standards] (INT_FAST64_MIN): Likewise.
17015 [C99-based standards] (INT_FAST64_MAX): Likewise.
17016 [C99-based standards] (UINT_FAST8_MAX): Likewise.
17017 [C99-based standards] (UINT_FAST16_MAX): Likewise.
17018 [C99-based standards] (UINT_FAST32_MAX): Likewise.
17019 [C99-based standards] (UINT_FAST64_MAX): Likewise.
17020 [C99-based standards] (INTPTR_MIN): Likewise.
17021 [C99-based standards] (INTPTR_MAX): Likewise.
17022 [C99-based standards] (UINTPTR_MAX): Likewise.
17023 [C99-based standards] (INTMAX_MIN): Likewise.
17024 [C99-based standards] (INTMAX_MAX): Likewise.
17025 [C99-based standards] (UINTMAX_MAX): Likewise.
17026 [C99-based standards] (PTRDIFF_MIN): Likewise.
17027 [C99-based standards] (PTRDIFF_MAX): Likewise.
17028 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17029 [C99-based standards] (SIZE_MAX): Likewise.
17030 [C99-based standards] (WCHAR_MAX): Likewise.
17031 [C99-based standards] (WINT_MAX): Likewise.
17032 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17033 constraint on value.
17034 [C99-based standards] (WCHAR_MIN): Likewise.
17035 [C99-based standards] (WINT_MIN): Likewise.
17036 [C99-based standards] (*_t): Allow.
17037 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17038 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17039 Include math.h-data and complex.h-data. Remove all expectations
17040 of math.h and complex.h contents.
17041 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17042 at end of line.
17043 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17044 (struct tm): Expect tag.
17045 [C99-based-standards] (wcstof): Expect function.
17046 [C99-based-standards] (wcstold): Likewise.
17047 [C99-based-standards] (wcstoll): Likewise.
17048 [C99-based-standards] (wcstoull): Likewise.
17049 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17050 macro-int-constant. Specify type.
17051 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
17052 constraint on value.
17053 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17054 Specify type.
17055 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17056 Specify value.
17057 [ISO C standards]: Do not allow headers.
17058 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17059 wcs[abcdefghijklmnopqrstuvwxyz]*.
17060 [ISO C standards] (*_t): Do not allow.
17061 * conform/data/wctype.h-data [C99-based standards] (iswblank):
17062 Expect function.
17063 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17064 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17065 Specify type.
17066 [ISO C standards]: Do not allow headers.
17067 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17068 is[abcdefghijklmnopqrstuvwxyz]*.
17069 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17070 to[abcdefghijklmnopqrstuvwxyz]*.
17071 [ISO C standards] (*_t): Do not allow.
17072 * conform/data/stdalign.h-data: New file.
17073 * conform/data/stdbool.h-data: Likewise.
17074 * conform/data/stdnoreturn.h-data: Likewise.
17075
7514feb8
RM
170762012-11-07 Roland McGrath <roland@hack.frob.com>
17077
17078 [BZ #14815]
17079 * manual/filesys.texi (Directory Entries): Typo fix.
17080 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17081
19b2ecfc
MS
170822012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17083
17084 * elf/elf.h (EM_AARCH64): New macro.
17085 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17086 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17087 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17088 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17089 (R_AARCH64_TLSDESC): Likewise.
17090 (NT_ARM_TLS): Likewise.
17091 (NT_ARM_HW_BREAK): Likewise.
17092 (NT_ARM_HW_WATCH): Likewise.
17093
60e235ee
JM
170942012-11-07 Joseph Myers <joseph@codesourcery.com>
17095
17096 [BZ #14811]
17097 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17098 (__ieee754_powl): Saturate nonzero exponents with absolute value
17099 below 0x1p-79 to +/- 0x1p-79.
17100 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17101 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17102 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17103 nonzero exponents with absolute value below 0x1p-32 to +/-
17104 0x1p-32.
17105 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17106 (__ieee754_powl): Saturate nonzero exponents with absolute value
17107 below 0x1p-79 to +/- 0x1p-79.
17108 * math/libm-test.inc (pow_test): Add more tests.
17109
0ab234b7
AK
171102012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17111
17112 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17113 _dl_s390_cap_flags with kernel. Increase string length.
17114 (_dl_s390_platforms): Add z196 and zEC12.
17115
45832f74
JM
171162012-11-07 Joseph Myers <joseph@codesourcery.com>
17117
17118 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17119 Change XOPEN21K to XOPEN2K.
17120
19218757
MK
171212012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17122
17123 * string/memmove.c: Use memcpy when possible.
17124
c5f45721
AJ
171252012-11-06 Andreas Jaeger <aj@suse.de>
17126
17127 * po/eo.po: Update from translation team.
17128
82477c28
JM
171292012-11-06 Joseph Myers <joseph@codesourcery.com>
17130
17131 [BZ #14793]
17132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17133 exponent and small x and y exponents, scale x or y up. Increase
17134 by 2 the exponent used in scaling up.
17135 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17136 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17137 * math/libm-test.inc (fma_test): Add more tests.
17138 (fma_test_towardzero): Likewise.
17139 (fma_test_downward): Likewise.
17140 (fma_test_upward): Likewise.
17141
99252c8c
JM
171422012-11-05 Joseph Myers <joseph@codesourcery.com>
17143
acfa885f
JM
17144 [BZ #14805]
17145 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17146 fenv_t *.
17147
99252c8c
JM
17148 [BZ #14801]
17149 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17150 namespace for names of struct fields.
17151 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17152 fenv_t fields.
17153 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17154 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17155
d6d98dea
ST
171562012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17157
17158 [BZ #3665]
17159 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17160
e10bb107
TS
171612012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17162
17163 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17164 PTR_DEMANGLE.
17165
17166 [BZ #5246]
17167 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17168 PTR_DEMANGLE.
17169
a0c2940d
JM
171702012-11-04 Joseph Myers <joseph@codesourcery.com>
17171
17172 [BZ #14797]
17173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17174 definitely overflow as x * y not x * y + z.
17175 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17176 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17177 * math/libm-test.inc (fma_test): Add more tests.
17178 (fma_test_towardzero): Likewise.
17179 (fma_test_downward): Likewise.
17180 (fma_test_upward): Likewise.
17181
b830319d
TS
171822012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17183
17184 [BZ #157]
17185
17186 * include/stub-tag.h: Remove file.
17187 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17188 '#include' of it.
17189 * manual/maint.texi (Porting): Don't reference it.
17190 * Makerules ($(objpfx)stubs): Likewise.
17191 * dirent/closedir.c: Don't include <stub-tag.h>.
17192 * dirent/dirfd.c: Likewise.
17193 * dirent/fdopendir.c: Likewise.
17194 * dirent/getdents.c: Likewise.
17195 * dirent/getdents64.c: Likewise.
17196 * dirent/opendir.c: Likewise.
17197 * dirent/readdir.c: Likewise.
17198 * dirent/readdir64.c: Likewise.
17199 * dirent/readdir64_r.c: Likewise.
17200 * dirent/readdir_r.c: Likewise.
17201 * dirent/rewinddir.c: Likewise.
17202 * dirent/seekdir.c: Likewise.
17203 * dirent/telldir.c: Likewise.
17204 * gmon/profil.c: Likewise.
17205 * grp/setgroups.c: Likewise.
17206 * inet/if_index.c: Likewise.
17207 * io/access.c: Likewise.
17208 * io/chdir.c: Likewise.
17209 * io/chmod.c: Likewise.
17210 * io/chown.c: Likewise.
17211 * io/close.c: Likewise.
17212 * io/dup.c: Likewise.
17213 * io/dup2.c: Likewise.
17214 * io/dup3.c: Likewise.
17215 * io/euidaccess.c: Likewise.
17216 * io/faccessat.c: Likewise.
17217 * io/fchdir.c: Likewise.
17218 * io/fchmod.c: Likewise.
17219 * io/fchmodat.c: Likewise.
17220 * io/fchown.c: Likewise.
17221 * io/fchownat.c: Likewise.
17222 * io/fcntl.c: Likewise.
17223 * io/flock.c: Likewise.
17224 * io/fstatfs.c: Likewise.
17225 * io/fstatfs64.c: Likewise.
17226 * io/fstatvfs.c: Likewise.
17227 * io/fstatvfs64.c: Likewise.
17228 * io/futimens.c: Likewise.
17229 * io/fxstat.c: Likewise.
17230 * io/fxstat64.c: Likewise.
17231 * io/fxstatat.c: Likewise.
17232 * io/fxstatat64.c: Likewise.
17233 * io/getcwd.c: Likewise.
17234 * io/isatty.c: Likewise.
17235 * io/lchmod.c: Likewise.
17236 * io/lchown.c: Likewise.
17237 * io/link.c: Likewise.
17238 * io/linkat.c: Likewise.
17239 * io/lseek.c: Likewise.
17240 * io/lseek64.c: Likewise.
17241 * io/lxstat64.c: Likewise.
17242 * io/mkdir.c: Likewise.
17243 * io/mkdirat.c: Likewise.
17244 * io/mkfifo.c: Likewise.
17245 * io/mkfifoat.c: Likewise.
17246 * io/open.c: Likewise.
17247 * io/open64.c: Likewise.
17248 * io/openat.c: Likewise.
17249 * io/openat64.c: Likewise.
17250 * io/pipe.c: Likewise.
17251 * io/pipe2.c: Likewise.
17252 * io/poll.c: Likewise.
17253 * io/posix_fadvise.c: Likewise.
17254 * io/posix_fadvise64.c: Likewise.
17255 * io/posix_fallocate.c: Likewise.
17256 * io/posix_fallocate64.c: Likewise.
17257 * io/read.c: Likewise.
17258 * io/readlink.c: Likewise.
17259 * io/readlinkat.c: Likewise.
17260 * io/rmdir.c: Likewise.
17261 * io/sendfile.c: Likewise.
17262 * io/sendfile64.c: Likewise.
17263 * io/statfs.c: Likewise.
17264 * io/statfs64.c: Likewise.
17265 * io/statvfs.c: Likewise.
17266 * io/statvfs64.c: Likewise.
17267 * io/symlink.c: Likewise.
17268 * io/symlinkat.c: Likewise.
17269 * io/ttyname.c: Likewise.
17270 * io/ttyname_r.c: Likewise.
17271 * io/umask.c: Likewise.
17272 * io/unlink.c: Likewise.
17273 * io/unlinkat.c: Likewise.
17274 * io/utime.c: Likewise.
17275 * io/utimensat.c: Likewise.
17276 * io/write.c: Likewise.
17277 * io/xmknod.c: Likewise.
17278 * io/xmknodat.c: Likewise.
17279 * io/xstat.c: Likewise.
17280 * io/xstat64.c: Likewise.
17281 * login/getpt.c: Likewise.
17282 * login/grantpt.c: Likewise.
17283 * login/unlockpt.c: Likewise.
17284 * math/e_acoshl.c: Likewise.
17285 * math/e_acosl.c: Likewise.
17286 * math/e_asinl.c: Likewise.
17287 * math/e_atan2l.c: Likewise.
17288 * math/e_atanhl.c: Likewise.
17289 * math/e_coshl.c: Likewise.
17290 * math/e_expl.c: Likewise.
17291 * math/e_fmodl.c: Likewise.
17292 * math/e_gammal_r.c: Likewise.
17293 * math/e_hypotl.c: Likewise.
17294 * math/e_j0l.c: Likewise.
17295 * math/e_j1l.c: Likewise.
17296 * math/e_jnl.c: Likewise.
17297 * math/e_lgammal_r.c: Likewise.
17298 * math/e_log10l.c: Likewise.
17299 * math/e_log2l.c: Likewise.
17300 * math/e_logl.c: Likewise.
17301 * math/e_powl.c: Likewise.
17302 * math/e_rem_pio2l.c: Likewise.
17303 * math/e_sinhl.c: Likewise.
17304 * math/e_sqrtl.c: Likewise.
17305 * math/fclrexcpt.c: Likewise.
17306 * math/fedisblxcpt.c: Likewise.
17307 * math/feenablxcpt.c: Likewise.
17308 * math/fegetenv.c: Likewise.
17309 * math/fegetexcept.c: Likewise.
17310 * math/fegetround.c: Likewise.
17311 * math/feholdexcpt.c: Likewise.
17312 * math/fesetenv.c: Likewise.
17313 * math/fesetround.c: Likewise.
17314 * math/feupdateenv.c: Likewise.
17315 * math/fgetexcptflg.c: Likewise.
17316 * math/fraiseexcpt.c: Likewise.
17317 * math/fsetexcptflg.c: Likewise.
17318 * math/ftestexcept.c: Likewise.
17319 * math/k_cosl.c: Likewise.
17320 * math/k_rem_pio2l.c: Likewise.
17321 * math/k_sinl.c: Likewise.
17322 * math/k_tanl.c: Likewise.
17323 * math/s_asinhl.c: Likewise.
17324 * math/s_atanl.c: Likewise.
17325 * math/s_cbrtl.c: Likewise.
17326 * math/s_erfl.c: Likewise.
17327 * math/s_expm1l.c: Likewise.
17328 * math/s_log1pl.c: Likewise.
17329 * math/s_tanhl.c: Likewise.
17330 * misc/acct.c: Likewise.
17331 * misc/brk.c: Likewise.
17332 * misc/chflags.c: Likewise.
17333 * misc/chroot.c: Likewise.
17334 * misc/fchflags.c: Likewise.
17335 * misc/fgetxattr.c: Likewise.
17336 * misc/flistxattr.c: Likewise.
17337 * misc/fremovexattr.c: Likewise.
17338 * misc/fsetxattr.c: Likewise.
17339 * misc/fsync.c: Likewise.
17340 * misc/ftruncate.c: Likewise.
17341 * misc/futimes.c: Likewise.
17342 * misc/futimesat.c: Likewise.
17343 * misc/getdomain.c: Likewise.
17344 * misc/getdtsz.c: Likewise.
17345 * misc/gethostid.c: Likewise.
17346 * misc/gethostname.c: Likewise.
17347 * misc/getloadavg.c: Likewise.
17348 * misc/getpagesize.c: Likewise.
17349 * misc/getsysstats.c: Likewise.
17350 * misc/getxattr.c: Likewise.
17351 * misc/gtty.c: Likewise.
17352 * misc/ioctl.c: Likewise.
17353 * misc/lgetxattr.c: Likewise.
17354 * misc/listxattr.c: Likewise.
17355 * misc/llistxattr.c: Likewise.
17356 * misc/lremovexattr.c: Likewise.
17357 * misc/lsetxattr.c: Likewise.
17358 * misc/lutimes.c: Likewise.
17359 * misc/madvise.c: Likewise.
17360 * misc/mincore.c: Likewise.
17361 * misc/mlock.c: Likewise.
17362 * misc/mlockall.c: Likewise.
17363 * misc/mmap.c: Likewise.
17364 * misc/mprotect.c: Likewise.
17365 * misc/msync.c: Likewise.
17366 * misc/munlock.c: Likewise.
17367 * misc/munlockall.c: Likewise.
17368 * misc/munmap.c: Likewise.
17369 * misc/preadv.c: Likewise.
17370 * misc/preadv64.c: Likewise.
17371 * misc/ptrace.c: Likewise.
17372 * misc/pwritev.c: Likewise.
17373 * misc/pwritev64.c: Likewise.
17374 * misc/readv.c: Likewise.
17375 * misc/reboot.c: Likewise.
17376 * misc/remap_file_pages.c: Likewise.
17377 * misc/removexattr.c: Likewise.
17378 * misc/revoke.c: Likewise.
17379 * misc/select.c: Likewise.
17380 * misc/setdomain.c: Likewise.
17381 * misc/setegid.c: Likewise.
17382 * misc/seteuid.c: Likewise.
17383 * misc/sethostid.c: Likewise.
17384 * misc/sethostname.c: Likewise.
17385 * misc/setregid.c: Likewise.
17386 * misc/setreuid.c: Likewise.
17387 * misc/setxattr.c: Likewise.
17388 * misc/sstk.c: Likewise.
17389 * misc/stty.c: Likewise.
17390 * misc/swapoff.c: Likewise.
17391 * misc/swapon.c: Likewise.
17392 * misc/sync.c: Likewise.
17393 * misc/syncfs.c: Likewise.
17394 * misc/syscall.c: Likewise.
17395 * misc/truncate.c: Likewise.
17396 * misc/ualarm.c: Likewise.
17397 * misc/usleep.c: Likewise.
17398 * misc/ustat.c: Likewise.
17399 * misc/utimes.c: Likewise.
17400 * misc/vhangup.c: Likewise.
17401 * misc/writev.c: Likewise.
17402 * posix/_exit.c: Likewise.
17403 * posix/alarm.c: Likewise.
17404 * posix/execve.c: Likewise.
17405 * posix/fexecve.c: Likewise.
17406 * posix/fork.c: Likewise.
17407 * posix/fpathconf.c: Likewise.
17408 * posix/getaddrinfo.c: Likewise.
17409 * posix/getegid.c: Likewise.
17410 * posix/geteuid.c: Likewise.
17411 * posix/getgid.c: Likewise.
17412 * posix/getgroups.c: Likewise.
17413 * posix/getlogin.c: Likewise.
17414 * posix/getlogin_r.c: Likewise.
17415 * posix/getpgid.c: Likewise.
17416 * posix/getpid.c: Likewise.
17417 * posix/getppid.c: Likewise.
17418 * posix/getresgid.c: Likewise.
17419 * posix/getresuid.c: Likewise.
17420 * posix/getsid.c: Likewise.
17421 * posix/getuid.c: Likewise.
17422 * posix/glob64.c: Likewise.
17423 * posix/nanosleep.c: Likewise.
17424 * posix/pathconf.c: Likewise.
17425 * posix/pause.c: Likewise.
17426 * posix/posix_madvise.c: Likewise.
17427 * posix/pread.c: Likewise.
17428 * posix/pread64.c: Likewise.
17429 * posix/pwrite.c: Likewise.
17430 * posix/pwrite64.c: Likewise.
17431 * posix/sched_getaffinity.c: Likewise.
17432 * posix/sched_getp.c: Likewise.
17433 * posix/sched_gets.c: Likewise.
17434 * posix/sched_primax.c: Likewise.
17435 * posix/sched_primin.c: Likewise.
17436 * posix/sched_rr_gi.c: Likewise.
17437 * posix/sched_setaffinity.c: Likewise.
17438 * posix/sched_setp.c: Likewise.
17439 * posix/sched_sets.c: Likewise.
17440 * posix/sched_yield.c: Likewise.
17441 * posix/setgid.c: Likewise.
17442 * posix/setlogin.c: Likewise.
17443 * posix/setpgid.c: Likewise.
17444 * posix/setresgid.c: Likewise.
17445 * posix/setresuid.c: Likewise.
17446 * posix/setsid.c: Likewise.
17447 * posix/setuid.c: Likewise.
17448 * posix/sleep.c: Likewise.
17449 * posix/spawni.c: Likewise.
17450 * posix/sysconf.c: Likewise.
17451 * posix/times.c: Likewise.
17452 * posix/wait.c: Likewise.
17453 * posix/wait3.c: Likewise.
17454 * posix/wait4.c: Likewise.
17455 * posix/waitpid.c: Likewise.
17456 * resolv/gai_sigqueue.c: Likewise.
17457 * resource/getpriority.c: Likewise.
17458 * resource/getrlimit.c: Likewise.
17459 * resource/getrusage.c: Likewise.
17460 * resource/nice.c: Likewise.
17461 * resource/setpriority.c: Likewise.
17462 * resource/setrlimit.c: Likewise.
17463 * resource/ulimit.c: Likewise.
17464 * rt/aio_cancel.c: Likewise.
17465 * rt/aio_fsync.c: Likewise.
17466 * rt/aio_read.c: Likewise.
17467 * rt/aio_sigqueue.c: Likewise.
17468 * rt/aio_suspend.c: Likewise.
17469 * rt/aio_write.c: Likewise.
17470 * rt/clock_getres.c: Likewise.
17471 * rt/clock_gettime.c: Likewise.
17472 * rt/clock_nanosleep.c: Likewise.
17473 * rt/clock_settime.c: Likewise.
17474 * rt/lio_listio.c: Likewise.
17475 * rt/mq_close.c: Likewise.
17476 * rt/mq_getattr.c: Likewise.
17477 * rt/mq_notify.c: Likewise.
17478 * rt/mq_open.c: Likewise.
17479 * rt/mq_receive.c: Likewise.
17480 * rt/mq_send.c: Likewise.
17481 * rt/mq_setattr.c: Likewise.
17482 * rt/mq_timedreceive.c: Likewise.
17483 * rt/mq_timedsend.c: Likewise.
17484 * rt/mq_unlink.c: Likewise.
17485 * rt/shm_open.c: Likewise.
17486 * rt/shm_unlink.c: Likewise.
17487 * rt/timer_create.c: Likewise.
17488 * rt/timer_delete.c: Likewise.
17489 * rt/timer_getoverr.c: Likewise.
17490 * rt/timer_gettime.c: Likewise.
17491 * rt/timer_settime.c: Likewise.
17492 * setjmp/__longjmp.c: Likewise.
17493 * setjmp/setjmp.c: Likewise.
17494 * signal/kill.c: Likewise.
17495 * signal/killpg.c: Likewise.
17496 * signal/raise.c: Likewise.
17497 * signal/sigaction.c: Likewise.
17498 * signal/sigaltstack.c: Likewise.
17499 * signal/sigblock.c: Likewise.
17500 * signal/sigignore.c: Likewise.
17501 * signal/sigintr.c: Likewise.
17502 * signal/signal.c: Likewise.
17503 * signal/sigpause.c: Likewise.
17504 * signal/sigpending.c: Likewise.
17505 * signal/sigqueue.c: Likewise.
17506 * signal/sigreturn.c: Likewise.
17507 * signal/sigset.c: Likewise.
17508 * signal/sigsetmask.c: Likewise.
17509 * signal/sigstack.c: Likewise.
17510 * signal/sigsuspend.c: Likewise.
17511 * signal/sigtimedwait.c: Likewise.
17512 * signal/sigvec.c: Likewise.
17513 * signal/sigwait.c: Likewise.
17514 * signal/sigwaitinfo.c: Likewise.
17515 * signal/sysv_signal.c: Likewise.
17516 * socket/accept.c: Likewise.
17517 * socket/accept4.c: Likewise.
17518 * socket/bind.c: Likewise.
17519 * socket/connect.c: Likewise.
17520 * socket/getpeername.c: Likewise.
17521 * socket/getsockname.c: Likewise.
17522 * socket/getsockopt.c: Likewise.
17523 * socket/isfdtype.c: Likewise.
17524 * socket/listen.c: Likewise.
17525 * socket/recv.c: Likewise.
17526 * socket/recvfrom.c: Likewise.
17527 * socket/recvmsg.c: Likewise.
17528 * socket/send.c: Likewise.
17529 * socket/sendmsg.c: Likewise.
17530 * socket/sendto.c: Likewise.
17531 * socket/setsockopt.c: Likewise.
17532 * socket/shutdown.c: Likewise.
17533 * socket/sockatmark.c: Likewise.
17534 * socket/socket.c: Likewise.
17535 * socket/socketpair.c: Likewise.
17536 * stdio-common/ctermid.c: Likewise.
17537 * stdio-common/cuserid.c: Likewise.
17538 * stdio-common/remove.c: Likewise.
17539 * stdio-common/rename.c: Likewise.
17540 * stdio-common/renameat.c: Likewise.
17541 * stdio-common/tempname.c: Likewise.
17542 * stdlib/getcontext.c: Likewise.
17543 * stdlib/makecontext.c: Likewise.
17544 * stdlib/setcontext.c: Likewise.
17545 * stdlib/swapcontext.c: Likewise.
17546 * stdlib/system.c: Likewise.
17547 * streams/fattach.c: Likewise.
17548 * streams/fdetach.c: Likewise.
17549 * streams/getmsg.c: Likewise.
17550 * streams/getpmsg.c: Likewise.
17551 * streams/putmsg.c: Likewise.
17552 * streams/putpmsg.c: Likewise.
17553 * sysdeps/unix/bsd/getpt.c: Likewise.
17554 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17555 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17556 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17558 Likewise.
17559 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17560 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17561 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17562 * sysvipc/msgctl.c: Likewise.
17563 * sysvipc/msgget.c: Likewise.
17564 * sysvipc/msgrcv.c: Likewise.
17565 * sysvipc/msgsnd.c: Likewise.
17566 * sysvipc/semctl.c: Likewise.
17567 * sysvipc/semget.c: Likewise.
17568 * sysvipc/semop.c: Likewise.
17569 * sysvipc/semtimedop.c: Likewise.
17570 * sysvipc/shmat.c: Likewise.
17571 * sysvipc/shmctl.c: Likewise.
17572 * sysvipc/shmdt.c: Likewise.
17573 * sysvipc/shmget.c: Likewise.
17574 * termios/tcdrain.c: Likewise.
17575 * termios/tcflow.c: Likewise.
17576 * termios/tcflush.c: Likewise.
17577 * termios/tcgetattr.c: Likewise.
17578 * termios/tcgetpgrp.c: Likewise.
17579 * termios/tcsendbrk.c: Likewise.
17580 * termios/tcsetattr.c: Likewise.
17581 * termios/tcsetpgrp.c: Likewise.
17582 * time/adjtime.c: Likewise.
17583 * time/clock.c: Likewise.
17584 * time/getitimer.c: Likewise.
17585 * time/gettimeofday.c: Likewise.
17586 * time/setitimer.c: Likewise.
17587 * time/settimeofday.c: Likewise.
17588 * time/stime.c: Likewise.
17589 * time/time.c: Likewise.
17590
175912012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17592
a20492cf
PT
17593 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17594 /usr/old/bin.
17595
72e182e3
PT
17596 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17597 instead of spaces.
17598 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17599
fbeafede
JM
176002012-11-03 Joseph Myers <joseph@codesourcery.com>
17601
5b5b04d6
JM
17602 [BZ #14796]
17603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17604 FE_TONEAREST before applying Dekker multiplication and Knuth
17605 addition. Clear inexact exceptions and check for exact zero
17606 results afterwards.
17607 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17608 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17609 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17610 * math/libm-test.inc (fma_test): Add more tests.
17611 (fma_test_towardzero): Likewise.
17612 (fma_test_downward): Likewise.
17613 (fma_test_upward): Likewise.
17614 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17615 function.
17616 (libc_fesetround): New macro.
17617 (libc_fesetroundf): Likewise.
17618 (libc_fesetroundl): Likewise.
17619 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17620 function.
17621 (libc_fesetround_387): Likewise.
17622 (libc_fesetroundf): New macro.
17623 (libc_fesetround): Likewise.
17624 (libc_fesetroundl): Likewise.
17625 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17626 function.
17627 (libc_fesetroundf): New macro.
17628 (libc_fesetround): Likewise.
17629 (libc_fesetroundl): Likewise.
17630 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17631 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17632 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17633 libm_hidden_ver.
17634 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17635 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17636 libm_hidden_def.
17637 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17638 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17639 libm_hidden_ver.
17640 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17641 libm_hidden_def.
17642
fbeafede
JM
17643 [BZ #3439]
17644 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17645 integer constant usable in #if and use that to give value to enum
17646 constant.
17647 (FE_DIVBYZERO): Likewise.
17648 (FE_UNDERFLOW): Likewise.
17649 (FE_OVERFLOW): Likewise.
17650 (FE_INVALID): Likewise.
17651 (FE_INVALID_SNAN): Likewise.
17652 (FE_INVALID_ISI): Likewise.
17653 (FE_INVALID_IDI): Likewise.
17654 (FE_INVALID_ZDZ): Likewise.
17655 (FE_INVALID_IMZ): Likewise.
17656 (FE_INVALID_COMPARE): Likewise.
17657 (FE_INVALID_SOFTWARE): Likewise.
17658 (FE_INVALID_SQRT): Likewise.
17659 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17660 (FE_TONEAREST): Likewise.
17661 (FE_TOWARDZERO): Likewise.
17662 (FE_UPWARD): Likewise.
17663 (FE_DOWNWARD): Likewise.
17664 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17665 (FE_DIVBYZERO): Likewise.
17666 (FE_OVERFLOW): Likewise.
17667 (FE_UNDERFLOW): Likewise.
17668 (FE_INEXACT): Likewise.
17669 (FE_TONEAREST): Likewise.
17670 (FE_DOWNWARD): Likewise.
17671 (FE_UPWARD): Likewise.
17672 (FE_TOWARDZERO): Likewise.
17673 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17674 (FE_UNDERFLOW): Likewise.
17675 (FE_OVERFLOW): Likewise.
17676 (FE_DIVBYZERO): Likewise.
17677 (FE_INVALID): Likewise.
17678 (FE_TONEAREST): Likewise.
17679 (FE_TOWARDZERO): Likewise.
17680 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17681 (FE_OVERFLOW): Likewise.
17682 (FE_UNDERFLOW): Likewise.
17683 (FE_DIVBYZERO): Likewise.
17684 (FE_INEXACT): Likewise.
17685 (FE_TONEAREST): Likewise.
17686 (FE_TOWARDZERO): Likewise.
17687 (FE_UPWARD): Likewise.
17688 (FE_DOWNWARD): Likewise.
17689 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17690 (FE_DIVBYZERO): Likewise.
17691 (FE_OVERFLOW): Likewise.
17692 (FE_UNDERFLOW): Likewise.
17693 (FE_INEXACT): Likewise.
17694 (FE_TONEAREST): Likewise.
17695 (FE_DOWNWARD): Likewise.
17696 (FE_UPWARD): Likewise.
17697 (FE_TOWARDZERO): Likewise.
17698
105ca950
CM
176992012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17700
17701 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17702
a542b389
AS
177032012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17704
17705 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17706 commands. Quote $PWD.
17707 (blacklist_exports): Don't use remove_newlines. Replace "declare
17708 -x" by "export".
17709 (remove_newlines): Remove.
17710
f62c8abc
L
177112012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17712
17713 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17714 * stdlib/stdlib.h (atof): Moved to ...
17715 * include/bits/stdlib-float.h: Here. New file.
17716 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17717 * stdlib/bits/stdlib-float.h: New file.
17718 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17719 -mno-sse -mno-mmx.
17720 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17721 <xmmintrin.h>.
17722
0155d5b2
JM
177232012-11-02 Joseph Myers <joseph@codesourcery.com>
17724
a68d0680
JM
17725 * conform/conformtest.pl (@headers): Add fenv.h.
17726 * conform/data/fenv.h-data: New file.
17727 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17728 include of <math/fenv.h>.
17729
caf7f573
JM
17730 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17731 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17732 && !UNIX98]. Enables tests for XOPEN2K8.
17733 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17734 POSIX2008]: Likewise.
17735
6c073ad6
JM
17736 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17737 (struct rusage): Do not expect type or its members.
17738
0155d5b2
JM
17739 [BZ #3439]
17740 * math/math.h (FP_NAN): Define macro to integer constant usable in
17741 #if and use that to give value to enum constant.
17742 (FP_INFINITE): Likewise.
17743 (FP_ZERO): Likewise.
17744 (FP_SUBNORMAL): Likewise.
17745 (FP_NORMAL): Likewise.
17746
b5dcacb4
AS
177472012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17748
17749 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17750 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17751 arguments.
17752
f7934be8
RM
177532012-11-02 Roland McGrath <roland@hack.frob.com>
17754
17755 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17756 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17757 autoconf-time if not.
17758 * configure.in: Remove AC_PREREQ.
17759
d7d08bde
TMQMF
177602012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17761
17762 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17763 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17764 of the internal implementation.
17765
dcdae19a
JM
177662012-11-02 Joseph Myers <joseph@codesourcery.com>
17767
17768 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17769 except include of <misc/sys/syslog.h>.
17770
d6cffd3e
AS
177712012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17772
17773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17774 function returns with a NULL context exit with zero.
17775
b3563932
TMQMF
177762012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17777
17778 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17779
b288a93d
L
177802012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17781
17782 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17783 (run_program_cmd): This.
17784 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17785 (tst_langinfo): New variable. Use it.
17786
a2421a68
SAS
177872012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17788
17789 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17790 floating point opcodes.
17791
6f796e1b
TS
177922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17793
7402596b
TS
17794 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17795 variable.
17796
d0d4f868
TS
17797 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17798
6f796e1b
TS
17799 * sysdeps/mach/hurd/powerpc: Remove directory.
17800 * sysdeps/mach/powerpc: Likewise.
17801
4da224a2
AS
178022012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17803
17804 * scripts/check-local-headers.sh: Ignore c++ headers.
17805
341dd673
TS
178062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17807
17808 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17809 __libc_cleanup_region_start argument.
17810
473611b2
JM
178112012-11-01 Joseph Myers <joseph@codesourcery.com>
17812
17813 [BZ #14784]
17814 [BZ #14785]
17815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17816 x * y using scaling, not as x * y + z.
17817 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17818 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17819 * math/libm-test.inc (fma_test): Add more tests.
17820 (fma_test_towardzero): Likewise.
17821 (fma_test_downward): Likewise.
17822 (fma_test_upward): Likewise.
17823
4078da3d
TS
178242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17825
17826 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17827
903252aa
JM
178282012-10-31 Joseph Myers <joseph@codesourcery.com>
17829
17830 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17831 New variable.
17832
cbc818d0
TS
178332012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17834
17835 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17836
5a03cb1e
AS
178372012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17838
17839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17840 Fix sort order.
17841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17842 Likewise.
17843
90aff2ff
TMQMF
178442012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17845
17846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17847 Fix the order of the list for glibc 2.17.
17848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17849 Likewise.
17850
1818fcb7
AS
178512012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17852
17853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17854
ef82f4da
JM
178552012-10-31 Joseph Myers <joseph@codesourcery.com>
17856
16a0e2ec
JM
17857 [BZ #14610]
17858 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17859 for low part of x being zero before using __atanl (y).
17860 * math/libm-test.inc (atan2_test): Add another test.
17861
0eb69512
JM
17862 * manual/install.texi (Configuring and compiling): Document
17863 general use of test-wrapper and test-wrapper-env.
17864 * INSTALL: Regenerated.
17865
ef82f4da
JM
17866 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17867 (__fma): Do not extract and scale down low bits on after-rounding
17868 systems when result rounded to normal precision would have normal
17869 exponent.
17870 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17871 (__fmal): Do not extract and scale down low bits on after-rounding
17872 systems when result rounded to normal precision would have normal
17873 exponent.
17874 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17875 (__fmal): Do not extract and scale down low bits on after-rounding
17876 systems when result rounded to normal precision would have normal
17877 exponent.
17878 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17879 macro.
17880 (fma_test): Add more tests.
17881 (fma_test_towardzero): Likewise.
17882 (fma_test_downward): Likewise.
17883 (fma_test_upward): Likewise.
17884
954ef0d9
L
178852012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17886
17887 * sysdeps/i386/tininess.h: Renamed to ...
17888 * sysdeps/x86/tininess.h: This.
17889 * sysdeps/x86_64/tininess.h: Removed.
17890
df61ffb2
JM
178912012-10-30 Joseph Myers <joseph@codesourcery.com>
17892
17893 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17894 input. Use $(build-program-cmd).
17895 ($(objpfx)tst-array1-static.out): Likewise.
17896 ($(objpfx)tst-array2.out): Likewise.
17897 ($(objpfx)tst-array3.out): Likewise.
17898 ($(objpfx)tst-array4.out): Likewise.
17899 ($(objpfx)tst-array5.out): Likewise.
17900 ($(objpfx)tst-array5-static.out): Likewise.
17901
01767843
CM
179022012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17903
47cc1490
CM
17904 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17905 if defined.
17906
01767843
CM
17907 * nss/nsswitch.h (nss_interface_function): Provide new
17908 macro for use with NSS functions.
17909 * grp/initgroups.c: Use new macro.
17910 * nss/getXXbyYY.c: Likewise.
17911 * nss/getXXbyYY_r.c: Likewise.
17912 * nss/getXXent.c: Likewise.
17913 * nss/getXXent_r.c: Likewise.
17914 * sysdeps/posix/getaddrinfo.c: Likewise.
17915
8321aa97
AJ
179162012-10-30 Andreas Jaeger <aj@suse.de>
17917
17918 * po/ru.po: Update Russion translation from translation project.
17919
2a27fd6d
JM
179202012-10-30 Joseph Myers <joseph@codesourcery.com>
17921
8627a232
JM
17922 [BZ #14152]
17923 [BZ #14783]
17924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17925 result and shift together with sticky bit instead of replicating
17926 round-to-nearest rounding.
17927 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17928 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17929 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17930 missing underflow exceptions.
17931 (fma_test_towardzero): Add more tests.
17932 (fma_test_downward): Likewise.
17933 (fma_test_upward): Likewise.
17934
2a27fd6d
JM
17935 [BZ #14047]
17936 * sysdeps/generic/tininess.h: New file.
17937 * sysdeps/i386/tininess.h: Likewise.
17938 * sysdeps/sh/tininess.h: Likewise.
17939 * sysdeps/x86_64/tininess.h: Likewise.
17940 * stdlib/tst-strtod-underflow.c: Likewise.
17941 * stdlib/tst-tininess.c: Likewise.
17942 * stdlib/strtod_l.c: Include <tininess.h>.
17943 (round_and_return): Do not set errno for exact underflow cases.
17944 Force an underflow exception when setting errno for underflow.
17945 Determine underflow based on rounding to normal precision if
17946 TININESS_AFTER_ROUNDING.
17947 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17948 ERANGE for exact underflow cases.
17949 * stdlib/Makefile (tests): Add tst-tininess and
17950 tst-strtod-underflow.
17951 ($(objpfx)tst-tininess): Use $(link-libm).
17952 ($(objpfx)tst-strtod-underflow): Likewise.
17953
e7170363
AJ
179542012-10-30 Andreas Jaeger <aj@suse.de>
17955
e5088dc6
AJ
17956 [BZ#14767]
17957 * elf/Makefile (tests): Remove conditional for have-initfini-array
17958 since this is now always required and the variable does not exist
17959 anymore.
17960 (tests-static): Likewise.
17961 (modules-names): Likewise.
17962
e7170363 17963 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17964
17965 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17966 merged with constructor/destructor.
17967 (init_array): Likewise.
17968 * elf/tst-array2dep.c (fini_array): Likewise.
17969 (init_array): Likewise.
17970
60457d8a
MF
179712012-10-29 Mike Frysinger <vapier@gentoo.org>
17972
17973 * manual/message.texi: Delete @cartouche tags.
17974
8bece752
PT
179752012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17976
94ce799f
PT
17977 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17978 EOPNOTSUPP.
17979 * sysdeps/mach/hurd/fsync.c: Likewise.
17980
8bece752
PT
17981 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17982 [_POSIX_REALTIME_SIGNALS]: Change condition to
17983 [_POSIX_REALTIME_SIGNALS > 0].
17984
86ebe6b1
AJ
179852012-10-27 Andreas Jaeger <aj@suse.de>
17986
17987 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17988 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17989 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17990 [__WORDSIZE != 64]: Likewise.
17991
54399c08
L
179922012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17993
17994 * iconvdata/tst-table.sh: Remove ${SHELL}.
17995 * iconvdata/tst-tables.sh: Likewise.
17996
e2211bed
DM
179972012-10-25 David S. Miller <davem@davemloft.net>
17998
17999 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18000 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18001 of strtoull.
18002
f303f97c
DM
18003 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18004 ifunc-impl-list.c
18005 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18006 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18007 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18008 file.
18009
1e9d84cd
RM
180102012-10-25 Roland McGrath <roland@hack.frob.com>
18011
18012 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18013 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18014 __getdirentries.
18015
df381762
JM
180162012-10-25 Joseph Myers <joseph@codesourcery.com>
18017 Jim Blandy <jimb@codesourcery.com>
18018
18019 * scripts/cross-test-ssh.sh: New file.
18020 * manual/install.texi (Configuring and compiling): Document use of
18021 cross-test-ssh.sh.
18022 * INSTALL: Regenerated.
18023
bff64913
PT
180242012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18025
18026 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18027 EOPNOTSUPP.
18028
25fe8932
JM
180292012-10-25 Joseph Myers <joseph@codesourcery.com>
18030
18031 * Makeconfig (run-program-prefix): Fix comment.
18032
cc1290d0
JM
180332012-10-24 Joseph Myers <joseph@codesourcery.com>
18034 Jim Blandy <jimb@codesourcery.com>
18035
18036 * Makeconfig (test-wrapper): New variable,
18037 (test-wrapper-env): Likewise.
18038 [$(cross-compiling) = yes && $(test-wrapper) != ""]
18039 (run-built-tests): Define to yes.
18040 (run-program-prefix): Use $(test-wrapper).
18041 (built-program-cmd): Likewise.
18042 * Rules (make-test-out): Use $(test-wrapper-env) and
18043 $(host-built-program-cmd).
18044 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18045 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18046 tst-pathopt.sh.
18047 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18048 $(test-wrapper-env) to tst-rtld-load-self.sh.
18049 ($(objpfx)order2.out): Use $(test-wrapper).
18050 ($(objpfx)tst-initorder.out): Likewise.
18051 ($(objpfx)tst-initorder2.out): Likewise.
18052 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18053 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18054 (test_wrapper_env): New variable. Use it to run ld.so.
18055 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18056 Use it to run ld.so.
18057 (test_wrapper_env): Likewise.
18058 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18059 $(test-wrapper) to run-iconv-test.sh.
18060 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18061 (ICONV): Use $test_wrapper.
18062 * posix/Makefile ($(objpfx)globtest.out): Pass
18063 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18064 globtest.sh, not $(run-program-prefix).
18065 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18066 (test_wrapper): Likewise.
18067 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18068 set together with run_via_rtld_prefix.
18069 (run_program_prefix): Define in terms of test_wrapper and
18070 run_via_rtld_prefix.
18071
6e6249d0
RM
180722012-10-24 Roland McGrath <roland@hack.frob.com>
18073
18074 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18075 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18076 Targets removed.
18077
18078 [BZ #14743]
18079 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18080 Declare __clock_getres, __clock_gettime, __clock_settime,
18081 __clock_nanosleep, and __clock_getcpuclockid.
18082 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18083 Remove librt_hidden_def (clock_gettime).
18084 * sysdeps/unix/clock_gettime.c: Likewise.
18085 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18086 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18087 * rt/clock_getres.c: Define __clock_getres as an alias.
18088 * sysdeps/posix/clock_getres.c: Likewise.
18089 * rt/clock_settime.c: Define __clock_settime as an alias.
18090 * sysdeps/unix/clock_settime.c: Likewise.
18091 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18092 * sysdeps/unix/clock_nanosleep.c: Likewise.
18093 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18094 * rt/clock-compat.c: New file.
18095 * rt/Makefile (librt-routines): Add clock-compat and move
18096 $(clock-routines) to ...
18097 (routines): ... here, new variable.
18098 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18099 Don't add get_clockfreq here.
18100 * rt/Versions (libc: GLIBC_2.17): New version set.
18101 Add clock_* symbols here.
18102 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18103 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18104 (GLIBC_2.17): Add clock_* symbols.
18105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18107 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18109 Likewise.
18110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18111 Likewise.
18112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18116 * NEWS: Mention the move.
18117
18118 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18119 Use __open, __read, __close rather than their public counterparts.
18120 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18121 (__get_clockfreq_via_cpuinfo): Likewise.
18122 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18123 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18124
18125 * config.h.in (HAVE_IFUNC): New #undef.
18126 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18127 was successful.
18128 * configure: Regenerated.
18129
0cae3f4b
MF
181302012-10-24 Mike Frysinger <vapier@gentoo.org>
18131
18132 * configure.in: Move READELF check to start of file.
18133 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18134 libc_cv_asm_gnu_indirect_function in the process.
18135 * configure: Regenerated.
18136
8175a253
MF
181372012-10-24 Mike Frysinger <vapier@gentoo.org>
18138
18139 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18140 send the output to /dev/null.
18141 (libc_cv_cc_with_libunwind): Likewise.
18142 (libc_cv_as_noexecstack): Likewise.
18143 * configure: Regenerate.
18144
0708a7d1
JM
181452012-10-24 Joseph Myers <joseph@codesourcery.com>
18146
10b40d85
JM
18147 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18148
0708a7d1
JM
18149 * posix/globtest.sh (TMPDIR): Do not set.
18150 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18151 (testout): Likewise.
18152
9fddec1a
AJ
181532012-10-24 Andreas Jaeger <aj@suse.de>
18154
3a8db22f
AJ
18155 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18156 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18157 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18158 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18159 posix_fadvise64, posix_fallocate64.
18160
9fddec1a
AJ
18161 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18162 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18163 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18164 Likewise.
18165 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18166 Likewise.
18167 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18168
18169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18170 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18171 <bits/fcntl-linux.h>.
18172 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18173
18174 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18175 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18176 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18177 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18178 [__WORDSIZE != 64]: Likewise.
18179
ebfd1bbd
JM
181802012-10-23 Joseph Myers <joseph@codesourcery.com>
18181
03ac099f
JM
18182 * Makeconfig (run-built-tests): New variable.
18183 * Rules [$(cross-compiling) = yes]: Change condition to
18184 [$(run-built-tests) = no].
18185 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18186 to [$(run-built-tests) = yes].
18187 * elf/Makefile [$(cross-compiling) = no]: Likewise
18188 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18189 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18190 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18191 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18192 * io/Makefile [$(cross-compiling) = no]: Likewise.
18193 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18194 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18195 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18196 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18197 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18198 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18199 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18200 * string/Makefile [$(cross-compiling) = no]: Likewise.
18201
ebfd1bbd
JM
18202 * posix/Makefile ($(objpfx)globtest.out): Pass
18203 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18204 $(rtld-installed-name).
18205 * posix/globtest.sh (elf_objpfx): Remove variable.
18206 (rtld_installed_name): Likewise.
18207 (library_path): Likewise.
18208 (run_program_prefix): New variable. Use for running globtest
18209 binary.
18210
166bca24
JB
182112012-10-23 Jim Blandy <jimb@codesourcery.com>
18212 Joseph Myers <joseph@codesourcery.com>
18213
18214 * Makeconfig (host-built-program-cmd): New variable.
18215 * elf/Makefile (tst-stackguard1-ARGS): Use
18216 $(host-built-program-cmd).
18217 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18218 (tst-spawn-ARGS): Likewise.
18219 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18220
88866099
JM
182212012-10-23 Joseph Myers <joseph@codesourcery.com>
18222 Jim Blandy <jimb@codesourcery.com>
18223
18224 * Makeconfig (run-via-rtld-prefix): New variable.
18225 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18226 (built-program-cmd): Likewise.
18227
b4b4c296
AJ
182282012-10-22 Andreas Jaeger <aj@suse.de>
18229
18230 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18231 __O_RSYNC if it exists, otherwise to O_SYNC.
18232
6fb54a22
JB
182332012-10-22 Jim Blandy <jimb@codesourcery.com>
18234 Joseph Myers <joseph@codesourcery.com>
18235
18236 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18237 /dev/null.
18238 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18239 from /dev/null
18240 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18241 /dev/null.
18242
481b90b9
AJ
182432012-10-22 Andreas Jaeger <aj@suse.de>
18244
2a0e2669
AJ
18245 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18246 Define always.
18247 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18248
76e38f9a
AJ
18249 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18250 bits/fcntl-linux.h.
18251
7cd37b43
AJ
18252 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18253 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18254
481b90b9
AJ
18255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18256 to __O_LARGEFILE.
18257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18258 to __O_LARGEFILE.
18259
aba75984
JB
182602012-10-21 Jim Blandy <jimb@codesourcery.com>
18261 Joseph Myers <joseph@codesourcery.com>
18262
18263 * config.make.in (NM): New variable.
18264
88d4247f
AJ
182652012-10-21 Andreas Jaeger <aj@suse.de>
18266
18267 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18268 definitions and declarations that are provided by
18269 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18270
f2eed205
L
182712012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18272
18273 [BZ #14683]
18274 * elf/Makefile (tests-static): Add tst-leaks1-static.
18275 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18276 ($(objpfx)tst-leaks1-static): New rule.
18277 ($(objpfx)tst-leaks1-static-mem): Likewise.
18278 (tst-leaks1-static-ENV): New macro.
18279 * elf/dl-open.c (dl_open_worker): Check the main application
18280 only if SHARED is defined.
18281 * elf/tst-leaks1-static.c: New file.
18282
335e6931
AJ
182832012-10-20 Andreas Jaeger <aj@suse.de>
18284
18285 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18286 generic values for Linux.
18287 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18288 and declarations that are provided by <bits/fcntl-linux.h> and
18289 include <bits/fcntl-linux.h>.
18290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18292
ac5c94d3
RM
182932012-10-20 Roland McGrath <roland@hack.frob.com>
18294
18295 * io/fcntl.h: Move include of <bits/types.h> to the top and
18296 include it unconditionally.
18297
de54b33a
L
182982012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18299
228cfb01
L
18300 * wcsmbs/Makefile (tests-ifunc): New variable.
18301 (tests): Add $(tests-ifunc).
18302 * wcsmbs/test-wcschr-ifunc.c: New file.
18303 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18304 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18305 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18306 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18307 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18308
69f07e5f
L
18309 * string/Makefile (tests-ifunc): New variable.
18310 (tests): Add $(tests-ifunc).
18311 * string/test-memccpy.c (TEST_NAME): New macro.
18312 * string/test-memchr.c (TEST_NAME): Likewise.
18313 * string/test-memcmp.c (TEST_NAME): Likewise.
18314 * string/test-memcpy.c (TEST_NAME): Likewise.
18315 * string/test-memmem.c (TEST_NAME): Likewise.
18316 * string/test-memmove.c (TEST_NAME): Likewise.
18317 * string/test-memset.c (TEST_NAME): Likewise.
18318 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18319 * string/test-stpcpy.c (TEST_NAME): Likewise.
18320 * string/test-stpncpy.c (TEST_NAME): Likewise.
18321 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18322 * string/test-strcasestr.c (TEST_NAME): Likewise.
18323 * string/test-strcat.c (TEST_NAME): Likewise.
18324 * string/test-strchr.c (TEST_NAME): Likewise.
18325 * string/test-strcmp.c(TEST_NAME): Likewise.
18326 * string/test-strcpy.c (TEST_NAME): Likewise.
18327 * string/test-strcspn.c (TEST_NAME): Likewise.
18328 * string/test-strlen.c (TEST_NAME): Likewise.
18329 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18330 * string/test-strncmp.c (TEST_NAME): Likewise.
18331 * string/test-strncpy.c (TEST_NAME): Likewise.
18332 * string/test-strnlen.c (TEST_NAME): Likewise.
18333 * string/test-strpbrk.c (TEST_NAME): Likewise.
18334 * string/test-strrchr.c (TEST_NAME): Likewise.
18335 * string/test-strspn.c (TEST_NAME): Likewise.
18336 * string/test-strstr.c (TEST_NAME): Likewise.
18337 * string/test-bcopy-ifunc.c: New file.
18338 * string/test-bzero-ifunc.c: Likewise.
18339 * string/test-memccpy-ifunc.c: Likewise.
18340 * string/test-memchr-ifunc.c: Likewise.
18341 * string/test-memcmp-ifunc.c: Likewise.
18342 * string/test-memcpy-ifunc.c: Likewise.
18343 * string/test-memmem-ifunc.c: Likewise.
18344 * string/test-memmove-ifunc.c: Likewise.
18345 * string/test-mempcpy-ifunc.c: Likewise.
18346 * string/test-memset-ifunc.c: Likewise.
18347 * string/test-rawmemchr-ifunc.c: Likewise.
18348 * string/test-stpcpy-ifunc.c: Likewise.
18349 * string/test-stpncpy-ifunc.c: Likewise.
18350 * string/test-strcasecmp-ifunc.c: Likewise.
18351 * string/test-strcasestr-ifunc.c: Likewise.
18352 * string/test-strcat-ifunc.c: Likewise.
18353 * string/test-strchr-ifunc.c: Likewise.
18354 * string/test-strchrnul-ifunc.c: Likewise.
18355 * string/test-strcmp-ifunc.c: Likewise.
18356 * string/test-strcpy-ifunc.c: Likewise.
18357 * string/test-strcspn-ifunc.c: Likewise.
18358 * string/test-strlen-ifunc.c: Likewise.
18359 * string/test-strncasecmp-ifunc.c: Likewise.
18360 * string/test-strncat-ifunc.c: Likewise.
18361 * string/test-strncmp-ifunc.c: Likewise.
18362 * string/test-strncpy-ifunc.c: Likewise.
18363 * string/test-strnlen-ifunc.c: Likewise.
18364 * string/test-strpbrk-ifunc.c: Likewise.
18365 * string/test-strrchr-ifunc.c: Likewise.
18366 * string/test-strspn-ifunc.c: Likewise.
18367 * string/test-strstr-ifunc.c: Likewise.
18368
de54b33a
L
18369 * debug/Makefile (tests-ifunc): New variable.
18370 (tests): Add $(tests-ifunc).
18371 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18372 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18373 * debug/test-stpcpy_chk-ifunc.c: New file.
18374 * debug/test-strcpy_chk-ifunc.c: Likewise.
18375
88481c16
SP
183762012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18377
18378 [BZ #13601]
18379 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18380 header is not read in.
18381
135948bd
JM
183822012-10-19 Joseph Myers <joseph@codesourcery.com>
18383
89f1c388
JM
18384 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18385 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18386 directly. Pass built executable to script as
18387 $(built-program-cmd).
18388 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18389 $testprogram without using LD_LIBRARY_PATH and $ldso.
18390
e40a0d21
JM
18391 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18392 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18393 $(rtld-installed-name).
18394 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18395 (rtld_installed_name): Likewise.
18396 (library_path): Likewise.
18397 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18398 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18399 $(run-program-prefix) to tst-tables.sh.
18400 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18401 it to run tst-table-from and tst-table-to.
18402 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18403 Pass it to tst-table.sh.
18404 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18405 $(run-program-prefix) to tst-gettext.sh.
18406 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18407 tst-translit.sh.
18408 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18409 tst-gettext2.sh.
18410 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18411 to run tst-gettext.
18412 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18413 to run tst-gettext2.
18414 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18415 to run tst-translit.
18416 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18417 $(run-program-prefix) to tst-mtrace.sh.
18418 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18419 to run tst-mtrace.
18420 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18421 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18422 $(rtld-installed-name).
18423 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18424 (rtld_installed_name): Likewise.
18425 (run_program_prefix): New variable. Use it to run wordexp-test.
18426
728e272a
JM
18427 * Makeconfig (ARCH): Remove all definitions.
18428 (machine): Likewise.
18429 [ARCH]: Remove conditional code.
18430 [!objdir]: Give error.
18431 [!objdir] (objpfx): Remove.
18432 [!objdir] (common-objpfx): Likewise.
18433 [!objdir] (common-objdir): Likewise.
18434 * configure.in (config_makefile): Remove. Hardcode Makefile in
18435 AC_CONFIG_FILES call.
18436 * configure: Regenerated.
18437
d528cdcf
JM
18438 [BZ #13888]
18439 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18440 or TMPDIR.
18441 (testout): Likewise.
18442
135948bd
JM
18443 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18444 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18445 $(rtld-installed-name).
18446 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18447 (rtld_installed_name): Likwise.
18448 (runit): Remove function.
18449 (run_getconf): New variable, Use it for running getconf binary.
18450
38c78296
L
184512012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18452
18453 [BZ #14716]
18454 * string/test-memmem.c (check_result): New function.
18455 (do_one_test): Use it.
18456 (check1): New function.
18457 (test_main): Use it.
18458
d077f65f
MT
184592012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18460
18461 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18462
ced52c71
JM
184632012-10-18 Joseph Myers <joseph@codesourcery.com>
18464
18465 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18466 (_G_LSEEK64): Likewise.
18467 (_G_MMAP64): Likewise.
18468 (_G_FSTAT64): Likewise.
18469 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18470 (_G_LSEEK64): Likewise.
18471 (_G_MMAP64): Likewise.
18472 (_G_FSTAT64): Likewise.
18473 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18474 unconditional. Call __mmap64 directly.
18475 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18476 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18477 __lseek64 directly.
18478 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18479 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18480 __mmap64 directly.
18481 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18482 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18483 __lseek64 directly.
18484 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18485 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18486 __lseek64 directly.
18487 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18488 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18489 __lseek64 directly.
18490 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18491 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18492 __fxstat64 directly.
18493 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18494 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18495 unconditional.
18496 (freopen64) [!_G_OPEN64]: Remove conditional code.
18497 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18498 unconditional.
18499 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18500 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18501 unconditional.
18502 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18503 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18504 unconditional.
18505 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18506 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18507 unconditional.
18508 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18509 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18510 unconditional.
18511 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18512 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18513 unconditional.
18514 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18515 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18516 unconditional.
18517 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18518
b741de23
SP
185192012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18520
18521 [BZ #12140]
18522 * manual/memory.texi (Malloc Tunable Parameters): Add note
18523 about free list pointers overwriting some perturb bytes.
18524 Wording suggested by Roland McGrath.
18525
f9b9d9c9
JM
185262012-10-17 Joseph Myers <joseph@codesourcery.com>
18527
18528 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18529 (lgamma_test): Likewise.
18530 (tgamma_test): Likewise.
18531
172a631a
FW
185322012-10-16 Florian Weimer <fweimer@redhat.com>
18533
18534 [BZ #14700]
18535 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18536 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18537
e9f37252
MK
185382012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18539
18540 * NEWS: Mention BZ #14716.
18541 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18542 when removing AVAILABLE1_USES_J macro.
18543
d394eb74
L
185442012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18545
18546 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18547 (__bswap_64): __uint64_t for unsigned 64-bit int.
18548
ca38dc17
AS
185492012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18550
18551 * include/string.h (memmem): Declare libc hidden alias.
18552 * string/memmem.c (memmem): Define libc hidden alias.
18553 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18554 __read, __close instead of open, read, close.
18555
9a387d1f
L
185562012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18557
ac49ecaf
L
18558 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18559 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18560 global and hidden.
18561 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18562 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18563 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18564 Likewise.
18565 (__rawmemchr_sse2): Likewise.
18566 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18567 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18568 (__strchr_sse2): Likewise.
18569 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18570 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18571 (__strcasecmp_sse2): Likewise.
18572 (__strncasecmp_sse2): Likewise.
18573 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18574 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18575 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18576 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18577 (__strrchr_sse2): Likewise.
18578 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18579 ifunc-impl-list.c.
18580 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18581 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18582 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18583 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18584 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18585 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18586 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18587 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18588 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18589 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18590 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18591 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18592 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18593 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18594 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18595 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18596 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18597 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18598 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18599 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18600 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18601 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18602 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18603 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18604 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18605 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18606 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18607 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18608 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18609 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18610
b090e8ea
L
18611 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18612 global and hidden.
18613 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18614 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18615 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18616 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18617 Likewise.
18618 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18619 Likewise.
18620 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18621 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18622 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18623 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18624 ifunc-impl-list.c.
18625 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18626 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18627 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18628 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18629 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18630 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18631 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18632 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18633 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18634 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18635 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18636 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18637 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18638 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18639 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18640 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18641 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18642 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18643 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18644 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18645 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18646 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18647 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18648 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18649 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18650 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18651 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18652 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18653 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18654 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18655 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18656 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18657 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18658 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18659 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18660 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18661 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18662 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18663 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18664 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18665 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18666
11dd4af6
L
18667 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18668 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18669 * include/ifunc-impl-list.h: New file.
18670 * misc/ifunc-impl-list.c: Likewise.
18671 * misc/Makefile (routines): Add ifunc-impl-list.
18672 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18673 * string/test-string.h: Include <ifunc-impl-list.h>.
18674 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18675 impl_array): New variables.
18676 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18677 are defined.
18678 (test_init): Call __libc_ifunc_impl_list to initialize
18679 func_list if TEST_IFUNC and TEST_NAME are defined.
18680
9a387d1f
L
18681 * string/Makefile (strop-tests): Add bcopy and bzero.
18682 * string/test-bcopy.c: New file.
18683 * string/test-bzero.c: Likewise.
18684 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18685 defined.
18686 * string/test-memset.c: Support bzero test if TEST_BZERO is
18687 defined.
18688 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18689 __libc_memmove.
18690 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18691 __libc_memset.
18692 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18693 of memset.
18694
472371b9
JM
186952012-10-10 Joseph Myers <joseph@codesourcery.com>
18696
1e4a9536
JM
18697 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18698 * configure: Regenerated.
18699
d173d12e
JM
18700 * Makeconfig (+link-static-before-libc): Don't include
18701 $(link-static-libc).
18702
472371b9
JM
18703 * libio/libio.h (_IO_pos_t): Remove.
18704
89a3ad0b
AO
187052012-10-10 Alexandre Oliva <aoliva@redhat.com>
18706
18707 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18708 McGrath.
18709
e7451425
AO
187102012-10-10 Alexandre Oliva <aoliva@redhat.com>
18711
18712 * crypt/crypt-entry.c: Include fips-private.h.
18713 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18714 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18715 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18716 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18717
4ba74a35
AO
187182012-10-10 Alexandre Oliva <aoliva@redhat.com>
18719
18720 * crypt/crypt-private.h: Include stdbool.h.
18721 (_ufc_setup_salt_r): Return bool.
18722 * crypt/crypt-entry.c: Include errno.h.
18723 (__crypt_r): Return NULL with EINVAL for bad salt.
18724 * crypt/crypt_util.c (bad_for_salt): New.
18725 (_ufc_setup_salt_r): Check that salt is long enough and within
18726 the specified alphabet.
18727 * crypt/badsalttest.c: New file.
18728 * crypt/Makefile (tests): Add it.
18729 ($(objpfx)badsalttest): New.
18730
f96f1242
MK
187312012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18732
18733 * NEWS: Add entry for BZ #14602.
18734
0e8e0c1c
JM
187352012-10-09 Joseph Myers <joseph@codesourcery.com>
18736
18737 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18738 type-generic.
18739 * math/libm-test.inc: Update comment listing what functions and
18740 macros are tested.
18741 (isgreater_test): New function.
18742 (isgreaterequal_test): Likewise.
18743 (isless_test): Likewise.
18744 (islessequal_test): Likewise.
18745 (islessgreater_test): Likewise.
18746 (isunordered_test): Likewise.
18747 (main): Call the new functions.
18748
273edc5e
RM
187492012-10-09 Roland McGrath <roland@hack.frob.com>
18750
b8493de0
RM
18751 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18752 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18753 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18754 * sysdeps/i386/configure: Regenerated.
18755 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18756 * sysdeps/mach/configure: Regenerated.
18757 * sysdeps/mach/hurd/configure: Regenerated.
18758 * sysdeps/powerpc/configure: Regenerated.
18759 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18760 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18761 * sysdeps/s390/s390-32/configure: Regenerated.
18762 * sysdeps/s390/s390-64/configure: Regenerated.
18763 * sysdeps/sh/configure: Regenerated.
18764 * sysdeps/sparc/configure: Regenerated.
18765 * sysdeps/unix/sysv/linux/configure: Regenerated.
18766 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18767 * sysdeps/x86_64/configure: Regenerated.
18768
273edc5e
RM
18769 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18770 defined. Don't check if MAP is NULL.
18771
c8450f70
JM
187722012-10-09 Joseph Myers <joseph@codesourcery.com>
18773
18774 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18775 (_G_stat64): Likewise.
18776 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18777 (_G_stat64): Likewise.
18778 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18779 instead of struct _G_stat64.
18780 * libio/fileops.c (mmap_remap_check): Likewise.
18781 (decide_maybe_mmap): Likewise.
18782 (_IO_new_file_seekoff): Likewise.
18783 (_IO_file_stat): Likewise.
18784 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18785 _G_off64_t.
18786 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18787 instead of struct _G_stat64.
18788 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18789
57e605ba
MK
187902012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18791
18792 [BZ #14602]
18793 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18794 Replace with ...
18795 (CHECK_EOL): New macro.
18796 (two_way_short_needle): Check beginning of haystack for EOL. Use
18797 CHECK_EOL.
18798 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18799 Replace with CHECK_EOL.
18800 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18801 Replace with CHECK_EOL.
18802
ef1bb361
JM
188032012-10-08 Joseph Myers <joseph@codesourcery.com>
18804
18805 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18806 type-generic.
18807 * math/libm-test.inc: Update comment listing what functions and
18808 macros are tested.
18809 (finite_test): New function.
18810 (isinf_test): Likewise.
18811 (isnan_test): Likewise.
18812 (fpclassify_test): Test subnormal input.
18813 (isfinite_test): Likewise.
18814 (isnormal_test): Likewise.
18815 (main): Call the new functions.
18816
55f11534
JN
188172012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18818
18819 [BZ #14660]
18820 * Makerules (%.dynsym): Force C locale when running
18821 $(OBJDUMP) --dynamic-syms.
18822
1ab29350
AS
188232012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18824
18825 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18826 <stdint.h>.
18827
f1ecb7ef
DM
188282012-10-06 David S. Miller <davem@davemloft.net>
18829
18830 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18831 upper 32-bits of the length value in %o2 since we use branch-on-register
18832 tests which consider the entire 64-bit register.
18833
5d41d91a
L
188342012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18835
18836 * string/test-strstr.c (check2): Add a test for page boundary.
18837
3baddb72
DM
188382012-10-05 David S. Miller <davem@davemloft.net>
18839
18840 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18841 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18842 file.
18843 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18844 sysdep_routines.
18845 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18846 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18847 and bzero when HWCAP_SPARC_CRYPTO is present.
18848
9cee5585
L
188492012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18850
d7e0dab9
L
18851 [BZ #14602]
18852 * string/test-strstr.c (check2): New function.
18853 (test_main): Call check2.
18854
03759f47
L
18855 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18856 and bug-strchr1.
18857 * string/bug-strcasestr1.c (do_test): Moved to ...
18858 * string/test-strcasestr.c (check1): Here. New function.
18859 (do_one_test): Break out result checking code into ...
18860 (check_result): This. New function.
18861 (do_one_test): Call check_result.
18862 (test_main): Call check1.
18863 * string/bug-strchr1.c (do_test): Moved to ...
18864 * string/test-strchr.c (check1): Here. New function.
18865 (do_one_test): Break out result checking code into ...
18866 (check_result): This. New function.
18867 (do_one_test): Call check_result.
18868 (test_main): Call check1.
18869 * string/bug-strstr1.c (main): Moved to ...
046f153e 18870 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18871 (do_one_test): Break out result checking code into ...
18872 (check_result): This. New function.
18873 (do_one_test): Call check_result.
18874 (test_main): Call check1.
18875 * string/bug-strcasestr1.c: Removed.
18876 * string/bug-strchr1.c: Likewise.
18877 * string/bug-strstr1.c: Likewise.
18878
53cea63e
L
18879 * elf/Makefile (dl-routines): Add hwcaps.
18880 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18881 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18882 (_dl_important_hwcaps): Moved to ...
18883 * elf/dl-hwcaps.c: Here. New file.
18884 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18885
9cee5585 18886 [BZ #14557]
bb859b06
L
18887 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18888 if IS_IN_rtld isn't defined.
18889
9cee5585
L
18890 * elf/dl-support.c (_dl_sysinfo_map): New.
18891 Include "get-dynamic-info.h" and "setup-vdso.h".
18892 (_dl_non_dynamic_init): Call setup_vdso.
18893 * elf/dynamic-link.h: Don't include <assert.h>.
18894 (elf_get_dynamic_info): Moved to ...
18895 * elf/get-dynamic-info.h: Here. New file.
18896 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18897 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18898 * elf/setup-vdso.h: Here. New file.
18899 * elf/rtld.c: Include "setup-vdso.h".
18900 (dl_main): Call setup_vdso.
18901
23c31b76
JM
189022012-10-05 Joseph Myers <joseph@codesourcery.com>
18903
28234b07
JM
18904 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18905 creal in comment listing functions tested. List finite, isinf,
18906 isnan, isless, islessequal, isgreater, isgreaterequal,
18907 islessgreater, isunordered, lgamma_r and pow10 as functions and
18908 macros not tested. Mention which functions not tested are aliases
18909 for other functions. Fix typo. Note that signs of NaNs are not
18910 tested.
18911
23c31b76
JM
18912 * scripts/config.guess: Update from config.git.
18913 * scripts/config.sub: Likewise.
18914
9043e228
RM
189152012-10-04 Roland McGrath <roland@hack.frob.com>
18916
18917 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18918 * misc/madvise.c (madvise): Renamed to __madvise.
18919 Make madvise a weak alias.
18920 * include/sys/mman.h: Declare __madvise.
18921 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18922 * sysdeps/unix/syscalls.list
18923 (madvise): Make __madvise the strong name, and madvise a weak alias.
18924 * sysdeps/unix/sysv/linux/syscalls.list
18925 (madvise, mmap): Remove redundant entries.
18926 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18927 * malloc/malloc.c (mtrim): Likewise.
18928 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18929
f57f8055
RM
189302012-10-03 Roland McGrath <roland@hack.frob.com>
18931
18932 * sysdeps/mach/hurd/dl-cache.c: File removed.
18933 * config.h.in (USE_LDCONFIG): New #undef.
18934 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18935 * configure: Regenerated.
18936 * elf/Makefile (dl-routines): Add dl-cache only under
18937 [$(use-ldconfig) = yes].
18938 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18939 cache on [USE_LDCONFIG].
18940 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18941 [USE_LDCONFIG].
18942 * elf/rtld.c (dl_main): Likewise.
18943
5bb0c10a
PT
189442012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18945
18946 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18947 _SC_LEVEL4_CACHE_LINESIZE.
18948
010188c6
RM
189492012-10-03 Roland McGrath <roland@hack.frob.com>
18950
18951 * sysdeps/unix/bsd/confstr.h: File removed.
18952
b6c5ec07
AO
189532012-10-02 Alexandre Oliva <aoliva@redhat.com>
18954
18955 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18956 sys/sdt-config.h.
18957
408223d4
RM
189582012-10-02 Roland McGrath <roland@hack.frob.com>
18959
18960 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18961 Make 'mapoff' field ElfW(Off) rather than off_t.
18962
bb9510dc
DL
189632012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18964
fc997c6e
DL
18965 * nscd/Makefile: Remove nscd-cflags and all its users.
18966 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18967 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18968
bb9510dc
DL
18969 [BZ #10631]
18970 * malloc.c (malloc_printerr): Clarify error message.
18971
05699367
L
189722012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18973
18974 [BZ #14648]
18975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18976 Set bit_FMA_Usable if FMA is supported.
18977 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18978 macro.
18979 (bit_FMA4_Usable): Updated.
18980 (index_FMA_Usable): New macro.
18981 (CPUID_FMA): Likewise
18982 (HAS_FMA): Defined with bit_FMA_Usable.
18983
51367701
RM
189842012-10-01 Roland McGrath <roland@hack.frob.com>
18985
18986 * bits/types.h (__swblk_t): Type removed.
18987 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18988 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18989 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18990 (__SWBLK_T_TYPE): Likewise.
18991 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18992 (__SWBLK_T_TYPE): Likewise.
18993 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18994 (__SWBLK_T_TYPE): Likewise.
18995 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18996 (__SWBLK_T_TYPE): Likewise.
18997
4d57bf63 189982012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18999 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
19000
19001 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19002 (xdr_mapname): Use YPMAXMAP as maxsize.
19003 (xdr_peername): Use YPMAXPEER as maxsize.
19004 (xdr_keydat): Use YPAXRECORD as maxsize.
19005 (xdr_valdat): Use YPMAXRECORD as maxsize.
19006
93c65d43
RM
190072012-10-01 Roland McGrath <roland@hack.frob.com>
19008
497a03d6
RM
19009 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19010
93c65d43
RM
19011 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19012 * csu/init-first.c: ... here.
19013 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19014 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19015 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19016 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19017 * sysdeps/i386/init-first.c: File removed.
19018 * sysdeps/sh/init-first.c: File removed.
19019
bec749fd
JM
190202012-10-01 Joseph Myers <joseph@codesourcery.com>
19021
19022 [BZ #14645]
19023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19024 if x * y might underflow to zero and z is zero.
19025 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19026 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19027 * math/libm-test.inc (min_subnorm_value): New variable.
19028 (fma_test): Add more tests.
19029 (fma_test_towardzero): Likewise.
19030 (fma_test_downward): Likewise
19031 (fma_test_upward): Likewise.
19032 (initialize): Set min_subnorm_value.
19033
8ec5b013
JM
190342012-09-29 Joseph Myers <joseph@codesourcery.com>
19035
19036 [BZ #14638]
19037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19038 0 + 0.
19039 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19040 mode for addition resulting in exact zero.
19041 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19043 exact 0 + 0.
19044 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19045 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19046 * math/libm-test.inc (fma_test): Add more tests.
19047 (fma_test_towardzero): New function.
19048 (fma_test_downward): Likewise.
19049 (fma_test_upward): Likewise.
19050 (main): Call the new functions.
19051
b1fa802e
DM
190522012-09-28 David S. Miller <davem@davemloft.net>
19053
19054 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19055
d3b9fd9e
RM
190562012-09-28 Roland McGrath <roland@hack.frob.com>
19057
ea4d37b3
RM
19058 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19059 instead of SIGALRM.
19060
ac51c949
RM
19061 * sysdeps/gnu/_G_config.h: Moved to ...
19062 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19063 * sysdeps/mach/hurd/_G_config.h: Moved to ...
19064 * sysdeps/generic/_G_config.h: ... here.
19065
28c195f7
RM
19066 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19067
848917f9
RM
19068 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19069
6bacf05b
RM
19070 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19071 Conditionalize target on [libnss_test1.so-version].
19072
91363dbb
RM
19073 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19074
cc87f7d8
RM
19075 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19076 (elfobjdir): Move out of conditionals.
19077
b1c608fe
RM
19078 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19079 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19080 (__nss_lookup_function): Conditionalize label remove_from_tree on
19081 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 19082
1d9a6d96
DM
190832012-09-28 David S. Miller <davem@davemloft.net>
19084
19085 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19086 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19087 file.
19088 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19089 sysdep_routines.
19090 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19091 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19092 when HWCAP_SPARC_CRYPTO is present.
19093
72581615
PT
190942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19095
19096 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19097
715a900c
JL
190982012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19099
19100 [BZ #6530]
19101 * stdio-common/vfprintf.c (process_string_arg): Revert
19102 2000-07-22 change.
19103
191042011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19105
19106 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19107 for testcase.
19108 * stdio-common/tst-sprintf.c: Include <locale.h>
19109 (main): Test sprintf's handling of incomplete multibyte
19110 characters.
19111
9bac1d86
L
191122012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19113
19114 * elf/dl-runtime.c (VERSYMIDX): Removed.
19115 * elf/dl-version.c (VERSYMIDX): Likewise.
19116 * elf/do-rel.h (VERSYMIDX): Likewise.
19117 (VALIDX): Likewise.
19118 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19119 * elf/rtld.c (VALIDX): Likewise.
19120 (ADDRIDX): Likewise.
9bac1d86
L
19121 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19122 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19123 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
19124 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19125 (VALIDX): Likewise.
19126 (ADDRIDX): Likewise.
9bac1d86 19127
b31606c0
PT
191282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19129
19130 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19131
11541177
JL
191322012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19133
19134 [BZ #11438]
19135 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19136 to global scope.
19137 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19138 addresses are in the same scope as 192.0.2/24.
19139 * posix/gai.conf: Document new scope table defaults.
19140
adb26fae
SP
191412012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19142
19143 [BZ #5298]
19144 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19145 for ftell. Compute offsets from write pointers instead.
19146 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19147
4573c6b0
SP
191482012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19149
19150 [BZ #14543]
19151 * libio/Makefile (tests): New test case tst-fseek.
19152 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19153 combination works in wide mode.
19154 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19155 state when the external buffer state changes.
19156
aa9bbfe6
DM
191572012-09-27 David S. Miller <davem@davemloft.net>
19158
19159 [BZ #14376]
19160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19161 pass reloc->r_addend in as the 'high' argument to
19162 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19163
784421e7
DM
19164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19165
c39bc8b8
PT
191662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19167
19168 * rt/tst-aio2.c: Include <pthread.h>.
19169 * rt/tst-aio3.c: Likewise.
19170
1ccc2399
SE
191712012-09-27 Steve Ellcey <sellcey@mips.com>
19172
19173 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19174
31ed4153
L
191752012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19176
25f5f885
L
19177 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19178 contents on [SHARED].
31ed4153 19179
b7bfe116
MP
191802012-09-26 Marek Polacek <polacek@redhat.com>
19181
19182 [BZ #14530]
19183 [BZ #13741]
19184 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19185 for C++ and GCC <4.3 as well as for non GCC compilers.
19186
43c4edba
MT
191872012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19188
19189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19190
6a1bf82f
RM
191912012-09-25 Roland McGrath <roland@hack.frob.com>
19192
19193 * Makefile.in (all, install): Declare with .PHONY.
19194 Reported by Michael Hope <michael.hope@linaro.org>.
19195
8ad11b9a
TMQMF
191962012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19197
19198 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19199 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19200 system header.
19201 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19202 Likewise.
19203 (sydep_routines): Add the new and the internal functions.
19204 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19205 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19207 (GLIBC_2.17): Add the new function.
19208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19209 (GLIBC_2.17): Likewise.
19210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19211 (GLIBC_2.17): Likewise.
19212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19213 (GLIBC_2.17): Likewise.
19214 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19215
7e2fca8d
AM
192162012-09-25 Alan Modra <amodra@gmail.com>
19217
19218 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19219 Add release barrier before setting once_control to say
19220 initialisation is done. Add hints on lwarx. Use macro in
19221 place of isync.
19222 (clear_once_control): Add release barrier.
19223
b87c4b24
JM
192242012-09-25 Joseph Myers <joseph@codesourcery.com>
19225
d032e0d2
JM
19226 [BZ #13629]
19227 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19228 specially.
19229 * math/s_clog10.c (__clog10): Likewise.
19230 * math/s_clog10f.c (__clog10f): Likewise.
19231 * math/s_clog10l.c (__clog10l): Likewise.
19232 * math/s_clogf.c (__clogf): Likewise.
19233 * math/s_clogl.c (__clogl): Likewise.
19234 * math/Makefile (libm-calls): Add x2y2m1.
19235 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19236 (__x2y2m1): Likewise.
19237 (__x2y2m1l): Likewise.
19238 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19239 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19240 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19241 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19242 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19243 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19244 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19245 * sysdeps/i386/fpu/libm-test-ulps: Update.
19246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19247
b87c4b24
JM
19248 [BZ #14621]
19249 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19250 int as type of variable DEPTH.
19251 (glob): Use size_t instead of int as type of variables NEWCOUNT
19252 and OLD_PATHC.
19253
6d3bf199
LD
192542012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19255
22bf5c17
LD
19256 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19257 Add s_sincosf-sse2.
19258 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19259 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19260 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19261 macros for using routine as __sincosf_ia32.
19262 Use macro for function declaration and weak_alias.
19263 * sysdeps/i386/fpu/libm-test-ulps: Update.
19264
19265 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19267
19268 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
19269 subnormal argument.
19270 * math/s_cexpf.c (__cexpf): Likewise.
19271 * math/s_csinf.c (__csinf): Likewise.
19272 * math/s_csinhf.c (__csinhf): Likewise.
19273 * math/s_ctanf.c (__ctanf): Likewise.
19274 * math/s_ctanhf.c (__ctanhf): Likewise.
19275 * math/s_ccosh.c (__ccoshf): Likewise.
19276 * math/s_cexp.c (__cexpl): Likewise.
19277 * math/s_csin.c (__csin): Likewise.
19278 * math/s_csinh.c (__csinh): Likewise.
19279 * math/s_ctan.c (__ctan): Likewise.
19280 * math/s_ctanh.c (ctanh): Likewise.
19281 * math/s_ccoshl.c (__ccoshl): Likewise.
19282 * math/s_cexpl.c (__cexpl): Likewise.
19283 * math/s_csinl.c (__csinl): Likewise.
19284 * math/s_csinhl.c (__csinhl): Likewise.
19285 * math/s_ctanl.c (__ctanl): Likewise.
19286 * math/s_ctanhl.c (__ctanhl): Likewise.
19287
203e5603
JM
192882012-09-25 Joseph Myers <joseph@codesourcery.com>
19289
19290 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19291 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19292 (_IO_off_t): Define to __off_t, not _G_off_t.
19293 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19294 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19295 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19296 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19297 type of __dummy and __dummy2 fields.
19298 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19299 (_G_ssize_t): Likewise.
19300 (_G_off_t): Likewise.
19301 (_G_pid_t): Likewise.
19302 (_G_uid_t): Likewise.
19303 (_G_wchar_t): Likewise.
19304 (_G_wint_t): Likewise.
19305 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19306 (_G_ssize_t): Likewise.
19307 (_G_off_t): Likewise.
19308 (_G_pid_t): Likewise.
19309 (_G_uid_t): Likewise.
19310 (_G_wchar_t): Likewise.
19311 (_G_wint_t): Likewise.
19312 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19313 (_G_ssize_t): Likewise.
19314 (_G_off_t): Likewise.
19315 (_G_pid_t): Likewise.
19316 (_G_uid_t): Likewise.
19317 (_G_wchar_t): Likewise.
19318 (_G_wint_t): Likewise.
19319
9fab36eb
SP
193202012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19321
19322 * malloc/arena.c: Include malloc-sysdep.h.
19323 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19324 is sufficient to shrink the heap or an unmap is needed.
19325 * sysdeps/generic/malloc-sysdep.h: New file. Define
19326 new function check_may_shrink_heap.
19327 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19328 new function check_may_shrink_heap.
19329
2b4f00d1
SP
193302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19331
19332 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19333 comments.
19334
9a9028b1
DL
193352012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19336
57c69bef
DL
19337 * catgets/test-gencat.sh: Add "set -e".
19338 * elf/tst-pathopt.sh: Likewise.
19339 * grp/tst_fgetgrent.sh: Likewise.
19340 * iconvdata/run-iconv-test.sh: Likewise.
19341 * intl/tst-gettext.sh: Likewise.
19342 * intl/tst-gettext2.sh: Likewise.
19343 * intl/tst-gettext4.sh: Likewise.
19344 * intl/tst-gettext6.sh: Likewise.
19345 * intl/tst-translit.sh: Likewise.
19346 * io/ftwtest-sh: Likewise.
19347 * libio/test-freopen.sh: Likewise.
19348 * malloc/tst-mtrace.sh: Likewise.
19349 * posix/globtest.sh: Likewise.
19350 * posix/tst-getconf.sh: Likewise.
19351 * posix/wordexp-tst.sh: Likewise.
19352 * stdio-common/tst-printf.sh: Likewise.
19353 * stdio-common/tst-unbputc.sh: Likewise.
19354 * stdlib/tst-fmtmsg.sh: Likewise.
19355 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19356 * catgets/Makefile: Do not specify -e option when running
19357 testsuite shell scripts.
19358 * elf/Makefile: Likewise.
19359 * grp/Makefile: Likewise.
19360 * iconvdata/Makefile: Likewise.
19361 * intl/Makefile: Likewise.
19362 * io/Makefile: Likewise.
19363 * libio/Makefile: Likewise.
19364 * malloc/Makefile: Likewise.
19365 * posix/Makefile: Likewise.
19366 * stdio-common/Makefile: Likewise.
19367 * stdlib/Makefile: Likewise.
19368 * sysdeps/x86_64/Makefile: Likewise.
19369
9a9028b1
DL
19370 * io/ftwtest-sh: Add copyright header.
19371 * posix/globtest.sh: Likewise.
19372 * posix/tst-getconf.sh: Likewise.
19373 * posix/wordexp-tst.sh: Likewise.
19374 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19375
ced6f16e
L
193762012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19377
94b32c39
L
19378 [BZ #13679]
19379 * Makeconfig (+link): Defined as $(+link-static) if
19380 $(build-shared) isn't yes.
19381 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19382 isn't yes.
19383 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19384
189e935b
L
19385 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19386
ced6f16e
L
19387 [BZ #14562]
19388 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19389 new chunk size with MALLOC_ALIGN_MASK.
19390
a9f8e53a
JM
193912012-09-24 Joseph Myers <joseph@codesourcery.com>
19392
19393 [BZ #5044]
19394 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19395 <rounding-mode.h>.
19396 (__printf_fphex): Determine rounding using get_rounding_mode and
19397 round_away.
19398 * stdio-common/tst-printf-round.c (struct hex_test): New
19399 structure.
19400 (hex_tests): New variable.
19401 (test_hex_in_one_mode): New function.
19402 (do_test): Also run tests for hex float output.
19403
43153109
JM
194042012-09-21 Joseph Myers <joseph@codesourcery.com>
19405
19406 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19407 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19408 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19409 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19410 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19411 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19412 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19413 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19414
8a26625d
JM
194152012-09-20 Joseph Myers <joseph@codesourcery.com>
19416
19417 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19418 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19419 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19420 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19421
f3fd569c
DL
194222012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19423
19424 [BZ #14579]
19425 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19426 mode only.
19427 * elf/tst-rtld-load-self.sh: New test.
19428 * elf/Makefile: Run it.
19429
63bbedd4
JM
194302012-09-18 Joseph Myers <joseph@codesourcery.com>
19431
19432 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19433 (tst-writev-ENV): Remove.
19434 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19435
626f8b6a
CM
194362012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19437
19438 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19439
b7aaa4d6
JM
194402012-09-17 Joseph Myers <joseph@codesourcery.com>
19441
19442 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19443 unconditional.
19444 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19445 Likewise.
19446 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19447 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19448 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19449 Likewise.
19450
65513990
L
194512012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19452
19453 [BZ #14587]
19454 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19455 * config.make.in (have-cpp-asm-debuginfo): Removed.
19456 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19457 * configure: Regenerated.
19458
784761be
JM
194592012-09-14 Joseph Myers <joseph@codesourcery.com>
19460
19461 [BZ #5044]
19462 * stdio-common/printf_fp.c: Include <stdbool.h> and
19463 <rounding-mode.h>.
19464 (___printf_fp): Determine rounding using get_rounding_mode and
19465 round_away.
19466 * stdio-common/tst-printf-round.c: New file.
19467 * stdio-common/Makefile (tests): Add tst-printf-round.
19468 (link-libm): New variable.
19469 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19470
9503345f
L
194712012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19472
19473 [BZ #14576]
19474 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19475 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19476 Likewise.
19477 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19478 Likewise.
19479
ad35fc00
JM
194802012-09-13 Joseph Myers <joseph@codesourcery.com>
19481
19482 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19483 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19484 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19485 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19486
6c9b0f68
JM
194872012-09-12 Joseph Myers <joseph@codesourcery.com>
19488
19489 [BZ #14518]
19490 * include/rounding-mode.h: New file.
19491 * sysdeps/generic/get-rounding-mode.h: Likewise.
19492 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19493 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19494 (MAX_VALUE): New macro.
19495 (MIN_VALUE): Likewise.
19496 (overflow_value): New function.
19497 (underflow_value): Likewise.
19498 (round_and_return): Use overflow_value and underflow_value to
19499 determine return values in overflow and underflow cases. Use
19500 round_away to determine rounding depending on rounding mode.
19501 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19502 determine return values in overflow and underflow cases.
19503 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19504 (struct test_results): New structure.
19505 (struct test): Use struct test_results to store expected results
19506 for all rounding modes.
19507 (TEST): Include expected results for all rounding modes.
19508 (test_in_one_mode): New function.
19509 (do_test): Use test_in_one_mode to compute and check results.
19510 Check results for all rounding modes.
19511 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19512 $(link-libm).
19513
19fcedd5
AM
195142012-12-09 Allan McRae <allan@archlinux.org>
19515
1e9d84cd 19516 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 19517
8bbfd2f1
JM
195182012-09-11 Joseph Myers <joseph@codesourcery.com>
19519
19520 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19521 (_G_int32_t): Likewise.
19522 (_G_uint16_t): Likewise.
19523 (_G_uint32_t): Likewise.
19524 (_G_HAVE_BOOL): Likewise.
19525 (_G_HAVE_ATEXIT): Likewise.
19526 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19527 (_G_HAVE_IO_FILE_OPEN): Likewise.
19528 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19529 (_G_int32_t): Likewise.
19530 (_G_uint16_t): Likewise.
19531 (_G_uint32_t): Likewise.
19532 (_G_HAVE_BOOL): Likewise.
19533 (_G_HAVE_ATEXIT): Likewise.
19534 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19535 (_G_HAVE_IO_FILE_OPEN): Likewise.
19536 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19537 (_G_int32_t): Likewise.
19538 (_G_uint16_t): Likewise.
19539 (_G_uint32_t): Likewise.
19540 (_G_HAVE_BOOL): Likewise.
19541 (_G_HAVE_ATEXIT): Likewise.
19542 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19543 (_G_HAVE_IO_FILE_OPEN): Likewise.
19544
b1dc5912
L
195452012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19546
19547 * csu/libc-tls.c: Update copyright years.
19548
0e886ef9
JM
195492012-09-10 Joseph Myers <joseph@codesourcery.com>
19550
28361c5e
JM
19551 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19552 [!_G_USING_THUNKS]: Remove conditional code.
19553 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19554 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19555
0e886ef9
JM
19556 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19557 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19558 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19559 (_G_VTABLE_LABEL_PREFIX): Likewise.
19560 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19561 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19562 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19563 (_G_VTABLE_LABEL_PREFIX): Likewise.
19564 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19565 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19566 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19567 (_G_VTABLE_LABEL_PREFIX): Likewise.
19568 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19569
bcba7aa2
L
195702012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19571
19572 * libio/Makefile: Include ../Makeconfig before tests.
19573 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19574 only if $(build-shared) is yes.
19575
06585ee8
L
19576 * iconv/gconv_db.c: Update copyright years.
19577
80ccd52c
LD
195782012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19579
19580 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19581 unwind info if defined PIC. Fix special cases description.
19582 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19583
19584 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19585 DP_HI_MASK entry.
19586 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19587
691bc9c1
L
195882012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19589
3d9b46b3
L
19590 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19591
de2139a9
L
19592 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19593 is NULL.
19594
5ca78dd0
L
19595 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19596 (LDLIBS-tst-chk4): This.
19597 (LDFLAGS-tst-chk5): Renamed to ...
19598 (LDLIBS-tst-chk5): This.
19599 (LDFLAGS-tst-chk6): Renamed to ...
19600 (LDLIBS-tst-chk6): This.
19601 (LDFLAGS-tst-lfschk4): Renamed to ...
19602 (LDLIBS-tst-lfschk4): This.
19603 (LDFLAGS-tst-lfschk5): Renamed to ...
19604 (LDLIBS-tst-lfschk5): This.
19605 (LDFLAGS-tst-lfschk6): Renamed to ...
19606 (LDLIBS-tst-lfschk6): This.
19607
691bc9c1
L
19608 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19609 on $(common-objpfx)soversions.mk.
19610
65cafb1c
JM
196112012-09-07 Joseph Myers <joseph@codesourcery.com>
19612
19613 [BZ #10014]
19614 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19615 example host name.
19616
c78ab094
SP
196172012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19618
19619 * malloc/arena.c (arena_get_retry): New function that gets
19620 another arena for the caller to try its request on.
19621 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19622 current arena cannot fulfill the request.
19623 (__libc_memalign): Likewise.
19624 (__libc_memalign): Likewise.
19625 (__libc_pvalloc): Likewise.
19626 (__libc_calloc): Likewise.
19627
01f49f59
JT
196282012-09-05 John Tobey <john.tobey@gmail.com>
19629
19630 [BZ #13542]
19631 * manual/arith.texi (Operations on Complex): Fix description
19632 of carg branch cut.
19633
4c23fed5
JM
196342012-09-06 Joseph Myers <joseph@codesourcery.com>
19635
1d3c8572
JM
19636 [BZ #10014]
19637 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19638 host name.
19639
4c23fed5
JM
19640 [BZ #10038]
19641 * manual/memory.texi (Memory): Make order of menu items match
19642 order of sections.
19643
04570aaa
L
196442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19645
19646 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19647 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19648 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19649
b80af2f4
L
196502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19651
19652 * csu/libc-tls.c (static_dtv): Renamed to ...
19653 (_dl_static_dtv): This. Make it global.
19654 (_dl_initial_dtv): Removed.
19655 (__libc_setup_tls): Updated.
19656 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19657 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19658 DL_INITIAL_DTV.
19659
2abe9f15
PM
196602012-09-06 Petr Machata <pmachata@redhat.com>
19661
19662 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19663 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19664 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19665 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19666
0948c3af
L
196672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19668
19669 [BZ #14545]
19670 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19671 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19672 freeing dtv[-1].
19673
a5055ad1
L
196742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19675
19676 [BZ #14544]
19677 * Makeconfig (link-static-before-libc): Replace $(+prector)
19678 with $(+prectorT).
19679 (link-static-after-libc): Replace $(+postctor) with
19680 $(+postctorT).
19681 (link-bounded): Replace $(+prector)/$(+postctor) with
19682 $(+prectorT)/$(+postctorT).
19683 (+prectorT): New macro.
19684 (+postctorT): Likewise.
19685
ed8c2ecd
JM
196862012-09-06 Joseph Myers <joseph@codesourcery.com>
19687
19688 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19689 (round_str): Handle values above the maximum for IBM long double
19690 as inexact.
19691 * stdlib/tst-strtod-round.c (tests): Regenerated.
19692
14c996c8
AK
196932012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19694
19695 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19696 assembler flag.
19697 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19698 zarch_nohighgprs around the zarch optimized routines.
19699 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19700 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19701 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19702 for zarch.
19703
430d6ce6
DM
197042012-09-05 David S. Miller <davem@davemloft.net>
19705
19706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19707
ff04dda4
DM
19708 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19709 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19710 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19711 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19712 entries.
19713
24d4e01b
AO
197142012-09-05 Alexandre Oliva <aoliva@redhat.com>
19715
19716 * malloc/arena.c: Fold copyright years.
19717 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19718
61d58174
AO
197192012-09-05 Alexandre Oliva <aoliva@redhat.com>
19720
19721 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19722
20196a5e
AO
197232012-09-05 Alexandre Oliva <aoliva@redhat.com>
19724
19725 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19726
5c447383
AO
197272012-09-05 Alexandre Oliva <aoliva@redhat.com>
19728
19729 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19730 change internal state upon failure.
19731
fad64255
AO
197322012-09-05 Alexandre Oliva <aoliva@redhat.com>
19733
19734 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19735 * malloc/memusage.c (mmap): Likewise.
19736 (mmap64, mremap): Likewise. Adjust name in comment.
19737
1ffb8c90
SP
197382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19739
19740 * libio/fileops.c: Fix typos in comments.
19741 * libio/oldfileops.c: Likewise.
19742 * libio/wfileops.c: Likewise.
19743
6ef9cc37
SP
197442012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19745
19746 [BZ #1349]
19747 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19748 (tst-malloc-usable-ENV): Set environment for test case.
19749 * malloc/hooks.c (malloc_check_get_size): New function to get
19750 requested size.
19751 * malloc/malloc.c (musable): Use malloc_check_get_size.
19752 * malloc/tst-malloc-usable.c: New test case.
19753
4d038ae3
AS
197542012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19755
19756 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19757
c4e85184
AM
197582012-09-05 Allan McRae <allan@archlinux.org>
19759
b9dafc56 19760 [BZ #13966]
c4e85184
AM
19761 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19762 determine header location.
19763 * configure: Regenerated.
19764
e1343020
AS
197652012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19766
19767 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19768 float format.
19769 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19770 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19771 format.
e1343020
AS
19772 (test): Regenerate.
19773
0a9f1987
DM
197742012-09-04 David S. Miller <davem@davemloft.net>
19775
19776 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19777 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19778 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19779
29237804
FW
197802012-09-04 Florian Weimer <fweimer@redhat.com>
19781
19782 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19783 failures.
19784
edb3cb88
FW
19785 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19786
60160d83
JM
197872012-09-04 Joseph Myers <joseph@codesourcery.com>
19788
19789 [BZ #9914]
19790 * libio/iogetdelim.c: Include <limits.h>.
19791 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19792 + len + 1 would overflow.
19793
bcd6c8dc
AJ
197942012-09-03 Andreas Jaeger <aj@suse.de>
19795
19796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19797 * sysdeps/i386/fpu/libm-test-ulps: Update.
19798
4ffffbd2
LD
197992012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19800
19801 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19802 Add s_sinf-sse2, s_conf-sse2.
19803
19804 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19805 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19806 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19807 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19808
19809 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19810 for using routine as __sinf_ia32.
19811 Use macro for function declaration and weak_alias.
19812 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19813 for using routine as __cosf_ia32.
19814 Use macro for function declaration and weak_alias.
19815
19816 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19817 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19818
19819 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19820 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19822
19823 * math/libm-test.inc (cos_test): Add more test cases.
19824 (sin_test): Likewise.
19825 (sincos_test): Likewise.
19826
511fa286
AK
198272012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19828
19829 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19830 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19831 hidden.
19832 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19833
5f30cfec
L
198342012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19835
19836 [BZ #14538]
19837 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19838 first element of the GOT.
19839 (elf_machine_load_address): Return the difference between
19840 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19841
0786794f
AM
198422012-09-01 Allan McRae <allan@archlinux.org>
19843
5f30cfec
L
19844 [BZ #13412]
19845 * configure.in (AWK): Require gawk version 3.0 or later.
19846 * configure: Regenerated.
0786794f 19847
26889eac
JM
198482012-09-01 Joseph Myers <joseph@codesourcery.com>
19849
19850 * sysdeps/unix/sysv/linux/kernel-features.h
19851 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19852 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19853 [__NR_clock_getres]: Make code unconditional.
19854 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19855 (clock_getcpuclockid): Remove code left unreachable by removal of
19856 conditionals.
19857 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19858 code unconditional.
19859 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19860 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19861 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19862 Make code unconditional.
19863 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19864 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19865 * sysdeps/unix/sysv/linux/clock_settime.c
19866 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19867 conditional code.
19868 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19869 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19870
d22e28b0
L
198712012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19872
19873 [BZ #14476]
19874 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19875 scripts/test-installation.pl.
19876
19877 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19878 and $ld_so_version if it is set.
19879
050af9c4
SP
198802012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19881
19882 [BZ #14516]
19883 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19884 failure if reading from procfs failed.
19885 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19886
ad845c0b
JM
198872012-08-27 Joseph Myers <joseph@codesourcery.com>
19888
19889 * sysdeps/unix/sysv/linux/kernel-features.h
19890 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19891 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19892 Remove conditional code.
19893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19894 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19895 Remove conditional code.
19896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19897 * sysdeps/unix/sysv/linux/i386/fxstat.c
19898 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19900 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19901 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19903 * sysdeps/unix/sysv/linux/i386/lxstat.c
19904 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19905 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19906 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19907 Remove conditional code.
19908 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19909 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19910 Remove conditional code.
19911 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19912 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19913 <kernel-features.h>.
19914 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19915 Remove.
19916 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19917 Remove conditional code.
19918 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19919 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19920 Remove conditional.
19921
5dbf56af
MF
199222012-08-27 Mike Frysinger <vapier@gentoo.org>
19923
19924 [BZ #5400]
19925 * NEWS: Add fixed bug number.
19926
d6e70f43
JM
199272012-08-27 Joseph Myers <joseph@codesourcery.com>
19928
7efb4737
JM
19929 [BZ #14519]
19930 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19931 underflowing exponent in case of negative sign.
19932 * stdlib/tst-strtod-round-data: Add more tests.
19933 * stdlib/tst-strtod-round.c (tests): Regenerated.
19934
af92131a
JM
19935 [BZ #3479]
19936 * stdlib/strtod_l.c (NDIG): Remove.
19937 (HEXNDIG): Likewise.
19938 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19939 smallest representable value.
19940 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19941 lie within an exact representation of 1/2 ulp of the result.
19942 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19943 unconditionally.
19944 (TENS_P9_IDX): Define unconditionally.
19945 (TENS_P9_SIZE): Likewise.
19946 (TENS_P10_IDX): Likewise.
19947 (TENS_P10_SIZE): Likewise.
19948 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19949 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19950 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19951 entries for 10^2^13 and 10^2^14.
19952 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19953 (TENS_P13_IDX): Define.
19954 (TENS_P13_SIZE): Likewise.
19955 (TENS_P14_IDX): Likewise.
19956 (TENS_P14_SIZE): Likewise.
19957 (_fpioconst_pow10): Change array size to
19958 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19959 unconditional.
19960 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19961 1024]: Add entries for 10^2^13 and 10^2^14.
19962 [LAST_POW10 > _LAST_POW10]: Remove #error.
19963 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19964 (_fpioconst_pow10): Change array size to
19965 FPIOCONST_POW10_ARRAY_SIZE.
19966 * stdlib/gen-fpioconst.c: New file.
19967 * stdlib/gen-tst-strtod-round.c: Likewise.
19968 * stdlib/tst-strtod-round-data: Likewise.
19969 * stdlib/tst-strtod-round.c: Likewise.
19970 * stdlib/Makefile (tests): Add tst-strtod-round.
19971
d6e70f43
JM
19972 [BZ #14459]
19973 * stdlib/strtod_l.c: Include <stdint.h>.
19974 (NDEBUG): Do not define.
19975 (round_and_return): Change EXPONENT parameter to type intmax_t.
19976 Rearrange calculations to avoid internal overflow possibilities.
19977 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19978 Rearrange calculations to avoid internal overflow possibilities.
19979 Assert that number fits inside MPNSIZE limbs.
19980 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19981 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19982 calculations and add assertions to avoid internal overflow
19983 possibilities. Add casts to avoid signed/unsigned operations.
19984 * stdlib/tst-strtod-overflow.c: New file.
19985 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19986
1f529f7d
MP
199872012-08-25 Marek Polacek <polacek@redhat.com>
19988
19989 * time/time.h: Fix some typos in comments.
19990
59a629f1
RM
199912012-08-23 Roland McGrath <roland@hack.frob.com>
19992
19993 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19994 * posix/tst-rfc3484-2.c: Likewise.
19995 * posix/tst-rfc3484-3.c: Likewise.
19996
d3bafbc9
SM
199972012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19998
19999 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20000 (EF_ARM_ABI_FLOAT_HARD): Likewise.
20001
4efcc022
JM
200022012-08-23 Joseph Myers <joseph@codesourcery.com>
20003
20004 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20005 #include of fxstatat64.c.
20006
3cc3ef96
RM
200072012-08-22 Roland McGrath <roland@hack.frob.com>
20008
f04e2132
RM
20009 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20010 * shadow/getspent_r.c: Likewise.
20011 * shadow/getspnam.c: Likewise.
20012 * shadow/getspnam_r.c: Likewise.
20013 * gshadow/getsgent.c: Likewise.
20014 * gshadow/getsgent_r.c: Likewise.
20015 * gshadow/getsgnam.c: Likewise.
20016 * gshadow/getsgnam_r.c: Likewise.
20017 * inet/getnetbyad.c: Likewise.
20018 * inet/getnetbyad_r.c: Likewise.
20019 * inet/getnetbynm.c: Likewise.
20020 * inet/getnetbynm_r.c: Likewise.
20021 * inet/getnetent.c: Likewise.
20022 * inet/getnetent_r.c: Likewise.
20023 * inet/getproto.c: Likewise.
20024 * inet/getproto_r.c: Likewise.
20025 * inet/getprtent.c: Likewise.
20026 * inet/getprtent_r.c: Likewise.
20027 * inet/getprtname.c: Likewise.
20028 * inet/getprtname_r.c: Likewise.
20029 * inet/getrpcbyname.c: Likewise.
20030 * inet/getrpcbyname_r.c: Likewise.
20031 * inet/getrpcbynumber.c: Likewise.
20032 * inet/getrpcbynumber_r.c: Likewise.
20033 * inet/getrpcent.c: Likewise.
20034 * inet/getrpcent_r.c: Likewise.
20035 * inet/getaliasent.c: Likewise.
20036 * inet/getaliasent_r.c: Likewise.
20037 * inet/getaliasname.c: Likewise.
20038 * inet/getaliasname_r.c: Likewise.
20039 * nscd/getgrgid_r.c: Likewise.
20040 * nscd/getgrnam_r.c: Likewise.
20041 * nscd/gethstbyad_r.c: Likewise.
20042 * nscd/gethstbynm3_r.c: Likewise.
20043 * nscd/getpwnam_r.c: Likewise.
20044 * nscd/getpwuid_r.c: Likewise.
20045 * nscd/getsrvbynm_r.c: Likewise.
20046 * nscd/getsrvbypt_r.c: Likewise.
20047 * nscd/gai.c: Likewise.
20048
c53d909c
RM
20049 * configure.in (build_nscd): New substituted variable, set
20050 by --disable-build-nscd and defaults to $use_nscd.
20051 * configure: Regenerated.
20052 * config.make.in (build-nscd): New substituted variable.
20053 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20054 Change conditional to require [$(build-nscd) = yes] as well.
20055 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20056
3cc3ef96
RM
20057 [BZ# 13696]
20058 * configure.in (use_nscd): New substituted variable, set by
20059 --disable-nscd. If enabled, define USE_NSCD.
20060 * configure: Regenerated.
20061 * config.h.in: Add USE_NSCD.
20062 * config.make.in (use-nscd): New substituted variable.
20063 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20064 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20065 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20066 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20067 (CFLAGS-getgrnam_r.c): Likewise.
20068 (CFLAGS-initgroups.c): Likewise.
20069 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20070 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20071 Variables removed.
20072 * inet/getnetgrent_r.c
20073 (nscd_setnetgrent): New function, broken out of ...
20074 (setnetgrent): ... here. Call it.
20075 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20076 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20077 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20078 * nscd/Makefile (routines, aux): Move definitions after include of
20079 Makeconfig. Conditionalize on [$(use-nscd) != no].
20080 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20081 Conditionalize on [USE_NSCD].
20082 (is_nscd, nscd_init_cb): Likewise.
20083 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20084 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20085 * nss/nss_db/db-init.c: Likewise.
20086 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20087 [USE_NSCD].
20088 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20089 (make_request): Use it.
20090 (cache_valid_p): New function.
20091 (__check_pf): Use it.
20092 * NEWS: Add item for --disable-nscd.
20093
07e51550
DL
200942012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20095
20096 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20097 to support sed >= 4.2.1-20-ga9bf076.
20098 * configure: Regenerated.
20099
35a5b08b
RM
201002012-08-22 Roland McGrath <roland@hack.frob.com>
20101
20102 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20103 Conditionalize whole body on [IREL].
20104
8479f23a
JL
201052012-08-22 Jeff Law <law@redhat.com>
20106
20107 [BZ #14505]
20108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20109 if the family is PF_UNSPEC.
20110
48da0b21
MF
201112012-08-22 Mike Frysinger <vapier@gentoo.org>
20112
20113 * Makerules (lib-version): Rename from V.
20114 (install-lib-nosubdir): Change V to lib-version.
20115
15d0da8c
WS
201162012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20117
20118 [BZ #14252]
20119 * powerpc32/power6/wcschr.c: New file.
20120 * powerpc32/power6/wcscpy.c: New file.
20121 * powerpc32/power6/wcsrchr.c: New file.
20122 * powerpc64/power6/wcschr.c: New file.
20123 * powerpc64/power6/wcscpy.c: New file.
20124 * powerpc64/power6/wcsrchr.c: New file.
20125
bcca0895
MK
201262012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20127
20128 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20129 (two_way_short_needle): Use it.
5a4aaa33
RM
20130 * string/strstr.c (AVAILABLE1_USES_J): Define.
20131 * string/strcasestr.c: Likewise.
99677e57
MK
20132
20133 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20134 array references.
20135 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20136
400726de
MK
20137 [BZ #11607]
20138 * NEWS: Add an entry.
20139 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20140 define their defaults.
20141 (two_way_short_needle): Detect end-of-string on-the-fly.
20142 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20143 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20144 * string/bug-strcasestr1.c: New test.
20145 * string/Makefile: Run it.
20146
20a71f2c
MK
201472012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20148
20149 [BZ #11607]
20150 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20151 the first character.
20152
21ad0558
RM
201532012-08-21 Roland McGrath <roland@hack.frob.com>
20154
20155 * csu/elf-init.c (__libc_csu_irel): Function removed.
20156 * csu/libc-start.c (apply_irel): New function.
20157 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20158
0e1d9911
JM
201592012-08-21 Joseph Myers <joseph@codesourcery.com>
20160
20161 * sysdeps/unix/sysv/linux/kernel-features.h
20162 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20163 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20164 <kernel-features.h>.
20165 [__NR_fadvise64_64]: Make code unconditional.
20166 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20167 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20168 !__NR_fadvise64_64)]: Likewise.
20169 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20170 !__NR_fadvise64_64))]: Likewise.
20171 [__NR_fadvise64]: Make code unconditional.
20172 [!__NR_fadvise64]: Remove conditional code.
20173 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20174 <kernel-features.h>.
20175 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20176 unconditional.
20177 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20178 conditional code.
20179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20180 not include <kernel-features.h>.
20181 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20182 unconditional.
20183 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20184 conditional code.
20185 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20186 include <kernel-features.h>.
20187 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20188 unconditional.
20189 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20190 conditional code.
20191
14a50c9d
WS
201922012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20193
20194 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20195 slight instruction rearrangements per scrollpipe analysis.
20196 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20197
c0f4faf0
RM
201982012-08-20 Roland McGrath <roland@hack.frob.com>
20199
696da859
RM
20200 * manual/syslog.texi (syslog; vsyslog, closelog):
20201 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20202 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20203
c0f4faf0
RM
20204 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20205 DSOCAPS to match condition on defining it.
20206
348363b2
JM
202072012-08-20 Joseph Myers <joseph@codesourcery.com>
20208
a35cbf28
JM
20209 * sysdeps/unix/sysv/linux/kernel-features.h
20210 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20212 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20213 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20215 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20216 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20218 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20219 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20220
445f7ecd
JM
20221 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20222 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20223
348363b2
JM
20224 * sysdeps/unix/sysv/linux/kernel-features.h
20225 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20226 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20227 unconditional.
20228 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20229 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20230 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20231 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20232 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20233 Make code unconditional.
20234 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20235 (__mmap64) [!__NR_mmap2]: Likewise.
20236 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20237 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20238 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20239 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20240 [__NR_mmap2]: Make code unconditional.
20241 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20242 (__mmap64) [!__NR_mmap2]: Likewise.
20243
bc5bc0e5
AK
202442012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20245
20246 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20247
88d506de
AJ
202482012-08-18 Andreas Jaeger <aj@suse.de>
20249
20250 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20251
493387d2
MF
202522012-08-18 Mike Frysinger <vapier@gentoo.org>
20253
20254 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20255 * include/unistd.h (__have_sock_cloexec): Likewise.
20256 (__have_pipe2): Likewise.
20257 (__have_dup3): Likewise.
20258
a277af22
MF
202592012-08-18 Mike Frysinger <vapier@gentoo.org>
20260
20261 [BZ #9685]
20262 * include/unistd.h (__have_pipe2): Change define into an extern int.
20263 (__have_dup3): Likewise.
20264 * socket/have_sock_cloexec.c: Include fcntl.h.
20265 (__have_pipe2): New variable.
20266 (__have_dup3): Likewise.
20267
fdab8fd3
MF
202682012-08-17 Mike Frysinger <vapier@gentoo.org>
20269
20270 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20271
31035e80
MP
202722012-08-17 Marek Polacek <polacek@redhat.com>
20273
20274 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20275 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20276
3bd9e993
RM
202772012-08-17 Roland McGrath <roland@hack.frob.com>
20278
c91c505f
RM
20279 * configure.in: Add AC_SUBST for sysheaders.
20280 * configure: Regenerated.
20281 * config.make.in (sysheaders): New substituted variable.
20282
7c6f9d53
RM
20283 * sysdeps/unix/mkfifo.c: Moved ...
20284 * sysdeps/posix/mkfifo.c: ... here.
20285 * sysdeps/unix/mkfifoat.c: Moved ...
20286 * sysdeps/posix/mkfifoat.c: ... here.
20287
20288 * sysdeps/unix/utime.c: Moved ...
20289 * sysdeps/posix/utime.c: ... here.
20290
20291 * sysdeps/unix/time.c: Moved ...
20292 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
20293 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20294 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
20295
20296 * sysdeps/unix/nice.c: Moved ...
20297 * sysdeps/posix/nice.c: ... here.
20298
20299 * sysdeps/unix/alarm.c: Moved ...
20300 * sysdeps/posix/alarm.c: ... here.
20301
3bd9e993
RM
20302 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20303
d1f09384
JL
203042012-08-17 Jeff Law <law@redhat.com>
20305
20306 * intl/Makefile (codeset_mo): New variable.
20307 ($(codeset_mo)): New target.
20308 (tst-codeset.out): Depend on that. Remove explicit rule.
20309 (tst-gettext3.out, tst-gettext5.out): Likewise.
20310 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20311 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20312 * intl/tst-codeset.sh: Remove.
20313 * intl/tst-gettext3.sh: Likewise.
20314 * intl/tst-gettext5.sh: Likewise.
20315
2ae1ae5c
RM
203162012-08-17 Roland McGrath <roland@hack.frob.com>
20317
c31fdb83
RM
20318 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20319 * sysdeps/unix/syscalls.list: ... here.
20320
a0844057
RM
20321 * sysdeps/posix/getaddrinfo.c
20322 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20323 (gaiconf_init, gaiconf_reload): Use them.
20324 [!_STATBUF_ST_NSEC]
20325 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20326 Define using time_t rather than struct timespec.
20327
750c1f2a
RM
20328 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20329 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20330 Macros removed.
20331 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20332 [!NO_THREADS].
20333 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20334 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20335 Likewise.
20336
2ae1ae5c
RM
20337 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20338 __libc_cleanup_push argument.
20339
e66a42f5
RM
20340 * bits/param.h: New file.
20341 * misc/sys/param.h: New file.
20342 * include/sys/param.h: New file.
20343 * misc/Makefile (headers): Add bits/param.h.
20344 * sysdeps/generic/sys/param.h: File removed.
20345 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20346 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20347 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 20348 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 20349
b7c08a66
RM
20350 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20351 last change.
20352
b2e1c562
RM
20353 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20354 [_IO_MTSAFE_IO].
20355 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20356 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20357 New macros.
20358
c75ccd4c
RM
20359 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20360 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20361 rather than -D_IO_MTSAFE_IO conditionally.
20362 * stdio-common/Makefile (CPPFLAGS): Likewise.
20363 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20364 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20365 Use $(libio-mtsafe).
20366 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20367 of -D_IO_MTSAFE_IO.
20368 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20369 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20370 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20371 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20372 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20373 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20374 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20375 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20376 (CFLAGS-fread_u_chk.c): Likewise.
20377 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20378 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20379 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20380 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20381 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20382 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20383 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20384 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20385 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20386
20387 * libio/Makefile: Test [$(libc-reentrant) = yes]
20388 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20389
20390 * Makeconfig
20391 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20392 * sysdeps/pthread/configure: File removed.
20393 * sysdeps/pthread/Makeconfig: New file.
20394 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20395 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20396
d9195db8
GB
203972012-08-16 Gary Benson <gbenson@redhat.com>
20398
20399 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20400 unmapping the first object in a namespace.
20401
86466cd9
RM
204022012-08-16 Roland McGrath <roland@hack.frob.com>
20403
20404 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20405 (__internal_setnetgrent): ... this. Add internal_function to
20406 definition. Add libc_hidden_def.
20407 (setnetgrent): Update caller.
20408 (internal_endnetgrent): Renamed to ...
20409 (__internal_endnetgrent): ... this. Add internal_function to
20410 definition. Add libc_hidden_def.
20411 (endnetgrent): Update caller.
20412 (internal_getnetgrent_r): Renamed to ...
20413 (__internal_getnetgrent_r): ... this. Add internal_function to
20414 definition. Add libc_hidden_def.
20415 (__getnetgrent_r): Update caller.
20416 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20417
c3c8283c
JM
204182012-08-16 Joseph Myers <joseph@codesourcery.com>
20419
20420 * stdlib/longlong.h: Update from GCC.
20421
db1ee0a8
RM
204222012-08-16 Roland McGrath <roland@hack.frob.com>
20423
20424 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20425 on _QL, which is set by umul_ppmm but never used.
20426 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20427 variables, which are set by GMP macros but never used.
20428 * stdio-common/_itowa.c (_itowa): Likewise.
20429 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20430 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20431
30f69637
CD
204322012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20433
20434 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20435 struct La_sh_regs is not constant.
20436 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20437 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20438 and struct La_sparc64_regs are not constant.
20439
93a78ac4
JM
204402012-08-16 Joseph Myers <joseph@codesourcery.com>
20441
20442 * sysdeps/unix/sysv/linux/kernel-features.h
20443 (__ASSUME_POSIX_TIMERS): Remove.
20444 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20446 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20447 Make code unconditional.
20448 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20449 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20450 Make code unconditional.
20451 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20452 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20453 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20454 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20455 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20456 Make code unconditional.
20457 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20458 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20459 (__libc_missing_posix_timers): Remove.
20460
dd924cd7
RM
204612012-08-15 Roland McGrath <roland@hack.frob.com>
20462
4b4f2771
RM
20463 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20464 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20465
601c888b
RM
20466 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20467
176790a7
RM
20468 * elf/dl-sym.c: Include <stdlib.h>.
20469
329bc018
RM
20470 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20471 constants, which avoids warnings in 32-bit builds.
20472
e04e272d
RM
20473 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20474 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20475
952bf94a
RM
20476 * misc/lseek.c: File moved to ...
20477 * io/lseek.c: ... here.
20478
7c99b50a
RM
20479 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20480
dd924cd7
RM
20481 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20482 shifting LEN more than 31 bits at once.
20483
b3f479a8
LD
204842012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20485
20486 [BZ #14195]
8c4ae0d4
RM
20487 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20488 segmentation fault for a case of two empty input strings.
b3f479a8
LD
20489 * string/test-strncasecmp.c (check1): Renamed to...
20490 (bz12205): ...this.
20491 (bz14195): Add new testcase for two empty input strings and N > 0.
20492 (test_main): Call new testcase, adapt for renamed function.
20493
9c55864e
AJ
204942012-08-15 Andreas Jaeger <aj@suse.de>
20495
20496 [BZ #14090]
20497 * crypt/md5test2.c: New test, based on test supplied by Serge
20498 Belyshev <belyshev@depni.sinp.msu.ru>.
20499 * crypt/Makefile (xtests): Add md5test-giant..
20500 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20501
02dcb6c5
PE
205022012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20503
20504 [BZ #14090]
20505 * crypt/md5.c (md5_process_block): Don't assume the buffer
20506 length is less than 2**32.
20507 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20508 length is less than 2**64.
20509
a3f95dcc
RM
205102012-08-15 Roland McGrath <roland@hack.frob.com>
20511
be75d758
RM
20512 * string/str-two-way.h: Include <sys/param.h>.
20513 (MAX): Macro removed.
20514
7312ca90
RM
20515 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20516 Move #define and #undef of memmove to just before and after
20517 including <string.h>.
20518
9a0a5486
RM
20519 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20520 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20521 and after including <string.h>. Move declarations of
20522 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20523 to before #include "string/memmove.c".
20524
67cc348d
RM
20525 * include/dirent.h: Declare __getdirentries.
20526
a3f95dcc
RM
20527 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20528 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20529
ca98e171
MF
205302012-08-14 Mike Frysinger <vapier@gentoo.org>
20531
20532 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20533 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20534 * sysdeps/i386/configure: Regenerated.
20535 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20536 STABS_CURRENT_FILE, and STABS_FUN.
20537 (END): Remove call to STABS_FUN_END.
20538 (STABS_CURRENT_FILE1): Delete.
20539 (STABS_CURRENT_FILE): Likewise.
20540 (STABS_FUN): Likewise.
20541 (STABS_FUN_END): Likewise.
20542 (STABS_FUN2): Likewise.
20543 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20544 * sysdeps/x86_64/configure: Regenerated.
20545
5908bf46
RM
205462012-08-14 Roland McGrath <roland@hack.frob.com>
20547
20548 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 20549 * elf/dl-lookup.c: Likewise.
5908bf46 20550
f2c05b9e
JM
205512012-08-14 Joseph Myers <joseph@codesourcery.com>
20552
20553 * sysdeps/unix/sysv/linux/kernel-features.h
20554 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20555 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20556 unconditionally.
20557 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20558 unconditionally.
20559 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20560 condition on __ASSUME_CLONE_THREAD_FLAGS.
20561
e11f5155
AJ
205622012-08-14 Andreas Jaeger <aj@suse.de>
20563
20564 * sysdeps/i386/fpu/libm-test-ulps: Update.
20565
51a9ba86
MK
205662012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20567
2fdd4f78
AJ
20568 * include/atomic.h (atomic_exchange_and_add): Split into ...
20569 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20570 New atomic macros.
51a9ba86 20571
ba6cba9e
MT
205722012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20573
20574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20575
42443a47
JL
205762012-08-13 Jeff Law <law@redhat.com>
20577
20578 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20579 null byte in the output string.
20580
121dce05
JM
205812012-08-10 Joseph Myers <joseph@codesourcery.com>
20582
20583 * sysdeps/unix/sysv/linux/kernel-features.h
20584 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20585 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20586 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20587 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20588 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20589 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20590 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20591
bf51f568
JL
205922012-08-09 Jeff Law <law@redhat.com>
20593
20594 [BZ #13939]
20595 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20596 When avoid_arena is set, don't retry in the that arena. Pick the
20597 next one, whatever it might be.
20598 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20599 (arena_lock): Pass in new parameter to arena_get2.
20600 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20601 arena_get2.
20602 (__libc_malloc): Unify retrying after main arena failure with
20603 __libc_memalign version.
20604 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20605
f85fa270
L
206062012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20607
20608 [BZ #14166]
20609 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20610 to __redirect_strstr.
20611 (__strstr_sse42): Use typeof __redirect_strstr.
20612 (__strstr_ia32): Likewise.
20613 (__libc_strstr): New prototype.
20614 (strstr): Renamed to ...
20615 (__libc_strstr): This.
20616 (strstr): New strong alias of __libc_strstr.
20617 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20618 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20619 __redirect_time.
20620 Include <time.h>.
20621 (__libc_time): New prototype.
20622 (time_ifunc): Replace time with __libc_time.
20623 (time): New strong alias and hidden definition of __libc_time.
20624 (__GI_time): Remove strong alias.
20625 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20626 Include <stddef.h>.
20627 (memmove): Redefined to __redirect_memmove.
20628 (__memmove_sse2): Use typeof __redirect_memmove.
20629 (__memmove_ssse3): Likewise.
20630 (__memmove_ssse3_back): Likewise.
20631 (__libc_memmove): New prototype.
20632 (memmove): Renamed to ...
20633 (__libc_memmove): This.
20634 (memmove): New strong alias of __libc_memmove.
20635
33b4a91e
MS
206362012-08-08 Mark Salter <msalter@redhat.com>
20637
20638 * elf/elf.h
20639 (R_MN10300_TLS_GD): Define.
20640 (R_MN10300_TLS_LD): Likewise.
20641 (R_MN10300_TLS_LDO): Likewise.
20642 (R_MN10300_TLS_GOTIE): Likewise.
20643 (R_MN10300_TLS_IE): Likewise.
20644 (R_MN10300_TLS_LE): Likewise.
20645 (R_MN10300_TLS_DTPMOD): Likewise.
20646 (R_MN10300_TLS_DTPOFF): Likewise.
20647 (R_MN10300_TLS_TPOFF): Likewise.
20648 (R_MN10300_SYM_DIFF): Likewise.
20649 (R_MN10300_ALIGN): Likewise.
20650 (R_MN10300_NUM): Update.
20651
b36137f1
JM
206522012-08-08 Joseph Myers <joseph@codesourcery.com>
20653
20654 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20655 Remove.
20656
cdd915fd
RM
206572012-08-08 Roland McGrath <roland@hack.frob.com>
20658
a2433aac
RM
20659 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20660
cdd915fd
RM
20661 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20662 sysdeps/unix -> sysdeps/posix move.
20663 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20664
bf9b740a
AM
206652012-08-07 Allan McRae <allan@archlinux.org>
20666
20667 [BZ #14303]
20668 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20669 (SUNOS_CPP): Likewise.
20670 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20671 not found.
20672 (open_input): Call CPP using execvp.
20673
93df14ee
JM
206742012-08-07 Joseph Myers <joseph@codesourcery.com>
20675
20676 * sysdeps/unix/sysv/linux/kernel-features.h
20677 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20678 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20679 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20680 (__ASSUME_WAITID_SYSCALL): Likewise.
20681 * sysdeps/unix/sysv/linux/dl-execstack.c
20682 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20683 code unconditional.
20684 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20685 conditional code.
20686 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20687 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20688 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20689 code.
20690 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20691 unconditional.
20692 [__ASSUME_WAITID_SYSCALL]: Likewise.
20693 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20694
d34689de
RM
206952012-08-07 Roland McGrath <roland@hack.frob.com>
20696
a281decc
RM
20697 * sysdeps/unix/closedir.c: Renamed to ...
20698 * sysdeps/posix/closedir.c: ... here.
20699 * sysdeps/unix/dirfd.c: Renamed to ...
20700 * sysdeps/posix/dirfd.c: ... here.
20701 * sysdeps/unix/dirstream.h: Renamed to ...
20702 * sysdeps/posix/dirstream.h: ... here.
20703 * sysdeps/unix/fdopendir.c: Renamed to ...
20704 * sysdeps/posix/fdopendir.c: ... here.
20705 * sysdeps/unix/opendir.c: Renamed to ...
20706 * sysdeps/posix/opendir.c: ... here.
20707 * sysdeps/unix/readdir.c: Renamed to ...
20708 * sysdeps/posix/readdir.c: ... here.
20709 * sysdeps/unix/readdir_r.c: Renamed to ...
20710 * sysdeps/posix/readdir_r.c: ... here.
20711 * sysdeps/unix/rewinddir.c: Renamed to ...
20712 * sysdeps/posix/rewinddir.c: ... here.
20713 * sysdeps/unix/seekdir.c: Renamed to ...
20714 * sysdeps/posix/seekdir.c: ... here.
20715 * sysdeps/unix/telldir.c: Renamed to ...
20716 * sysdeps/posix/telldir.c: ... here.
20717 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20718 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20719 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20720 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20721
22895b47
RM
20722 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20723 * bits/fcntl.h: ... here.
20724
707a53b6
RM
20725 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20726 not 0.
20727 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20728 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20729 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20730 (struct flock): Move l_start, l_len to the beginning.
20731 Use __pid_t for l_pid.
20732 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20733 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20734 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20735 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20736 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20737 [__USE_LARGEFILE64] (struct flock64): New type.
20738 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20739
f0bd3e25
RM
20740 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20741 * bits/dirent.h: ... here.
20742
d34689de
RM
20743 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20744 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20745
6dad2c06
JM
207462012-08-07 Joseph Myers <joseph@codesourcery.com>
20747
20748 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20749 Change from 2.6.0 to 2.6.16.
20750 * sysdeps/unix/sysv/linux/configure: Regenerated.
20751 * sysdeps/unix/sysv/linux/kernel-features.h
20752 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20753 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20754 version.
20755 (__ASSUME_UTIMES): Likewise.
20756 (__ASSUME_CLONE_STOPPED): Remove.
20757 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20758 architectures, not kernel version.
20759 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20760 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20761 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20762 (__ASSUME_WAITID_SYSCALL): Likewise.
20763 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20764 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20765 * README: State 2.6.16 as minimum Linux kernel version. Do not
20766 refer to older versions.
20767
03af9520
RM
207682012-08-06 Roland McGrath <roland@hack.frob.com>
20769
8e49df1d
RM
20770 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20771 Define alphasort64 as an alias.
20772 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20773 Define versionsort64 as an alias.
20774 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20775 Define scandir64 as an alias.
20776 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20777 Define scandirat64 as an alias.
20778 * dirent/alphasort64.c (alphasort64):
20779 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20780 * dirent/versionsort64.c: Likewise.
20781 * dirent/scandir64.c: Likewise.
20782 * dirent/scandirat64.c: Likewise.
20783 * sysdeps/wordsize-64/alphasort.c: File removed.
20784 * sysdeps/wordsize-64/alphasort64.c: File removed.
20785 * sysdeps/wordsize-64/scandir.c: File removed.
20786 * sysdeps/wordsize-64/scandir64.c: File removed.
20787 * sysdeps/wordsize-64/scandirat.c: File removed.
20788 * sysdeps/wordsize-64/scandirat64.c: File removed.
20789 * sysdeps/wordsize-64/versionsort.c: File removed.
20790 * sysdeps/wordsize-64/versionsort64.c: File removed.
20791 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20792 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20793 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20794 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20795 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20796 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20797 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20798 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20799
20800 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20801 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20802 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20803 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20804 [defined __arch64__ || defined __sparcv9]
20805 (__INO_T_MATCHES_INO64_T): New macro.
20806 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20807 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20808 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20809 * sysdeps/unix/sysv/linux/bits/dirent.h
20810 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20811 (_DIRENT_MATCHES_DIRENT64): New macro.
20812
03af9520
RM
20813 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20814 Define lockf64 as an alias.
20815 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20816 Define fseeko64 as an alias.
20817 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20818 Define ftello64 as an alias.
20819 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20820 Define _IO_fgetpos64 and fgetpos64 as aliases.
20821 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20822 Define _IO_fsetpos64 and fsetpos64 as aliases.
20823 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20824 Conditionalize body on this.
20825 * libio/fseeko64.c: Likewise.
20826 * libio/ftello64.c: Likewise.
20827 * libio/iofgetpos64.c: Likewise.
20828 * libio/iofsetpos64.c: Likewise.
20829 * sysdeps/wordsize-64/lockf.c: File removed.
20830 * sysdeps/wordsize-64/lockf64.c: File removed.
20831 * sysdeps/wordsize-64/fseeko.c: File removed.
20832 * sysdeps/wordsize-64/fseeko64.c: File removed.
20833 * sysdeps/wordsize-64/ftello.c: File removed.
20834 * sysdeps/wordsize-64/ftello64.c: File removed.
20835 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20836 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20837 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20838 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20839 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20840 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20841 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20842 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20843 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20844 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20845 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20846 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20847 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20848 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20849
20850 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20852 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20853 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20854 [defined __arch64__ || defined __sparcv9]
20855 (__OFF_T_MATCHES_OFF64_T): New macro.
20856 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20857 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20858 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20859 (__OFF_T_MATCHES_OFF64_T): New macro.
20860
c5757acd
L
208612012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20862
20863 * stdlib/secure-getenv.c (__secure_getenv): Replace
20864 GLIBC_2_16 with GLIBC_2_17.
20865
3a31811e
L
208662012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20867
20868 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20869 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20870
faa2bccb
DM
208712012-08-03 David S. Miller <davem@davemloft.net>
20872
20873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20874
85fe1997
JM
208752012-08-03 Joseph Myers <joseph@codesourcery.com>
20876
20877 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20878 Remove.
20879 (__ASSUME_CORRECT_SI_PID): Likewise.
20880 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20881 (__ASSUME_TMPFS_NAME): Likewise.
20882 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20883 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20884 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20885 (HAVE_AUX_SECURE): Make definition unconditional.
20886 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20887 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20888
4f75b7a0
RM
208892012-08-03 Roland McGrath <roland@hack.frob.com>
20890
20891 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20892 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20893 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20894 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20895 __eloop_threshold instead of SYMLOOP_MAX.
20896
20897 * sysdeps/generic/eloop-threshold.h: New file.
20898 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20899 of MAXSYMLINKS.
20900 * elf/chroot_canon.c (chroot_canon): Likewise.
20901
7aab07e4
JM
209022012-08-03 Joseph Myers <joseph@codesourcery.com>
20903
20904 [BZ #13717]
20905 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20906 Change to 2.6.0 everywhere.
20907 * sysdeps/unix/sysv/linux/configure: Regenerated.
20908 * sysdeps/unix/sysv/linux/kernel-features.h
20909 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20910 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20911 kernel versions.
20912 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20913 (__ASSUME_FUTEX_REQUEUE): Remove.
20914 (__ASSUME_STATFS64): Define unconditionally.
20915 (__ASSUME_AT_SECURE): Likewise.
20916 (__ASSUME_CORRECT_SI_PID): Likewise.
20917 (__ASSUME_TGKILL): Define without depending on kernel version for
20918 i386.
20919 (__ASSUME_UTIMES): Likewise.
20920 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20921 kernel version.
20922 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20923 (__ASSUME_TMPFS_NAME): Likewise.
20924 * README: Update reference to Linux kernel versions.
20925
b67e9372
MP
209262012-08-02 Marek Polacek <polacek@redhat.com>
20927
1f529f7d 20928 [BZ# 14150]
b67e9372
MP
20929 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20930 libc_cv_asm_type_prefix with %.
20931 * configure: Regenerated.
d2441631
RM
20932 * include/libc-symbols.h: Remove comment about
20933 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20934 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20935 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20936 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20937 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20938 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20939 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20940 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20941 * elf/tst-unique2mod1.c: Likewise.
20942 * elf/tst-unique1mod2.c: Likewise.
20943 * elf/tst-unique1mod1.c: Likewise.
20944 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20945 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20946 Replace ASM_TYPE_DIRECTIVE with .type.
20947 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20948 * sysdeps/i386/sysdep.h: Likewise.
20949 * sysdeps/x86_64/sysdep.h: Likewise.
20950 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20952 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20953 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20954 * sysdeps/powerpc/powerpc32/sysdep.h:
20955 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20956 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20957 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20958 * sysdeps/i386/fpu/e_powf.S: Likewise.
20959 * sysdeps/i386/fpu/e_expl.S: Likewise.
20960 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20961 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20962 * sysdeps/i386/fpu/e_pow.S: Likewise.
20963 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20964 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20965 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20966 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20967 * sysdeps/i386/fpu/e_log2.S: Likewise.
20968 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20969 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20970 * sysdeps/i386/fpu/e_powl.S: Likewise.
20971 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20972 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20973 * sysdeps/i386/fpu/e_logl.S: Likewise.
20974 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20975 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20976 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20977 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20978 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20979 * sysdeps/i386/fpu/e_log.S: Likewise.
20980 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20981 * sysdeps/i386/fpu/e_logf.S: Likewise.
20982 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20983 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20984 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20985 * sysdeps/i386/fpu/e_log10.S: Likewise.
20986 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20987 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20988 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20989 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20990 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20991 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20992 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20993 * sysdeps/i386/i686/strtok.S: Likewise.
20994 * sysdeps/i386/i386-mcount.S: Likewise.
20995 * sysdeps/i386/strtok.S: Likewise.
20996 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20997 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20998 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20999 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21000 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21001 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21002 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21003 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21004 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21005 * sysdeps/x86_64/_mcount.S: Likewise.
21006 * sysdeps/x86_64/strtok.S: Likewise.
21007 * sysdeps/sh/_mcount.S: Likewise.
21008
2747bf9a
RM
210092012-08-01 Roland McGrath <roland@hack.frob.com>
21010
21011 * libio/iofopen.c: Include <fcntl.h>.
21012 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21013 (_IO_fopen64, fopen64): Define as aliases.
21014 * libio/iofopen64.c: Include <fcntl.h>.
21015 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21016 Conditionalize body on this.
21017 * sysdeps/wordsize-64/iofopen.c: File removed.
21018 * sysdeps/wordsize-64/iofopen64.c: File removed.
21019
3fb791b8
MP
210202012-08-01 Marek Polacek <polacek@redhat.com>
21021
21022 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21023 Use dlfcn directly instead of a variable.
21024 (binfmt-subdir): Do not define.
21025 (dlfcn): Likewise.
21026
a9f1039f
JM
210272012-08-01 Joseph Myers <joseph@codesourcery.com>
21028
23bddc06
JM
21029 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21030 Remove all definitions.
21031 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21032 <kernel-features.h>.
21033 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21034 (miss_F_GETOWN_EX): Remove all definitions.
21035 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21036 macro definition.
21037 [!__ASSUME_FCNTL64]: Remove conditional code.
21038 [__ASSUME_FCNTL64]: Make code unconditional.
21039 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21040 <kernel-features.h>.
21041 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21042 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21043 (lockf64) [__NR_fcntl64]: Make code unconditional.
21044 (lockf64) [__ASSUME_FCNTL64]: Likewise.
21045
a9f1039f
JM
21046 * sysdeps/unix/sysv/linux/kernel-features.h
21047 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21048 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21049 Make code unconditional.
21050 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21051 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21053 [__NR_vfork]: Make code unconditional.
21054 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21055 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21057 [__NR_vfork]: Make code unconditional.
21058 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21059 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21060
09c0ee5f
RM
210612012-08-01 Roland McGrath <roland@hack.frob.com>
21062
48aec5b9
RM
21063 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21064 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21065
cd97c966
RM
21066 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21067 Define mkstemp64 as an alias.
3f55550c
RM
21068 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21069 Define mkstemps64 as an alias.
cd97c966
RM
21070 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21071 Define mkostemp64 as an alias.
b8625cfc
RM
21072 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21073 Define mkostemps64 as an alias.
cd97c966
RM
21074 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21075 Conditionalize body on this.
21076 * misc/mkostemp64.c: Likewise.
b8625cfc 21077 * misc/mkostemps64.c: Likewise.
3f55550c 21078 * misc/mkstemps64.c: Likewise.
cd97c966
RM
21079 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21080 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21081 * sysdeps/wordsize-64/mkostemp.c: File removed.
21082 * sysdeps/wordsize-64/mkstemp.c: File removed.
21083 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21084 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21085 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21086 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21087
09c0ee5f
RM
21088 [BZ #14138]
21089 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21090 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21091 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21092 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21093
21094 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21095 compat_symbol macros from <shlib-compat.h> rather than the underlying
21096 default_symbol_version and symbol_version macros, so that DEFAULT
21097 lines in shlib-versions are respected.
21098 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21099
7e66ee51
FW
211002012-08-01 Florian Weimer <fweimer@redhat.com>
21101
21102 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21103 Declare with warn_unused_result.
21104 (setgid, setregid, setegid, setresgid): Likewise.
21105 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21106 Likewise.
21107 * WUR-REPORT: Remove set*id functions.
21108
d2a54255
PT
211092012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21110
21111 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21112
7ecdb005
RM
211132012-07-31 Roland McGrath <roland@hack.frob.com>
21114
b4180a5e 21115 [BZ #10191]
789bd351
RM
21116 * include/sys/socket.h (__libc_accept, __libc_accept4):
21117 Add attribute_hidden.
21118 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21119
40ce302d
RM
21120 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21121 use of PTR_MANGLE.
21122 * inet/getnetgrent_r.c (setup): Likewise.
21123
7ecdb005
RM
21124 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21125
e2eabb2c
DM
211262012-07-31 David S. Miller <davem@davemloft.net>
21127
21128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21129
d0419dbf
JM
211302012-07-31 Joseph Myers <joseph@codesourcery.com>
21131
21132 [BZ #13629]
21133 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21134 value between 1.0 and 2.0 and smaller part has absolute value less
21135 than 1.0.
21136 * math/s_clog10.c (__clog10): Likewise.
21137 * math/s_clog10f.c (__clog10f): Likewise.
21138 * math/s_clog10l.c (__clog10l): Likewise.
21139 * math/s_clogf.c (__clogf): Likewise.
21140 * math/s_clogl.c (__clogl): Likewise.
21141 * math/libm-test.inc (clog_test): Add more tests.
21142 (clog10_test): Likewise.
21143 * sysdeps/i386/fpu/libm-test-ulps: Update.
21144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21145
2bc13872
FW
211462012-07-31 Florian Weimer <fweimer@redhat.com>
21147
21148 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21149 Exit with zero in case no suitable GID is found, and write a
21150 message to standard error.
21151
bea9b193
RM
211522012-07-30 Roland McGrath <roland@hack.frob.com>
21153
21154 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21155 rather than to 1.
21156 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21157 (MAXPATHLEN): Removed.
21158 (NOGROUP, NODEV): New macros.
21159 (setbit, clrbit, isset, isclr): New macros.
21160 (howmany, roundup, powerof2): New macros.
21161 (DEV_BSIZE): New macro.
21162
21163 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21164 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21165
21166 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21167 definition on [!__NO_LONG_DOUBLE_MATH].
21168
21169 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21170 PTR_MANGLE and PTR_DEMANGLE.
21171
21172 * socket/accept4.c (accept4): Rename to __libc_accept4.
21173 Define accept4 as a weak alias.
21174
21175 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21176 on [_DIRENT_HAVE_D_TYPE].
21177 * io/ftw.c (ftw_dir): Likewise.
21178
21179 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21180
21181 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21182
21183 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21184 Use the BSD numbers rather than the arbitrary ones we had.
21185 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21186 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21187 (SIGXCPU, SIGXFSZ): New macros.
21188 (_NSIG): Now 32.
21189
21190 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21191 initializer on [_LIBC_REENTRANT].
21192
21193 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21194 definitions inside [_POSIX_MAPPED_FILES].
21195
21196 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21197
21198 * dirent/opendir.c: Include <fcntl.h>.
21199
21200 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21201 (__libc_getspecific): Likewise.
21202 (__libc_key_create): Likewise.
21203
21204 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21205 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21206 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21207 (tmpfile64): Define as alias.
21208 * sysdeps/wordsize-64/tmpfile.c: File removed.
21209 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21210 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21211 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21212
21213 * stdio-common/vfscanf.c: Include <stdbool.h>.
21214 * nss/makedb.c: Likewise.
21215 * stdio-common/_i18n_number.h: Likewise.
21216 * argp/argp-help.c: Likewise.
21217 * posix/wordexp.c: Likewise.
21218 * sysdeps/posix/spawni.c: Likewise.
21219 * nss/nss_files/files-initgroups.c: Likewise.
21220 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21221 * nss/nss_files/files-initgroups.c: Likewise.
21222 * nss/nss_db/db-netgrp.c: Likewise.
21223 * nss/nss_db/db-initgroups.c: Likewise.
21224 * io/fchmodat.c: Include <sys/stat.h>.
21225
21226 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21227 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21228
21229 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21230 [HAVE_MMAP].
21231
21232 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21233 Add multiple inclusion protection.
21234
e5abc686
DM
212352012-07-27 David S. Miller <davem@davemloft.net>
21236
21237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21238
815e6fa3
GB
212392012-07-27 Gary Benson <gbenson@redhat.com>
21240
21241 [BZ #14298]
21242 * elf/rtld.c: Include <stap-probe.h>.
21243 (dl_main): Added static probes "init_start" and "init_complete".
21244 * elf/dl-load.c: Include <stap-probe.h>.
21245 (lose): Take new parameter "nsid".
21246 Added static probe "map_failed".
21247 (_dl_map_object_from_fd): Pass namespace id to lose.
21248 Added static probe "map_start".
21249 (open_verify): Pass namespace id to lose.
21250 * elf/dl-open.c: Include <stap-probe.h>.
21251 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21252 and "reloc_complete".
21253 * elf/dl-close.c: Include <stap-probe.h>.
21254 (_dl_close_worker): Added static probes "unmap_start" and
21255 "unmap_complete".
21256 * elf/rtld-debugger-interface.txt: New file documenting the above.
21257
9f98c16c
RM
212582012-07-26 Roland McGrath <roland@hack.frob.com>
21259
21260 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21261 rather than a string variable.
21262 * sunrpc/rpc_main.c (h_output): Likewise.
21263 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21264
f3c22df3
PT
212652012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21266
21267 * inet/check_native.c: New file.
21268
3129cfc6
JM
212692012-07-26 Joseph Myers <joseph@codesourcery.com>
21270
da865e95
JM
21271 [BZ #13629]
21272 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21273 if larger part has absolute value 1.0.
21274 * math/s_clog10.c (__clog10): Likewise.
21275 * math/s_clog10f.c (__clog10f): Likewise.
21276 * math/s_clog10l.c (__clog10l): Likewise.
21277 * math/s_clogf.c (__clogf): Likewise.
21278 * math/s_clogl.c (__clogl): Likewise.
21279 * math/libm-test.inc (clog_test): Add more tests.
21280 (clog10_test): Likewise.
21281 * sysdeps/i386/fpu/libm-test-ulps: Update.
21282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21283
3129cfc6
JM
21284 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21285 (pltexit): Likewise.
21286 (La_regs): Likewise.
21287 (La_retval): Likewise.
21288 (int_retval): Likewise.
21289 Update #error for removed macros to refer only to definitions in
21290 tst-audit.h.
21291 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21292 macro.
21293 (pltexit): Likewise.
21294 (La_regs): Likewise.
21295 (La_retval): Likewise.
21296 (int_retval): Likewise.
21297 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21298 macro.
21299 (pltexit): Likewise.
21300 (La_regs): Likewise.
21301 (La_retval): Likewise.
21302 (int_retval): Likewise.
21303 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21304 macro.
21305 (pltexit): Likewise.
21306 (La_regs): Likewise.
21307 (La_retval): Likewise.
21308 (int_retval): Likewise.
21309 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21310 macro.
21311 (pltexit): Likewise.
21312 (La_regs): Likewise.
21313 (La_retval): Likewise.
21314 (int_retval): Likewise.
21315 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21316 macro.
21317 (pltexit): Likewise.
21318 (La_regs): Likewise.
21319 (La_retval): Likewise.
21320 (int_retval): Likewise.
21321 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21322 macro.
21323 (pltexit): Likewise.
21324 (La_regs): Likewise.
21325 (La_retval): Likewise.
21326 (int_retval): Likewise.
21327 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21328 macro definitions in tst-audit.h.
21329 * sysdeps/i386/tst-audit.h: New file.
21330 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21331 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21332 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21333 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21334 * sysdeps/sh/tst-audit.h: Likewise.
21335 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21336 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21337 * sysdeps/x86_64/tst-audit.h: Likewise.
21338
bfc07087
AJ
213392012-07-26 Andreas Jaeger <aj@suse.de>
21340
b1b2aaf8
AJ
21341 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21342 ptrace.
21343
21344 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21345 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21346 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21347 PTRACE_O_MASK.
21348 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21349 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21350 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21351
bfc07087
AJ
21352 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21353 value.
21354
21355 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21356 _sigsys.
21357 (si_call_addr, si_syscall, si_arch): Define new macro.
21358 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21359 _sigsys.
21360 (si_call_addr, si_syscall, si_arch): Define new marcro.
21361 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21362 _sigsys.
21363 (si_call_addr, si_syscall, si_arch): Define new macro.
21364 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21365 _sigsys.
21366 (si_call_addr, si_syscall, si_arch): Define new macro.
21367
89b4b02f
JM
213682012-07-25 Joseph Myers <joseph@codesourcery.com>
21369
21370 [BZ #13717]
21371 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21372 Change to 2.4.21 where previously 2.4.1.
21373 * sysdeps/unix/sysv/linux/configure: Regenerated.
21374 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21375 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21376 Linux kernel version.
21377 (__ASSUME_STD_AUXV): Remove.
21378 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21379 kernel version.
21380 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21381 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21382 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21383 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21384 (__ASSUME_NETLINK_SUPPORT): Likewise.
21385 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21386 (__no_netlink_support): Remove conditional definition.
21387 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21388 Remove.
21389 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21390 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21391 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21392 (if_nameindex_ioctl): Remove.
21393 (if_nameindex_netlink): Do not handle __no_netlink_support.
21394 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21395 code.
21396 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21397 Remove conditional code.
21398 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21399 code.
21400 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21401 unconditional.
21402 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21403 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21404 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21405 Remove.
21406 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21407 [!__ASSUME_STD_AUXV]: Remove conditional code.
21408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21409 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21410 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21412 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21413 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21414 code.
21415 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21417 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21418 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21419 conditional code.
21420 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21422 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21423 code.
21424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21425 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21426 conditional code.
21427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21428 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21429 code unconditional.
21430 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21431 conditional code.
21432 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21433 unconditional.
21434 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21435 conditional code.
21436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21437 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21438 unconditional.
21439 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21440 conditional code.
21441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21442 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21443 code unconditional.
21444 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21445 conditional code.
21446 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21447 unconditional.
21448 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21449 conditional code.
21450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21451 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21452 code unconditional.
21453 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21454 conditional code.
21455 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21456 unconditional.
21457 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21458 conditional code.
21459
842a39cd
AS
214602012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21461
21462 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21463 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21464 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21465 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21466 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21467 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21468 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21469 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21470 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21471 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21472 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21473 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21474 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21475 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21476 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21477 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21478 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21479 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21480 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21482 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21483 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21484 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21485
84b3fd84
FW
214862012-07-25 Florian Weimer <fweimer@redhat.com>
21487
21488 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
21489 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21490 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21491 Introduce __libc_secure_getenv.
0c7936d5
FW
21492 * stdlib/Versions (2.17): Add secure_getenv
21493 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21494 * stdlib/secure-getenv.c: Rename __secure_getenv to
21495 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21496 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
21497 * stdlib/tst-secure-getenv.c: New.
21498 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
21499 * manual/startup.texi (Environment Access): Document
21500 secure_getenv.
84b3fd84
FW
21501 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21502 __libc_secure_getenv.
21503 * inet/ruserpass.c (ruserpass): Likewise.
21504 * malloc/mtrace.c (mtrace): Likewise.
21505 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 21506 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
21507 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21508 * sysdeps/posix/tempname.c: Likewise. Evaluate
21509 HAVE_SECURE_GETENV.
21510 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 21511 __secure_getenv to __libc_secure_getenv.
84b3fd84 21512 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
21513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21514 Likewise.
21515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21516 Likewise.
21517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 21524
56e49b71
JM
215252012-07-25 Joseph Myers <joseph@codesourcery.com>
21526
21527 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21528 (struct La_i86_retval): Likewise.
21529 (struct La_x86_64_regs): Likewise.
21530 (struct La_x86_64_retval): Likewise.
21531 (struct La_x32_regs): Likewise.
21532 (struct La_x32_retval): Likewise.
21533 (struct La_ppc32_regs): Likewise.
21534 (struct La_ppc32_retval): Likewise.
21535 (struct La_ppc64_regs): Likewise.
21536 (struct La_ppc64_retval): Likewise.
21537 (struct La_sh_regs): Likewise.
21538 (struct La_sh_retval): Likewise.
21539 (struct La_s390_32_regs): Likewise.
21540 (struct La_s390_32_retval): Likewise.
21541 (struct La_s390_64_regs): Likewise.
21542 (struct La_s390_64_retval): Likewise.
21543 (struct La_sparc32_regs): Likewise.
21544 (struct La_sparc32_retval): Likewise.
21545 (struct La_sparc64_regs): Likewise.
21546 (struct La_sparc64_retval): Likewise.
21547 (struct audit_ifaces): Remove architecture-specific pltenter and
21548 pltexit members.
21549 * sysdeps/i386/ldsodefs.h: New file.
21550 * sysdeps/powerpc/ldsodefs.h: Likewise.
21551 * sysdeps/s390/ldsodefs.h: Likewise.
21552 * sysdeps/sh/ldsodefs.h: Likewise.
21553 * sysdeps/sparc/ldsodefs.h: Likewise.
21554 * sysdeps/x86_64/ldsodefs.h: Likewise.
21555
354691b7
MP
215562012-07-25 Marek Polacek <polacek@redhat.com>
21557
21558 [BZ #6808]
21559 * math/libm-test.inc (yn_test): Add another test.
21560 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21561 to ERANGE when the result is +-Inf.
21562 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21563 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21564 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21565 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21566
bf9e2071
JM
215672012-07-24 Joseph Myers <joseph@codesourcery.com>
21568
21569 * conform/data/time.h-data (NULL): Use macro-constant. Require
21570 equal to 0.
21571 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21572 clock_t.
21573 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21574
57633811
TS
215752012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21576
21577 * configure.in <sysdeps resolving>: Correct printing
21578 Implies_before.
21579 * configure: Regenerate.
21580
c23c33b0
TS
215812012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21582
21583 * math/w_ilogb.c: Include <limits.h>.
21584 * math/w_ilogbl.c: Likewise.
21585
b5982523
JM
215862012-07-20 Joseph Myers <joseph@codesourcery.com>
21587
21588 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21589 va_copy. Document allowing for unavailable va_copy only as
21590 pre-C99 compatibility.
21591 * manual/string.texi (Copying and Concatenation): Use va_copy
21592 instead of __va_copy in concat example.
21593
ac4ea442
PT
215942012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21595
21596 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21597 (__sendto): Use create_address_port. Initialize APORT and deallocate
21598 it if not null.
21599
f98eafbd
PT
21600 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21601 with O_NOLINK passed to __file_name_lookup.
21602
898c7aab
PT
21603 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21604 with O_NOLINK passed to __file_name_lookup.
21605
0ced335a
PT
21606 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21607 negative N or less than NGIDS.
21608
b3404dbd
PT
21609 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21610 type to string_t. Set ERANGE as errno and return it if NAME is not big
21611 enough. Use memcpy instead of strncpy.
21612
0f48659e
JM
216132012-07-20 Joseph Myers <joseph@codesourcery.com>
21614
21615 * elf/Makefile (check-data): Remove.
21616 (localplt.data): New vpath directive.
21617 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21618 instead of $(check-data).
21619 * scripts/data/localplt-generic.data: Move to ...
21620 * sysdeps/generic/localplt.data: ... here.
21621 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21622 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21623 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21625 ... here.
21626 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21628 ... here.
21629 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21631 ... here.
21632 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21634 ... here.
21635 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21637 ... here.
21638 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21640 ... here.
21641
d37cbdaa
AZ
216422012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21643
21644 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21645 PPC32 and PPC64 files.
21646 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21647 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21648
46f85fc2
AK
216492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21650
21651 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21652 __makecontext_ret to ...
21653 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21654 ... here and call exit if uc_link is NULL. New file.
21655 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21656 __makecontext_ret.S.
21657 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21658 __makecontext_ret to ...
21659 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21660 ... here and call exit if uc_link is NULL. New file.
21661 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21662 __makecontext_ret.S.
21663
08f43f9b
AK
216642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21665
21666 * elf/elf.h (R_390_IRELATIVE): New definition.
21667 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21668 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21669 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21670 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21671 (elf_machine_lazy_rel): Likewise.
21672 * sysdeps/s390/dl-irel.h: New file.
21673 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21674 * sysdeps/s390/s390-64/memset.S: New asm code.
21675 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21676 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21677 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21678 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21679 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21680 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21681 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21682 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21683 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21684 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21685 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21686 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21687 * sysdeps/s390/s390-32/memset.S: New asm code.
21688 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21689
3b05db33
MP
216902012-07-17 Marek Polacek <polacek@redhat.com>
21691
21692 [BZ #14349]
21693 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21694 * sysdeps/s390/s390-64/configure.in: Likewise.
21695 * sysdeps/sparc/configure.in: Likewise.
21696 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21697 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21698 * sysdeps/i386/configure.in: Likewise.
21699 * sysdeps/x86_64/configure.in: Likewise.
21700 * sysdeps/sh/configure.in: Likewise.
21701 * sysdeps/s390/s390-32/configure: Regenerated.
21702 * sysdeps/s390/s390-64/configure: Likewise.
21703 * sysdeps/x86_64/configure: Likewise.
21704 * sysdeps/sh/configure: Likewise.
21705 * sysdeps/powerpc/powerpc64/configure: Likewise.
21706 * sysdeps/powerpc/powerpc32/configure: Likewise.
21707 * sysdeps/sparc/configure: Likwise.
21708 * sysdeps/i386/configure: Likewise.
21709
a66877c6
MP
21710 * elf/dl-open.c: Comment fixes.
21711
cfc82fd8
JM
217122012-07-17 Joseph Myers <joseph@codesourcery.com>
21713
bd29910a
JM
21714 * Makefile [CXX] (check-data): Remove.
21715 [CXX] (c++-types.data): New vpath directive.
21716 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21717 vpath. Do not allow for C++ type data being missing.
21718 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21719 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21720 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21721 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21722 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21723 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21724 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21726 ... here.
21727 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21729 ... here.
21730 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21732 ... here.
21733 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21735 ... here.
21736 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21738 ... here.
21739 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21741 ... here.
21742 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21744 ... here.
21745 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21747
cfc82fd8
JM
21748 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21749 definitions to architecture-specific files.
21750 (TLS_IE): Likewise.
21751 (TLS_LD): Likewise.
21752 (TLS_GD): Likewise.
21753 * sysdeps/i386/tls-macros.h: New file.
21754 * sysdeps/powerpc/tls-macros.h: Likewise.
21755 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21756 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21757 * sysdeps/sh/tls-macros.h: Likewise.
21758 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21759 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21760 * sysdeps/x86_64/tls-macros.h: Likewise.
21761
f7db3170
TS
217622012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21763
07cbfc23
TS
21764 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21765 zero value for regular exit case.
21766
f7db3170
TS
21767 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21768 (__start_context): Preserve zero value for regular exit case.
21769
dc97c227
TS
217702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21771 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21772
21773 * manual/setjmp.texi (setcontext): Clarify normal process
21774 termination when uc_link is the null pointer.
21775 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21776 exit call.
21777
d0cd7d02
AS
217782012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21779
21780 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21781 preprocessor. Test for each exception mask separately.
21782
dd318934
AJ
217832012-07-16 Andreas Jaeger <aj@suse.de>
21784
21785 * po/ru.po: Update from translation team.
21786
8048311a
JM
217872012-07-15 Joseph Myers <joseph@codesourcery.com>
21788
21789 * conform/data/string.h-data (NULL): Use macro-constant. Require
21790 equal to 0.
21791 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21792 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21793 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21794 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21795 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21796
b637d46e
AJ
217972012-07-13 Andreas Jaeger <aj@suse.de>
21798
21799 * po/fr.po: Update from translation team.
21800
541428fe
MP
218012012-07-12 Marek Polacek <polacek@redhat.com>
21802
21803 [BZ #14173]
21804 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21805 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21806 loop condition.
21807
ec332e94
JM
218082012-07-12 Joseph Myers <joseph@codesourcery.com>
21809
21810 [BZ #13717]
21811 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21812 Change to 2.4.1 where previously 2.4.0.
21813 * sysdeps/unix/sysv/linux/configure: Regenerated.
21814 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21815 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21816 version.
21817 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21818 (__ASSUME_AT_CLKTCK): Remove.
21819 (__ASSUME_AT_PAGESIZE): Likewise.
21820 (__ASSUME_AT_XID): Likewise.
21821 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21822 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21823 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21824 unconditionally.
21825 (HAVE_AUX_PAGESIZE): Likewise.
21826 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21827 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21828 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21829
7b6e99be
JB
218302012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21831
21832 [BZ #14307]
21833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21834 the temporary buffer used to invoke __gethostbyname2_r,
21835 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21836 host_data / struct gaih_addrtuple.
21837 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21838 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21839 header file nss/nsswitch.h.
21840 * nss/nsswitch.h (global scope): Add definition of implementation
21841 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21842 resolv/nss_dns/dns-host.c).
21843
608404eb
AJ
218442012-07-11 Andreas Jaeger <aj@suse.de>
21845
21846 * po/fr.po: Update from translation team.
21847
71220aca
AJ
21848 * po/sv.po: Update from translation team
21849 * po/fr.po: Another update from translation team.
21850
28cfe843
AZ
218512012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21852
21853 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21854 for subnormals or multiply small sinh result by itself.
21855 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21857
6b90f981
DM
218582012-07-11 David S. Miller <davem@davemloft.net>
21859
21860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21861
c6825772
AS
218622012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21863
21864 [BZ #14347]
21865 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21866 (INTERNAL_MARK): Shift it here.
21867
7b8e0d49
MP
218682012-07-10 Marek Polacek <polacek@redhat.com>
21869
21870 [BZ #14151]
21871 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21872 libc_cv_asm_global_directive with .globl.
21873 * configure: Regenerated.
21874 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21875 with .globl.
21876 * sysdeps/i386/configure: Regenerated.
21877 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21878 with .globl.
21879 * sysdeps/x86_64/configure: Regenerated.
21880 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21881 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21882 * elf/tst-unique2mod2.c: Likewise.
21883 * elf/tst-unique2mod1.c: Likewise.
21884 * elf/tst-unique1mod2.c: Likewise.
21885 * elf/tst-unique1mod1.c: Likewise.
21886 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21887 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21888 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21889 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21890 * sysdeps/mach/sysdep.h: Likewise.
21891 * sysdeps/i386/sysdep.h: Likewise.
21892 * sysdeps/i386/i386-mcount.S: Likewise.
21893 * sysdeps/x86_64/_mcount.S: Likewise.
21894 * sysdeps/x86_64/sysdep.h: Likewise.
21895 * sysdeps/sh/_mcount.S: Likewise.
21896 * sysdeps/sh/sysdep.h: Likewise.
21897 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21898 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21899 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21900 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21901 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21902 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21903 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21904 * locale/localeinfo.h: Likewise.
21905 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21906 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21907
6c55cda3
RM
219082012-07-09 Roland McGrath <roland@hack.frob.com>
21909
21910 [BZ #14336]
21911 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21912 system".
21913 * manual/message.texi (The Uniforum approach): Likewise.
21914 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21915 (glibc iconv Implementation): Likewise.
21916
638a572e
JM
219172012-07-09 Joseph Myers <joseph@codesourcery.com>
21918
21919 [BZ #14337]
21920 * math/s_clog.c (__clog): Avoid scaling a value down where that
21921 could result in underflow.
21922 * math/s_clog10.c (__clog10): Likewise.
21923 * math/s_clog10f.c (__clog10f): Likewise.
21924 * math/s_clog10l.c (__clog10l): Likewise.
21925 * math/s_clogf.c (__clogf): Likewise.
21926 * math/s_clogl.c (__clogl): Likewise.
21927 * math/libm-test.inc (clog_test): Add more tests.
21928 (clog10_test): Likewise.
21929 * sysdeps/i386/fpu/libm-test-ulps: Update.
21930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21931
261f4859
AS
219322012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21933
0abaf3e4
AS
21934 [BZ #14283]
21935 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21936 by 7 not 8 to examine high bit of fractional part.
21937
261f4859
AS
21938 [BZ #14042]
21939 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21940 for call to __mcount_internal.
21941 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21942 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21943 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21944
f17ac40d
JM
219452012-07-06 Joseph Myers <joseph@codesourcery.com>
21946
9ad63c23
JM
21947 [BZ #14154]
21948 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21949 approximation for values within 0x1p-13f of an odd multiple of
21950 pi/4.
21951 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21952 exception. Add more tests.
21953 * sysdeps/i386/fpu/libm-test-ulps: Update.
21954
f17ac40d
JM
21955 [BZ #6778]
21956 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21957 inputs and return -1 for them. Do not check for +Inf in case not
21958 reachable for +Inf.
21959 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21960 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21961 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21962 and return -1 for them. Do not check for +Inf in case not
21963 reachable for +Inf.
21964 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21965 define.
21966 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21967 and return -1 for them. Do not check for +Inf in case not
21968 reachable for +Inf.
21969 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21970 spurious underflow.
21971 * sysdeps/i386/fpu/libm-test-ulps: Update.
21972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21973
fb21f89b
MF
219742012-07-06 Mike Frysinger <vapier@gentoo.org>
21975
21976 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21977
cdfe2c5e
JM
219782012-07-05 Joseph Myers <joseph@codesourcery.com>
21979
21980 [BZ #14157]
21981 [BZ #14331]
21982 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21983 could result in spurious underflow. Scale down values above
21984 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21985 * math/s_csqrtf.c (__csqrtf): Likewise.
21986 * math/s_csqrtl.c (__csqrtl): Likewise.
21987 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21988 spurious underflow.
21989 * sysdeps/i386/fpu/libm-test-ulps: Update.
21990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21991
70d35b67
AS
219922012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21993
704bc459
AS
21994 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21995 xopen-msg.sed.
21996 * catgets/xopen-msg.awk: New file.
21997 * catgets/xopen-msg.sed: Removed.
21998
70d35b67
AS
21999 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22000 po2text.sed.
22001 * intl/po2test.awk: New file.
22002 * intl/po2test.sed: Removed.
22003
ca61cf32
JM
220042012-07-04 Joseph Myers <joseph@codesourcery.com>
22005
22006 [BZ #14328]
22007 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22008 or multiply small sinh result by itself.
22009 * math/s_ctanf.c (__ctanf): Likewise.
22010 * math/s_ctanh.c (__ctanh): Likewise.
22011 * math/s_ctanhf.c (__ctanhf): Likewise.
22012 * math/s_ctanhl.c (__ctanhl): Likewise.
22013 * math/s_ctanl.c (__ctanl): Likewise.
22014 * math/libm-test.inc (ctan_test_tonearest): New function.
22015 (ctan_test_towardzero): Likewise.
22016 (ctan_test_downward): Likewise.
22017 (ctan_test_upward): Likewise.
22018 (ctanh_test_tonearest): Likewise.
22019 (ctanh_test_towardzero): Likewise.
22020 (ctanh_test_downward): Likewise.
22021 (ctanh_test_upward): Likewise.
22022 (main): Call these new functions.
22023 * sysdeps/i386/fpu/libm-test-ulps: Update.
22024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22025
ca48a46a
MF
220262012-07-03 Mike Frysinger <vapier@gentoo.org>
22027
22028 * .gitignore: Delete /ports entry.
22029
9d63d37d
AJ
220302012-07-03 Andreas Jaeger <aj@suse.de>
22031
22032 * po/bg.po: Update from translation team.
22033 * po/cs.po: Likewise.
22034 * po/de.po: Likewise.
22035 * po/hr.po: Likewise.
22036 * po/nl.pl: Likewise.
22037 * po/pl.po: Likewise.
22038 * po/vi.po: Likewise.
22039
370ca3d2
JM
220402012-07-03 Joseph Myers <joseph@codesourcery.com>
22041
95f5a9a8
JM
22042 * Makeconfig [!+link] (+link-before-libc): New variable.
22043 [!+link] (+link-after-libc): Likewise.
22044 [!+link] (+link-tests): Likewise.
22045 [!+link] (+link): Define in terms of $(+link-before-libc) and
22046 $(+link-after-libc).
22047 [!+link-static] (+link-static-before-libc): New variable.
22048 [!+link-static] (+link-static-after-libc): Likewise.
22049 [!+link-static] (+link-static-tests): Likewise.
22050 [!+link-static] (+link-static): Define in terms of
22051 $(+link-static-before-libc) and $(+link-static-after-libc).
22052 [build-shared] (link-libc-before-gnulib): New variable.
22053 [build-shared] (link-libc-tests): Likewise.
22054 [build-shared] (link-libc): Define in terms of
22055 $(link-libc-before-gnulib).
22056 [!build-shared] (link-libc-tests): New variable.
22057 (link-libc-static-tests): New variable.
22058 [!gnulib] (gnulib-arch): New variable.
22059 [!gnulib] (gnulib-tests): Likewise.
22060 [!gnulib] (static-gnulib-arch): Likewise.
22061 [!gnulib] (static-gnulib-tests): Likewise.
22062 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
22063 Define with "=" instead of ":=".
22064 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22065 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22066 * Rules (binaries-all-notests): New variable.
22067 (binaries-all-tests): Likewise.
22068 (binaries-static-notests): Likewise.
22069 (binaries-static-tests): Likewise.
22070 (binaries-all): Define using $(binaries-all-notests) and
22071 $(binaries-all-tests).
22072 (binaries-static): Define using $(binaries-static-notests) and
22073 $(binaries-static-tests).
22074 (binaries-shared-tests): New variable.
22075 (binaries-shared-notests): Likewise.
22076 (binaries-shared): Remove variable.
22077 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22078 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22079 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22080 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22081 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22082 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22083 * elf/Makefile (sln-modules): New variable.
22084 (extra-objs): Add $(sln-modules:=.o).
22085 (ldconfig-modules): Add static-stubs.
22086 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22087 * elf/static-stubs.c: New file.
22088
7a845b2c
JM
22089 [BZ #14283]
22090 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22091 by 7 not 8 to examine high bit of fractional part. Use volatile
22092 variables when splitting into final array of floats if
22093 __FLT_EVAL_METHOD__ != 0.
22094 * math/libm-test.inc (cos_test): Add another test.
22095 (sin_test): Likewise.
22096 * sysdeps/i386/fpu/libm-test-ulps: Update.
22097
e2283f38
JM
22098 [BZ #14273]
22099 * math/libm-test.inc (cosh_test): Add more tests.
22100
370ca3d2
JM
22101 * version.h (RELEASE): Set to "development".
22102 (VERSION): Set to "2.16.90".
22103
ee9247c3
CD
221042012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22105
22106 * NEWS: Update copyright. Remove last-updated date.
22107 Mention math library bug fixes and timezone data changes.
22108 * README: Mention GNU/Hurd, x32, and HPPA support status.
22109
4648c381
TS
221102012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22111
22112 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22113
aac78a43
AJ
221142012-06-27 Andreas Jaeger <aj@suse.de>
22115
22116 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22117
ed3dbfad
AJ
221182012-06-25 Andreas Jaeger <aj@suse.de>
22119
22120 * sysdeps/s390/fpu/libm-test-ulps: Update.
22121
4d0ee855
AS
221222012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22123 Thomas Schwinge <thomas@codesourcery.com>
22124
22125 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22126 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22127 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22128 fanotify_mark.
22129
af1bce34
TS
221302012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22131
a9fa33ba
TS
22132 * sysdeps/mach/start.c: Remove file.
22133 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22134 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22135 * sysdeps/sh/init-first.c: Likewise.
22136
58f902b8
TS
22137 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22138 registers for frame unwinding purposes, add CFI directives.
22139 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22140 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22141 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22142 Likewise.
22143
1518f58b
TS
22144 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22145 __fortify_fail returning.
22146 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22147
db9b5059
TS
22148 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22149 sysdeps/sh/____longjmp_chk.S.
22150 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22151 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22152 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22153 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22154
967705fe
TS
22155 * sysdeps/sh/abort-instr.h: New file.
22156 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22157 process in case exit returns.
22158
a9def8c4
TS
22159 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22160 initialize the GOT register before use.
22161
2a649725
TS
22162 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22163 calculation of ARGC > 4.
22164
af1bce34
TS
22165 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22166 meaningful names to some local labels.
22167
d230f50a
KK
221682012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22169 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22170
22171 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22172 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22173 (__arch_compare_and_exchange_val_16_acq): Likewise.
22174 (__arch_compare_and_exchange_val_32_acq): Likewise.
22175 (atomic_exchange_and_add): Fix gUSA sequence.
22176 (atomic_add): Likewise.
22177 (atomic_add_negative): Likewise.
22178 (atomic_add_zero): Likewise.
22179 (atomic_bit_test_set): Likewise.
22180
0479b305
AS
221812012-06-22 Andreas Schwab <schwab@redhat.com>
22182
22183 [BZ #13579]
22184 * include/link.h (struct link_map): Add l_free_initfini.
22185 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22186 l_initfini.
22187 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22188 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22189 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22190 set.
22191
0e3933b9
CD
221922012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22193
22194 * configure.in: Use AC_LANG_SOURCE.
22195 * configure: Regenerate.
22196
4248b1b1
RM
221972012-06-22 Roland McGrath <roland@hack.frob.com>
22198
22199 * configure.in (libc_cv_localstatedir): New substituted variable.
22200 * configure: Regenerated.
22201 * config.make.in (localstatedir): New variable, substituted from
22202 libc_cv_localstatedir.
22203 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22204 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22205 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22206 * sysdeps/gnu/configure: Regenerated.
22207
006dd861
JL
222082012-06-21 Jeff Law <law@redhat.com>
22209
22210 [BZ #14277]
22211 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22212 free. Simplify list management for _LIBC case.
22213
79662d42
JM
222142012-06-21 Joseph Myers <joseph@codesourcery.com>
22215
b7abb4bf
JM
22216 [BZ #14273]
22217 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22218 Clear sign bit of 64-bit integer value before comparing against
22219 overflow value.
22220
79662d42
JM
22221 * sysdeps/mach/configure: Regenerated.
22222
1f150908
L
222232012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22224
22225 [BZ #14278]
22226 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22227
28363bbf
JL
222282012-06-21 Jeff Law <law@redhat.com>
22229
22230 [BZ #13882]
22231 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22232 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 22233 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
22234 * elf/dl-open.c (dl_open_worker): Likewise.
22235
09615db4
CD
222362012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22237
22238 * scripts/list-sources.sh: Scan PORTS for translations.
22239 * po/libc.pot: Regenerated.
22240
2174c6dd
AJ
222412012-06-21 Andreas Jaeger <aj@suse.de>
22242
22243 [BZ #12194]
22244 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22245 warning.
22246 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22247 * bits/byteswap-16.h (__bswap_16): Likewise.
22248 * bits/byteswap.h (__bswap_constant_16): Likewise.
22249
3ee947b1
L
222502012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22251
22252 [BZ #14117]
a2f34833
L
22253 * sysdeps/i386/fpu_control.h: Removed.
22254 * sysdeps/x86_64/fpu_control.h: Moved to ...
22255 * sysdeps/x86/fpu_control.h: Here.
22256
3ee947b1
L
22257 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22258 (_FPU_SETCW): Likewise.
22259
ed1825f8
L
222602012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22261
25f1282a
L
22262 [BZ #14117]
22263 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22264 * sysdeps/x86/fpu/bits/mathinline.h: This.
22265 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22266
ed1825f8
L
22267 [BZ #14050]
22268 [BZ #14117]
22269 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22270 functions if __x86_64__ is defined.
22271
36d54b74
CLT
222722012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22273
22274 * string/endian.h: Add !__ASSEMBLER__ condition for including
22275 conversion interfaces.
22276
10285c21
JM
222772012-06-15 Joseph Myers <joseph@codesourcery.com>
22278
22279 [BZ #14241]
22280 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22281 of ABS(x) in calculating zero to negative powers other than odd
22282 integers.
22283 * math/libm-test.inc (pow_test): Add more tests.
22284
06c5abbd
AJ
222852012-06-15 Andreas Jaeger <aj@suse.de>
22286
22287 * manual/contrib.texi (Contributors): Update entry of Liubov
22288 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22289 Machado Filho.
22290
a3aeac40
CH
222912012-06-15 Cyril Hrubis <metan@ucw.cz>
22292
22293 * string/string.h: Add __wur to GNU version of strerror_r.
22294
49bdf4c1
L
222952012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22296
22297 [BZ #14229]
22298 * string/Makefile (tests): Add tst-strtok_r.
22299 * string/tst-strtok_r.c: New file.
22300 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22301 RAX_LP/RDX_LP on SAVE_PTR.
22302
834f9b8d
RM
223032012-06-14 Roland McGrath <roland@hack.frob.com>
22304
22305 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22306
75fa1921
JM
223072012-06-14 Joseph Myers <joseph@codesourcery.com>
22308
22309 * libm_test.inc (csqrt_test): Allow more spurious underflow
22310 exceptions.
22311 (j0_test): Likewise.
22312 (j1_test): Likewise.
22313 (y0_test): Likewise.
22314 (y1_test): Likewise.
22315
771766df
CD
223162012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22317
22318 * po/Makefile (libc.pot): Use UTF-8 charset.
22319
ceb9e56b
PP
223202012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22321
22322 [BZ #14210]
22323 Suppress sign-conversion warning from FD_SET.
22324 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22325 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22326 not unsigned long int.
22327 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22328
ddb28975
L
223292012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22330
22331 [BZ #14050]
22332 [BZ #14117]
22333 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22334 __extern_always_inline instead of __extern_inline.
22335 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22336 (__signbit): Likewise.
22337 (__signbitl): Support C++ namespace.
22338 (lrintf): New inline function.
22339 (lrint): Likewise.
22340 (llrintf): Likewise.
22341 (llrint): Likewise.
22342 (fmaxf): Likewise.
22343 (fmax): Likewise.
22344 (fminf): Likewise.
22345 (fmin): Likewise.
22346 (rint): Likewise.
22347 (rintf): Likewise.
22348 (ceil): Likewise.
22349 (ceilf): Likewise.
22350 (floor): Likewise.
22351 (floorf): Likewise.
22352 (nearbyint): Likewise.
22353 (nearbyintf): Likewise.
22354
d7b4fb26
TS
223552012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22356
22357 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22358 non-default versions.
22359
eb55f5c2
RM
223602012-06-11 Roland McGrath <roland@hack.frob.com>
22361
22362 [BZ #14218]
22363 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22364
366af02c
TS
223652012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22366
99ff6e5c
TS
22367 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22368 (FE_UPWARD, FE_DOWNWARD): Don't define.
22369 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22370 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22371
366af02c
TS
22372 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22373 reading it.
22374 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22375 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22376
793ea851
KK
223772012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22378
22379 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22380 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22381 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22382 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22383
a728a38f
L
223842012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22385
22386 [BZ #14117]
c08010c7
L
22387 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22388 * sysdeps/i386/fpu/Implies: New file.
22389 * sysdeps/x86_64/fpu/Implies: Likewise.
22390 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22391 * sysdeps/x86/fpu/bits/fenv.h: This.
22392
a728a38f
L
22393 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22394 __SSE_MATH__.
22395
6e230d11
SP
223962012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22397
22398 [BZ #14134]
22399 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22400 character 0xffff that matches the last element of the
22401 conversion table.
22402
1b671feb
AZ
224032012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22404
22405 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22406 fmodl commit.
22407
6043738b
AZ
224082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22409
22410 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22411 values higher than 25.6283.
22412
34ae0b32
AZ
224132012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22414
22415 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22416 subnormal exponent extraction and add some __builtin_expect.
22417 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22418 Fix for subnormal mantissa calculation.
22419
1214ec8f
MF
224202012-06-04 Mike Frysinger <vapier@gentoo.org>
22421
22422 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22423 cpu2 is -1 and errno is not ENOSYS.
22424
f3d1f93c
L
224252012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22426
22427 [BZ #14117]
0e4a3cd7
L
22428 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22429 * sysdeps/x86/bits/string.h: This.
22430 * sysdeps/x86_64/bits/string.h: Removed.
22431
6704c645
L
22432 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22433 if not compiling for x86-64, but compiling for >= i486.
22434
48495318
L
22435 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22436 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22437
14adcbfc
L
22438 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22439 New macro from Linux kernel 3.4.0.
22440 (FP_XSTATE_MAGIC2): Likewise.
22441 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22442 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22443 (struct _fpx_sw_bytes): New struct.
22444 (struct _xsave_hdr): Likewise.
22445 (struct _ymmh_state): Likewise.
22446 (struct _xstate): Likewise.
22447
68e408ab
L
22448 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22449 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22450 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22451 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22452 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22453 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22454
f3d1f93c
L
22455 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22456 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22457 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22458 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22459 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22460 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22461
d9dc34cd
TMQMF
224622012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22463
22464 [BZ #13743]
22465 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22466 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22467 (sysdep_headers): Include sys/platform/ppc.h.
22468 * sysdeps/powerpc/test-gettimebase.c: Test for
22469 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22470 * manual/Makefile (appendices): Include platform.texi.
22471 * manual/contrib.texi (Contributors): Update @node pointers.
22472 * manual/maint.texi (Maintenance): Likewise.
22473 (Platform): New node.
22474 * manual/platform.texi: New file. Document the new features.
22475
4af3879c
SP
224762012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22477 Jakub Jelinek <jakub@redhat.com>
22478
22479 [BZ #14188]
22480 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22481 where __builtin_expect is unavailable.
22482
2fd6ff13
DM
224832012-06-03 David S. Miller <davem@davemloft.net>
22484
22485 * stdlib/longlong.h: Updated from GCC.
22486
173f7220
AS
224872012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22488
22489 [BZ #14042]
22490 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22491 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22492 __mcount_internal.
22493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22494 (GLIBC_2.16): Likewise.
22495
f34a1c6f
L
224962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22497
22498 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22499
88a4576f
JM
225002012-06-01 Joseph Myers <joseph@codesourcery.com>
22501
ea32bcdd
JM
22502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22503 (default-abi): New variable.
22504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22505 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22506 variable.
22507 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22508 Likewise.
22509 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22510 Likewise.
22511 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22512 Likewise.
22513
88a4576f
JM
22514 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22515 definition. Document in comment.
22516
402fe938
DM
225172012-06-01 David S. Miller <davem@davemloft.net>
22518
22519 * stdlib/longlong.h: Updated from GCC.
22520
3553723f
L
225212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22522
22523 [BZ #14117]
3bd872c4
L
22524 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22525 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22526 sys/debugreg.h sys/io.h here.
22527 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22528 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22529 sys/io.h.
22530 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22531 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22532 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22533 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22534 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22535 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22536
3553723f
L
22537 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22538 Define only if __x86_64__ is defined.
22539
4842e4fe
JM
225402012-06-01 Joseph Myers <joseph@codesourcery.com>
22541
c5bfe3d5
JM
22542 [BZ #14048]
22543 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22544 Use int64_t for variable i.
22545 * math/libm-test.inc (fmod_test): Add more tests.
22546
4842e4fe
JM
22547 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22548 z computation is not scheduled after fetestexcept.
22549 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22550 Use math_force_eval instead of asm to ensure calculation scheduled
22551 before exception test.
22552 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22553 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22554
efb73488
AJ
225552012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22556
22557 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22558 computation is not scheduled after fetestexcept.
22559
29bcce7c
L
225602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22561
22562 [BZ #14117]
22563 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22564 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22565
73a68f94
AZ
225662012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22567
22568 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22569 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22570
67b6df78
L
225712012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22572
edf2933a 22573 [BZ #14117]
ebc64a18
L
22574 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22575 <bits/wordsize.h>.
22576 (__WCHAR_MIN): Support __WORDSIZE == 64.
22577 (__WCHAR_MAX): Likewise.
22578
edf2933a
L
22579 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22580 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22581
57c6cf40
L
22582 [BZ #14183]
22583 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22584 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22585
67b6df78 22586 [BZ #14117]
8eb6281e
L
22587 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22588 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22589
aac639f4
L
22590 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22591 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22592
67b6df78
L
22593 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22594 Defined to 1 if __x86_64__ isn't defined.
22595 (_STAT_VER_LINUX_OLD): New.
22596 (st_atime): Remove duplicate.
22597 (st_mtime): Likewise.
22598 (st_ctime): Likewise.
22599
1c2cfe81
DM
226002012-05-31 David S. Miller <davem@davemloft.net>
22601
22602 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22603 entries.
22604
5be8418c
AS
226052012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22606
e7725326
AS
22607 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22608 gen-libm-test.pl.
22609
5be8418c
AS
22610 [BZ #14132]
22611 * elf/dl-reloc.c: Include <_itoa.h>.
22612 (_dl_reloc_bad_type): Remove use of INTUSE.
22613 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22614 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22615 * stdio-common/psiginfo.c (psiginfo): Likewise.
22616 * stdio-common/psignal.c (psignal): Likewise.
22617 * string/strsignal.c (strsignal): Likewise.
22618 * include/signal.h (_sys_siglist): Declare hidden proto.
22619 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22620 INTVARDEF with libc_hidden_data_def.
22621 * stdio-common/itoa-udigits.c: Likewise.
22622 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22623 (_itoa_lower_digits_internal): Remove declaration.
22624 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22625 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22626 (_sys_sigabbrev_internal): Remove aliases.
22627 (_sys_siglist): Define hidden alias.
22628
507352f1
MT
226292012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22630
22631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22632 bits/sysctl.h.
22633
42bbb1c3
L
226342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22635
22636 [BZ #14117]
6bd784b6
L
22637 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22638 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22639
8bca20f0
L
22640 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22641 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22642 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22643 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22644 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22645 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22646
f9e890a9
L
22647 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22648 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22649 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22650
471101a1
L
22651 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22652 with __addr.
22653 (insw): Likewise.
22654 (insl): Likewise.
22655 (outsb): Likewise.
22656 (outsw): Likewise.
22657 (outsl): Likewise.
22658
6451c862
L
22659 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22660 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22661 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22662
a254b8c9
L
22663 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22664 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22665 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22666 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22667 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22668 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22669
b8dfdd92
L
22670 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22671 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22672
578cd270
L
22673 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22674 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22675
de662f5f
L
22676 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22677 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22678 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22679
25653439
L
22680 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22681 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22682 to ...
22683 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22684
6bad24a0
L
22685 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22686 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22687 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22688
42bbb1c3
L
22689 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22690 for x86-64.
22691 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22692
2d10d547
JM
226932012-05-31 Joseph Myers <joseph@codesourcery.com>
22694
22695 * math/math.h (M_El): Use two more decimal places.
22696 (M_LOG2El): Likewise.
22697 (M_LOG10El): Likewise.
22698 (M_LN2l): Likewise.
22699 (M_LN10l): Likewise.
22700 (M_PIl): Likewise.
22701 (M_PI_2l): Likewise.
22702 (M_PI_4l): Likewise.
22703 (M_1_PIl): Likewise.
22704 (M_2_PIl): Likewise.
22705 (M_2_SQRTPIl): Likewise.
22706 (M_SQRT2l): Likewise.
22707 (M_SQRT1_2l): Likewise.
22708
f230c29b
DM
227092012-05-31 David S. Miller <davem@davemloft.net>
22710
22711 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22712 values between float registers.
22713 * sysdeps/sparc/sparc64/memset.S: Likewise.
22714 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22715
fed806c3
MF
227162012-05-31 Mike Frysinger <vapier@gentoo.org>
22717
22718 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22719 -D_FORTIFY_SOURCE=1.
22720 (CPPFLAGS-tst-longjmp_chk.c): Define.
22721 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22722 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22723 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22724 CFLAGS-tst-wchar-h.c.
22725
30917259
MP
227262012-05-31 Marek Polacek <polacek@redhat.com>
22727
22728 [BZ #14132]
22729 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22730 __endmntent_internal): Remove declaration.
22731 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22732 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22733 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22734
1c58d5dc
DM
227352012-05-30 David S. Miller <davem@davemloft.net>
22736
22737 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22738 (___Q_simulate_exceptions): Use real FP ops rather than writing
22739 into the %fsr.
22740 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22741 Likewise.
22742
7dc00e0d
L
227432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22744
22745 [BZ #14117]
0bd53985
L
22746 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22747 * sysdeps/x86/bits/xtitypes.h: This.
22748
3a257e66
L
22749 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22750 * sysdeps/x86/bits/wordsize.h: This.
22751
62f62904
L
22752 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22753 * sysdeps/x86/bits/huge_vall.h: This.
22754
404fe9d9
L
22755 * sysdeps/i386/bits/select.h: Removed.
22756 * sysdeps/x86_64/bits/select.h: Renamed to ...
22757 * sysdeps/x86/bits/select.h: This.
22758
d48d0446
L
22759 * sysdeps/i386/bits/setjmp.h: Removed.
22760 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22761 * sysdeps/x86/bits/setjmp.h: This.
22762
7dc00e0d
L
22763 * sysdeps/i386/bits/mathdef.h: Removed.
22764 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22765 * sysdeps/x86/bits/mathdef.h: This.
22766
03277f8f
AS
227672012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22768
22769 [BZ #14132]
22770 * include/sys/socket.h (__connect_internal)
22771 (__libc_sa_len_internal): Remove declaration.
22772 (__connect, __libc_sa_len): Declare hidden_proto.
22773 (SA_LEN): Remove use of INTUSE.
22774 * socket/connect.c: Add libc_hidden_def.
22775 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22776 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22777 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22778 alias.
22779 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22780 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22781 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22782 of adding _internal alias.
22783
13764867
L
227842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22785
22786 [BZ #14117]
6bd97696
L
22787 * sysdeps/i386/bits/link.h: Removed.
22788 * sysdeps/i386/bits/linkmap.h: Likewise.
22789 * sysdeps/x86_64/bits/link.h: Renamed to ...
22790 * sysdeps/x86/bits/link.h: This.
22791 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22792 * sysdeps/x86/bits/linkmap.h: This.
22793
f726f0bb
L
22794 * sysdeps/i386/bits/endian.h: Removed.
22795 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22796 * sysdeps/x86/bits/endian.h: This.
22797
13764867
L
22798 * sysdeps/i386/bits/byteswap.h: Removed.
22799 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22800 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22801 * sysdeps/x86/bits/byteswap.h: This.
22802 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22803 * sysdeps/x86/bits/byteswap-16.h: This.
22804 * sysdeps/i386/Implies: Add x86.
22805 * sysdeps/x86_64/Implies: Likewise.
22806
ae251b0b
DM
228072012-05-30 David S. Miller <davem@davemloft.net>
22808
22809 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22810 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22811 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22812 (FP_TRAPPING_EXCEPTIONS): Define.
22813 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22814 (FP_TRAPPING_EXCEPTIONS): Define.
22815 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22816 subnormals only when inexact has been signalled or underflow
22817 exceptions are enabled.
22818 (_FP_PACK_CANONICAL): Likewise.
22819
d5c90867
L
228202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22821
22822 [BZ #14183]
22823 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22824 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22825
63f1549e
RH
228262012-05-30 Richard Henderson <rth@twiddle.net>
22827
8d8f2279
RH
22828 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22829 with #ifndef NOT_IN_libc.
22830
63f1549e
RH
22831 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22832 marked to avoid plt entry.
22833
0ab0291b
L
228342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22835
22836 [BZ #14112]
22837 * Makeconfig (default-abi): New macro.
22838 (abi-includes): Likewise.
22839 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22840 $(abi-$(default-abi)-lib-soname) for soname if defined.
22841 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22842 abi-variants.
22843 * Makefile (installed-stubs): Likewise.
22844 * include/stubs-biarch.h: Removed.
22845 * scripts/lib-names.awk: Only handle one library at a time.
22846 * scripts/soversions.awk: Remove WORDSIZE support.
22847 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22848 entries.
22849 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22850 Removed.
22851 (syscall-list-default-condition): Likewise.
22852 (syscall-list-default-condition): Likewise.
22853 (syscall-list-includes): Likewise.
22854 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22855 syscall-list-* with abi-*. Handle undefined abi-variants.
22856 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22857 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22858 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22859 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22860 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22861 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22862 Removed.
22863 (syscall-list-32-options): Likewise.
22864 (syscall-list-32-condition): Likewise.
22865 (syscall-list-64-options): Likewise.
22866 (syscall-list-64-condition): Likewise.
22867 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22868 macro.
22869 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22870 Renamed to ...
22871 (abi-*): This.
22872 (abi-64-ld-soname): New macro.
22873 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22874 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22875 Renamed to ...
22876 (abi-*): This.
22877 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22878 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22879
4da0431d
JM
228802012-05-30 Joseph Myers <joseph@codesourcery.com>
22881
3a85279c
JM
22882 * sysdeps/unix/sysv/linux/kernel-features.h
22883 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22884 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22885 include <kernel-features.h>.
22886 [!__NR_ftruncate64]: Remove conditional code.
22887 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22888 [__NR_ftruncate64]: Make code unconditional.
22889 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22890 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22891 include <kernel-features.h>.
22892 [!__NR_ftruncate64]: Remove conditional code.
22893 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22894 [__NR_ftruncate64]: Make code unconditional.
22895 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22897 include <kernel-features.h>.
22898 [!__NR_ftruncate64]: Remove conditional code.
22899 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22900 [__NR_ftruncate64]: Make code unconditional.
22901 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22903 include <kernel-features.h>.
22904 [!__NR_ftruncate64]: Remove conditional code.
22905 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22906 [__NR_ftruncate64]: Make code unconditional.
22907 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22908
4da0431d
JM
22909 * configure.in (libc_cv_fpie): Weaken to a compile test using
22910 LIBC_TRY_CC_OPTION.
22911 * configure: Regenerated.
22912
11ef492c
AK
229132012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22914
22915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22919 Refreshed.
22920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22926 Refreshed.
22927
d66ef399
DM
229282012-05-27 David S. Miller <davem@davemloft.net>
22929
22930 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22931 (___Q_zero): New.
22932 (__Q_simulate_exceptions): Return void. Change to simulate
22933 exceptions by writing into the %fsr.
22934 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22935 (__Qp_handle_exceptions): Likewise.
22936 (numbers): Delete.
22937 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22938 __Qp_handle_exceptions.
22939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22940 __Qp_handle_exceptions.
22941 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22942 as unused and give dummy FP_RND_NEAREST initializer.
22943 (FP_INHIBIT_RESULTS): Define.
22944 (___Q_simulate_exceptions): Update declaration.
22945 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22946 formatting.
22947 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22948 as unused and give dummy FP_RND_NEAREST initializer.
22949 (__Qp_handle_exceptions): Update declaration.
22950 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22951 formatting.
22952
04fb54b5
TS
229532012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22954
22955 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22956 the temporary FPU control word.
22957 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22958 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22959 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22960 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22961 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22962 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22963 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22964 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22965 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22966 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22967 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22968
3f99608f
KK
229692012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22970
22971 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22972 fields.
22973
65a4de4e
CLT
229742012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22975
22976 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22977 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22978 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22979 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22980 Likewise.
22981 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22982 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22983 Likewise.
22984
15749d40
UD
229852012-05-27 Ulrich Drepper <drepper@gmail.com>
22986
22987 * po/h.po: Update from translation team.
22988
25dbcb27
AS
229892012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22990
3d3f8e55
AS
22991 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22992
25dbcb27
AS
22993 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22994 handling of denormals.
22995 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22996 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22997 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22998 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22999 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23000 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23001 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23002 Likewise.
23003
7ad47a80 230042012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
23005
23006 [BZ #14152]
23007 * math/libm-test.inc (fma_test): Don't always expect underflow
23008 exception.
23009
9c6ea9fa
SP
230102012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23011
23012 [BZ #12416]
23013 * elf/tst-execstack.c: Include stackinfo.h.
23014 (do_test): Adjust test case to ensure that pthread_getattr_np
23015 behaviour remains the same after marking stack executable.
23016
a8239222
JM
230172012-05-25 Joseph Myers <joseph@codesourcery.com>
23018
23019 * sysdeps/unix/sysv/linux/kernel-features.h
23020 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23021 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23022 kernel-features.h.
23023 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23024 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23025 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23026 kernel-features.h.
23027 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23028 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23029
918b5606
L
230302012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23031
23032 * configure.in: Define the default includes to being none.
23033 * configure: Regenerated.
23034
3a097cc7
RM
230352012-05-25 Roland McGrath <roland@hack.frob.com>
23036
8422c9a5
RM
23037 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23038 * sysdeps/x86_64/setjmp.S: Likewise.
23039 * sysdeps/i386/bsd-setjmp.S: Likewise.
23040 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23041 * sysdeps/i386/setjmp.S: Likewise.
23042 * sysdeps/i386/__longjmp.S: Likewise.
23043 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23044 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23045
3a097cc7
RM
23046 * include/stap-probe.h: New file.
23047 * configure.in: Handle --enable-systemtap.
23048 * configure: Regenerated.
23049 * config.h.in (USE_STAP_PROBE): New #undef.
23050 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23051 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23052 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23053
21708942
JM
230542012-05-25 Joseph Myers <joseph@codesourcery.com>
23055
23056 [BZ #13717]
23057 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23058 to 2.4.0 where earlier.
23059 * sysdeps/unix/sysv/linux/configure: Regenerated.
23060 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23061 <kernel-features.h>.
23062 [__ASSUME_32BITUIDS]: Make code unconditional.
23063 [!__ASSUME_32BITUIDS]: Remove conditional code.
23064 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23065 <kernel-features.h>.
23066 [__ASSUME_32BITUIDS]: Make code unconditional.
23067 [!__ASSUME_32BITUIDS]: Remove conditional code.
23068 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23069 [__ASSUME_32BITUIDS]: Make code unconditional.
23070 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23071 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23072 <kernel-features.h>.
23073 [__ASSUME_32BITUIDS]: Make code unconditional.
23074 [!__ASSUME_32BITUIDS]: Remove conditional code.
23075 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23076 <kernel-features.h>.
23077 [__ASSUME_32BITUIDS]: Make code unconditional.
23078 [!__ASSUME_32BITUIDS]: Remove conditional code.
23079 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23080 <kernel-features.h>.
23081 [__ASSUME_32BITUIDS]: Make code unconditional.
23082 [!__ASSUME_32BITUIDS]: Remove conditional code.
23083 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23084 <kernel-features.h>.
23085 [__ASSUME_32BITUIDS]: Make code unconditional.
23086 [!__ASSUME_32BITUIDS]: Remove conditional code.
23087 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23088 <kernel-features.h>.
23089 [__ASSUME_32BITUIDS]: Make code unconditional.
23090 [!__ASSUME_32BITUIDS]: Remove conditional code.
23091 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23092 <kernel-features.h>.
23093 [__ASSUME_32BITUIDS]: Make code unconditional.
23094 [!__ASSUME_32BITUIDS]: Remove conditional code.
23095 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23096 <kernel-features.h>.
23097 [__ASSUME_32BITUIDS]: Make code unconditional.
23098 [!__ASSUME_32BITUIDS]: Remove conditional code.
23099 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23100 <kernel-features.h>.
23101 [__ASSUME_32BITUIDS]: Make code unconditional.
23102 [!__ASSUME_32BITUIDS]: Remove conditional code.
23103 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23104 <kernel-features.h>.
23105 [__ASSUME_32BITUIDS]: Make code unconditional.
23106 [!__ASSUME_32BITUIDS]: Remove conditional code.
23107 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23108 <kernel-features.h>.
23109 [__ASSUME_32BITUIDS]: Make code unconditional.
23110 [!__ASSUME_32BITUIDS]: Remove conditional code.
23111 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23112 <kernel-features.h>.
23113 [__NR_setresgid] (__setresgid): Do not declare.
23114 [__ASSUME_32BITUIDS]: Make code unconditional.
23115 [!__ASSUME_32BITUIDS]: Remove conditional code.
23116 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23117 <kernel-features.h>.
23118 [__NR_setresuid] (__setresuid): Do not declare.
23119 [__ASSUME_32BITUIDS]: Make code unconditional.
23120 [!__ASSUME_32BITUIDS]: Remove conditional code.
23121 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23122 <kernel-features.h>.
23123 [__ASSUME_32BITUIDS]: Make code unconditional.
23124 [!__ASSUME_32BITUIDS]: Remove conditional code.
23125 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23126 <kernel-features.h>.
23127 [__ASSUME_32BITUIDS]: Make code unconditional.
23128 [!__ASSUME_32BITUIDS]: Remove conditional code.
23129 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23130 <kernel-features.h>.
23131 [__ASSUME_32BITUIDS]: Make code unconditional.
23132 [!__ASSUME_32BITUIDS]: Remove conditional code.
23133 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23134 <kernel-features.h>.
23135 [__ASSUME_32BITUIDS]: Make code unconditional.
23136 [!__ASSUME_32BITUIDS]: Remove conditional code.
23137 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23138 <kernel-features.h>.
23139 [__ASSUME_32BITUIDS]: Make code unconditional.
23140 [!__ASSUME_32BITUIDS]: Remove conditional code.
23141 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23142 <kernel-features.h>.
23143 [__ASSUME_32BITUIDS]: Make code unconditional.
23144 [!__ASSUME_32BITUIDS]: Remove conditional code.
23145 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23146 <kernel-features.h>.
23147 [__ASSUME_32BITUIDS]: Make code unconditional.
23148 [!__ASSUME_32BITUIDS]: Remove conditional code.
23149 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23150 <kernel-features.h>.
23151 [__ASSUME_32BITUIDS]: Make code unconditional.
23152 [!__ASSUME_32BITUIDS]: Remove conditional code.
23153 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23154 <kernel-features.h>.
23155 [__ASSUME_32BITUIDS]: Make code unconditional.
23156 [!__ASSUME_32BITUIDS]: Remove conditional code.
23157 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23158 <kernel-features.h>.
23159 [__ASSUME_32BITUIDS]: Make code unconditional.
23160 [!__ASSUME_32BITUIDS]: Remove conditional code.
23161 * sysdeps/unix/sysv/linux/kernel-features.h
23162 (__ASSUME_SETRESUID_SYSCALL): Remove.
23163 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23164 (__ASSUME_32BITUIDS): Likewise.
23165 (__ASSUME_LDT_WORKS): Likewise.
23166 (__ASSUME_O_DIRECTORY): Likewise.
23167 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23168 architecture but not kernel version.
23169 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23170 (__ASSUME_MMAP2_SYSCALL): Likewise.
23171 (__ASSUME_STAT64_SYSCALL): Likewise.
23172 (__ASSUME_IPC64): Likewise.
23173 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23174 <kernel-features.h>.
23175 [__ASSUME_32BITUIDS]: Make code unconditional.
23176 [!__ASSUME_32BITUIDS]: Remove conditional code.
23177 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23178 <kernel-features.h>.
23179 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23180 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23181 132096]: Remove conditional code.
23182 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23183 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23184 <kernel-features.h>.
23185 [__ASSUME_32BITUIDS]: Make code unconditional.
23186 [!__ASSUME_32BITUIDS]: Remove conditional code.
23187 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23188 <kernel-features.h>.
23189 [__ASSUME_32BITUIDS]: Make code unconditional.
23190 [!__ASSUME_32BITUIDS]: Remove conditional code.
23191 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23192 <kernel-features.h>.
23193 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23194 unconditional.
23195 (__setresgid): Do not declare.
23196 [__ASSUME_32BITUIDS]: Make code unconditional.
23197 [!__ASSUME_32BITUIDS]: Remove conditional code.
23198 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23199 <kernel-features.h>.
23200 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23201 unconditional.
23202 (__setresuid): Do not declare.
23203 [__ASSUME_32BITUIDS]: Make code unconditional.
23204 [!__ASSUME_32BITUIDS]: Remove conditional code.
23205 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23206 <kernel-features.h>.
23207 [__ASSUME_32BITUIDS]: Make code unconditional.
23208 [!__ASSUME_32BITUIDS]: Remove conditional code.
23209 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23210 <kernel-features.h>.
23211 [__ASSUME_32BITUIDS]: Make code unconditional.
23212 [!__ASSUME_32BITUIDS]: Remove conditional code.
23213
a386f1cc
RH
232142012-05-25 Richard Henderson <rth@twiddle.net>
23215
23216 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23217 dl_hwcap to ifunc resolver.
23218 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23219 elf_ifunc_invoke.
23220 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23221 dl_hwcap to ifunc resolver.
23222 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23223
b6550497
JM
232242012-05-24 Joseph Myers <joseph@codesourcery.com>
23225
23226 [BZ #14153]
23227 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23228 for |x| <= 2**-26, not 2**-57.
23229 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23230 exception.
23231
b0bc23a1
JL
232322012-05-24 Jeff Law <law@redhat.com>
23233
23234 * stdio-common/Makefile (tests): Add bug25.
23235 * stdio-common/bug25.c: New test.
23236
347c92e9
L
232372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23238
23239 [BZ #13576]
23240 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23241 multiple of MALLOC_ALIGNMENT in size.
23242 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23243
6bcc8b3f
JM
232442012-05-24 Joseph Myers <joseph@codesourcery.com>
23245
23246 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23247 Require >= 256.
23248 (FILENAME_MAX): Use macro-int-constant.
23249 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23250 (_IOFBF): Use macro-int-constant.
23251 (_IOLBF): Likewise.
23252 (_IONBF): Likewise.
23253 (SEEK_CUR): Likewise.
23254 (SEEK_END): Likewise.
23255 (SEEK_SET): Likewise.
23256 (TMP_MAX): Likewise.
23257 (EOF): Use macro-int-constant. Require < 0.
23258 (NULL): Use macro-constant. Require == 0.
23259 (stdin): Require type to be FILE *.
23260 (stdout): Likewise.
23261 (stderr): Likewise.
23262 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23263 macro-int-constant.
23264 (EXIT_SUCCESS): Likewise.
23265 (NULL): Use macro-constant. Require == 0.
23266 (RAND_MAX): Use macro-int-constant.
23267 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23268 [C99-based standards] (strtof): Require function.
23269 [C99-based standards] (strtold): Likewise.
23270 [C99-based standards] (strtoll): Likewise.
23271 [C99-based standards] (strtoull): Likewise.
23272 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23273 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23274 [ISO || ISO99 || ISO11] (math.h): Likewise.
23275 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23276 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23277 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23278
d18ea0c5
AS
232792012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23280
23281 [BZ #14132]
56d25bb8
AS
23282 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23283 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23284 * intl/dgettext.c (DCGETTEXT): Likewise.
23285 * intl/gettext.c (DCGETTEXT): Likewise.
23286 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23287 * posix/regex_internal.h (gettext): Likewise.
23288 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23289 Remove declaration.
23290 * include/argz.h (__argz_count_internal)
23291 (__argz_stringify_internal): Remove declaration.
23292 (__argz_count, __argz_stringify): Declare hidden proto.
23293 * intl/dcgettext.c: Remove use of INTDEF.
23294 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23295 * string/argz-stringify.c: Likewise.
23296 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23297 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23298 Declare hidden proto.
d18ea0c5
AS
23299 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23300 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23301 Declare hidden proto.
23302 * include/stdio.h (__asprintf_internal): Don't declare.
23303 (__asprintf): Don't define as macro. Declare hidden proto.
23304 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23305 (__fsetlocking): Declare hidden proto.
23306 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23307 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23308 hidden proto.
23309 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23310 (_IO_setlinebuf): Remove use of INTUSE.
23311 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23312 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23313 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23314 Remove declaration.
23315 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23316 (_IO_do_flush): Remove use of INTUSE.
23317 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23318 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23319 (_IO_adjust_column, _IO_least_wmarker)
23320 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23321 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23322 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23323 (_IO_default_doallocate, _IO_wdefault_doallocate)
23324 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23325 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23326 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23327 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23328 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23329 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23330 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23331 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23332 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23333 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23334 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23335 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23336 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23337 proto.
23338 (_IO_flush_all_internal, _IO_adjust_column_internal)
23339 (_IO_default_uflow_internal, _IO_default_finish_internal)
23340 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23341 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23342 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23343 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23344 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23345 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23346 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23347 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23348 (_IO_file_close_internal, _IO_file_close_it_internal)
23349 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23350 (_IO_file_init_internal, _IO_file_attach_internal)
23351 (_IO_file_fopen_internal, _IO_file_read_internal)
23352 (_IO_file_sync_internal, _IO_file_seek_internal)
23353 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23354 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23355 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23356 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23357 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23358 (_IO_list_all_internal, _IO_link_in_internal)
23359 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23360 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23361 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23362 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23363 (_IO_do_write_internal, _IO_padn_internal)
23364 (_IO_getline_info_internal, _IO_getline_internal)
23365 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23366 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23367 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23368 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23369 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23370 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23371 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23372 with libc_hidden_ver, remove use of INTUSE.
23373 * libio/genops.c: Likewise.
23374 * libio/freopen.c: Likewise.
23375 * libio/freopen64.c: Likewise.
23376 * libio/iofclose.c: Likewise.
23377 * libio/iofdopen.c: Likewise.
23378 * libio/iofflush.c: Likewise.
23379 * libio/iofflush_u.c: Likewise.
23380 * libio/iofgets.c: Likewise.
23381 * libio/iofgets_u.c: Likewise.
23382 * libio/iofopen.c: Likewise.
23383 * libio/iofopncook.c: Likewise.
23384 * libio/iofread.c: Likewise.
23385 * libio/iofread_u.c: Likewise.
23386 * libio/ioftell.c: Likewise.
23387 * libio/iofwrite.c: Likewise.
23388 * libio/iogetline.c: Likewise.
23389 * libio/iogets.c: Likewise.
23390 * libio/iogetwline.c: Likewise.
23391 * libio/iopadn.c: Likewise.
23392 * libio/iopopen.c: Likewise.
23393 * libio/ioseekoff.c: Likewise.
23394 * libio/ioseekpos.c: Likewise.
23395 * libio/iosetbuffer.c: Likewise.
23396 * libio/iosetvbuf.c: Likewise.
23397 * libio/ioungetc.c: Likewise.
23398 * libio/ioungetwc.c: Likewise.
23399 * libio/iovdprintf.c: Likewise.
23400 * libio/iovsprintf.c: Likewise.
23401 * libio/iovsscanf.c: Likewise.
23402 * libio/memstream.c: Likewise.
23403 * libio/obprintf.c: Likewise.
23404 * libio/oldfileops.c: Likewise.
23405 * libio/oldiofclose.c: Likewise.
23406 * libio/oldiofdopen.c: Likewise.
23407 * libio/oldiofopen.c: Likewise.
23408 * libio/oldiopopen.c: Likewise.
23409 * libio/oldstdfiles.c: Likewise.
23410 * libio/putc.c: Likewise.
23411 * libio/setbuf.c: Likewise.
23412 * libio/setlinebuf.c: Likewise.
23413 * libio/stdfiles.c: Likewise.
23414 * libio/strops.c: Likewise.
23415 * libio/vasprintf.c: Likewise.
23416 * libio/vscanf.c: Likewise.
23417 * libio/vsnprintf.c: Likewise.
23418 * libio/vswprintf.c: Likewise.
23419 * libio/wfiledoalloc.c: Likewise.
23420 * libio/wfileops.c: Likewise.
23421 * libio/wgenops.c: Likewise.
23422 * libio/wmemstream.c: Likewise.
23423 * libio/wstrops.c: Likewise.
23424 * libio/__fpurge.c: Likewise.
23425 * libio/__fsetlocking.c: Likewise.
23426 * assert/assert.c: Likewise.
23427 * debug/fgets_chk.c: Likewise.
23428 * debug/fgets_u_chk.c: Likewise.
23429 * debug/fread_chk.c: Likewise.
23430 * debug/fread_u_chk.c: Likewise.
23431 * debug/gets_chk.c: Likewise.
23432 * debug/obprintf_chk.c: Likewise.
23433 * debug/vasprintf_chk.c: Likewise.
23434 * debug/vdprintf_chk.c: Likewise.
23435 * debug/vsnprintf_chk.c: Likewise.
23436 * debug/vsprintf_chk.c: Likewise.
23437 * malloc/mtrace.c: Likewise.
23438 * misc/error.c: Likewise.
23439 * misc/syslog.c: Likewise.
23440 * stdio-common/asprintf.c: Likewise.
23441 * stdio-common/fxprintf.c: Likewise.
23442 * stdio-common/getw.c: Likewise.
23443 * stdio-common/isoc99_fscanf.c: Likewise.
23444 * stdio-common/isoc99_scanf.c: Likewise.
23445 * stdio-common/isoc99_vfscanf.c: Likewise.
23446 * stdio-common/isoc99_vscanf.c: Likewise.
23447 * stdio-common/isoc99_vsscanf.c: Likewise.
23448 * stdio-common/printf-prs.c: Likewise.
23449 * stdio-common/printf_fp.c: Likewise.
23450 * stdio-common/printf_fphex.c: Likewise.
23451 * stdio-common/printf_size.c: Likewise.
23452 * stdio-common/putw.c: Likewise.
23453 * stdio-common/scanf.c: Likewise.
23454 * stdio-common/sprintf.c: Likewise.
23455 * stdio-common/tmpfile.c: Likewise.
23456 * stdio-common/vfprintf.c: Likewise.
23457 * stdio-common/vfscanf.c: Likewise.
23458 * stdlib/strfmon_l.c: Likewise.
23459 * sunrpc/openchild.c: Likewise.
23460 * sunrpc/xdr_stdio.c: Likewise.
23461 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23462 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23463
d6c33fda
RM
234642012-05-24 Roland McGrath <roland@hack.frob.com>
23465
c1487492
RM
23466 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23467
23468 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23469 in the third column, to generate for the shared library an IFUNC
23470 that uses _dl_vdso_vsym.
23471 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23472 * Makeconfig (object-suffixes-noshared): New variable.
23473
23474 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23475 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23476 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23477 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23478
d6c33fda
RM
23479 [BZ #14132]
23480 * include/sys/time.h (__gettimeofday): Remove macro.
23481 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23482 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23483 Remove INTDEF.
23484 (__gettimeofday): Add libc_hidden_def.
23485 (gettimeofday): Add libc_hidden_weak.
23486 * sysdeps/mach/gettimeofday.c: Likewise.
23487 * sysdeps/posix/gettimeofday.c: Likewise.
23488 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23489 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23490 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23491 (__gettimeofday_internal): Remove strong_alias.
23492 (__gettimeofday): Add libc_hidden_def.
23493 (gettimeofday): Add libc_hidden_weak.
23494 * sysdeps/unix/syscalls.list (gettimeofday):
23495 Remove __gettimeofday_internal alias.
23496
b5a2bbe6
L
234972012-05-24 Daniel Jacobowitz <drow@false.org>
23498 H.J. Lu <hongjiu.lu@intel.com>
23499
23500 [BZ #12495]
23501 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23502 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23503 (largebin_index_32_big): New.
23504 (largebin_index): Use it for 16-byte alignment.
23505 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23506 correction with front_misalign.
23507
cfba4fda
L
235082012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23509
7f907421
L
23510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23512 Likewise.
23513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23514 Likewise.
23515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23516 Likewise.
23517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23518 Likewise.
23519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23520 Likewise.
23521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23522 Likewise.
23523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23524 Likewise.
23525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23526 Likewise.
23527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23528 Likewise.
23529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23530 Likewise.
23531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23532 Likewise.
23533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23534 Likewise.
23535
cfba4fda
L
23536 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23537 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23538
80bad0cc
JM
235392012-05-24 Joseph Myers <joseph@codesourcery.com>
23540
7a25eb06
JM
23541 [BZ #10846]
23542 [BZ #14036]
23543 * math/libm-test.inc (exp_test): Add test from bug 14036.
23544 (pow_test): Add test from bug 10846.
23545
795405f9
JM
23546 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23547 and other flags.
23548 (special_function): Do not include flags in test name.
23549 (parse_args): Likewise.
23550 * sysdeps/i386/fpu/libm-test-ulps: Update.
23551 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23552 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23553 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23555
80bad0cc
JM
23556 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23557 exceptions.
23558 * math/libm-test.inc ("Philosophy"): Update comment about
23559 exception testing.
23560 (UNDERFLOW_EXCEPTION): New macro.
23561 (UNDERFLOW_EXCEPTION_OK): Likewise.
23562 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23563 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23564 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23565 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23566 (INVALID_EXCEPTION_OK): Update value.
23567 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23568 (OVERFLOW_EXCEPTION_OK): Likewise.
23569 (IGNORE_ZERO_INF_SIGN): Likewise.
23570 (test_exceptions): Handle underflow exceptions.
23571 (acos_test): Update for underflow exception expectations.
23572 (cexp_test): Likewise.
23573 (clog_test): Likewise.
23574 (clog10_test): Likewise.
23575 (csqrt_test): Likewise.
23576 (ctan_test): Likewise.
23577 (ctanh_test): Likewise.
23578 (exp_test): Likewise.
23579 (exp10_test): Likewise.
23580 (exp2_test): Likewise.
23581 (expm1_test): Likewise.
23582 (fma_test): Likewise.
23583 (j0_test): Likewise.
23584 (jn_test): Likewise.
23585 (nexttoward_test): Likewise.
23586 (pow_test): Likewise.
23587 (scalbn_test): Likewise.
23588 (scalbln_test): Likewise.
23589 (tan_test): Likewise.
23590 (y1_test): Likewise.
23591 * sysdeps/i386/fpu/libm-test-ulps: Update.
23592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23593
9e0e3d0b
DM
235942012-05-23 David S. Miller <davem@davemloft.net>
23595
23596 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23597 (__libc_sigaction): Remove unused local variables.
23598
ccd0a08f
L
235992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23600
23601 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23602
62bdf9a6
PE
236032012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23604
f8591f80
PE
23605 mktime: avoid signed integer overflow
23606 * time/mktime.c (__mktime_internal): Do not mishandle the case
23607 where diff == INT_MIN.
23608
94c7d826
PE
23609 mktime: simplify computation of average
23610 * time/mktime.c (ranged_convert): Use new time_t_avg function
23611 instead of rolling our own (probably-slower) code.
23612
ce73d683
PE
23613 mktime: do not assume signed right shift propagates sign bit
23614 * time/mktime.c (isdst_differ): New static function.
23615 (__mktime_internal): No need to normalize tm_isdst now.
23616 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23617 tm_isdst values.
23618
72a22e59
PE
23619 mktime: merge another wrapv change from gnulib
23620 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23621 from some compilers.
23622
68605433
PE
23623 mktime: remove incorrect attempt at unusual arithmetics
23624 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23625 The code didn't really work on such machines anyway.
23626 (TYPE_MINIMUM): Assume two's complement.
23627 (twos_complement_arithmetic): Verify that long_int and time_t
23628 are two's complement (or unsigned, in the latter case).
23629
03cf7fe3
PE
23630 mktime: check signed shifts on long_int and time_t, too
23631 * time/mktime.c (SHR): Check that shifts work as desired
23632 on the types long_int and time_t too, as SHR is used on
23633 such types.
23634
f04dfbc2
PE
23635 mktime: do not assume 'long' is wide enough
23636 * time/mktime.c (verify): Move decl up.
23637 (long_int): New type.
23638 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23639 to remove assumption in the code that 'long' is wide enough to
23640 store year values. This assumption is not true on x32 and on
23641 some non-glibc platforms.
23642
62bdf9a6
PE
23643 mktime: merge wrapv change from gnulib
23644 * time/mktime.c (WRAPV): New macro.
23645 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23646 (guess_time_tm, __mktime_internal): Do not assume that signed
23647 integer overflow wraps around; modern compilers generate code
23648 where this assumption is no longer valid.
23649
5e292e4f
L
236502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23651
23652 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23653 Replace "jmp L(pseudo_end)" with "ret".
23654 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23655 Likewise.
23656
8caf8c87
AJ
236572012-05-23 Andreas Jaeger <aj@suse.de>
23658
23659 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23660 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23661
1a09dc56
AJ
236622012-05-23 Andreas Jaeger <aj@suse.de>
23663 Maximilian Attems <max@stro.at>
23664
23665 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23666 New macros.
23667
1c87aba0
L
236682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23669
23670 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23671 code so that pseudo_end is just ret and the stack pointer is
23672 correct also for static library in error case.
23673
40e45bd5
JM
236742012-05-23 Joseph Myers <joseph@codesourcery.com>
23675
c2670533
JM
23676 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23677 move to syscalls.list.
23678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23682
40e45bd5
JM
23683 * manual/install.texi (Running make install): Do not mention Linux
23684 kernel version for which pt_chown is not needed.
23685 (Linux): Do not mention problems with nscd with 2.0 kernels.
23686 * INSTALL: Regenerated.
23687
be08eda5
AJ
236882012-05-23 Andreas Jaeger <aj@suse.de>
23689
23690 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23691 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23692 macro.
23693 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23694 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23695 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23696 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23697 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23698 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23699 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23700 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23701 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23702 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23703 * sysdeps/unix/sysv/linux/bits/in.h
23704 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23705
a6a056bb
RM
237062012-05-22 Roland McGrath <roland@hack.frob.com>
23707
23708 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23709 (PREPARE_VERSION): Just use assert instead, it will be elided
23710 under [NDEBUG] anyway.
23711
c9009328
L
237122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23713
23714 * sysdeps/unix/sysv/linux/Makefile: Include
23715 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23716 (sysdep_routines): Remove sysctl.
c9009328
L
23717 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23718 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23719 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23720 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23721 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23722
73338355
AJ
237232012-05-22 Andreas Jaeger <aj@suse.de>
23724
23725 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23726 that pseudo_end is just ret and the stack pointer is correct also
23727 for static library in error case.
23728
d44638b0
PP
237292012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23730
23731 [BZ #14122]
23732 * nss/nsswitch.c (defconfig_entries): New variable.
23733 (__nss_database_lookup): Don't leak defconfig entries.
23734 (nss_parse_service_list): Don't leak on error paths.
23735 (free_database_entries): New function.
23736 (free_defconfig): New function.
23737 (free_mem): Move common code to free_database_entries.
23738
31a39bd8
L
237392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23740
da0331a8
L
23741 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23742 Add arch_prctl.
23743 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23744
31a39bd8
L
23745 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23746 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23748 New macro.
23749 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23750 (INTERNAL_SYSCALL_TYPES): Likewise.
23751 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23752 (LOAD_REGS_TYPES_[1-6]): Likewise.
23753 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23754 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23755
45470df3
AZ
237562012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23757
23758 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23759 copysignl for GLIBC_2_0.
23760 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23761 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23762 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23763 logbl for GLIBC_2_0.
23764 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23765 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23766
98a61bcb
L
237672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23768
a4f6e481
L
23769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23770 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23771
f63d5db6
L
23772 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23773 Use "neg %eax".
23774
98a61bcb
L
23775 * time/mktime.c: Update copyright years.
23776
95770f14
PE
237772012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23778
6226efbd
PE
23779 mktime: merge comment-quoting-style change from gnulib
23780 * time/mktime.c: Quote 'like this' in comments.
23781 The GNU coding standards suggest that we no longer quote `like this',
23782 as "`" and "'" are typically rendered asymmetrically nowadays.
23783 The typical gnulib style is to quote 'like this' when quoting
23784 code, and "like this" when quoting English.
23785
b99e4f78
PE
23786 * time/mktime.c (compile-command): Add "-I.".
23787
643e01e6
PE
23788 mktime: merge mktime-internal.h change from gnulib
23789 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23790
2554247d
PE
23791 mktime: merge time_r change from gnulib
23792 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23793
826dd0ab
PE
23794 mktime: merge DEBUG change from gnulib
23795 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23796 case system <time.h> has a #define.
23797
bd83aabe
PE
23798 mktime: merge <sys/types.h> change from gnulib
23799 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23800 since <time.t> is now guaranteed to define time_t.
23801
95770f14
PE
23802 mktime: merge HAVE_CONFIG_H change from gnulib
23803 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23804
5e1a27a9
L
238052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23806
0e44a77e
L
23807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23808 Use "neg %eax".
23809
5e1a27a9
L
23810 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23811 __rlim_t cast.
23812 (struct rusage): Use anonymous union to pad each field to
23813 __syscall_slong_t.
23814
46259bec
DM
238152012-05-21 David S. Miller <davem@davemloft.net>
23816
23817 * Makefules (o-iterator): Remove .s cases.
23818 (compile-command.s): Delete.
23819 (COMPILE.s): Delete.
23820 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23821
59f0c22e
JM
238222012-05-21 Joseph Myers <joseph@codesourcery.com>
23823
23824 * configure.in (libc_cv_predef_stack_protector): Only consider
23825 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23826 * configure: Regenerated.
23827
20c07380
L
238282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23829
bbb3154b
L
23830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23831 New macro. Use R*LP on int and pointer.
23832 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23833 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23834 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23835 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23836
20c07380
L
23837 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23838 [__WORDSIZE_TIME64_COMPAT32] instead of
23839 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23840 (struct utmp): Likewise.
23841 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23842 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23843 Renamed to ...
23844 (__WORDSIZE_TIME64_COMPAT32): This.
23845 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23846 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23847 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23848 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23849 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23850 (__WORDSIZE_TIME64_COMPAT32): New macro.
23851
d8d1017e
AJ
238522012-05-21 Andreas Jaeger <aj@suse.de>
23853
23854 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23855 only if [SHARED]. Add prototype for __wcschr_ia32.
23856
6c7fb145
RM
238572012-05-21 Roland McGrath <roland@hack.frob.com>
23858
23859 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23860 of %rbp unmolested in the jmp_buf while mangling the low bits.
23861 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23862 unmolested high bits of %rbp while demangling the low bits.
23863 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23864
66274218
AJ
238652012-05-21 Andreas Jaeger <aj@suse.de>
23866
07c58f8f
AJ
23867 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23868 * sunrpc/svc_simple.c: Use it for registerrpc.
23869 * sunrpc/xcrypt.c: Use it for passwd2des.
23870
66274218
AJ
23871 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23872
61f65140
L
238732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23874
23875 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23876 Don't define if [__SYSCALL_WORDSIZE != 32].
23877 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23878 New macro.
23879
5fefb436
AJ
238802012-05-21 Bruno Haible <bruno@clisp.org>
23881 Andreas Jaeger <aj@suse.de>
23882
23883 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23884 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23885 inptr and inend for must_buffer_ch.
23886 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23887 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23888 * stdio-common/Makefile (tests): Remove bug15.
23889 (bug15-ENV): Remove macro.
23890 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23891 anymore.
23892
d8e272ab
AJ
238932012-05-19 Andreas Jaeger <aj@suse.de>
23894 Roland McGrath <roland@hack.frob.com>
23895
23896 * manual/contrib.texi: Completely rewritten. It contains now an
23897 alphabetical list of contributors and their contributions.
23898
4a56a162
RH
238992012-05-21 Richard Henderson <rth@twiddle.net>
23900
23901 * misc/getauxval.c (__getauxval): Use unsigned long int.
23902 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23903 (getauxval): Use unsigned long int.
23904
d024d23c
L
239052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23906
23907 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23908
cbc00a03
RM
239092012-05-21 Roland McGrath <roland@hack.frob.com>
23910
23911 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23912 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23913 __alignof__ (long double).
23914
478143fa
AZ
239152012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23916
23917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23918
c7683a6d
RH
239192012-05-20 Richard Henderson <rth@twiddle.net>
23920
23921 * misc/getauxval.c: New file.
23922 * misc/sys/auxv.h: New file.
23923 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23924 (routines): Add getauxval.
23925 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23926 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23927 * elf/dl-sysdep.c (_dl_auxv): Remove.
23928 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23929 * elf/dl-support.c (_dl_auxv): New variable.
23930 (_dl_aux_init): Initialize it.
23931 * manual/startup.texi (Auxiliary Vector): New node.
23932 * sysdeps/generic/bits/hwcap.h: New file.
23933 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23934 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23935 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23936 * sysdeps/sparc/sysdep.h: ... here. Include it.
23937 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23938 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23940 Update.
c7683a6d
RH
23941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23944 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23949
a6f1845d
AZ
239502012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23951
23952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23953
cbcbe830
DM
239542012-05-19 David S. Miller <davem@davemloft.net>
23955
23956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23957
e0b16cc2
JM
239582012-05-19 Joseph Myers <joseph@codesourcery.com>
23959
23960 [BZ #14123]
23961 * math/s_ccosh.c: Include <float.h>
23962 (__ccosh): Avoid internal overflow calculating sinh and cosh
23963 values before multiplying by sin and cos values.
23964 * math/s_ccoshf.c: Likewise.
23965 * math/s_ccoshl.c: Likewise.
23966 * math/s_csin.c: Likewise.
23967 * math/s_csinf.c: Likewise.
23968 * math/s_csinl.c: Likewise.
23969 * math/s_csinh.c: Likewise.
23970 * math/s_csinhf.c: Likewise.
23971 * math/s_csinhl.c: Likewise.
23972 * math/libm-test.inc (ccos_test): Add more tests.
23973 (ccosh_test): Likewise.
23974 (csin_test): Likewise.
23975 (csinh_test): Likewise.
23976 * sysdeps/i386/fpu/libm-test-ulps: Update.
23977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23978
6ad13e08
L
239792012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23980
f66f0ce8
L
23981 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23982 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23983
6ad13e08
L
23984 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23985
b1d072a7
JM
239862012-05-19 Joseph Myers <joseph@codesourcery.com>
23987
23988 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23989 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23990 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23991 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23992 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23993 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23994 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23995 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23996 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23997 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23998 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23999 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24000 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24001 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24002 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24003 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24004 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24005 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24006 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24007 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24008 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24009 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24010 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24011 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24012 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24013 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24014 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24015 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24016 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24017 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24018 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24019
9eae47cb
AJ
240202012-05-18 Andreas Jaeger <aj@suse.de>
24021
24022 * csu/.gitignore: Delete.
24023
bb07f69f
L
240242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24025
24026 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24027 (timex): Use __syscall_slong_t.
24028
e6bdb741
AJ
240292012-05-18 Andreas Jaeger <aj@suse.de>
24030 Carlos O'Donell <carlos_odonell@mentor.com>
24031
24032 * manual/install.texi (Configuring and compiling): Update
24033 description about files modified in the source directory.
d6c33fda 24034 * INSTALL: Regenerated.
e6bdb741 24035
1b74487e
L
240362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24037
24038 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24039 value. Use "or" to set return value to -1.
24040 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24041 negate return value.
24042
a88b64b9
TMQMF
240432012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24044
24045 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24046 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24047 failure if the compiler has Graphite support disabled.
24048 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24049 Likewise.
24050 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24051 CFLAGS-memmove.c): Likewise.
24052 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24053 Likewise.
24054
3707636e
L
240552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24056
610b8622
L
24057 * sysdeps/x86_64/x32/_itoa.h: New file.
24058
7cd195df
L
24059 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24060 getdents system call only if kernel and user dirents have the
24061 same d_ino and d_off.
24062
94b07d20
L
24063 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24064 LLONG_MAX != LONG_MAX.
24065 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24066 (_fitoa_word): Likewise.
24067
18298070
L
24068 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24069 years.
24070 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24071 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24072 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24073
553c7ea4
L
24074 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24075 include <bits/wordsize.h>. Check __x86_64__ instead of
24076 __WORDSIZE.
24077 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24078 if __x86_64__ is defined. Use anonymous union on fpstate.
24079
3707636e
L
24080 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24081 anonymous union.
24082
b53ef01a
AS
240832012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24084
37fb1dc0
AS
24085 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24086 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24087 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24088 Refer to _rtld_local_ro instead of _rtld_global_ro.
24089 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24090 Likewise.
24091 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24092 Likewise.
24093 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24094 Likewise.
24095 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24096 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24097 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24098
b53ef01a
AS
24099 * sysdeps/powerpc/powerpc32/dl-machine.c
24100 (__elf_machine_runtime_setup) [PROF]: Don't reference
24101 _dl_prof_resolve.
24102
7a185db2
AJ
241032012-05-18 Andreas Jaeger <aj@suse.de>
24104
24105 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24106 function only available for GCCs before 3.4 since GCC 3.4
24107 introduced a builtin.
24108 (lrint): Likewise.
24109 (llrintf): Likewise.
24110 (llrint): Likewise.
24111 (fmaxf): Likewise.
24112 (fmax): Likewise.
24113 (fminf): Likewise.
24114 (fmin): Likewise.
24115 (rint): Likewise.
24116 (rintf): Likewise.
24117 (nearbyint): Likewise.
24118 (nearbyintf): Likewise.
24119 (ceil): Likewise.
24120 (ceilf): Likewise.
24121 (floor): Likewise.
24122 (floorf): Likewise.
24123
3e5aef87
L
241242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24125
428bd707
L
24126 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24127 on both fields and cast pointer to __syscall_ulong_t.
24128
3e5aef87
L
24129 * bits/types.h (__fsword_t): New type.
24130 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24131 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24132 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24133 (__FSWORD_T_TYPE): Likewise.
24134 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24135 (__FSWORD_T_TYPE): Likewise.
24136 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24137 (__FSWORD_T_TYPE): Likewise.
24138 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24139 (__FSWORD_T_TYPE): Likewise.
24140 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24141 __SWORD_TYPE with __fsword_t.
24142 (statfs64): Likewise.
24143
1ba7c3dc
DM
241442012-05-17 David S. Miller <davem@davemloft.net>
24145
24146 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24147
59910343
AJ
241482012-05-17 Andreas Jaeger <aj@suse.de>
24149
24150 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24151 warning.
24152
2e4c1e9e
L
241532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24154
24155 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24156
de7f5ce7
AJ
241572012-05-17 Andreas Jaeger <aj@suse.de>
24158
24159 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24160 when it is used.
24161
286abc3d
CM
241622012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24163
24164 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24165
477cc68e
L
241662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24167
24168 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24169 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24170
1a0994f5
CD
241712012-05-17 Andreas Jaeger <aj@suse.de>
24172 Carlos O'Donell <carlos_odonell@mentor.com>
24173
24174 [BZ #14059]
24175 * sysdeps/x86_64/multiarch/init-arch.h
24176 (bit_YMM_Usable): Rename to...
24177 (bit_AVX_Usable): ... this.
24178 (bit_FMA4_Usable): New macro.
24179 (bit_XMM_state): New macro.
24180 (bit_YMM_state): New macro.
24181 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24182 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24183 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24184 (CPUID_OSXSAVE): New macro.
24185 (CPUID_AVX): New macro.
24186 (CPUID_FMA4): New macro.
24187 (index_YMM_Usable): Rename to...
24188 (index_AVX_Usable): ... this.
24189 (HAS_AVX): Use HAS_ARCH_FEATURE.
24190 (HAS_FMA4): Likewise.
24191 (HAS_YMM_USABLE): Remove.
24192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24193 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24194 are present.
24195 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24196 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24197 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24198 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24199 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24200
0af797de
CM
242012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24202
24203 * math/libm-test.c: Support platforms without multiple rounding modes.
24204 * math/bug-nextafter.c: Support platforms without FP exceptions.
24205 * math/bug-nexttoward.c: Likewise.
24206 * math/test-fenv.c: Likewise.
24207 * math/test-misc.c: Likewise.
24208 * stdlib/bug-getcontext.c: Likewise.
24209
e39745ff
AJ
242102012-05-17 Andreas Jaeger <aj@suse.de>
24211
24212 * manual/examples/search.c (critter_cmp): Change signature to
24213 avoid warnings.
24214 * manual/string.texi (Collation Functions): Likewise.
24215
48970aba
L
242162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24217
24218 * bits/types.h: Fold copyright years.
24219 * bits/typesizes.h: Likewise.
24220 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24221 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24222 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24224 * time/time.h: Likewise.
24225
bedee953
PP
242262012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24227
24228 [BZ #208]
24229 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24230 in instead of returning them. Return void.
24231 (__libc_mallinfo): Accumulate over all arenas.
24232 (__malloc_stats): Adjust for change in int_mallinfo interface.
24233
61653dfb
RM
242342012-05-16 Roland McGrath <roland@hack.frob.com>
24235
30b99d79
RM
24236 [BZ #10375]
24237 * configure.in (NM): Add AC_CHECK_TOOL for it.
24238 (libc_extra_cflags): New substituted variable.
24239 Check for -fstack-protector being used implicitly.
24240 * configure: Regenerated.
24241 * config.make.in (config-extra-cflags): New variable,
24242 gets @libc_extra_cflags@.
24243 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24244
61653dfb
RM
24245 [BZ #10375]
24246 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24247 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24248 * configure: Regenerated.
24249 * config.make.in (CPPUNDEFS): New substituted variable.
24250 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24251 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24252 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24253
661768bb
L
242542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24255
24256 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24257 (mq_attr): Use __syscall_slong_t.
24258
d4261567
L
242592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24260
24261 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24262 Check __x86_64__ instead of __WORDSIZE.
24263 (_STAT_VER_LINUX): Likewise.
24264 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24265 __syscall_ulong_t and __syscall_slong_t.
24266 (stat64): Likewise.
24267
cf3ff365
L
242682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24269
24270 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24271
76cf3e4d
L
242722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24273
24274 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24275
a637753a
L
242762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24277
24278 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24279 __syscall_ulong_t.
24280
d5e05119
L
24281 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24282 include <bits/wordsize.h>. Check __x86_64__ instead of
24283 __WORDSIZE.
24284 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24285 defined.
24286 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24287
f62ee380
L
24288 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24289 include <bits/wordsize.h>. Check __x86_64__ instead of
24290 __WORDSIZE.
24291 (user_regs_struct): Use "__extension__ unsigned long long"
24292 instead of "unsigned long" if __x86_64__ is defined.
24293 (user): Likewise. Pad after pointer field if __ILP32__ is
24294 defined.
24295
4e124ced
JM
242962012-05-16 Joseph Myers <joseph@codesourcery.com>
24297
6a3951a0
JM
24298 * configure.in (makeinfo): Require version 4.5 or later. Allow
24299 versions 5 to 9.
24300 * configure: Regenerated.
24301 * manual/install.texi (texinfo): Increase version requirement to
24302 4.5 or later.
24303 * INSTALL: Regenerated.
24304
4e124ced
JM
24305 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24306
953ca31a
L
243072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24308
24309 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24310
617aca05
L
24311 * sysdeps/x86_64/x32/ffs.c: New file.
24312
5762f7ae
L
24313 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24314 __syscall_ulong_t.
24315 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24316 defined. Use __syscall_ulong_t.
24317 (shminfo): Use __syscall_ulong_t.
24318 (shm_info): Likewise.
24319
a26b6856
L
24320 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24321 __syscall_ulong_t.
24322
cb2b9ef7
L
24323 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24324 <bits/wordsize.h>.
24325 (msgqnum_t): Use __syscall_ulong_t.
24326 (msglen_t): Likewise.
24327 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24328 __syscall_ulong_t.
24329
34683bb0
L
24330 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24331 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24332
84a68786
L
24333 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24334
48baa5f1
L
24335 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24336 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24337
180be88b
L
24338 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24339 __syscall_slong_t.
24340
5e90c8ad
L
24341 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24342 include <bits/wordsize.h>. Check __x86_64__ instead of
24343 __WORDSIZE.
24344
23dfb58b
L
24345 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24346 "unsigned long long int" if __x86_64__ is defined.
24347 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24348
ce5d54b0
L
24349 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24350 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24351 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24352
13dc9eac
L
24353 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24354 <stdint.h>.
24355 (GET_PC): Cast to uintptr_t first.
24356 (GET_FRAME): Likewise.
24357 (GET_STACK): Likewise.
24358
a7895d15
L
24359 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24360 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24361 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24362 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24363 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24364 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24365 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24366 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24367 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24368 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24369 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24370 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24371 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24372 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24373 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24374 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24375 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24376 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24377 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24378 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24379 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24380 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24381 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24382 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24383 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24384 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24385 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24386 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24387 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24388
656416c9
AS
243892012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24390
5bd66283
AS
24391 * Makerules (+depfiles): Also collect depfiles from .oS in
24392 $(extra-objs).
24393 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24394 .oS, $(libnldbl-routines)).
24395
656416c9
AS
24396 * Makerules (native-compile-mkdep-flags): Define.
24397 * sunrpc/Makefile (extra-objs): Add $(addprefix
24398 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24399 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24400 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24401 calling $(make-target-directory).
24402
a46f2169
L
244032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24404
24405 * bits/types.h (__snseconds_t): Removed.
24406 * time/time.h (struct timespec): Replace __snseconds_t with
24407 __syscall_slong_t.
24408 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24409 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24410 Likewise.
24411 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24412 (__SNSECONDS_T_TYPE): Likewise.
24413 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24414 (__SNSECONDS_T_TYPE): Likewise.
24415 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24416 (__SNSECONDS_T_TYPE): Likewise.
24417
6af6528b
L
244182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24419
24420 * sysdeps/mach/hurd/bits/typesizes.h
24421 (__SYSCALL_SLONG_TYPE): New macro.
24422 (__SYSCALL_ULONG_TYPE): Likewise.
24423
de986b56
L
244242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24425
24426 * bits/types.h (__syscall_slong_t): New type.
24427 (__syscall_ulong_t): Likewise.
24428
24429 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24430 (__SYSCALL_ULONG_TYPE): Likewise.
24431 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24432 (__SYSCALL_SLONG_TYPE): Likewise.
24433 (__SYSCALL_ULONG_TYPE): Likewise.
24434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24435 (__SYSCALL_SLONG_TYPE): Likewise.
24436 (__SYSCALL_ULONG_TYPE): Likewise.
24437 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24438 (__SYSCALL_SLONG_TYPE): Likewise.
24439 (__SYSCALL_ULONG_TYPE): Likewise.
24440
85736dc7
L
244412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24442
24443 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24444 Add sigaltstack-offsets.sym.
24445 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24446 <sigaltstack-offsets.h>.
24447 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24448 longjmp_msg pointer.
24449 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24450 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24451 signal stack.
24452 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24453
cc03b296
JM
244542012-05-15 Joseph Myers <joseph@codesourcery.com>
24455
a9538892
JM
24456 * elf/stackguard-macros.h: Remove file.
24457 * sysdeps/generic/stackguard-macros.h: New file.
24458 * sysdeps/i386/stackguard-macros.h: Likewise.
24459 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24460 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24461 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24462 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24463 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24464 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24465 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24466 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24467 <elf/stackguard-macros.h>.
24468
cc03b296
JM
24469 [BZ #14109]
24470 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24471 __aligned__ in attribute.
24472 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24473 (gregset_t): Likewise.
24474
93171016
L
244752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24476
24477 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24478 * sysdeps/x86_64/64/Implies-after: Here. New file.
24479 * sysdeps/x86_64/x32/Implies-after: New file.
24480
d86813a0
L
244812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24482
24483 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24484 and access return value for _dl_profile_fixup. Use R10_LP to
24485 load frame size.
24486
2953ec75
L
244872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24488
24489 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24490
3b550e9e
L
244912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24492
24493 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24494 * sysdeps/x86_64/x32/sysdep.h: New file.
24495
eda41706
L
244962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24497
24498 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24499 * sysdeps/x86_64/setjmp.S: Likewise.
24500
9ea01d93
AZ
245012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24502
24503 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24504 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24505 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24506 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24507 remove unused global constant.
24508
02a91938
CM
245092012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24510
24511 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24512 include of <not-cancel.h>.
24513
6540185f
RM
245142012-05-15 Roland McGrath <roland@hack.frob.com>
24515
24516 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24517
509072a0
AJ
245182012-05-15 Jeff Law <law@redhat.com>
24519 Andreas Jaeger <aj@suse.de>
24520
24521 [BZ #13594]
24522 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24523 out from...
24524 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24525 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24526 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24527 code changing __hst_map_handle.map.
24528
ba75122d
RM
245292012-05-15 Roland McGrath <roland@hack.frob.com>
24530
24531 * configure.in (sysnames): Look for Implies-before and Implies-after
24532 files.
24533 * configure: Regenerated.
24534
890d8bd8
L
245352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24536
24537 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24538 8-byte data alignment with LP_SIZE alignment.
24539
f6ee6623
L
245402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24541
24542 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24543 into R10_LP.
24544
ea2626f6
L
245452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24546
24547 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24548
085f715e
L
245492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24550
24551 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24552 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24553 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24554 Likewise.
24555 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24556
be8498fc
L
245572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24558
24559 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24560 (stackinfo_sub_sp): Likewise.
24561
70bc83b9
L
245622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24563
24564 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24565 RAX_LP.
24566
9bc0b730
L
245672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24568
24569 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24570 into R*_LP.
24571
6d2850e7
L
245722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24573
24574 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24575 sizes into R*_LP.
24576
3cb84561
L
245772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24578
24579 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24580
54e2ed81
L
245812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24582
24583 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24584 into R11_LP and load __x86_64_shared_cache_size_half into
24585 R8_LP.
24586
8a17f349
L
245872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24588
24589 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24590 R8_LP.
24591
777b1eea
AZ
245922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24593
24594 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24595 logb for POWER7.
24596 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24597 logbf for POWER7.
24598 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24599 logbl for POWER7.
24600 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24601 powerpc32/power7/fpu/s_logb.c via #include.
24602 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24603 powerpc32/power7/fpu/s_logbf.c via #include.
24604 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24605 powerpc32/power7/fpu/s_logbl.c via #include.
24606
d20d4ac2
JM
246072012-05-15 Joseph Myers <joseph@codesourcery.com>
24608
24609 * README.libm: Remove file.
24610
6cdef1ab
L
246112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24612
24613 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24614 count for x32. Use R*_LP and omit operand-size suffix.
24615
0b254d8f
L
246162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24617
24618 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24619 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24620 * sysdeps/x86_64/x32/shlib-versions: New file.
24621
ceb809dc
RM
246222012-05-14 Roland McGrath <roland@hack.frob.com>
24623
24624 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24625 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24626 Use _dl_fatal_printf instead.
24627
37f1abd4
JM
246282012-05-14 Joseph Myers <joseph@codesourcery.com>
24629
24630 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24631 set if not set by the user. Do not allow for being unset.
24632 * sysdeps/unix/sysv/linux/configure: Regenerated.
24633
11de3a33
L
246342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24635
24636 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24637 the `q' suffix from lea and replace .quad with ASM_ADDR.
24638
e02f153a
L
246392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24640
24641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24642 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24643 instead of $17.
24644 (PTR_DEMANGLE): Likewise.
24645
520ae0fd
L
246462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24647
24648 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24649 (LP_OP): Likewise.
24650 (ASM_ADDR): Likewise.
24651 (RAX_LP): Likewise.
24652 (RBP_LP): Likewise.
24653 (RBX_LP): Likewise.
24654 (RCX_LP): Likewise.
24655 (RDI_LP): Likewise.
24656 (RSI_LP): Likewise.
24657 (RSP_LP): Likewise.
24658 (R8_LP): Likewise.
24659 (R9_LP): Likewise.
24660 (R10_LP): Likewise.
24661 (R10_LP): Likewise.
24662 (R11_LP): Likewise.
24663 (R12_LP): Likewise.
24664 (R13_LP): Likewise.
24665 (R14_LP): Likewise.
24666 (R15_LP): Likewise.
24667
b985be81
L
246682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24669
24670 * sysdeps/x86_64/x32/dl-machine.h: New file.
24671
6a4888ff
AJ
246722012-05-14 Andreas Jaeger <aj@suse.de>
24673
24674 * manual/Makefile (subdir): Remove export of subdir.
24675 (all): Remove target.
24676 (.PHONY): Remove all from list.
24677 (mkinstalldirs): Remove.
24678 (.PHONY): Remove installdirs from list.
24679 ($(inst_infodir)/libc.info): Use make-target-directory.
24680 (installdirs): Remove.
24681 (subdir_%): Remove.
24682 (glibc-targets): Remove.
24683 (lib): Remove.
24684 (stubs): Remove.
24685 ($(objpfx)stubs ../po/manual.pot): Remove.
24686 ($(objpfx)stamp%): Remove.
24687 (make-target-directory): Remove.
24688 (subdir_install): Remove.
24689 (routines): Remove.
24690 (aux): Remove.
24691 (sources): Remove.
24692 (objects): Remove.
24693 (headers): Remove.
24694
24695 [BZ #13750]
24696 * manual/.gitignore: Remove, it's not needed anymore.
24697 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24698 all files in it.
24699 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24700 directory.
24701 (texis): Renamed to $(objpfx)texis.
24702 (texis-path): New, contains path to generated files.
24703 (chapters.%): Use texis-path for complete path, add extra argument
24704 libc-texinfo.sh.
24705 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24706 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24707 (summary,texi, stamp-summary): Use complete path of
24708 files. Generate files in build dir.
24709 (dir-add.texi): Build in build dir.
24710 (libm-err.texi,stamp-libm-err): Likewise.
24711 (version.texi, stamp-version): Likewise.
24712 (.%c.texi): Likewise.
24713 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24714 (mostlyclean): Remove target.
24715 (realclean): Remove target.
24716 (generated): Add new variable with contents from mostlyclean and
24717 realclean, remove entries duplicated in common-mostlyclean, add
24718 stamp-libm-err and stamp-version.
24719 (generated-dirs): Add libc directory.
24720 ($(inst_infodir)/libc.info): Install files from build dir.
24721
24722 * manual/install.texi (Configuring and compiling): Adjust since
24723 the info files are not part of the tar ball anymore.
24724
7ac77294
AJ
247252012-05-14 Andreas Jaeger <aj@suse.de>
24726
24727 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24728 variable.
24729
ffb7875d
JM
247302012-05-14 Joseph Myers <joseph@codesourcery.com>
24731
24732 [BZ #13717]
24733 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24734 to 2.2.0 where earlier.
24735 * sysdeps/unix/sysv/linux/configure: Regenerated.
24736 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24737 Remove conditional code.
24738 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24739 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24740 Remove conditional code.
24741 [!__NR_lchown]: Likewise.
24742 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24743 [__NR_lchown]: Likewise.
24744 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24745 comment referencing __ASSUME_LCHOWN_SYSCALL.
24746 * sysdeps/unix/sysv/linux/i386/sigaction.c
24747 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24748 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24749 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24750 Remove conditional code.
24751 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24752 (__protocol_available): Remove #if 0 code.
24753 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24754 conditional code.
24755 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24756 * sysdeps/unix/sysv/linux/kernel-features.h
24757 (__ASSUME_GETCWD_SYSCALL): Don't define.
24758 (__ASSUME_REALTIME_SIGNALS): Likewise.
24759 (__ASSUME_PREAD_SYSCALL): Likewise.
24760 (__ASSUME_PWRITE_SYSCALL): Likewise.
24761 (__ASSUME_POLL_SYSCALL): Likewise.
24762 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24763 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24764 non-SPARC.
24765 (__ASSUME_SIOCGIFNAME): Don't define.
24766 (__ASSUME_MSG_NOSIGNAL): Likewise.
24767 (__ASSUME_SENDFILE): Define unconditionally.
24768 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24769 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24770 conditional code.
24771 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24772 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24773 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24774 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24775 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24776 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24777 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24779 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24780 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24782 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24783 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24785 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24786 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24788 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24789 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24791 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24792 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24794 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24797 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24798 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24800 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24801 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24802 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24803 Remove conditional code.
24804 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24805 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24806 Remove conditional code.
24807 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24808 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24809 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24810 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24811 Remove conditional code.
24812 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24813 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24814 Remove conditional code.
24815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24816 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24817 Remove conditional code.
24818 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24819 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24820 Remove conditional code.
24821 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24822 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24823 Remove conditional code.
24824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24825 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24826 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24828 * sysdeps/unix/sysv/linux/sigaction.c
24829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24831 * sysdeps/unix/sysv/linux/sigpending.c
24832 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24833 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24834 * sysdeps/unix/sysv/linux/sigprocmask.c
24835 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24836 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24837 * sysdeps/unix/sysv/linux/sigsuspend.c
24838 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24839 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24840 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24841 (__libc_missing_rt_sigs): Remove.
24842 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24843 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24844 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24845 Remove conditional code.
24846 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24847 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24848 return 1.
24849 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24850 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24851 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24852 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24853
1bfb7291
AJ
248542012-05-14 Andreas Jaeger <aj@suse.de>
24855
caae5a81
AJ
24856 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24857 it's not used in glibc.
24858 (__coshm1): Likewise.
24859 (__acosh1p): Likewise.
24860 (__sgn): Likewise.
24861
1bfb7291
AJ
24862 * manual/string.texi (Copying and Concatenation): Add missing
24863 variable in concat example.
24864 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24865
c044d724
L
248662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24867
144c5467 24868 [BZ #14103]
c044d724
L
24869 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24870 __builtin_clzl with __builtin_clzll.
24871
2523c62b
L
248722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24873
24874 [BZ #14104]
24875 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24876 libc_freeres_ptr.
24877
d7bb4c42
LD
248782012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24879
24880 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24881 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24882 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24883 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24884
9dc4e1fb
MF
248852012-05-14 Mike Frysinger <vapier@gentoo.org>
24886
24887 * NEWS: Update ia64 info.
24888
c7df0112
AS
248892012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24890
24891 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24892 used as bcopy.
24893
dc70356c
TS
248942012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24895
24896 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24897 * sysdeps/unix/syscalls.list (dup3): Likewise.
24898 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24899 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24900
9fb1a21f
L
249012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24902
24903 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24904 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24905
4822a2a5
L
249062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24907
24908 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24909 thread pointer.
24910 (TLS_IE): Use mov/add instead of movq/addq to load thread
24911 pointer.
24912 (TLS_GD_PREFIX): New.
24913 (TLS_GD): Use it.
24914
842b81d6
DM
249152012-05-11 David S. Miller <davem@davemloft.net>
24916
24917 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24918 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24919 (_FPU_SETCW): Likewise.
24920
1cf463cd
L
249212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24922
24923 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24924 is 32-byte aligned.
24925
60cc4a18
AS
249262012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24927
24928 [BZ #11837]
24929 * iconvdata/gb18030.c: Update tables.
24930 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24931 characters specially.
24932 (BODY for TO_LOOP): Add encoding of missing ranges.
24933
febb44a4
TS
249342012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24935
24936 [BZ #13673]
24937 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24938 * sysdeps/mach/hurd/dup3.c: Likewise.
24939 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24940 * sysdeps/powerpc/memmove.c:: Likewise.
24941
0a10fb9e
L
249422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24943
24944 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24945 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24946
df8a552f
L
249472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24948
24949 * elf/elf.h (R_X86_64_RELATIVE64): New.
24950 (R_X86_64_NUM): Updated.
24951 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24952 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24953 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24954 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24955 tst-quad1pie tst-quad2pie
24956 (modules-names): Add tst-quadmod1 tst-quadmod2.
24957 ($(objpfx)tst-quad1): New dependency.
24958 ($(objpfx)tst-quad2): Likewise.
24959 ($(objpfx)tst-quad1pie): Likewise.
24960 ($(objpfx)tst-quad2pie): Likewise.
24961 * sysdeps/x86_64/tst-quad1.c: New file.
24962 * sysdeps/x86_64/tst-quad1pie.c: New file.
24963 * sysdeps/x86_64/tst-quad2.c: Likewise.
24964 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24965 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24966 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24967 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24968 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24969
f34d6f84
ST
249702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24971
f42d41d1
ST
24972 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24973 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24974 * streams/stropts.h (t_scalar_t): Define type.
24975
3c3571fc
ST
24976 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24977 (_PATH_PRESERVE): Set to "/var/lib".
24978 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24979
61f06bd3
ST
24980 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24981 instead of int.
24982
918d4d71
ST
24983 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24984 if __dir_mkfile succeeded.
24985
f34d6f84
ST
24986 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24987 checking for _hurd_dtablesize. Unlock it right after having
24988 finished _hurd_dtable allocation.
24989
10589b4a
TS
249902012-05-10 Thomas Schwinge <thomas@schwinge.name>
24991
674cdbc7
TS
24992 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24993 * sysdeps/mach/hurd/configure: Regenerated.
24994 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24995 special-casing to...
24996 * sysdeps/gnu/configure.in: ... this new file.
24997 * sysdeps/unix/sysv/linux/configure: Regenerated.
24998 * sysdeps/gnu/configure: New generated file.
24999
8e41b99f
TS
25000 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25001 for Linux: use nsec instead of usec, as well as:
25002 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25003 members of type struct timespec.
25004 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25005 New macros.
25006 (struct stat64): Likewise.
25007 (_STATBUF_ST_NSEC): New macro.
25008 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25009
10589b4a
TS
25010 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25011 __strtoul_internal rather than strtoul.
25012
63643c85
PT
250132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25014
25015 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25016 and reject them.
25017
3faebe6a
ST
250182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25019
25020 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25021 which preserves existing values.
25022 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25023
c6474b07
PT
250242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25025
25026 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25027 TIMEOUT values. Return EINVAL for NFDS values either negative or
25028 greater than FD_SETSIZE.
25029
1043890b
ST
250302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25031
25032 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25033 allocated, call __vm_protect to finish enabling the existing space, and
25034 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25035 allocate the remainder.
25036
37ed8b9b
PT
250372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25038
25039 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25040 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25041
db653660
ST
250422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25043
37ed8b9b
PT
25044 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25045 sysdeps/mach/hurd/readlink.c.
b29d4053 25046
db653660
ST
25047 * posix/tst-sysconf.c (posix_options): Only use
25048 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25049 _POSIX_SYNCHRONIZED_IO when they are defined
25050 * sysdeps/mach/hurd/bits/posix_opt.h:
25051 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25052 (_XOPEN_REALTIME): Undefine macro.
25053 (_XOPEN_REALTIME_THREADS): Undefine macro.
25054 (_XOPEN_SHM): Undefine macro.
25055 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25056 macro to -1.
25057 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25058 macro to -1.
25059 (_POSIX_ASYNC_IO): Undefine macro.
25060 (_POSIX_PRIORITIZED_IO): Undefine macro.
25061 (_POSIX_SPIN_LOCKS): Define macro to -1.
25062
ee16e894
ST
25063 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25064 SA_NODEFER, SA_RESETHAND.
25065 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25066 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25067 F_DUPFD_CLOEXEC.
25068
6103ae3b
TS
250692012-05-10 Thomas Schwinge <thomas@schwinge.name>
25070
25071 * elf/Makefile (pldd-modules): Define unconditionally.
25072
80b4e5f3
TS
250732012-05-10 Thomas Schwinge <thomas@schwinge.name>
25074
25075 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25076
edadcbd6
ST
250772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25078
25079 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25080 Return ENOENT when name is empty.
25081 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25082
80694780
TS
250832012-05-10 Thomas Schwinge <thomas@schwinge.name>
25084
1792c087
TS
25085 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25086
80694780
TS
25087 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25088
6b645f0d
ST
250892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25090
80694780
TS
25091 Fix mlock in all cases except non-readable pages.
25092 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25093 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 25094
6b645f0d
ST
25095 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25096 (__mkdir): When path is `/', just fail with EEXIST.
25097 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25098
e468f8a3
TS
250992012-05-10 Thomas Schwinge <thomas@schwinge.name>
25100
25101 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25102 <sys/uio.h> (for writev).
25103 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25104 and <sys/param.h> (for MIN).
25105
a4186cff
PT
251062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25107
25108 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25109 REQUESTED_TIME. Properly set the remaining time and return EINTR
25110 if interrupted.
25111
510bbf14
TS
251122012-05-10 Thomas Schwinge <thomas@schwinge.name>
25113
25114 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25115 Depend on against $(link-rpcuserlibs).
25116
5d5722e8
ST
251172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25118
a4186cff
PT
25119 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25120 (__libc_stack_end): Do not use attribute_relro.
25121 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25122 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 25123 to libthread-provided value.
a4186cff
PT
25124 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25125 attribute_relro.
5d5722e8 25126
37233df9
TS
251272012-05-10 Thomas Schwinge <thomas@schwinge.name>
25128
be971a2b
TS
25129 [BZ #3748]
25130 * bits/libc-lock.h (__libc_once_get): New macro.
25131 * sysdeps/mach/bits/libc-lock.h: Likewise.
25132 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25133 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25134 instead of using implementation details.
25135
37233df9
TS
25136 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25137 * libio/freopen.c: Likewise.
25138 * libio/freopen64.c: Likewise.
25139 * misc/syslog.c: Likewise.
25140 * nscd/connections.c: Likewise.
25141 * nscd/netgroupcache.c: Likewise.
25142 * sysdeps/posix/getcwd.c: Likewise.
25143
38de94a5
RM
251442012-05-10 Roland McGrath <roland@hack.frob.com>
25145
25146 * math/w_ilogbf.c: Add #include <limits.h>.
25147
67530489
ST
251482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25149
a4186cff 25150 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
25151 path instead of returning without unlocking.
25152
67530489
ST
25153 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25154 immediate-write ioctls.
25155 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25156
5aa3a74a
TS
251572012-05-10 Thomas Schwinge <thomas@schwinge.name>
25158
18bad2ae
TS
25159 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25160 __builtin_frame_address instead of making assumptions about the
25161 location of the return address relative to DATA. Force early load of
25162 the return address.
25163 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25164 __builtin_frame_address.
25165
5aa3a74a
TS
25166 dup3 for GNU Hurd.
25167 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25168 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25169 implement dup3 and do some further code clean-ups.
25170 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25171 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25172
ecd0de9a
ST
251732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25174
cd9fa985
ST
25175 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25176
a4186cff
PT
25177 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25178 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25179 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25180 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25181 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25182 d->port.lock.
802ca5a5 25183
a4186cff
PT
25184 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25185 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25186 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 25187
bcf55240
TS
251882012-05-10 Thomas Schwinge <thomas@schwinge.name>
25189
6960eb42
TS
25190 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25191 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25192 definitions.
25193
eb43375f
TS
25194 accept4 for GNU Hurd.
25195 * include/sys/socket.h (__libc_accept4): New prototype.
25196 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25197 to implement __libc_accept4.
25198 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25199 __libc_accept4.
25200 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25201
bcf55240
TS
25202 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25203 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25204 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25205 signal-defines.sym.
25206
6178c55b
ST
252072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25208
a4186cff 25209 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 25210
6f080c2f
TS
252112012-05-10 Thomas Schwinge <thomas@schwinge.name>
25212
25213 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25214 assertion on O_CLOEXEC flag.
25215 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25216 * hurd/intern-fd.c: Likewise.
25217 * hurd/port2fd.c: Likewise.
25218
bcfe3a54
ST
252192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25220
25221 [BZ #3906]
25222 * bits/in.h (IPV6_PKTINFO): Define new macro.
25223 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25224
89c9aa49
AZ
252252012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25226
25227 [BZ #13954]
25228 [BZ #13955]
25229 [BZ #13956]
25230 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25231 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25232 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25233 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25234 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25235 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25236 * math/libm-test.inc (logb_test) : Additional logb tests.
25237
021db4be
AJ
252382012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25239 Andreas Jaeger <aj@suse.de>
25240
25241 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25242 * configure: Regenerated.
25243 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25244 * config.make.in (link-obsolete-rpc): New substituted variable.
25245 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25246 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25247 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25248 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25249 so that libc.a contains the symbols.
25250 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25251 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25252 * sunrpc/auth_none.c: Likewise.
25253 * sunrpc/auth_unix.c: Likewise.
25254 * sunrpc/authdes_prot.c: Likewise.
25255 * sunrpc/authuxprot.c: Likewise.
25256 * sunrpc/clnt_gen.c: Likewise.
25257 * sunrpc/clnt_perr.c: Likewise.
25258 * sunrpc/clnt_raw.c: Likewise.
25259 * sunrpc/clnt_simp.c: Likewise.
25260 * sunrpc/clnt_tcp.c: Likewise.
25261 * sunrpc/clnt_udp.c: Likewise.
25262 * sunrpc/clnt_unix.c: Likewise.
25263 * sunrpc/des_crypt.c: Likewise.
25264 * sunrpc/des_soft.c: Likewise.
25265 * sunrpc/get_myaddr.c: Likewise.
25266 * sunrpc/key_call.c: Likewise.
25267 * sunrpc/key_prot.c: Likewise.
25268 * sunrpc/netname.c: Likewise.
25269 * sunrpc/pm_getmaps.c: Likewise.
25270 * sunrpc/pm_getport.c: Likewise.
25271 * sunrpc/pmap_clnt.c: Likewise.
25272 * sunrpc/pmap_prot.c: Likewise.
25273 * sunrpc/pmap_prot2.c: Likewise.
25274 * sunrpc/pmap_rmt.c: Likewise.
25275 * sunrpc/publickey.c: Likewise.
25276 * sunrpc/rpc_cmsg.c: Likewise.
25277 * sunrpc/rpc_common.c: Likewise.
25278 * sunrpc/rpc_dtable.c: Likewise.
25279 * sunrpc/rpc_prot.c: Likewise.
25280 * sunrpc/rpc_thread.c: Likewise.
25281 * sunrpc/rtime.c: Likewise.
25282 * sunrpc/svc.c: Likewise.
25283 * sunrpc/svc_auth.c: Likewise.
25284 * sunrpc/svc_raw.c: Likewise.
25285 * sunrpc/svc_run.c: Likewise.
25286 * sunrpc/svc_tcp.c: Likewise.
25287 * sunrpc/svc_udp.c: Likewise.
25288 * sunrpc/svc_unix.c: Likewise.
25289 * sunrpc/svcauth_des.c: Likewise.
25290 * sunrpc/xcrypt.c: Likewise.
25291 * sunrpc/xdr.c: Likewise.
25292 * sunrpc/xdr_array.c: Likewise.
25293 * sunrpc/xdr_float.c: Likewise.
25294 * sunrpc/xdr_intXX_t.c: Likewise.
25295 * sunrpc/xdr_mem.c: Likewise.
25296 * sunrpc/xdr_rec.c: Likewise.
25297 * sunrpc/xdr_ref.c: Likewise.
25298 * sunrpc/xdr_sizeof.c: Likewise.
25299 * sunrpc/xdr_stdio.c: Likewise.
25300
b5c086a2
RM
253012012-05-10 Roland McGrath <roland@hack.frob.com>
25302
25303 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25304 change. Update copyright years.
25305
6d74dd09
JM
253062012-05-10 Joseph Myers <joseph@codesourcery.com>
25307
25308 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25309
28e72501
MK
253102012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25311 Joseph Myers <joseph@codesourcery.com>
25312 Paul Pluzhnikov <ppluzhnikov@google.com>
25313
25314 [BZ #14012]
25315 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25316 requiring rpcgen.
25317 [cross-compiling] (extra-libs): Likewise.
25318 [cross-compiling] (extra-libs-others): Likewise.
25319 [cross-compiling] (librpcsvc-routines): Likewise.
25320 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25321 [cross-compiling] (omit-deps): Likewise.
25322 (sunrpc-CPPFLAGS): New variable.
25323 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25324 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25325 (cross-rpcgen-objs): New variable.
25326 (extra-objs): Append $(cross-rpcgen-objs).
25327 ($(cross-rpcgen-objs)): New rule.
25328 ($(objpfx)cross-rpcgen): Likewise.
25329 (rpcgen-cmd): Define to use $(built-program-file). Expand
25330 comment.
25331 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25332 ($(objpfx)x%.stmp): Likewise.
25333 * sunrpc/proto.h [IS_IN_build] (_): Define.
25334 [IS_IN_build] (_libc_intl_domainname): Likewise.
25335
c8c59454
L
253362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25337
25338 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25339 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25340 and R_X86_64_TPOFF64.
25341
6f27cd16
JM
253422012-05-10 Joseph Myers <joseph@codesourcery.com>
25343
25344 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25345 sysdeps/unix/sysv/syscalls.list.
25346 (stime): Likewise.
25347 (utime): Likewise.
25348 * sysdeps/unix/sysv/syscalls.list: Remove file.
25349
02467e1c
PE
253502012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25351
25352 [BZ #3440]
25353 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25354 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25355 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25356 (__LC_IDENTIFICATION): Make these macros useful in #if
25357 expressions, as required by C99.
25358
da392631
AS
253592012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25360
25361 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25362 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25363 after this.
25364
8115f29b
L
253652012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25366
25367 * stdlib/longlong.h: Updated from GCC.
25368
bdd74070
AJ
253692012-05-09 Andreas Jaeger <aj@suse.de>
25370
edfe0dbe
AJ
25371 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25372 default is first entry.
25373 (run_mode): Set type.
25374 (main): Remove informal message about syslog.
25375 (options): Fix typo.
25376
bcfe3a54
ST
25377 [BZ #14053]
25378 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 25379 to asm.
bcfe3a54
ST
25380 (lrint): Likewise.
25381 (llrintf): Likewise.
25382 (llrint): Likewise.
25383 (rint): Likewise.
25384 (rintf): Likewise.
25385 (nearbyint): Likewise.
25386 (nearbyintf): Likewise.
bdd74070 25387
91d8d69e
AJ
253882012-05-09 Andreas Jaeger <aj@suse.de>
25389 Pedro Alves <palves@redhat.com>
25390
25391 * nscd/nscd.c (run_mode): Use enum.
25392 (main): Cleanup coding style issue.
25393
bb90b80b
AJ
253942012-05-09 Alexandre Oliva <aoliva@redhat.com>
25395 Andreas Jaeger <aj@suse.de>
25396
bcfe3a54
ST
25397 * nscd/nscd.c (go_background): Replaced with...
25398 (run_mode): ... this.
bb90b80b 25399 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
25400 (options): Add -F --foreground.
25401 (main): Implement it.
25402 (parse_opt): Parse it.
bb90b80b 25403
1a4b75a1
AJ
254042012-05-09 Andreas Jaeger <aj@suse.de>
25405
25406 [BZ #14083]
25407 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25408 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25409 -Wconversion warning.
25410 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25411 Likewise.
25412
b1cc2472
JM
254132012-05-09 Joseph Myers <joseph@codesourcery.com>
25414
25415 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25416 == 0.
25417 (LC_ALL): Use macro-int-constant.
25418 (LC_COLLATE): Likewise.
25419 (LC_CTYPE): Likewise.
25420 (LC_MESSAGES): Likewise.
25421 (LC_MONETARY): Likewise.
25422 (LC_NUMERIC): Likewise.
25423 (LC_TIME): Likewise.
25424 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25425 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25426 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25427 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25428 Specify type.
25429 [C99-based standards] (float_t): Expect type.
25430 [C99-based standards] (double_t): Expect type.
25431 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25432 type.
25433 [C99-based standards] (HUGE_VALL): Likewise.
25434 [C99-based standards] (INFINITY): Likewise.
25435 [C99-based standards] (NAN): Likewise.
25436 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25437 [C99-based standards] (FP_NAN): Likewise.
25438 [C99-based standards] (FP_NORMAL): Likewise.
25439 [C99-based standards] (FP_SUBNORMAL): Likewise.
25440 [C99-based standards] (FP_ZERO): Likewise.
25441 [C99-based standards] (FP_FAST_FMA): Use
25442 optional-macro-int-constant. Specify type. Require == 1.
25443 [C99-based standards] (FP_FAST_FMAF): Likewise.
25444 [C99-based standards] (FP_FAST_FMAL): Likewise.
25445 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25446 [C99-based standards] (FP_ILOGBNAN): Likewise.
25447 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25448 Specify type.
25449 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25450 [C99-based standards] (math_errhandling): Specify type.
25451 [ISO99 || ISO11] (signgam): Do not allow.
25452 [non-C99-based standards] (copysignf): Do not allow.
25453 [non-C99-based standards] (exp2f): Likewise.
25454 [non-C99-based standards] (log2f): Likewise.
25455 [non-C99-based standards] (modff): Allow.
25456 [non-C99-based standards] (erff): Do not allow.
25457 [non-C99-based standards] (erfcf): Likewise.
25458 [non-C99-based standards] (gammaf): Likewise.
25459 [non-C99-based standards] (hypotf): Likewise.
25460 [non-C99-based standards] (j0f): Likewise.
25461 [non-C99-based standards] (j1f): Likewise.
25462 [non-C99-based standards] (jnf): Likewise.
25463 [non-C99-based standards] (lgammaf): Likewise.
25464 [non-C99-based standards] (tgammaf): Likewise.
25465 [non-C99-based standards] (y0f): Likewise.
25466 [non-C99-based standards] (y1f): Likewise.
25467 [non-C99-based standards] (ynf): Likewise.
25468 [non-C99-based standards] (isnanf): Likewise.
25469 [non-C99-based standards] (acoshf): Likewise.
25470 [non-C99-based standards] (asinhf): Likewise.
25471 [non-C99-based standards] (atanhf): Likewise.
25472 [non-C99-based standards] (cbrtf): Likewise.
25473 [non-C99-based standards] (expm1f): Likewise.
25474 [non-C99-based standards] (ilogbf): Likewise.
25475 [non-C99-based standards] (log1pf): Likewise.
25476 [non-C99-based standards] (logbf): Likewise.
25477 [non-C99-based standards] (nextafterf): Likewise.
25478 [non-C99-based standards] (remainderf): Likewise.
25479 [non-C99-based standards] (rintf): Likewise.
25480 [non-C99-based standards] (scalbf): Likewise.
25481 [non-C99-based standards] (copysignl): Likewise.
25482 [non-C99-based standards] (exp2l): Likewise.
25483 [non-C99-based standards] (log2l): Likewise.
25484 [non-C99-based standards] (modfl): Allow.
25485 [non-C99-based standards] (erfl): Do not allow.
25486 [non-C99-based standards] (erfcl): Likewise.
25487 [non-C99-based standards] (gammal): Likewise.
25488 [non-C99-based standards] (hypotl): Likewise.
25489 [non-C99-based standards] (j0l): Likewise.
25490 [non-C99-based standards] (j1l): Likewise.
25491 [non-C99-based standards] (jnl): Likewise.
25492 [non-C99-based standards] (lgammal): Likewise.
25493 [non-C99-based standards] (tgammal): Likewise.
25494 [non-C99-based standards] (y0l): Likewise.
25495 [non-C99-based standards] (y1l): Likewise.
25496 [non-C99-based standards] (ynl): Likewise.
25497 [non-C99-based standards] (isnanl): Likewise.
25498 [non-C99-based standards] (acoshl): Likewise.
25499 [non-C99-based standards] (asinhl): Likewise.
25500 [non-C99-based standards] (atanhl): Likewise.
25501 [non-C99-based standards] (cbrtl): Likewise.
25502 [non-C99-based standards] (expm1l): Likewise.
25503 [non-C99-based standards] (ilogbl): Likewise.
25504 [non-C99-based standards] (log1pl): Likewise.
25505 [non-C99-based standards] (logbl): Likewise.
25506 [non-C99-based standards] (nextafterl): Likewise.
25507 [non-C99-based standards] (remainderl): Likewise.
25508 [non-C99-based standards] (rintl): Likewise.
25509 [non-C99-based standards] (scalbl): Likewise.
25510 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25511 [non-C99-based standards] (FP_*): Do not allow.
25512 [C99-based standards] (FP_*): Change to
25513 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25514 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25515 allow.
25516 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25517 (SIG_ERR): Likewise.
25518 [X/Open-based standards] (SIG_HOLD): Likewise.
25519 (SIG_IGN): Likewise.
25520 (SIGABRT): Use macro-int-constant. Specify type. Require
25521 positive value.
25522 (SIGFPE): Likewise.
25523 (SIGILL): Likewise.
25524 (SIGINT): Likewise.
25525 (SIGSEGV): Likewise.
25526 (SIGTER): Likewise.
25527 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25528 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25529 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25530 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25531 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25532 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25533 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25534 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25535 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25536 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25537 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25538 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25539 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25540 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25541 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25542 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25543 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25544 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25545 [X/Open-based standards] (SIGTRAP): Likewise.
25546 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25547 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25548 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25549 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25550 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25551 allow.
25552
b9f1922d
IW
255532012-05-08 Ian Wienand <ianw@vmware.com>
25554
25555 [BZ #14080]
25556 * time/tzset.c (__tzset_parse_tz): Update default rules for
25557 daylight time changes in the Energy Policy Act of 2005.
25558
1db86e88
AJ
255592012-05-09 Andreas Jaeger <aj@suse.de>
25560
25561 [BZ #13983]
25562 * elf/ldconfig.c (parse_conf): Change string to make clear that
25563 ldconfig only issued a warning if ld.so.conf does not exist.
25564
dee4a4e3
DM
255652012-05-08 David S. Miller <davem@davemloft.net>
25566
ee0db190
DM
25567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25568 movxtod instead of popping the value on the stack.
25569
dee4a4e3
DM
25570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25571
6a43ec98
CD
255722012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25573
25574 * config.h.in: Add HAVE_ARM_PCS_VFP.
25575
05c2c961
RMG
255762012-05-08 Roland Mc Grath <roland@hack.frob.com>
25577
bcfe3a54
ST
25578 [BZ #13979]
25579 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25580 checking but the checks are disabled for any reason.
05c2c961 25581
4b30f61a
L
255822012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25583
25584 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25585 and ELF64_R_TYPE with ELFW(R_TYPE).
25586
eee2bc67
JM
255872012-05-08 Joseph Myers <joseph@codesourcery.com>
25588
7ea5391a
JM
25589 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25590 (ulimit): Likewise.
25591
eee2bc67
JM
25592 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25593 (settimeofday): Likewise.
25594
abb66a67
MF
255952012-05-08 Mike Frysinger <vapier@gentoo.org>
25596
25597 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25598 a struct th_u2 inside the union, and move tu_block/tu_code into
25599 a new th_u3 union of tu_block/tu_code inside of that. Move
25600 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25601 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25602 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25603 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25604 (th_stuff): Change to th_u1.tu_stuff.
25605 (th_data): Define.
25606 (th_msg): Change to th_u1.th_u2.tu_data.
25607
7f18b530
DM
256082012-05-07 David S. Miller <davem@davemloft.net>
25609
05760585
DM
25610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25611
7f18b530
DM
25612 [BZ #14074]
25613 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25614 (SETUP_PIC_REG): Use it.
25615 (SETUP_PIC_REG_LEAF): Use it.
25616
495fd99f
JM
256172012-05-07 Joseph Myers <joseph@codesourcery.com>
25618
25619 [BZ #13885]
25620 [BZ #13923]
25621 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25622 USE_AS_EXPM1L.
25623 (EXPL_FINITE): Likewise.
25624 (FLDLOG): Likewise.
25625 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25626 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25627 e_expl.S.
25628 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25629 USE_AS_EXPM1L.
25630 (EXPL_FINITE): Likewise.
25631 (FLDLOG): Likewise.
25632 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25633 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25634 e_expl.S.
25635 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25636 test of -max_value argument for long double.
25637 * sysdeps/i386/fpu/libm-test-ulps: Update.
25638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25639
6693d694
DM
256402012-05-06 David S. Miller <davem@davemloft.net>
25641
25642 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25643 quad soft-float symbols whose references which are compiler
25644 generated.
25645 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25646
6c23e11c
JM
256472012-05-06 Joseph Myers <joseph@codesourcery.com>
25648
d8b82cad
JM
25649 [BZ #13884]
25650 [BZ #13914]
25651 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25652 USE_AS_EXP10L.
25653 (EXPL_FINITE): Likewise.
25654 (FLDLOG): Likewise.
25655 (c0): Likewise.
25656 (c1): Likewise.
25657 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25658 Adjust comments for base varying.
25659 (__expl_finite): Change alias to EXPL_FINITE.
25660 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25661 e_expl.S.
25662 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25663 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25664 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25665 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25666 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25667 USE_AS_EXP10L.
25668 (EXPL_FINITE): Likewise.
25669 (FLDLOG): Likewise.
25670 (c0): Likewise.
25671 (c1): Likewise.
25672 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25673 Adjust comments for base varying.
25674 (__expl_finite): Change alias to EXPL_FINITE.
25675 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25676 tests for bugs.
25677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25678
6c23e11c
JM
25679 [BZ #14064]
25680 * math/libm-test.inc (check_float_internal): Correct ulp
25681 calculation for subnormal expected results.
25682
29ba805c
AJ
256832012-05-06 Andreas Jaeger <aj@suse.de>
25684
25685 * Makeconfig (+math-flags): New, set to -frounding-math.
25686 (+cflags): Add +math-flags so that all of glibc gets compiled with
25687 it.
25688
25689 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25690
7b17aeda
JM
256912012-05-05 Joseph Myers <joseph@codesourcery.com>
25692
5779f134
JM
25693 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25694 Disable one test.
25695
41498f4d
JM
25696 [BZ #13787]
25697 [BZ #13922]
25698 [BZ #14036]
25699 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25700 (__ieee754_expl): Allow for and saturate large arguments.
25701 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25702 (u_threshold): Likewise.
25703 (__exp): Call __ieee754_exp before checking for overflow and
25704 underflow.
25705 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25706 (u_threshold): Likewise.
25707 (__expf): Call __ieee754_expf before checking for overflow and
25708 underflow.
25709 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25710 (u_threshold): Likewise.
25711 (__expl): Call __ieee754_expl before checking for overflow and
25712 underflow.
25713 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25714 (__ieee754_expl): Allow for and saturate large arguments.
25715 * math/libm-test.inc (exp_test): Add another test. Do not allow
25716 missing overflow exception on overflow.
25717 (expm1_test): Do not allow missing overflow exception on overflow.
25718
6698b8bf
JM
25719 * sysdeps/i386/fpu/e_expl.c: Move to ...
25720 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25721 rather than using inline asm.
25722 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25723 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25724 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25725
7b17aeda
JM
25726 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25727 (nice): Likewise.
25728 (poll): Likewise.
25729 (signal): Likewise.
25730 (time): Likewise.
25731 (times): Likewise.
25732
f7c85819
JM
257332012-05-04 Joseph Myers <joseph@codesourcery.com>
25734
25735 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25736 sysdeps/unix/common/syscalls.list.
25737 (fchmod): Likewise.
25738 (fchown): Likewise.
25739 (ftruncate): Likewise.
25740 (getrusage): Likewise.
25741 (gettimeofday): Likewise.
25742 (setpgid): Likewise.
25743 (setregid): Likewise.
25744 (setreuid): Likewise.
25745 (sigaction): Likewise.
25746 (truncate): Likewise.
25747 (vhangup): Likewise.
25748 * sysdeps/unix/common/syscalls.list: Remove file.
25749 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25750 * sysdeps/unix/sysv/linux/Implies: Likewise.
25751
336270d0
L
257522012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25753
25754 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25756 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25757 Moved to ...
25758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25759 Here.
25760 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25761 to ...
25762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25763 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25764 to ...
25765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25766 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25767 to ...
25768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25769 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25770 to ...
25771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25772 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25773 to ...
25774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25775 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25776 to ...
25777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25778 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25779 to ...
25780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25781 Here.
25782 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25783 to ...
25784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25785 Here.
25786 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25787 to ...
25788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25789 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25790 Moved to ...
25791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25792 Here.
25793 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25794 to ...
25795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25796
d128e450
JM
257972012-05-04 Joseph Myers <joseph@codesourcery.com>
25798
fa8ee516
JM
25799 * sysdeps/unix/common/bits/dirent.h: Remove file.
25800 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25801
d128e450
JM
25802 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25803 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25804 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25805 * sysdeps/unix/bsd/isatty.c: Likewise.
25806 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25807 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25808 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25809
ff8faaf0 258102012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25811
62881be4 25812 [BZ #13563]
31dc8730
AZ
25813 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25814 long double comparison inaccuracies.
25815 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25817
6fef930c
AS
258182012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25819
25820 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25821 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25822
8f203e6c
JM
258232012-05-04 Joseph Myers <joseph@codesourcery.com>
25824
25825 [BZ #14049]
25826 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25827 nonzero digits before rounding a hex value.
25828 * stdlib/tst-strtod.c (tests): Add another test.
25829
5197d9c2
AK
258302012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25831
25832 * sysdeps/s390/fpu/libm-test-ulps: Update.
25833
f0c1dedf
AJ
258342012-05-03 Andreas Jaeger <aj@suse.de>
25835
25836 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25837 does not get optimized out.
25838 (malloc_opt_barrier): New.
25839
a65ef2ae 258402012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25841 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25842
2b942cb7 25843 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25844 intermediate file deletion.
2b942cb7 25845 (generated): Add .symlist files.
a65ef2ae 25846
54b71e02
JM
258472012-05-03 Joseph Myers <joseph@codesourcery.com>
25848
25849 [BZ #13775]
25850 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25851 Redirect under this condition.
25852 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25853 [__USE_GNU] (__dprintf_chk): Not under this condition.
25854 [__USE_GNU] (__vdprintf_chk): Likewise.
25855 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25856 under this condition.
25857 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25858 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25859 [__USE_XOPEN2K8] (vdprintf): Likewise.
25860 [__USE_GNU] (__dprintf_chk): Not under this condition.
25861 [__USE_GNU] (__vdprintf_chk): Likewise.
25862 [__USE_GNU] (dprintf): Likewise.
25863 [__USE_GNU] (vdprintf): Likewise.
25864
d3dfcc41
RM
258652012-05-03 Roland McGrath <roland@hack.frob.com>
25866
25867 * elf/Makefile (common-generated): Set this instead of generated for
25868 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25869 $(all-built-dso)-derived lists.
25870
7ac30cc5
AJ
258712012-05-03 Andreas Jaeger <aj@suse.de>
25872
0c51e550
AJ
25873 * sysdeps/i386/fpu/libm-test-ulps: Update.
25874
7ac30cc5
AJ
25875 * FAQ: Removed.
25876 * FAQ.in: Likewise.
25877 * scripts/gen-FAQ.pl: Likewise.
25878 * manual/install.texi (Installation): Point to online location of
25879 FAQ.
25880 * Makefile (files-for-dist): Remove FAQ.
25881 (FAQ): Remove.
25882
d4c2917f
AM
258832012-05-02 Allan McRae <allan@archlinux.org>
25884
25885 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25886 (LDFLAGS-reldepmod5.so): Likewise.
25887 (LDFLAGS-reldep6mod1.so): Likewise.
25888 (LDFLAGS-reldep6mod4.so): Likewise.
25889 (LDFLAGS-reldep8mod3.so): Likewise.
25890 (LDFLAGS-unload4mod1.so): Likewise.
25891 (LDFLAGS-unload4mod2.so): Likewise.
25892 (LDFLAGS-tst-initorder): Likewise.
25893 (LDFLAGS-tst-initordera2.so): Likewise.
25894 (LDFLAGS-tst-initordera3.so): Likewise.
25895 (LDFLAGS-tst-initordera4.so): Likewise.
25896 (LDFLAGS-tst-initorderb2.so): Likewise.
25897 (LDFLAGS-noload): Likewise.
25898 (LDFLAGS-next): Likewise.
25899 (LDFLAGS-order2mod1.so): Likewise.
25900 (LDFLAGS-order2mod2.so): Likewise.
25901 (LDFLAGS-tst-initorder2): Likewise.
25902 (LDFLAGS-tst-initorder2a.so): Likewise.
25903 (LDFLAGS-tst-initorder2b.so): Likewise.
25904 (LDFLAGS-tst-initorder2c.so): Likewise.
25905 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25906
d77f993f
DM
259072012-05-02 David S. Miller <davem@davemloft.net>
25908
25909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25910
171a70b4
PP
259112012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25912
25913 [BZ #14055]
25914 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25915
0be196ad
AJ
259162012-05-02 Andreas Jaeger <aj@suse.de>
25917
25918 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25919 since we manipulate rounding mode.
25920 (CPPFLAGS-test-idouble.c): Likewise.
25921 (CPPFLAGS-test-ifloat.c): Likewise.
25922 (CFLAGS-test-ldouble.c): Likewise.
25923 (CFLAGS-test-double.c): Likewise.
25924 (CFLAGS-test-float.c): Likewise.
25925 (CFLAGS-test-misc.c): Likewise.
25926 (CFLAGS-test-test-fenv.c): Likewise.
25927
4f9d04aa
AZ
259282012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25929
2b942cb7
RM
25930 [BZ #2550]
25931 [BZ #2570]
25932 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25933 comparisons to determine direction to adjust input.
4f9d04aa 25934
82a79e7d
RM
259352012-05-01 Roland McGrath <roland@hack.frob.com>
25936
f5a01ca9
RM
25937 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25938 output to the target.
25939
90fe4186
RM
25940 * scripts/localplt.awk: New file.
25941 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25942 (check-localplt-CFLAGS): Variable removed.
25943 ($(all-built-dso:=.jmprel)): New static pattern rule.
25944 (generated): Add those targets.
25945 (localplt-built-dso): New variable.
25946 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25947
25948 * elf/check-localplt.c: File removed.
25949
82397ed6
RM
25950 * scripts/check-execstack.awk: New file.
25951 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25952 (check-execstack-CFLAGS): Variable removed.
25953 ($(objpfx)check-execstack.h): Target removed.
25954 ($(objpfx)execstack-default): New target.
25955 (generated): Add that instead of check-execstack.h.
25956 ($(all-built-dso:=.phdr)): New static pattern rule.
25957 (generated): Add those targets.
25958 * elf/check-execstack.c: File removed.
25959
82a79e7d
RM
25960 * scripts/check-textrel.awk: New file.
25961 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25962 (check-textrel-CFLAGS): Variable removed.
25963 (all-built-dso): Use := to define.o
25964 ($(all-built-dso:=.dyn)): New static pattern rule.
25965 (generated): Add those targets.
25966 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25967 * config.make.in (READELF): New substituted variable.
25968 * elf/check-textrel.c: File removed.
25969
62fde54f 259702012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25971
615605c9
JM
25972 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25973 allow.
25974 * conform/data/ctype.h-data [C99-based standards] (isblank):
25975 Expect function.
25976 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25977 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25978 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25979 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25980 Specify type. Require positive value.
25981 (EILSEQ): Likewise.
25982 (ERANGE): Likewise.
25983 [ISO || POSIX] (EILSEQ): Do not expect.
25984 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25985 Specify type. Require positive value.
25986 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25987 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25988 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25989 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25990 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25991 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25992 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25993 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25994 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25995 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25996 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25997 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25998 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25999 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26000 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26001 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26002 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26003 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26004 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26005 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26006 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26007 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26008 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26009 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26010 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26011 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26012 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26013 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26014 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26015 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26016 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26017 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26018 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26019 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26020 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26021 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26022 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26023 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26024 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26025 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26026 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26027 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26028 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26029 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26030 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26031 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26032 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26033 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26034 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26035 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26036 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26037 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26038 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26039 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26040 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26041 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26042 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26043 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26044 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26045 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26046 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26047 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26048 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26049 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26050 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26051 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26052 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26053 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26054 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26055 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26056 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26057 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26058 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26059 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26060 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26061 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26062 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26063 Require >= 2.
26064 (FLT_ROUNDS): Expect as macro, not constant.
26065 (FLT_MANT_DIG): Use macro-int-constant.
26066 (DBL_MANT_DIG): Likewise.
26067 (LDBL_MANT_DIG): Likewise.
26068 (FLT_DIG): Likewise.
26069 (DBL_DIG): Likewise.
26070 (LDBL_DIG): Likewise.
26071 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26072 (DBL_MIN_EXP): Likewise.
26073 (LDBL_MIN_EXP): Likewise.
26074 (FLT_MAX_EXP): Use macro-int-constant.
26075 (DBL_MAX_EXP): Likewise.
26076 (LDBL_MAX_EXP): Likewise.
26077 (FLT_MAX_10_EXP): Likewise.
26078 (DBL_MAX_10_EXP): Likewise.
26079 (LDBL_MAX_10_EXP): Likewise.
26080 (FLT_MAX): Use macro-constant.
26081 (DBL_MAX): Likewise.
26082 (LDBL_MAX): Likewise.
26083 (FLT_EPSILON): Use macro-constant. Give upper bound.
26084 (DBL_EPSILON): Likewise.
26085 (LDBL_EPSILON): Likewise.
26086 (FLT_MIN): Likewise.
26087 (DBL_MIN): Likewise.
26088 (LDBL_MIN): Likewise.
26089 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26090 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26091 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26092 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26093 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26094 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26095 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26096 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26097 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26098 [ISO11] (FLT_TRUE_MIN): Likewise.
26099 [ISO11] (LDBL_TRUE_MIN): Likewise.
26100 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26101 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26102 (SCHAR_MIN): Use macro-int-constant. Specify type.
26103 (SCHAR_MAX): Likewise.
26104 (UCHAR_MAX): Likewise.
26105 (CHAR_MIN): Likewise.
26106 (CHAR_MAX): Likewise.
26107 (MB_LEN_MAX): Use macro-int-constant.
26108 (SHRT_MIN): Use macro-int-constant. Specify type.
26109 (SHRT_MAX): Likewise.
26110 (USHRT_MAX): Likewise.
26111 (INT_MAX): Likewise.
26112 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26113 bound negative.
26114 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26115 bound with "U".
26116 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26117 bound with "L".
26118 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26119 bound negative. Suffix upper bound with "L".
26120 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26121 bound with "UL".
26122 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26123 Specify type.
26124 [C99-based standards] (LLONG_MAX): Likewise.
26125 [C99-based standards] (ULLONG_MAX): Likewise.
26126 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26127 == 0.
26128 [ISO11] (max_align_t): Require type.
26129 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26130
c9140a62
JM
26131 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26132 from $CFLAGS, without defining away __attribute__ calls.
26133 (checknamespace): Use $CFLAGS_namespace.
26134
9af0bf29
JM
26135 * conform/conformtest.pl (@keywords): Only include C99 keywords
26136 for standards based on C99 or C11.
26137
343222a2
JM
26138 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26139 Disable tests.
26140 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26141 UNIX98]: Likewise.
26142
661f8cf0
JM
26143 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26144 usability of symbols in #if.
26145
ee74b9cb
JM
26146 * conform/conformtest.pl: If macro or constant types start
26147 "promoted:", expect the symbol to be of the following type
26148 promoted by the integer promotions.
62fde54f 26149
aafc49b3
JM
26150 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26151 in one place. Also handle "macro-constant".
26152
fefdf574
JM
26153 * conform/conformtest.pl: Only accept expected macro values with
26154 "==". Parse all "macro" lines in one place.
26155 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26156
f2d922fe
JM
26157 * conform/conformtest.pl: Handle braced types on "constant" lines
26158 instead of handling "typed-constant".
26159 * conform/data/signal.h-data: Use "constant" instead of
26160 "typed-constant".
26161
d22956c9
JM
26162 * conform/conformtest.pl: Handle "optional-" at start of lines in
26163 one place rather than duplicating several cases. Handle each
26164 format of "macro" line with initial "optional-".
26165
028e2e38
JM
26166 * conform/conformtest.pl: Only accept expected constant or
26167 optional-constant values with "==". Parse all "constant" lines in
26168 one place. Parse all "optional-constant" lines in one place.
26169 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26170 * conform/data/fmtmsg.h-data: Likewise.
26171 * conform/data/netinet/in.h-data: Likewise.
26172 * conform/data/tar.h-data: Likewise.
26173 * conform/data/limits.h-data: Use "==" form on "constant" and
26174 "optional-constant" lines.
26175
1b8f2850
JM
26176 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26177 Use -std=c99 for XOPEN2K.
26178 (@knownproblems): Remove.
26179 (newtoken): Don't check %isknown.
26180
a05a144b
JM
26181 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26182 Do not expect macro.
26183 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26184 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26185 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26186 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26187 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26188 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26189 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26190 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26191 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26192 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26193 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26194 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26195 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26196 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26197 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26198 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26199 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26200 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26201 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26202 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26203 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26204 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26205 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26206 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26207 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26208 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26209 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26210 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26211 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26212 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26213 [XPG3] (acosh): Likewise.
26214 [XPG3] (asinh): Likewise.
26215 [XPG3] (atanh): Likewise.
26216 [XPG3] (cbrt): Likewise.
26217 [XPG3] (expm1): Likewise.
26218 [XPG3] (ilogb): Likewise.
26219 [XPG3] (log1p): Likewise.
26220 [XPG3] (logb): Likewise.
26221 [XPG3] (nextafter): Likewise.
26222 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26223 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26224 [XPG3] (remainder): Likewise.
26225 [XPG3] (rint): Likewise.
26226 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26227 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26228 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26229 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26230 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26231 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26232 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26233 [UNIX98 || XOPEN2K] (scalb): Expect.
26234 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26235 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26236 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26237 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26238 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26239 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26240 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26241 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26242 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26243 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26244 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26245 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26246 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26247 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26248 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26249 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26250 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26251 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26252 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26253 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26254 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26255 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26256 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26257 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26258 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26259 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26260 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26261 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26262 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26263 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26264 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26265 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26266 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26267 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26268 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26269 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26270 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26271 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26272 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26273 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26274 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26275 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26276 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26277 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26278 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26279 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26280 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26281 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26282 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26283 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26284 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26285 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26286 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26287 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26288 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26289 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26290 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26291 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26292 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26293 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26294 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26295 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26296 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26297 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26298 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26299 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26300 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26301 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26302 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26303 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26304 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26305 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26306 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26307 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26308 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26309 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26310 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26311 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26312 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26313 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26314 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26315 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26316 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26317 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26318 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26319 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26320 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26321 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26322 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26323 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26324 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26325 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26326 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26327 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26328 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26329 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26330 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26331 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26332 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26333 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26334 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26335 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26336 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26337 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26338 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26339 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26340 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26341 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26342 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26343 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26344 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26345 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26346 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26347 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26348 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26349 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26350 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26351 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26352 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26353 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26354 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26355 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26356 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26357 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26358 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26359 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26360 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26361 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26362 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26363 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26364 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26365 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26366 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26367 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26368 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26369 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26370 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26371
73c5ebe3
JM
26372 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26373 _XOPEN_SOURCE_EXTENDED for XPG4.
26374
39c33b6c
JM
26375 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26376
62fde54f
JM
26377 * Makeconfig (localtime): Remove variable.
26378 (inst_localtime-file): Likewise.
26379
0741d64c
AS
263802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26381
26382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26383 Update.
26384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26385 Update.
26386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26387 Update.
26388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26389 Update.
26390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26391 Update.
26392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26393 Update.
26394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26395 Update.
26396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26397 Update.
26398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26399 Update.
26400
7cb029ee
JM
264012012-05-01 Joseph Myers <joseph@codesourcery.com>
26402
26403 [BZ #2550]
26404 [BZ #2570]
26405 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26406 comparisons to determine direction to adjust input.
26407 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26408 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26409 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26410 Likewise.
26411 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26412 Likewise.
26413 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26414 Likewise.
26415 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26416 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26417 Likewise.
26418 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26419 Likewise.
26420 * math/libm-test.inc (nexttoward_test): Add more tests.
26421
412bd966
AS
264222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26423
26424 [BZ #14040]
26425 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26426 in version GLIBC_2.1, not GLIBC_2.0.
26427 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26428 Likewise.
26429
9568c0c2
JM
264302012-04-30 Joseph Myers <joseph@codesourcery.com>
26431
adfbc8ac
JM
26432 [BZ #13942]
26433 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26434 (1 - x) * (1 + x).
26435 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26436 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26437 * math/libm-test.inc (acos_test): Add more tests.
26438 (asin_test): Likewise.
26439 * sysdeps/i386/fpu/libm-test-ulps: Update.
26440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26441
5ba3cc69
JM
26442 [BZ #14034]
26443 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26444 of square root.
26445 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26446 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26447 * math/libm-test.inc (acos_test_tonearest): New function.
26448 (acos_test_towardzero): Likewise.
26449 (acos_test_downward): Likewise.
26450 (acos_test_upward): Likewise.
26451 (asin_test_tonearest): Likewise.
26452 (asin_test_towardzero): Likewise.
26453 (asin_test_downward): Likewise.
26454 (asin_test_upward): Likewise.
26455 (main): Call the new functions.
26456 * sysdeps/i386/fpu/libm-test-ulps: Update.
26457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26458
9568c0c2
JM
26459 [BZ #13884]
26460 [BZ #13924]
26461 * math/e_exp10.c: Include <float.h>.
26462 (__ieee754_exp10): Handle underflow here rather than multiplying
26463 large negative argument by M_LN10.
26464 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26465 of __ieee754_expf.
26466 * math/e_exp10l.c: Include <float.h>.
26467 (__ieee754_exp10l): Handle underflow here rather than multiplying
26468 large negative argument by M_LN10l.
26469 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26470 spurious overflow exception on underflow.
26471
5ac3ea17
MP
264722012-04-29 Marek Polacek <polacek@redhat.com>
26473
26474 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26475 (__fortify_function): New macro.
26476 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26477 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26478 __extern_always_inline.
26479 * libio/bits/stdio2.h: Likewise.
26480 * libio/bits/stdio.h: Likewise.
26481 * string/string.h: Likewise.
26482 * string/bits/string3.h: Likewise.
26483 * include/stdio.h: Likewise.
26484 * stdlib/bits/stdlib.h: Likewise.
26485 * stdlib/stdlib.h: Likewise.
26486 * rt/bits/mqueue2.h: Likewise.
26487 * rt/mqueue.h: Likewise.
26488 * posix/bits/unistd.h: Likewise.
26489 * posix/unistd.h: Likewise.
26490 * io/bits/poll2.h: Likewise.
26491 * io/bits/fcntl2.h: Likewise.
26492 * io/fcntl.h: Likewise.
26493 * io/sys/poll.h: Likewise.
26494 * misc/bits/syslog.h: Likewise.
26495 * misc/bits/syslog-ldbl.h: Likewise.
26496 * misc/sys/syslog.h: Likewise.
26497 * socket/bits/socket2.h: Likewise.
26498 * socket/sys/socket.h: Likewise.
26499 * debug/tst-chk1.c: Likewise.
26500 * wcsmbs/bits/wchar2.h: Likewise.
26501 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26502 * wcsmbs/wchar.h: Likewise.
26503
ecf0ebfb
AJ
265042012-04-29 Andreas Jaeger <aj@suse.de>
26505
26506 * Makerules (tests): Remove enable-check-abi protection.
26507 (check-abi-warn): Remove.
26508 (check-abi-%): Remove check-abi-warn usage.
26509
26510 * configure.in: Remove check-abi configure option.
26511 * configure: Regenerated.
26512 * config.make.in (enable-check-abi): Remove.
26513
6d5c57fa
AS
265142012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26515
24c5d07e 26516 [BZ #14033]
ded5180a
AS
26517 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26518 double functions to double *_finite functions.
26519
7e0d315d
AS
26520 [BZ #13941]
26521 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26522 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26523 LDBL_MIN_EXP.
26524 * stdio-common/Makefile (tests): Add tst-sprintf3.
26525 * stdio-common/tst-sprintf3.c: New file.
26526
6d5c57fa
AS
26527 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26528 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26529
0749ff8b
JM
265302012-04-28 Joseph Myers <joseph@codesourcery.com>
26531
26532 * conform/conformtest.pl: Remove duplicate typed-constant
26533 handling.
26534
8dbd5d7b
DM
265352012-04-28 David S. Miller <davem@davemloft.net>
26536
26537 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26538 (check-abi-%): Remove AWK script prerequisite and explicit
26539 abilist directory.
26540 (check-abi): Rewrite to just diff the symlist with the abilist.
26541 (config-tls, config-abi-config): Delete, no longer used.
26542 (update-abi-%): Remove AWK script and explicit abilist directory.
26543 (update-abi): Rewrite to simply compare and conditionally copy the
26544 symlist and the sysdep abilist file. Remove update-abi-config
26545 checks.
26546 * abilist/ld.abilist: Remove.
26547 * abilist/libBrokenLocale.abilist: Remove.
26548 * abilist/libanl.abilist: Remove.
26549 * abilist/libcrypt.abilist: Remove.
26550 * abilist/libdl.abilist: Remove.
26551 * abilist/librt.abilist: Remove.
26552 * abilist/libthread_db.abilist: Remove.
26553 * abilist/libutil.abilist: Remove.
26554 * scripts/extract-abilist.awk: Remove.
26555 * scripts/merge-abilist.awk: Remove.
26556 * sysdeps/generic/libcidn.abilist: New file.
26557 * sysdeps/generic/libnss_compat.abilist: New file.
26558 * sysdeps/generic/libnss_db.abilist: New file.
26559 * sysdeps/generic/libnss_dns.abilist: New file.
26560 * sysdeps/generic/libnss_files.abilist: New file.
26561 * sysdeps/generic/libnss_hesiod.abilist: New file.
26562 * sysdeps/generic/libnss_nis.abilist: New file.
26563 * sysdeps/generic/libnss_nisplus.abilist: New file.
26564 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26565 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26566 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26567 file.
26568 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26569 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26570 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26571 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26572 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26573 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26574 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26575 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26576 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26577 file.
26578 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26579 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26580 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26581 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26582 file.
26583 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26584 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26585 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26586 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26587 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26588 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26589 file.
26590 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26591 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26592 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26593 file.
26594 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26596 New file.
26597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26598 New file.
26599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26600 New file.
26601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26602 New file.
26603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26604 New file.
26605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26606 New file.
26607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26608 New file.
26609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26610 New file.
26611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26612 New file.
26613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26614 New file.
26615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26616 New file.
26617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26618 New file.
26619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26620 New file.
26621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26622 file.
26623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26624 New file.
26625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26626 New file.
26627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26628 file.
26629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26630 New file.
26631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26632 New file.
26633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26634 file.
26635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26636 New file.
26637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26638 New file.
26639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26640 New file.
26641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26642 New file.
26643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26644 New file.
26645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26646 New file.
26647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26649 file.
26650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26651 New file.
26652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26653 file.
26654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26655 file.
26656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26657 file.
26658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26659 file.
26660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26661 file.
26662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26663 New file.
26664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26665 file.
26666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26667 file.
26668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26669 New file.
26670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26671 file.
26672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26674 file.
26675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26676 New file.
26677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26678 file.
26679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26680 file.
26681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26682 file.
26683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26684 file.
26685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26686 file.
26687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26688 New file.
26689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26690 file.
26691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26692 file.
26693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26694 New file.
26695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26696 file.
26697 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26698 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26699 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26700 file.
26701 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26702 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26703 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26704 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26705 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26706 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26707 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26708 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26709 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26710 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26713 file.
26714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26715 New file.
26716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26717 file.
26718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26719 file.
26720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26721 file.
26722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26723 file.
26724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26725 file.
26726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26727 New file.
26728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26729 New file.
26730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26731 file.
26732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26733 New file.
26734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26735 file.
26736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26738 file.
26739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26740 New file.
26741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26742 file.
26743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26744 file.
26745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26746 file.
26747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26748 file.
26749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26750 file.
26751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26752 New file.
26753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26754 New file.
26755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26756 file.
26757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26758 New file.
26759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26760 file.
26761
41d73a1b
JM
267622012-04-28 Joseph Myers <joseph@codesourcery.com>
26763
26764 * conform/conformtest.pl: Fix typo in handling typed-constant from
26765 allow-header.
26766
28aeeda4
JM
267672012-04-27 Joseph Myers <joseph@codesourcery.com>
26768
adae8f5e
JM
26769 * README: Cut down references to pre-2.6 Linux kernels and
26770 Linuxthreads. Update lists of configurations in libc and ports
26771 and sort alphabetically. Say "or newer" with Linux kernel version
26772 requirements.
26773
28aeeda4
JM
26774 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26775
a462cb63
RA
267762012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26777
26778 [BZ #887]
26779 * math/libm-test.inc (logb_test_downward): New test to expose
26780 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26781 rounding mode.
26782
6ad3493e
JM
267832012-04-27 Joseph Myers <joseph@codesourcery.com>
26784
26785 [BZ #14027]
26786 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26787 to be done.
26788 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26789 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26790
2ce4f015
JM
267912012-04-26 Joseph Myers <joseph@codesourcery.com>
26792
5aeb141a
JM
26793 * sysdeps/unix/i386/brk.S: Remove file.
26794 * sysdeps/unix/i386/dl-brk.S: Likewise.
26795 * sysdeps/unix/i386/pipe.S: Likewise.
26796 * sysdeps/unix/i386/sigreturn.S: Likewise.
26797 * sysdeps/unix/i386/syscall.S: Likewise.
26798 * sysdeps/unix/i386/vfork.S: Likewise.
26799 * sysdeps/unix/i386/wait.S: Likewise.
26800
7143acae
JM
26801 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26802 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26803
2ce4f015
JM
26804 * configure.in (arm*-none*): Do not allow without
26805 --enable-hacker-mode.
26806 (netbsd*): Remove case setting base_os.
26807 (386bsd*): Likewise.
26808 (freebsd*): Likewise.
26809 (bsdi*): Likewise.
26810 (osf*): Likewise.
26811 (sunos*): Likewise.
26812 (ultrix*): Likewise.
26813 (newsos*): Likewise.
26814 (dynix*): Likewise.
26815 (*bsd*): Likewise.
26816 (sysv*): Likewise.
26817 (isc*): Likewise.
26818 (esix*): Likewise.
26819 (sco*): Likewise.
26820 (minix*): Likewise.
26821 (irix4*): Likewise.
26822 (irix6*): Likewise.
26823 (solaris[2-9]*): Likewise.
26824 (none): Likewise.
26825 * configure: Regenerated.
26826
0ac229c8
AZ
268272012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26828
26829 [BZ #11521]
26830 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26831 overflow or cancellation in calculating denominator.
26832 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26833 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26834 down expression to avoid unexpected rounding in newer GCCs.
26835 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26836
33f244f4
DM
268372012-04-26 David S. Miller <davem@davemloft.net>
26838
26839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26840 long-double compat symbols.
26841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26854
cfa1f3e8
DM
268552012-04-25 David S. Miller <davem@davemloft.net>
26856
26857 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26858 HWCAP_* values only after the memory barriers have been defined.
26859 (atomic_full_barrier): Define.
26860 (atomic_read_barrier): Define.
26861 (atomic_write_barrier): Define.
26862
6e236b92
SP
268632012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26864
26865 * shlib-versions: Add libgcc_s version information.
26866 * sysdeps/generic/libgcc_s.h: Remove.
26867 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26868 libgcc_s.h.
26869 * sysdeps/gnu/unwind-resume.c: Likewise.
26870 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26871
aab39a09
DM
268722012-04-25 David S. Miller <davem@davemloft.net>
26873
26874 * sysdeps/unix/sparc/brk.S: Delete.
26875 * sysdeps/unix/sparc/dl-brk.S: Delete.
26876 * sysdeps/unix/sparc/pipe.S: Delete.
26877 * sysdeps/unix/sparc/sysdep.S: Delete.
26878 * sysdeps/unix/sparc/sysdep.h: Delete.
26879 * sysdeps/unix/sparc/vfork.S: Delete.
26880 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26881 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26882 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26883 ret_ERRVAL, r0, r1, MOVE): Define.
26884 (JUMPTARGET): Remove.
26885 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26886 sysdeps/unix/sparc/sysdep.h
26887 (ENTRY, END): Remove.
26888 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26889
a3cc4f48
JM
268902012-04-25 Joseph Myers <joseph@codesourcery.com>
26891
2ed8cda2
JM
26892 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26893 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26894 -DIS_IN_build.
26895
35d76d59
JM
26896 * timezone/README: Update upstream location and email address for
26897 tzcode and tzdata.
26898 * timezone/zdump.c: Update from tzcode 2012b.
26899 * timezone/zic.c: Likewise.
26900
a3cc4f48
JM
26901 * configure.in (libc_cv_as_needed): Remove test.
26902 * configure: Regenerated.
26903 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26904 conditional definition.
26905 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26906 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26907 * config.make.in (have-as-needed): Remove variable.
26908
ceab42c3
SP
269092012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26910 Paul Pluzhnikov <ppluzhnikov@google.com>
26911
26912 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26913 strings correctly.
26914
3ce2865f
CLT
269152012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26916
26917 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26918 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26919 * sysdeps/sh/strlen.S: Likewise.
26920
f37e0d68
JM
269212012-04-24 Joseph Myers <joseph@codesourcery.com>
26922
ae186e9a
JM
26923 * sysdeps/unix/fork.S: Remove file.
26924 * sysdeps/unix/i386/fork.S: Likewise.
26925 * sysdeps/unix/sparc/fork.S: Likewise.
26926
b96914af
JM
26927 * sysdeps/unix/system.c: Remove file.
26928 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26929
f37e0d68
JM
26930 * sysdeps/unix/getegid.S: Remove file.
26931 * sysdeps/unix/geteuid.S: Likewise.
26932
87ef29ca
RM
269332012-04-24 Roland McGrath <roland@hack.frob.com>
26934
83bcd236
RM
26935 * scripts/check-localplt.awk: New file.
26936 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26937 of diff.
26938 * scripts/data/localplt-generic.data: Add a comment.
26939
87ef29ca
RM
26940 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26941 NODE when __dir_mkfile failed.
26942 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26943 Reported by Ludovic Courtès <ludo@gnu.org>.
26944
e5a6e567
AJ
269452012-04-24 Andreas Jaeger <aj@suse.de>
26946
26947 * Makerules (common-clean): Also remove gen-as-const-headers
26948 files.
26949
c1820385
JM
269502012-04-24 Joseph Myers <joseph@codesourcery.com>
26951
26952 * Makerules (native-compile): Do not change working directory for
26953 build. Use $(OUTPUT_OPTION) in command.
26954 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26955
94e02fc4
AZ
269562012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26957
26958 [BZ #13886]
26959 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26960 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26961 * math/libm-test.inc (floor_test): Add more tests.
26962 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26963
3a533ca3
JM
269642012-04-24 Joseph Myers <joseph@codesourcery.com>
26965
940ab4b3
JM
26966 * sysdeps/unix/getdents.c: Remove file.
26967 * sysdeps/unix/sysv/getdents.c: Likewise.
26968 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26969
90e037bd
JM
26970 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26971 sysdeps/unix/mman/syscalls.list.
26972 (mmap): Likewise.
26973 (mprotect): Likewise.
26974 (msync): Likewise.
26975 (munmap): Likewise.
26976 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26977 * sysdeps/unix/mman/syscalls.list: Remove.
26978 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26979
3a533ca3
JM
26980 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26981 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26982 * configure: Regenerated.
26983 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26984 $(libgcc_s_suffix).
26985 * config.make.in (libgcc_s_suffix): Remove variable.
26986
1ad743de
JM
269872012-04-23 Joseph Myers <joseph@codesourcery.com>
26988
4ad451e2
JM
26989 * sysdeps/unix/sysv/gethostname.c: Move to ...
26990 * sysdeps/posix/gethostname.c: ... here.
26991
5e37ce39
JM
26992 * sysdeps/unix/execve.S: Remove file.
26993
1ad743de
JM
26994 * sysdeps/unix/_exit.S: Remove file.
26995
4e681b5b
AJ
269962012-04-23 Andreas Jaeger <aj@suse.de>
26997
26998 [BZ #13739]
26999 * manual/Makefile: Remove make dist support, there's no
27000 need for a stand-alone documentation tar ball.
27001 (TEXI2DVI): Define always, it's not in Makeconfig.
27002 (dist): Removed.
27003 (tar-it): Removed.
27004 (edition): Removed.
27005 (glibc-doc-$(edition).tar): Removed
27006 (%.Z): Removed.
27007 (%.gz): Removed.
27008 (%.uu): Removed.
27009 (ETAGS): Remove, it's in Makeconfig.
27010 (move-if-change): Remove, it's in Makeconfig.
27011
38686a03 270122012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
27013
27014 [BZ #13970]
27015 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27016 (strtod, strtof, strtold, strtol, strtoul, strtoq)
27017 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27018 (strtod_l, strtof_l, strtold_l): Remove __wur.
27019 It is not necessarily an error to ignore strtol's return value.
27020 One can reliably look at the stored endptr to decide whether
27021 the number had valid syntax.
27022
7c0616fa
AJ
270232012-04-21 Andreas Jaeger <aj@suse.de>
27024
803cb6b7 27025 [BZ #13739]
7c0616fa
AJ
27026 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27027
b0fe253f
JM
270282012-04-21 Joseph Myers <joseph@codesourcery.com>
27029
27030 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27031 * sysdeps/unix/sysv/Versions: Remove file.
27032
8280f22d
MT
270332012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27034
27035 [BZ #13927]
27036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27037
75ce411f 270382012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
27039
27040 [BZ #7064]
27041 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27042 version from __vm86.
27043
097d59fa
JM
270442012-04-20 Joseph Myers <joseph@codesourcery.com>
27045
a90f3bcb
JM
27046 * sysdeps/unix/common/lxstat.c: Remove file.
27047 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27048
edc7ea78
JM
27049 * sysdeps/unix/sysv/Makefile: Remove file.
27050
cb78c221
JM
27051 * sysdeps/unix/sysv/direct.h: Remove file.
27052
efa6a45f
JM
27053 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27054 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27055 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27056 * sysdeps/unix/sysv/bits/signum.h: Likewise.
27057 * sysdeps/unix/sysv/bits/stat.h: Likewise.
27058 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27059 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27060
9c9f2d0c
JM
27061 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27062
4541c83b
JM
27063 * sysdeps/unix/xmknod.c: Remove file.
27064 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27065
f5d153a0
JM
27066 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27067
aa746595
JM
27068 * sysdeps/unix/sysv/i386/time.S: Remove file.
27069
cce5905e
JM
27070 * sysdeps/unix/fxstat.c: Remove file.
27071 * sysdeps/unix/xstat.c: Likewise.
27072 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27073
37fa3841
JM
27074 * sysdeps/unix/sysv/sigaction.c: Remove file.
27075
ff1962a3
JM
27076 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27077 (sysdep_headers): Remove variable.
27078 [termio.h not in sysdep_headers] (generated): Likewise.
27079 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27080 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27081 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27082 * sysdeps/unix/sysv/tcflow.c: Likewise.
27083 * sysdeps/unix/sysv/tcflush.c: Likewise.
27084 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27085 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27086 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27087 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27088 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27089
e7740d31
JM
27090 * sysdeps/unix/siglist.c: Remove file.
27091
ee06f18b
JM
27092 * sysdeps/unix/getppid.S: Remove file.
27093
097d59fa
JM
27094 * sysdeps/unix/mkdir.c: Remove file.
27095 * sysdeps/unix/rmdir.c: Likewise.
27096
ff3d51ec
AS
270972012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27098
27099 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27100 ERR_MAX value.
27101 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27102 errlist-compat value.
27103
50f81fd7
DM
271042012-04-18 David S. Miller <davem@davemloft.net>
27105
27106 * sysdeps/generic/memcopy.h (reg_char): Delete.
27107 * debug/strcat_chk.c: Use char, not reg_char.
27108 * debug/strcpy_chk.c: Likewise.
27109 * debug/strncat_chk.c: Likewise.
27110 * debug/strncpy_chk.c: Likewise.
27111 * string/memchr.c: Likewise.
27112 * string/memrchr.c: Likewise.
27113 * string/rawmemchr.c: Likewise.
27114 * string/strcat.c: Likewise.
27115 * string/strchr.c: Likewise.
27116 * string/strchrnul.c: Likewise.
27117 * string/strcmp.c: Likewise.
27118 * string/strcpy.c: Likewise.
27119 * string/strncat.c: Likewise.
27120 * string/strncmp.c: Likewise.
27121 * string/strncpy.c: Likewise.
27122
8ff41c46
WS
271232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27124
27125 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27126 __builtin_memcopy is called when src and dest ranges are known to not
27127 overlap.
27128
6b652f46
WS
271292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27130
27131 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27132 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27133 fwd_align_merge macro call.
27134 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27135 bwd_align_merge macro call.
27136 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27137
b282631e
WS
271382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27139
27140 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27141 bwd_align_merge macros.
27142 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27143 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27144 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27145
95aa737c
DM
271462012-04-18 David S. Miller <davem@davemloft.net>
27147
27148 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27149
7a99a614
AJ
271502012-04-18 Andreas Jaeger <aj@suse.de>
27151
27152 [BZ# 6794]
27153 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27154 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27155 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27156
27157 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27158 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27159 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27160
27161 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27162 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27163 Adjust for changed ldbl-128 files.
27164
27165 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27166 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27167 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27168
e5270c23
DM
271692012-04-17 David S. Miller <davem@davemloft.net>
27170
27171 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27172
fb5e92c9
AS
271732012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27174
27175 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27176 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27177 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27178 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27179 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27180 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27181
76da7265
AZ
271822012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27183
27184 [BZ #6794]
27185 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27186 * math/libm-test.inc: Add ilogb errno and exception tests.
27187 * math/w_ilogb.c: New file: ilogb wrapper.
27188 * math/w_ilogbf.c: New file: ilogbf wrapper.
27189 * math/w_ilogbl.c: New file: ilogbl wrapper.
27190 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27191 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27192 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27193 exception being thrown with 0.0 as argument.
27194 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27195 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27196 exception being thrown with 0.0 as argument.
27197 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27198 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27199 exception being thrown with 0.0 as argument.
27200 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27201 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27202 exception being thrown with 0.0 as argument.
27203 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27204 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 27205 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
27206 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27207 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27208 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27209 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27210 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27211 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27212
0396e69d
PB
272132012-04-17 Petr Baudis <pasky@ucw.cz>
27214
27215 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27216 with altivec.
27217
750b5926
MP
272182012-04-16 Marek Polacek <polacek@redhat.com>
27219
27220 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27221
751728a1
MP
272222012-04-16 Marek Polacek <polacek@redhat.com>
27223
27224 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27225 operands of fdivp instruction.
27226
34a27407
L
272272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27228
27229 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27230 * elf/tst-auditmod3b.c: Likewise.
27231 * elf/tst-auditmod4b.c: Likewise.
27232 * elf/tst-auditmod5b.c: Likewise.
27233 * elf/tst-auditmod6b.c: Likewise.
27234 * elf/tst-auditmod6c.c: Likewise.
27235 * elf/tst-auditmod7b.c: Likewise.
27236 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27237 * sysdeps/x86_64/preconfigure.in: Likewise.
27238 * sysdeps/x86_64/preconfigure: Regenerated.
27239
7e73e17d
L
272402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27241
27242 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27243 __ILP32__.
27244
c7a6ab72
AB
272452012-04-13 Antoine Balestrat <merkil33@gmail.com>
27246
27247 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27248 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27249
a9e8e0e0
CL
272502012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27251
27252 [BZ #13973]
27253 * locale/iso-639.def: Fix gl language name. Spotted by
27254 Yaron Shahrabani.
27255
ec98af7d
RM
272562012-04-12 Roland McGrath <roland@hack.frob.com>
27257
27258 [BZ #2074]
27259 * libio/libio.h (__io_write_fn): Update comment.
27260
247c3ede
PB
272612012-04-12 Petr Baudis <pasky@ucw.cz>
27262
27263 [BZ #2074]
27264 * stdio.texi (Hook Functions): The user provided writer function
27265 is not allowed to return -1.
27266
55939d6d
DM
272672012-04-11 David S. Miller <davem@davemloft.net>
27268
27269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27270
90020f5a
MF
272712012-04-11 Mike Frysinger <vapier@gentoo.org>
27272
27273 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27274 Add a leading slash to rtkaio.
27275
288f9098
JM
272762012-04-11 Jim Meyering <meyering@redhat.com>
27277
90020f5a
MF
27278 [BZ #11959]
27279 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27280 It is not necessarily an error to ignore fwrite's return
27281 value. One can reliably use ferror to test for errors after
27282 the fact.
288f9098 27283
4be2b570
L
272842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27285
27286 * bits/types.h (__snseconds_t): New type.
27287 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27288
27289 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27290 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27291 (__SNSECONDS_T_TYPE): Likewise.
27292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27293 (__SNSECONDS_T_TYPE): Likewise.
27294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27295 (__SNSECONDS_T_TYPE): Likewise.
27296
288f9098 272972012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
27298
27299 [BZ #2636]
27300 * manual/time.texi (Processor Time): Return type of times is
27301 elapsed real time since an arbitrary point in the past.
27302 (CPU Time): Move CLK_TCK from here...
27303 (Processor Time): ...to here. Correct description.
27304 * manual/conf.texi (Constants for Sysconf): Correct description of
27305 _SC_CLK_TCK.
27306
d7dd4413
DM
273072012-04-10 David S. Miller <davem@davemloft.net>
27308
27309 [BZ #13967]
27310 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27311 where the is a gap between DT_REL(A) and DT_JMPREL.
27312
b46068fc
L
273132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27314
27315 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27316 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27317 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27318
73d65cc3
SP
273192012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27320
27321 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27322 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27323 (dl_main): Handle --inhibit-cache.
27324 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27325 _dl_inhibit_cache.
27326 * elf/dl-load.c (_dl_map_object): Use it.
27327 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27328
bcc8d661
JM
273292012-04-09 Joseph Myers <joseph@codesourcery.com>
27330
8f9a2fae
JM
27331 [BZ #13872]
27332 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27333 (__ieee754_powl): Saturate large exponents rather than testing for
27334 overflow of y*log2(x).
27335 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27336 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27337 exceptions.
27338
bcc8d661
JM
27339 [BZ #11521]
27340 * math/s_ctan.c: Include <float.h>.
27341 (__ctan): Avoid internal overflow or cancellation in calculating
27342 denominator.
27343 * math/s_ctanf.c: Likewise.
27344 * math/s_ctanl.c: Likewise.
27345 * math/s_ctanh.c: Likewise.
27346 * math/s_ctanhf.c: Likewise.
27347 * math/s_ctanhl.c: Likewise.
27348 * math/libm-test.inc (ctan_test): Add more tests.
27349 (ctanh_test): Likewise.
27350 * sysdeps/i386/fpu/libm-test-ulps: Update.
27351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27352
823fbbb4
AJ
273532012-04-09 Andreas Jaeger <aj@suse.de>
27354
03879793
AJ
27355 [BZ #6894]
27356 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27357 is an optional BSD extension.
27358
823fbbb4
AJ
27359 [BZ #10254]
27360 * manual/stdio.texi (Opening Streams): Document additional fopen
27361 parameters.
27362
8de131cb
RM
273632012-04-09 Roland McGrath <roland@hack.frob.com>
27364
27365 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27366 %eax without telling the compiler.
27367
c0ed9d7d
CD
273682012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27369
27370 [BZ # 13963]
27371 * manual/install.texi: Use sourceware.org.
27372
c483f6b4
JM
273732012-04-09 Joseph Myers <joseph@codesourcery.com>
27374
d7dd9453
JM
27375 [BZ #13873]
27376 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27377 (__ieee754_pow): Generate overflow and underflow using huge*huge
27378 and tiny*tiny rather than just returning constant infinity or zero
27379 for large exponents.
27380 * math/libm-test.inc (pow_test): Require overflow exceptions for
27381 applicable cases of large exponents.
27382
c483f6b4
JM
27383 [BZ #706]
27384 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27385 (__ieee754_pow): Use iterative multiplication algorithm only for
27386 integer exponents with absolute value below 1024. Check for odd
27387 integer exponents when using algorithm for real exponents.
27388 * math/libm-test.inc (pow_test): Add more tests.
27389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27390
d2de7579
JM
273912012-04-08 Joseph Myers <joseph@codesourcery.com>
27392
27393 [BZ #13705]
27394 * math/libm-test.inc (exp_test): Do not allow overflow exception
27395 on underflow test.
27396
f77f1232
AJ
273972012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27398
27399 [BZ #13705]
27400 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27401 instead of __kernel_standard_f.
27402
3884932b
MF
274032012-04-08 Mike Frysinger <vapier@gentoo.org>
27404
27405 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27406 * sysdeps/x86_64/memset_chk.S: Likewise.
27407
54472e9c
AJ
274082012-04-08 Andreas Jaeger <aj@suse.de>
27409
6ab0fbfc
AJ
27410 [BZ #10153]
27411 * manual/startup.texi (Environment Access): Describe return value
27412 for putenv and setenv.
27413
61efba8c
AJ
27414 [BZ #6895]
27415 * manual/filesys.texi (Directory Entries): Add description for
27416 DT_LNK.
27417
95c3f29a
AJ
27418 [BZ #6890]
27419 * manual/filesys.texi (Directory Entries): Clarify that it's file
27420 system not operating system in the description of DT_UNKNOWN.
27421
54472e9c
AJ
27422 [BZ #6578]
27423 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27424
624254b1
SC
274252012-04-08 Stephen Compall <s11@member.fsf.org>
27426
27427 [BZ #6649]
27428 * manual/llio.texi (Opening and Closing Files): Add cross
27429 reference to explain mode argument.
27430
1e4920e0
MF
274312012-04-07 Mike Frysinger <vapier@gentoo.org>
27432
27433 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27434 * sysdeps/x86_64/memset_chk.S: Likewise.
27435
5ed848f3
DM
274362012-04-07 David S. Miller <davem@davemloft.net>
27437
27438 * elf/elf.h (R_SPARC_WDISP10): Define.
27439 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27440 R_SPARC_SIZE32.
27441 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27442 R_SPARC_SIZE64 and R_SPARC_H34.
27443
96154cd8
CD
274442012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27445
27446 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27447 conditions and remove no longer applicable assertion.
27448
9904dc47
L
274492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27450
27451 * bits/byteswap.h: Include <features.h>.
27452 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27453 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27454
f8887d0a
L
274552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27456
27457 * bits/byteswap.h (__bswap_16): Removed.
27458 Include <bits/byteswap-16.h> to get __bswap_16.
27459 * sysdeps/i386/bits/byteswap.h: Likewise.
27460 * sysdeps/s390/bits/byteswap.h: Likewise.
27461 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27462 * bits/byteswap-16.h: New file.
27463 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27464 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27465 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27466 * string/Makefile (headers): Add bits/byteswap-16.h.
27467
62470f60
PP
274682012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27469
27470 [BZ #13895]
27471 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27472 extra indirection.
27473 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27474 * nss/tst-nss-static.c: New.
27475
4dad7bab
RM
274762012-04-06 Robert Millan <rmh@gnu.org>
27477
27478 [BZ #6486]
27479 * manual/llio.texi (File Position Primitive): lseek
27480 refers to WHENCE when it really means OFFSET.
27481
e9142a17
AJ
274822012-04-06 Andreas Jaeger <aj@suse.de>
27483
2c040eff
AJ
27484 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27485 strncmp declarations.
27486
e9142a17
AJ
27487 * abilist/libc.abilist: Add __poll and __ppoll.
27488
ff9f1c5f
DM
274892012-04-05 David S. Miller <davem@davemloft.net>
27490
dcd2ae90
DM
27491 * scripts/check-local-headers.sh: Accept a host triplet in the
27492 path matched by the exclude regexp.
27493
993eb054
DM
27494 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27495 definition.
27496 * sysdeps/powerpc/powerpc32/dl-machine.h
27497 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27498 * sysdeps/s390/s390-32/dl-machine.h
27499 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27500 * sysdeps/sparc/sparc32/dl-machine.h
27501 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27502 * sysdeps/sparc/sparc64/dl-machine.h
27503 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27504
ff9f1c5f
DM
27505 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27506 lazy binding.
48e2e132 27507 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
27508 undefined symbol errors.
27509
48e2e132 27510 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
27511 DT_NEEDED entries.
27512
e80d6f94
MM
275132012-04-05 Michael Matz <matz@suse.de>
27514
27515 [BZ #13592]
27516 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27517
349fa79f
AJ
275182012-04-05 Andreas Jaeger <aj@suse.de>
27519
27520 [BZ #13908]
27521 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27522 comment.
27523
f402708f
KK
275242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27525
27526 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27527 which ROUND is no valid rounding mode.
27528
2ecccfc9
KK
275292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27530
27531 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27532 read again.
27533 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27534
8a53f50f
KK
275352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27536
27537 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27538 an exception using FPU order intentionally.
27539
275402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27541
27542 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27543 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27544 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27545 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27546
d653abb7
SJ
275472012-04-05 Simon Josefsson <simon@josefsson.org>
27548
27549 [BZ #12340]
27550 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27551 EINVAL when BUFLEN is too smal.
27552
c3b1bf7d
TS
275532012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27554
27555 [BZ #13553]
27556 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27557 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27558
b1aa60f3
AJ
275592012-04-03 Andreas Jaeger <aj@suse.de>
27560
c3b1bf7d 27561 [BZ #13938]
67f60a26
AJ
27562 * manual/setjmp.texi (System V contexts): Fix sentence.
27563
b1aa60f3
AJ
27564 [BZ #13926]
27565 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27566 New macro for this case.
27567 [!__GNUC__] (__bswap_64): New inline function for this case.
27568 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27569 * bits/byteswap.h: Likewise.
27570 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27571 ull, guard with __GLIBC_HAVE_LONG_LONG.
27572
27573 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27574 __GLIBC_HAVE_LONG_LONG.
27575
27576 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27577 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27578
39c59c35
TMQMF
275792012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27580
27581 [BZ #13691]
27582 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27583 inptr and inend, rather than using last_ch.
27584
135ffda8
DM
275852012-04-02 David S. Miller <davem@davemloft.net>
27586
27587 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27588 * stdio-common/printf-parse.h (read_int): Change return type to
27589 'int', return -1 on INT_MAX overflow.
27590 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27591 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27592 overflows INT_MAX. Check for overflow of in-format-string precision
27593 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27594 SIZE_MAX not INT_MAX for integer overflow test.
27595 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27596 skip the construct in the format string but do not record anything.
27597 * stdio-common/bug22.c: Adjust to test both width/prevision
27598 INT_MAX overflow as well as total length INT_MAX overflow. Check
27599 explicitly for proper errno values.
27600
228c019e
TS
276012012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27602
302cadd3
TS
27603 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27604 CHAR_MAX.
27605 * string/test-strcmp.c [! WIDE]: Likewise.
27606 * time/tst-mktime2.c: Likewise for INT_MAX.
27607 * string/test-string.h: #include <sys/param.h> for MIN.
27608
228c019e
TS
27609 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27610 * sysdeps/i386/init-first.c (init): Likewise.
27611 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27612 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27613 * sysdeps/sh/init-first.c (init): Likewise.
27614
cfa633f5
UD
276152012-04-01 Ulrich Drepper <drepper@gmail.com>
27616
27617 * po/ru.po: Update from translation team.
d1635ef8 27618 * po/vi.po: Likewise.
cfa633f5 27619
6cd0a5ea
SP
276202012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27621
27622 * resolv/nss_dns/dns-host.c: Merge copyright years.
27623
4b43400f
LD
276242012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27625
27626 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27627 Optimize memcpy with prefetch if
27628 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27629 src, dst pointers have unequal 16 byte alignments.
27630
48c41d04
SP
276312012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27632
27633 [BZ #13928]
27634 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27635 from a CNAME entry and return the minimum ttl for the query.
27636 (gaih_getanswer_slice): Likewise.
27637
b8dc394d
JL
276382012-03-30 Jeff Law <law@redhat.com>
27639
27640 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27641 due to long keys.
27642 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27643 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27644
2f5a5ed0
JL
27645 * resolv/nss_dns/dns-host.c: Update copyright year.
27646
1d39e359
UD
276472012-03-30 Ulrich Drepper <drepper@gmail.com>
27648
c030f70c 27649 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27650 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27651
1d39e359
UD
27652 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27653 comments for sendmmsg.
27654
276552012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27656
27657 [BZ #13691]
27658 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27659 with only 1 character between 0x0041 and 0x01b0.
27660 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27661 * wcsmbs/tst-mbsnrtowcs.c: New file.
27662
20fde227
DM
276632012-03-29 David S. Miller <davem@davemloft.net>
27664
27665 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27666 small copies by hand.
27667
984a4237
JL
276682012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27669
27670 [BZ #13761]
27671 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27672 _nss_compat_initgroups_dyn): Fall back to malloc/free
27673 for large group memberships.
27674
18c9d62b
DM
276752012-03-28 David S. Miller <davem@davemloft.net>
27676
88d85d4f
DM
27677 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27678 that branches into memcpy.
27679 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27680 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27681 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27682 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27683 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27684 bits.
27685 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27686 implementation too.
27687 * sysdeps/sparc/mempcpy.S: New file.
27688
e5aa83e1
DM
27689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27690 the IFUNC routine in the libc case.
27691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27692
88570753
DM
27693 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27694 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27695 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27696 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27697 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27698 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27699 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27700 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27701
249d7567
DM
27702 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27703 loop to 256 bytes instead of 64 bytes and fix test signedness.
27704
18c9d62b
DM
27705 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27706 * sysdeps/sparc/sparc32/Makefile: rather than here...
27707 * sysdeps/sparc/sparc64/Makefile: and here.
27708
05f3d1f6
UD
277092012-03-28 Ulrich Drepper <drepper@gmail.com>
27710
27711 * malloc/mallocbug.c: Avoid warnings about unused variables.
27712
86ae07a8
JL
277132012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27714
27715 [BZ #13760]
27716 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27717 in the right place. Discard and retry query if response is
27718 larger than input buffer size.
27719
41bf21a1
JM
277202012-03-28 Joseph Myers <joseph@codesourcery.com>
27721
d6270972
JM
27722 [BZ #369]
27723 [BZ #2678]
27724 [BZ #3866]
27725 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27726 x for large integer exponent.
27727 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27728 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27729 sign of result as needed afterwards.
27730 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27731 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27732 result for underflowing pow the same as for overflow.
27733 (__kernel_standard_l): Handle powl overflow and underflow here
27734 rather than calling __kernel_standard.
27735 * math/libm-test.inc (pow_test): Add more tests.
27736
414fca03 27737 [BZ #3868]
41bf21a1
JM
27738 [BZ #13879]
27739 [BZ #13910]
27740 [BZ #13911]
27741 [BZ #13912]
27742 [BZ #13913]
27743 [BZ #13915]
27744 [BZ #13916]
27745 [BZ #13917]
27746 [BZ #13918]
27747 [BZ #13919]
27748 [BZ #13920]
27749 [BZ #13921]
27750 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27751 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27752 (__kernel_standard_l): New function.
27753 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27754 __kernel_standard.
27755 * math/w_acosl.c (__acosl): Likewise.
27756 * math/w_asinl.c (__asinl): Likewise.
27757 * math/w_atan2l.c (__atan2l): Likewise.
27758 * math/w_atanhl.c (__atanhl): Likewise.
27759 * math/w_coshl.c (__coshl): Likewise.
27760 * math/w_exp10l.c (__exp10l): Likewise.
27761 * math/w_exp2l.c (__exp2l): Likewise.
27762 * math/w_fmodl.c (__fmodl): Likewise.
27763 * math/w_hypotl.c (__hypotl): Likewise.
27764 * math/w_j0l.c (__j0l, __y0l): Likewise.
27765 * math/w_j1l.c (__j1l, __y1l): Likewise.
27766 * math/w_jnl.c (__jnl, __ynl): Likewise.
27767 * math/w_lgammal.c (__lgammal): Likewise.
27768 * math/w_log10l.c (__log10l): Likewise.
27769 * math/w_log2l.c (__log2l): Likewise.
27770 * math/w_logl.c (__logl): Likewise.
27771 * math/w_powl.c (__powl): Likewise.
27772 * math/w_remainderl.c (__remainderl): Likewise.
27773 * math/w_scalbl.c (sysv_scalbl): Likewise.
27774 * math/w_sinhl.c (__sinhl): Likewise.
27775 * math/w_sqrtl.c (__sqrtl): Likewise.
27776 * math/w_tgammal.c (__tgammal): Likewise.
27777 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27778 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27779 * math/libm-test.inc (acos_test): Add more tests.
27780 (acosh_test): Likewise.
27781 (asin_test): Likewise.
27782 (atanh_test): Likewise.
27783 (exp_test): Likewise.
27784 (exp10_test): Likewise.
27785 (exp2_test): Likewise.
27786 (expm1_test): Likewise.
27787 (lgamma_test): Likewise.
27788 (log_test): Likewise.
27789 (log10_test): Likewise.
27790 (log1p_test): Likewise.
27791 (log2_test): Likewise.
27792 (pow_test): Do not allow some spurious overflow exceptions.
27793 (sqrt_test): Add more tests.
27794 (tgamma_test): Likewise.
27795 (y0_test): Likewise.
27796 (y1_test): Likewise.
27797 (yn_test): Likewise.
27798
dd62fda6
AB
277992012-03-27 Anton Blanchard <anton@samba.org>
27800
27801 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27802 MAP_HUGETLB.
27803 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27804 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27805 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27806
1e3cdfda
AJ
278072012-03-27 David S. Miller <davem@davemloft.net>
27808
b855ab85
DM
27809 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27810
1e3cdfda
AJ
27811 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27812 have-as-vis3 check.
27813
278142012-03-27 Andreas Jaeger <aj@suse.de>
27815
27816 * sysdeps/x86_64/elf/configure.in: Moved to ...
27817 * sysdeps/x86_64/configure.in: ... here.
27818 * sysdeps/x86_64/elf/start.S: Moved to ...
27819 * sysdeps/x86_64/start.S: ... here.
27820 * sysdeps/x86_64/elf/configure: Delete.
27821
27822 * sysdeps/x86_64/configure.in: Merge contents from
27823 sysdeps/i386/configure.in (without i686 check).
27824
27825 * sysdeps/i386/elf/Versions: Merge into ...
27826 * sysdeps/i386/Versions: ... this.
27827 * sysdeps/i386/elf/Versions: Delete file.
27828 * sysdeps/i386/elf/start.S: Moved to ...
27829 * sysdeps/i386/start.S: ...here.
27830 * sysdeps/i386/elf/configure.in: Merge into...
27831 * sysdeps/i386/configure.in: ...here.
27832 * sysdeps/i386/elf/configure.in: Delete file.
27833 * sysdeps/i386/elf/configure: Delete file.
27834
27835 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27836 * debug/backtracesyms.c: ... here.
27837 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27838 * debug/backtracesymsfd.c: ... here.
27839 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27840 * sysdeps/generic/ifunc-sel.h: ... here.
27841
27842 * sysdeps/unix/i386/start.c: Delete file.
27843 * sysdeps/unix/sparc/start.c: Delete file.
27844 * sysdeps/unix/start.c: Delete file.
27845
27846 * sysdeps/sh/elf/configure.in: Moved to ...
27847 * sysdeps/sh/configure.in: ... here.
27848 * sysdeps/sh/elf/start.S: Moved to ...
27849 * sysdeps/sh/start.S: ... here.
27850 * sysdeps/sh/elf/configure: Delete file.
27851
27852 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27853 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27854 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27855 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27856 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27857 * sysdeps/powerpc/powerpc64/start.S: here.
27858 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27859 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27860 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27861 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27862 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27863
27864 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27865 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27866 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27867 * sysdeps/powerpc/powerpc32/start.S: ... here.
27868 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27869 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27870 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27871
27872 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27873 * sysdeps/powerpc/ifunc-sel.h: ... here.
27874 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27875 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27876
27877 * sysdeps/sparc/elf/configure.in: Moved to ...
27878 * sysdeps/sparc/configure.in: ... here.
27879 * sysdeps/sparc/elf/configure: Delete file.
27880 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27881 * sysdeps/sparc/sparc32/start.S: ... here.
27882 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27883 * sysdeps/sparc/sparc64/start.S: ... here.
27884 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27885 * sysdeps/sparc/sparc32/Makefile: ... this.
27886 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27887 * sysdeps/sparc/sparc64/Makefile: ... this.
27888
27889 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27890 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27891 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27892 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27893 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27894 * sysdeps/s390/s390-32/setjmp.S: ... here.
27895 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27896 * sysdeps/s390/s390-32/configure.in: ... here.
27897 * sysdeps/s390/s390-32/elf/configure: Delete file.
27898 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27899 * sysdeps/s390/s390-32/start.S: ... here.
27900
27901 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27902 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27903 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27904 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27905 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27906 * sysdeps/s390/s390-64/setjmp.S: ... here.
27907 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27908 * sysdeps/s390/s390-64/configure.in: ... here
27909 * sysdeps/s390/s390-64/elf/configure: Delete file.
27910 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27911 * sysdeps/s390/s390-64/start.S: ... here.
27912 * sysdeps/s390/s390-64/elf/configure: Delete.
27913
27914 * configure.in: Remove support for elf directories in sysdeps.
27915
27916 * configure: Regenerated.
27917 * sysdeps/i386/configure: Regenerated.
27918 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27919 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27920 * sysdeps/s390/s390-32/configure: Regenerated.
27921 * sysdeps/s390/s390-64/configure: Regenerated.
27922 * sysdeps/sh/configure: Regenerated.
27923 * sysdeps/sparc/configure: Regenerated.
27924 * sysdeps/x86_64/configure: Regenerated.
27925
a3f61311
AS
279262012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27927
c876e002
AS
27928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27929
a3f61311
AS
27930 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27931 denormal result into account.
27932
ac4c54f0
RM
279332012-03-25 Roland McGrath <roland@hack.frob.com>
27934
27935 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27936 Reported by Allan McRae <allan@archlinux.org>.
27937
6a9b9c02
JL
279382012-03-23 Jeff Law <law@redhat.com>
27939
27940 * nss/getnssent.c (__nss_getent): Fix typo.
27941
4c42a0c1
DM
279422012-03-23 David S. Miller <davem@davemloft.net>
27943
27944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27945
1532c7ac
L
279462012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27947
27948 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27949 to pad to uint64_t for each field.
27950 (dl_tls_index): Replace unsigned long with uint64_t.
27951
3ff42526
PP
279522012-03-23 Daniel Jacobowitz <dmj@google.com>
27953 Paul Pluzhnikov <ppluzhnikov@google.com>
27954
27955 [BZ #6528]
27956 * grp/Makefile (otherlibs): Don't set it.
27957 * inet/Makefile (otherlibs): Likewise.
27958 * login/Makefile (otherlibs): Likewise.
27959 * nscd/Makefile (otherlibs): Likewise.
27960 * posix/Makefile (otherlibs): Likewise.
27961 * pwd/Makefile (otherlibs): Likewise.
27962 * rt/Makefile (otherlibs): Likewise.
27963 * sunrpc/Makefile (otherlibs): Likewise.
27964 * nss/Makefile (otherlibs): Likewise.
27965 Add libnss_files to routines and static-only-routines.
27966 ($(objpfx)getent): Remove rule.
27967 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27968 static-only-routines.
27969
7c69cd14
JM
279702012-03-22 Joseph Myers <joseph@codesourcery.com>
27971
27972 [BZ #13892]
27973 * math/s_cexp.c: Include <float.h>.
27974 (__cexp): Handle exp result overflowing not necessarily
27975 overflowing both real and imaginary parts of result.
27976 * math/s_cexpf.c: Likewise.
27977 * math/s_cexpl.c: Likewise.
27978 * math/libm-test.inc (cexp_test): Add more tests.
27979 * sysdeps/i386/fpu/libm-test-ulps: Update.
27980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27981
81b035fe
L
279822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27983
27984 * include/link.h (ELFW): New macro.
27985 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27986 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27987
1da7940c
L
279882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27989
27990 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27991 with uint64_t.
27992
b749dbb9
L
279932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27994
27995 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27996 declaration.
27997 (struct La_x32_retval): Likewise.
27998
2ff87f3f
L
279992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28000
28001 * sysdeps/x86_64/preconfigure.in: New file.
28002 * sysdeps/x86_64/preconfigure: New generated file.
28003
c0df8e69
JM
280042012-03-22 Joseph Myers <joseph@codesourcery.com>
28005
48e44791
JM
28006 [BZ #13824]
28007 * math/e_exp2l.c: Include <float.h>.
28008 (__ieee754_exp2l): Handle overflow and underflow cases
28009 separately. Only pass fractional part of argument to
28010 __ieee754_expl.
28011 * math/libm-test.inc (exp2_test): Add more tests.
28012
c0df8e69
JM
28013 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28014 negating x to take absolute value.
28015 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28016 Likewise.
28017 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28018 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28019 Likewise.
28020 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28021 computing low part if x was negated.
28022 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28023
c8e43ba7
L
280242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28025
28026 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28027 la_x32_gnu_pltexit.
28028 (pltexit): Cast int_retval to ptrdiff_t.
28029 * elf/tst-auditmod3b.c: Likewise.
28030 * elf/tst-auditmod4b.c: Likewise.
28031 * elf/tst-auditmod5b.c: Likewise.
28032 * elf/tst-auditmod6b.c: Likewise.
28033 * elf/tst-auditmod6c.c: Likewise.
28034 * elf/tst-auditmod7b.c: Likewise.
28035
28036 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28037 and x32_gnu_pltexit.
28038
28039 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28040 __ELF_NATIVE_CLASS.
28041 (La_x32_regs): New macro.
28042 (La_x32_retval): Likewise.
28043 (la_x32_gnu_pltenter): New function prototype.
28044 (la_x32_gnu_pltexit): Likewise.
28045
7998fa78
AS
280462012-03-21 Andreas Schwab <schwab@linux-m68k.org>
28047
dcb33988
AS
28048 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28049 exponent.
28050
233fc563
AS
28051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28052
7998fa78
AS
28053 * configure.in (libc_cv_cc_nofma): Check for option to disable
28054 generation of FMA instructions.
28055 * configure: Regenerate.
28056 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28057 * sysdeps/ieee754/dbl-64/Makefile: New file.
28058 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28059 Remove brandred-fma4.
28060 (CFLAGS-brandred-fma4.c): Remove.
28061 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28062 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28063 define.
28064 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28065 define.
28066
8e95c99a
L
280672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28068
28069 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28070 LLONG_MAX != LONG_MAX.
28071 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28072 (_fitoa_word): Likewise.
28073 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28074 LLONG_MAX != LONG_MAX.
28075 * stdio-common/_itowa.h: Include <_itoa.h>.
28076 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28077 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28078 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28079 only if not defined.
28080 (_ITOA_WORD_TYPE): Likewise.
28081 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28082 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28083
6f4db457
DM
280842012-03-21 David S. Miller <davem@davemloft.net>
28085
28086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28087
7785fe5a
L
280882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28089
28090 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28091 of x86_64 when setting libc_cv_slibdir, libdir and
28092 libc_cv_localedir.
28093 * sysdeps/unix/sysv/linux/configure: Regenerated.
28094
4535cd55
JM
280952012-03-21 Joseph Myers <joseph@codesourcery.com>
28096
28097 * manual/lang.texi (Old Varargs): Remove section.
28098 (How Variadic): Update menu.
28099 (va_start): Do not mention varargs.h.
28100
17228132
TS
281012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28102 Joseph Myers <joseph@codesourcery.com>
28103
28104 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28105 link test.
28106 * configure: Regenerated.
28107
8149f976
TS
281082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28109
05f3d1f6
UD
28110 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28111 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28112 conformtest.pl
8149f976 28113
1a4ac776
JM
281142012-03-21 Joseph Myers <joseph@codesourcery.com>
28115
be22ce65
JM
28116 * NOTES: Remove.
28117 * Makefile (files-for-dist): Remove NOTES.
28118 (NOTES): Remove rule.
28119 * README: Don't refer to NOTES.
28120 * manual/creature.texi: Don't include macros.texi.
28121 * manual/intro.texi (creature.texi): Remove comment referring to
28122 NOTES.
28123
40b601fb
JM
28124 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28125 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28126 * configure: Regenerated.
28127 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28128 LIBC_TRY_CC_OPTION.
28129 (libc_cv_as_i686): Likewise.
28130 (libc_cv_cc_avx): Likewise.
28131 (libc_cv_cc_sse2avx): Likewise.
28132 (libc_cv_cc_fma4): Likewise.
28133 (libc_cv_cc_novzeroupper): Likewise.
28134 * sysdeps/i386/configure: Regenerated.
28135
1a4ac776
JM
28136 [BZ #13883]
28137 * sysdeps/i386/fpu/s_cexp.S: Remove.
28138 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28139 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28140 * math/libm-test.inc (cexp_test): Add more tests.
28141 * sysdeps/i386/fpu/libm-test-ulps: Update.
28142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28143
a458e7fe
AM
281442012-03-21 Allan McRae <allan@archlinux.org>
28145
28146 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28147
0cb7efc5
JM
281482012-03-21 Joseph Myers <joseph@codesourcery.com>
28149
28150 [BZ #13871]
28151 * math/w_exp2.c: Do not include <float.h>.
28152 (o_threshold, u_threshold): Remove.
28153 (__exp2): Calculate result before checking finiteness and calling
28154 __kernel_standard.
28155 * math/w_exp2f.c: Likewise.
28156 * math/w_exp2l.c: Likewise.
28157 * math/libm-test.inc (exp2_test): Require overflow exception for
28158 1e6 input.
2460d3aa
JM
28159
28160 [BZ #3866]
28161 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28162 range of signed 64-bit integers before using fistpll. Remove
28163 checks for whether integers fit in mantissa bits.
28164 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28165 the range of signed 32-bit integers before using fistpl. Remove
28166 checks for whether integers fit in mantissa bits.
28167 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28168 (__ieee754_powl): Test for y outside the range of signed 64-bit
28169 integers before using fistpll. Reduce 64-bit values to 63-bit
28170 ones as needed.
28171 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28172 divide-by-zero is raised for zero to large negative powers.
28173 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28174 (__ieee754_powl): Test for y outside the range of signed 64-bit
28175 integers before using fistpll. Reduce 64-bit values to 63-bit
28176 ones as needed.
28177 * math/libm-test.inc (pow_test): Add more tests.
28178
eb96ffb0
L
281792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28180
28181 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28182 <stdio-common/_itoa.h>.
28183 * debug/segfault.c: Likewise.
28184 * elf/dl-cache.c: Likewise.
28185 * elf/dl-minimal.c: Likewise.
28186 * elf/dl-misc.c: Likewise.
28187 * elf/dl-sysdep.c: Likewise.
28188 * elf/dl-version.c: Likewise.
28189 * elf/rtld.c: Likewise.
28190 * hurd/hurdsock.c: Likewise.
28191 * hurd/lookup-retry.c: Likewise.
28192 * malloc/malloc.c: Likewise.
28193 * malloc/mtrace.c: Likewise.
28194 * nscd/nscd_getgr_r.c: Likewise.
28195 * nscd/nscd_getpw_r.c: Likewise.
28196 * nscd/nscd_getserv_r.c: Likewise.
28197 * posix/getopt_init.c: Likewise.
28198 * posix/wordexp.c: Likewise.
28199 * stdio-common/_itoa.c: Likewise.
28200 * stdio-common/printf_fphex.c: Likewise.
28201 * stdio-common/vfprintf.c: Likewise.
28202 * string/_strerror.c: Likewise.
28203 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28204 * sysdeps/i386/i686/hp-timing.h: Likewise.
28205 * sysdeps/mach/_strerror.c: Likewise.
28206 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28207 * sysdeps/mach/hurd/sethostid.c: Likewise.
28208 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28209 * sysdeps/mach/xpg-strerror.c: Likewise.
28210 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28211 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28212 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28213 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28214 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28215 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28216 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28217 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28218 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28219 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28220 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28221 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28222 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28223 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28224 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28225 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28226 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28227 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28228 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28229 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28230 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28231
28232 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28233
28234 * stdio-common/_itoa.h: Moved to ...
28235 * sysdeps/generic/_itoa.h: Here.
28236
28237 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28238
28239 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28240 instead of "_itoa.h" and "_itowa.h".
28241 * stdio-common/vfprintf.: Likewise.
28242
d1af992d
L
282432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28244
28245 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28246 <bits/wordsize.h>.
28247 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28248 (__signbit): Likwise.
28249 (llrintf): Likwise.
28250 (llrint): Likwise.
28251
114883e0
L
282522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28253
28254 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28255 __WORDSIZE != 64.
28256
c135cc1b
JM
282572012-03-20 Joseph Myers <joseph@codesourcery.com>
28258
28259 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28260 OVERFLOW_EXCEPTION_OK.
28261 * math/libm-test.inc ("Philosophy"): Update comment about
28262 exception testing.
28263 (OVERFLOW_EXCEPTION): Define.
28264 (OVERFLOW_EXCEPTION_OK): Likewise.
28265 (INVALID_EXCEPTION_OK): Renumber.
28266 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28267 (IGNORE_ZERO_INF_SIGN): Likewise.
28268 (test_exceptions): Handle FE_OVERFLOW.
28269 (exp10_test): Expect overflow exceptions.
28270 (exp2_test): Likewise.
28271 (expm1_test): Likewise.
28272 (nextafter_test): Likewise.
28273 (pow_test): Likewise.
28274 (scalbn_test): Likewise.
28275 (scalbln_test): Likewise.
28276
95443d88
L
282772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28278
28279 * sysdeps/x86_64/bits/atomic.h
28280 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28281 64bit integer.
28282 (atomic_exchange_acq): Likewise.
28283 (__arch_exchange_and_add_body): Likewise.
28284 (__arch_add_body): Likewise.
28285 (atomic_add_negative): Likewise.
28286 (atomic_add_zero): Likewise.
28287
490df6c4
L
282882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28289
c2722551 28290 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
28291 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28292
5e52b189
L
282932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28294
28295 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28296 Check __x86_64__ instead of __WORDSIZE.
28297
a9879d4c
L
282982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28299
28300 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28301
5df98260
DM
283022012-03-19 David S. Miller <davem@davemloft.net>
28303
e1497744
DM
28304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28305
5df98260
DM
28306 * sysdeps/sparc/fpu/fenv_private.h: New file.
28307 * sysdeps/sparc/fpu/math_private.h: Use it.
28308 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28309 Remove.
28310 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28311 (libc_feholdexcept_setroundl): Remove.
28312 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28313 Remove.
28314 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28315 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28316
b4c35121
L
283172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28318
28319 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28320 int64_t instead of long int.
28321 (INSERT_WORDS64): Likwise.
28322
56965fd7
L
283232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28324
28325 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28326 _Unwind_GetCFA return to _Unwind_Ptr first.
28327
83d1aec8
JM
283282012-03-19 Joseph Myers <joseph@codesourcery.com>
28329
1897ad44
JM
28330 [BZ #13629]
28331 * math/s_clog.c: Include <float.h>.
28332 (__clog): Scale large or subnormal inputs.
28333 * math/s_clogf.c: Likewise.
28334 * math/s_clogl.c: Likewise.
28335 * math/s_clog10.c: Include <float.h>.
28336 (M_LOG10_2): Define.
28337 (__clog10): Scale large or subnormal inputs.
28338 * math/s_clog10f.c: Likewise.
28339 * math/s_clog10l.c: Likewise.
28340 * math/libm-test.inc (clog_test): Add more tests.
28341 (clog10_test): Likewise.
28342 * sysdeps/i386/fpu/libm-test-ulps: Update.
28343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28344
7726d6a9
JM
28345 [BZ #11451]
28346 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28347 x and y.
28348 * math/libm-test.inc (atan2_test): Add another test.
28349
83d1aec8
JM
28350 * Makerules (common-objdir-compile): Remove.
28351 * sysdeps/unix/Makefile (config-generated): Do not add
28352 $(unix-generated) to variable.
28353 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28354 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28355 Remove rule.
28356 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28357 Likewise.
28358 [generic bits/local_lim.h] (before-compile): Do not append to
28359 variable.
28360 [generic bits/local_lim.h] (common-generated): Likewise.
28361 [generic sys/param.h] (before-compile): Do not append to variable.
28362 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28363 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28364 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28365 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28366 include.
28367 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28368 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28369 [generic sys/param.h] ($(addprefix
28370 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28371 [generic sys/param.h] (common-generated): Do not append to
28372 variable.
28373 [generic sys/param.h] (sysdep_headers): Likewise.
28374 [generic bits/errno.h] (before-compile): Do not append to
28375 variable.
28376 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28377 rule.
28378 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28379 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28380 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28381 [generic bits/errno.h] (common-generated): Do not append to
28382 variable.
28383 [generic bits/ioctls.h] (before-compile): Do not append to
28384 variable.
28385 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28386 rule.
28387 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28388 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28389 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28390 rule.
28391 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28392 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28393 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28394 [generic bits/ioctls.h] (common-generated): Do not append to
28395 variable.
28396 [generic sys/syscall.h] (syscall.h): Remove variable.
28397 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28398 rule.
28399 [generic sys/syscall.h] (before-compile): Do not append to
28400 variable.
28401 [generic sys/syscall.h] (common-generated): Likewise.
28402 * sysdeps/unix/errnos-tmpl.c: Remove file.
28403 * sysdeps/unix/errnos.awk: Likewise.
28404 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28405 * sysdeps/unix/ioctls.awk: Likewise.
28406 * sysdeps/unix/mk-local_lim.c: Likewise.
28407 * sysdeps/unix/snarf-ioctls: Likewise.
28408
4851a949
RH
284092012-03-19 Richard Henderson <rth@twiddle.net>
28410
bd37f2ee
RH
28411 * sysdeps/i386/fpu/fenv_private.h: New file.
28412 * sysdeps/i386/fpu/math_private.h: Use it.
28413 (math_opt_barrier, math_force_eval): Remove.
28414 (libc_feholdexcept_setround_53bit): Remove.
28415 (libc_feupdateenv_53bit): Remove.
28416 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28417 (math_opt_barrier, math_force_eval): Remove.
28418 (libc_feholdexcept): Remove.
28419 (libc_feholdexcept_setround): Remove.
28420 (libc_fetestexcept, libc_fesetenv): Remove.
28421 (libc_feupdateenv_test): Remove.
28422 (libc_feupdateenv, libc_feholdsetround): Remove.
28423 (libc_feresetround): Remove.
28424
d0adc922
RH
28425 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28426 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28427
0fe0f1f8
RH
28428 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28429 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28430 (libc_feupdateenv_testl): New.
28431 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28432 (libc_feupdateenv_testf): New.
28433 (libc_feupdateenv): Use libc_feupdateenv_test.
28434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28435 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28436
eb92c487
RH
28437 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28438 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28439 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28440 (libc_feresetround_noex): New.
28441 (libc_feresetround_noexf): New.
28442 (libc_feresetround_noexl): New.
28443 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28444 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28445 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28446 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28447 SET_RESTORE_ROUND.
28448 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28449 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28450 (__cos): Likewise.
28451 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28452 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28453 SET_RESTORE_ROUND_NOEX.
28454 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28455 SET_RESTORE_ROUND_NOEXF.
28456 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28457 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28458 (libc_feholdsetroundf): New.
28459 (libc_feresetround, libc_feresetroundf): New.
28460
7d2e8012
RH
28461 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28462 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28463 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28464
b4dabbb4
RH
28465 * sysdeps/generic/math_private.h: Include <fenv.h>.
28466 (default_libc_feholdexcept): New.
28467 (default_libc_feholdexcept_setround): New.
28468 (default_libc_fesetenv, default_libc_feupdateenv): New.
28469 (libc_feholdexcept): Only define if undefined.
28470 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28471 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28472 (libc_feholdexcept_setroundl): Likewise.
28473 (libc_feholdexcept_setround_53bit): Likewise.
28474 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28475 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28476 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28477 (libc_feupdateenv_53bit): Likewise.
28478 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28479 (libc_feholdexcept): Convert from macro to inline function.
28480 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28481 (libc_fesetenv, libc_feupdateenv): Likewise.
28482
4851a949
RH
28483 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28484 not previously defined.
28485 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28486 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28487 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28488 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28489 * sysdeps/ieee754/flt-32/math_private.h: New file.
28490 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28491 math_private.h below SET_FLOAT_WORD.
28492 (__isnan, __isinf_ns, __finite): Remove.
28493 (__isnanf, __isinf_nsf, __finitef): Remove.
28494
e79d442e
AS
284952012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28496
28497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28498
90b80344
DM
284992012-03-17 David S. Miller <davem@davemloft.net>
28500
28501 [BZ #6471]
28502 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28503 for 2.16.
28504
edc21804
DM
285052012-03-16 David S. Miller <davem@davemloft.net>
28506
77e927af
DM
28507 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28508 warnings.
28509
374976dd
DM
28510 [BZ #6471]
28511 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28512 properly.
28513 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28514 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28515 sysdep_routines when subdir is sysvipc.
28516 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28517 __getshmlba helper.
28518
edc21804
DM
28519 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28520
473c3ef3
L
285212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28522
28523 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28524 [__LP64__].
28525
eb0f39b6
L
285262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28527
28528 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28529 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28530 (__lround): Renamed to ...
28531 (__llround): This. Replace long int with long long int.
28532 Define lround functions as aliases of llround functions.
28533 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28534
6b6cd74b
L
285352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28536
28537 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28538 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28539 adresses to uintptr_t. Replace "long int" and "unsigned long
28540 int" with "greg_t" on va_arg.
28541
f1a77b01
L
285422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28543
28544 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28545 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28546
28547 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28548 Move e_machine check before EI_CLASS check. Handle x32
28549 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28550 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28551 SKIP_EM_IA_64 and include
28552 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28553
28554 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28555 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28556 (add_system_dir): New macro.
28557
28558 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28559 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28560
11b90b9f
JM
285612012-03-16 Joseph Myers <joseph@codesourcery.com>
28562
c36e1d23
JM
28563 [BZ #2551]
28564 [BZ #2552]
28565 [BZ #2553]
28566 [BZ #2554]
28567 [BZ #2562]
28568 [BZ #2563]
28569 [BZ #2565]
28570 [BZ #2566]
28571 [BZ #2576]
28572 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28573 (y0): Likewise.
28574 * math/w_j0f.c (j0f): Likewise.
28575 (y0f): Likewise.
28576 * math/w_j0l.c (__j0l): Likewise.
28577 (__y0l): Likewise.
28578 * math/w_j1.c (j1): Likewise.
28579 (y1): Likewise.
28580 * math/w_j1f.c (j1f): Likewise.
28581 (y1f): Likewise.
28582 * math/w_j1l.c (__j1l): Likewise.
28583 (__y1l): Likewise.
28584 * math/w_jn.c (jn): Likewise.
28585 (yn): Likewise.
28586 * math/w_jnf.c (jnf): Likewise.
28587 (ynf): Likewise.
28588 * math/w_jnl.c (__jnl): Likewise.
28589 (__ynl): Likewise.
28590 * math/libm-test.inc (j0_test): Add more tests.
28591 (j1_test): Likewise.
28592 (jn_test): Likewise. Add trailing semicolon to existing test.
28593 (y0_test): Likewise.
28594 (y1_test): Likewise.
28595 * sysdeps/i386/fpu/libm-test-ulps: Update.
28596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28597
11b90b9f
JM
28598 [BZ #13851]
28599 [BZ #13854]
28600 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28601 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28602 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28603 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28604 (__tanl): Set errno for infinite argument.
28605 * sysdeps/i386/fpu/mptan.c: Remove.
28606 * sysdeps/i386/fpu/s_tan.S: Likewise.
28607 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28608 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28609 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28610 * math/libm-test.inc (tan_test): Add more tests and enable more
28611 tests for double and long double.
28612 * sysdeps/i386/fpu/libm-test-ulps: Update.
28613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28614
6a1bd2a1
JK
286152012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28616
28617 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28618 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28619
10a803e0
RM
286202012-03-16 Roland McGrath <roland@hack.frob.com>
28621
28622 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28623 * configure.in: Use it for both main tree and add-ons.
28624 * configure: Regenerated.
28625
f196c7f7
L
286262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28627
28628 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28629
8848d99d
JM
286302012-03-16 Joseph Myers <joseph@codesourcery.com>
28631
96cbe7f4
JM
28632 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28633 in comment.
28634
8848d99d
JM
28635 [BZ #13851]
28636 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28637 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28638 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28639 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28640 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28641 infinite argument.
28642 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28643 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28644 != 0 for prec == 2.
28645 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28646 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28647 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28648 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28649 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28650 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28651 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28652 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28653 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28654 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28655 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28656 * math/libm-test.inc (cos_test): Add more tests and enable more
28657 tests for long double.
28658 (sin_test): Likewise.
28659 (sincos_test): Likewise.
28660 * sysdeps/i386/fpu/libm-test-ulps: Update.
28661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28662
dd7f4703
DM
286632012-03-16 David S. Miller <davem@davemloft.net>
28664
28665 * sysdeps/sparc/fpu/math_private.h: New file.
28666
006f1daa
DM
286672012-03-15 David S. Miller <davem@davemloft.net>
28668
c0c83bc8
DM
28669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28670 file.
e6a62e18 28671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28673 file.
e6a62e18
DM
28674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28679 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28680 sysdep routines.
28681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28682
88cb87d9
DM
28683 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28684 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28685
006f1daa 28686 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28688 sparc-ifunc.h
006f1daa 28689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28691 Likewise.
28692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28693 Likewise.
006f1daa
DM
28694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28698 Likewise.
006f1daa
DM
28699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28704 Likewise.
28705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28706 Likewise.
006f1daa
DM
28707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28711 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28713 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28714 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28727 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28728 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28729 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28730 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28731
11e0098e
AS
287322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28733
28734 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28735 scaling.
28736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28737
e85b09d0
AJ
287382012-03-15 Andreas Jaeger <aj@suse.de>
28739
28740 [BZ #13852]
28741 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28742 ieee754/flt-32 implementation for sin, cos and sincos.
28743 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28744 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28745 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28746 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28747 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28748 ieee754/flt-32 implementation for tan.
28749
28750 * math/libm-test.inc (cos_test): Enable some large input tests for
28751 float as well
28752 (sin_test): Likewise.
28753 (sincos_test): Likewise.
28754 (tan_test): Add tests for large input.
28755
28756 * sysdeps/i386/fpu/libm-test-ulps: Update.
28757
81c64153
AJ
287582012-03-15 Andreas Jaeger <aj@suse.de>
28759
28760 [BZ #13658]
28761 * math/libm-test.inc (cos_test): Add more test cases.
28762 (sin_test): Likewise.
28763 (sincos_test): Likewise.
28764
7bbfa5c6
AJ
287652012-03-15 Andreas Jaeger <aj@suse.de>
28766
28767 [BZ #13837]
28768 * math/libm-test.inc (cos_test): Add a test case for large input
28769 value.
28770 (sin_test): Likewise.
28771 (sincos_test): Likewise.
28772
287732012-03-15 Andreas Jaeger <aj@suse.de>,
28774 Joseph Myers <joseph@codesourcery.com>
28775
28776 [BZ #13658]
0671f479 28777 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28778 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28779 * sysdeps/i386/fpu/branred.c: Likewise.
28780 * sysdeps/i386/fpu/dosincos.c: Likewise.
28781 * sysdeps/i386/fpu/mpa.c: Likewise.
28782 * sysdeps/i386/fpu/s_cos.S: Likewise.
28783 * sysdeps/i386/fpu/s_sin.S: Likewise.
28784 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28785 * sysdeps/i386/fpu/sincos32.c: Likewise.
28786
28787 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28788 Define.
28789 (libc_feupdateenv_53bit): Define.
28790 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28791 Define.
28792 (libc_feupdateenv_53bit): Define.
28793
28794 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28795 53 bit (without extend i386 double precision).
28796
28797 * math/libm-test.inc (sincos_test): Add tests for large input.
28798 (sin): Likewise.
28799 (cos): Likewise.
28800
28801 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28802
9cad04ea
AS
288032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28804
28805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28806
f7062b9a
DM
288072012-03-15 David S. Miller <davem@davemloft.net>
28808
28809 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28810 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28811 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28812 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28825 file.
f7062b9a 28826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28828 file.
f7062b9a 28829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28831 file.
f7062b9a 28832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28834 file.
f7062b9a
DM
28835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28837 fmin/fmax sysdep routines.
28838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28839
7bd951ff
DM
288402012-03-14 David S. Miller <davem@davemloft.net>
28841
559398ab
DM
28842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28846 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28847 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28848 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28849 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28851 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28852 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28862 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28863 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28864 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28866 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28868 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28869 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28870 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28871 routines.
28872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28873 file.
559398ab 28874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28876 file.
559398ab 28877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28879 file.
559398ab 28880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28882 file.
559398ab 28883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28885 file.
559398ab 28886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28888 file.
28889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28890 file.
28891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28892 file.
28893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28894 file.
28895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28896 New file.
28897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28898 file.
28899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28900 file.
559398ab 28901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28903 file.
559398ab 28904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28906 file.
559398ab 28907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28909 file.
559398ab 28910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28912 VIS3 routines.
559398ab
DM
28913
28914 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28915 New file.
28916
5a1c1e32
DM
28917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28918
eae47a36
DM
28919 * sysdeps/sparc/configure.in: New file.
28920 * sysdeps/sparc/configure: Generate.
28921 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28922 * configure: Regenerate.
28923 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28924 * config.make.in (have-as-vis3): New.
28925 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28926 available use -Av9d instead of -Av9a.
28927 * sysdeps/sparc/sparc64/Makefile: Likewise.
28928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28930 New file.
28931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28932 file.
28933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28934 New file.
28935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28936 file.
eae47a36
DM
28937 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28938 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28942
c0c83bc8
DM
28943 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28944 fzeros/fnegs to load 0x80000000 into a float register instead of
28945 using the stack.
7bd951ff
DM
28946 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28947
bd951ccb
JM
289482012-03-14 Joseph Myers <joseph@codesourcery.com>
28949
28950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28951 bits/syscall.h.
28952 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28953 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28954 ($(inst_includedir)/bits/syscall.h): Remove rule.
28955 ($(objpfx)bits/syscall.d): Include instead of
28956 $(objpfx)syscall-list.d.
28957 (generated): Change syscall-list.h and syscall-list.d to
28958 bits/syscall.h and bits/syscall.d.
28959
bb4e6db2
RM
289602012-03-14 Roland McGrath <roland@hack.frob.com>
28961
28962 [BZ #13846]
28963 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28964
aa4a2ae1
JM
289652012-03-14 Joseph Myers <joseph@codesourcery.com>
28966
e456826d
JM
28967 [BZ #13841]
28968 * math/s_csqrt.c: Include <float.h>.
28969 (__csqrt): Scale large or subnormal inputs.
28970 * math/s_csqrtf.c: Likewise.
28971 * math/s_csqrtl.c: Likewise.
28972 * math/libm-test.inc (csqrt_test): Add more tests.
28973 * sysdeps/i386/fpu/libm-test-ulps: Update.
28974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28975
aa4a2ae1
JM
28976 [BZ #13840]
28977 * math/libm-test.inc (hypot_test): Add more tests.
28978
7c10fd35
DM
289792012-03-13 David S. Miller <davem@davemloft.net>
28980
28981 [BZ #13840]
28982 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28983 double-precision for the calculation instead of scaling.
28984
f453b98b
JM
289852012-03-13 Joseph Myers <joseph@codesourcery.com>
28986
28987 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28988 manipulate bits before adding and subtracting TWO52[sx].
28989 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28990 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28991 Likewise.
28992 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28993
09a3453f
DM
289942012-03-13 David S. Miller <davem@davemloft.net>
28995
8e59da90
DM
28996 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28997 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28998 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28999 rtld-global-offsets.h
29000 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29001
2a8ab7f2
DM
29002 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29003 large parameters.
29004
10f62770
DM
29005 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29006
5f0bdb18
DM
29007 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29008 'err' in the ifdef scope in which it is actually used.
29009
09a3453f
DM
29010 * nss/nss_db/db-init.c: Include string.h
29011
b4b2eb5e
DM
290122012-03-12 David S. Miller <davem@davemloft.net>
29013
98bb2f1c
DM
29014 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29015 masking out of the most significant byte of random value used.
29016 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29017 Fix coding style in previous change.
29018
b4b2eb5e
DM
29019 * sysdeps/unix/sysv/linux/kernel-features.h
29020 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29021 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29022 expression.
29023 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29024 later.
29025
6e226b09
DM
290262012-03-11 David S. Miller <davem@davemloft.net>
29027
a1bcbd40
DM
29028 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29029 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29030 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29031 for 'resultvar' otherwise things get truncated on 64-bit.
29032
cb9d6174
DM
29033 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29034 Fix masking out of the most significant byte of random value used.
29035
6e226b09
DM
29036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29037
058c132d
AS
290382012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29039
29040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29041
2d2cd515
DM
290422012-03-09 David S. Miller <davem@davemloft.net>
29043
29044 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29045 variables with appropriate CPP guards.
29046 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29047 frame pointer, not the stack pointer. Correct layout comments. Fix test
29048 on resulting framesize and the management of the outregs buffer for pltexit.
29049 Preserve floating point return values across _dl_call_pltexit call.
29050 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29051 framesize and the management of the outregs buffer for pltexit.
29052 Preserve floating point return values across _dl_call_pltexit
29053 call.
29054 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29055 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29056 (print_exit): Fix format string for return register value.
29057
9a07f9d0
JM
290582012-03-10 Joseph Myers <joseph@codesourcery.com>
29059
29060 * sunrpc/Makefile (others): Add rpcgen.
29061 ($(objpfx)rpcgen): Remove special build rule and dependency on
29062 libc.
29063 * sunrpc/rpcgen.c: New file.
29064
547b5e30
PE
290652012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29066
c524201a
PE
29067 [BZ #13673]
29068 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29069 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29070 * sysdeps/i386/crti.S: Likewise.
29071 * sysdeps/i386/crtn.S: Likewise.
29072 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29073 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29074 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29075 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29076 * sysdeps/sh/crti.S: Likewise.
29077 * sysdeps/sh/crtn.S: Likewise.
29078 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29079
7b6235f2
PE
29080 [BZ #13673]
29081 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29082 with URL.
29083 * locale/programs/locfile-kw.gperf: Likewise.
29084 * locale/programs/charmap-kw.h: Regenerated.
29085 * locale/programs/locfile-kw.h: Likewise.
29086
547b5e30
PE
29087 [BZ #13673]
29088 * intl/plural.y: Replace FSF snail mail address with URL.
29089 * intl/plural.c: Regenerated.
29090
5f0a5dae
RH
290912012-03-09 Richard Henderson <rth@twiddle.net>
29092
29093 * include/math_private.h: Remove file.
29094 * math/math_private.h: Move file ...
29095 * sysdeps/generic/math_private.h: ... here.
29096
b8c03620
RH
29097 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29098 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29099 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29100
4e234f5d 29101 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
29102 and <math_private.h>.
29103 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29104 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29105 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29106 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29107 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29108 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29109 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29110 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29111 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29112 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29114 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29115 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29116 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29117 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29118 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29119 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29120 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29121 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29122 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29123 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29124 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29125 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29126 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29127 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29128 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29129 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29130 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29131 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29132 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29133 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29134 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29135 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29136 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29137 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29138 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29139 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29140 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29141 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29142 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29143 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29144 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29145 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29146 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29147 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29148 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29149 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29150 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29151 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29152 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29153 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29154 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29155 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29156 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29157 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29158 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29159 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29160 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29161 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29162 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29163 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29164 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29165 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29166 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29167 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29168 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29169 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29170 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29171 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29172 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29173 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29174 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29175 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29176 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29177 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29178 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29179 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29180 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29181 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29182 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29183 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29184 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29185 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29186 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29187 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29188 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29189 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29190 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29191 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29192 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29193 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29194 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29195 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29196 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29197 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29198 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29199 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29200 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29201 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29202 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29203 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29204 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29205 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29206 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29207 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29208 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29209 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29210 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29211 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29212 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29213 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29214 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29215 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29216 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29217 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29218 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29219 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29220 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29221 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29222 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29223 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29224 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29225 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29226 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29227 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29228 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29229 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29230 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29231 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29232 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29233 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29234 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29235 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29236 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29237 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29238 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29239 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29240 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29241 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29242 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29243 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29244 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29245 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29246 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29247 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29248 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29249 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29250 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29251 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29252 * sysdeps/ieee754/k_standard.c: Likewise.
29253 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29254 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29255 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29256 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29257 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29258 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29259 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29260 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29261 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29262 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29263 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29264 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29265 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29266 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29267 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29268 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29269 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29270 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29271 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29272 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29273 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29274 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29275 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29276 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29277 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29278 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29279 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29280 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29281 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29282 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29283 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29284 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29285 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29286 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29287 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29288 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29289 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29290 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29291 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29292 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29293 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29294 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29295 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29296 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29297 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29298 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29299 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29300 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29301 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29302 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29303 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29304 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29305 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29306 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29307 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29308 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29309 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29310 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29311 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29312 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29313 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29314 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29315 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29316 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29317 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29318 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29319 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29320 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29321 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29322 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29323 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29324 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29325 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29326 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29327 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29328 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29329 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29330 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29331 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29332 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29333 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29334 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29335 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29336 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29337 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29338 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29339 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29340 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29341 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29343 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29344 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29345 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29346 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29347 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29348 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29349 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29350 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29351 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29352 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29353 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29354 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29355 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29356 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29357 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29358 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29359 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29360 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29361 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29362 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29363 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29364 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29365 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29366 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29367 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29368 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29369 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29370 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29371 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29372 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29373 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29374 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29375 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29376 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29377 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29378 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29379 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29380 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29381 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29382 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29383 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29384 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29385 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29386 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29387 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29388 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29389 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29390 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29391 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29392 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29393 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29394 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29395 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29396 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29397 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29398 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29399 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29400 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29401 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29402 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29403 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29404 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29405 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29406 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29407 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29408 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29409 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29410 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29411 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29412 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29413 * sysdeps/ieee754/s_lib_version.c: Likewise.
29414 * sysdeps/ieee754/s_matherr.c: Likewise.
29415 * sysdeps/ieee754/s_signgam.c: Likewise.
29416 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29417 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29418 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29419 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29420 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29421 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29422 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29423 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29424 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29425 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29426 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29427 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29428 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29429 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29430 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29431 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29432 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29433 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29434 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29435 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29436 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 29437
1991fa03
JM
294382012-03-09 Joseph Myers <joseph@codesourcery.com>
29439
29440 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29441 * sunrpc/rpc_main.c: Likewise.
29442 * sunrpc/rpc_svcout.c: Likewise.
29443
60d6f5a6
DM
294442012-03-09 David S. Miller <davem@davemloft.net>
29445
29446 * include/math_private.h: New file.
29447
4962050e
JM
294482012-03-09 Joseph Myers <joseph@codesourcery.com>
29449
02a6f887
JM
29450 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29451 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29452 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29453 from <bits/socket_type.h>.
29454 (enum __socket_type): Don't define here.
29455 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29457 bits/socket_type.h.
29458
c6e013c1
JM
29459 [BZ #13566]
29460 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29461 checking __USE_GNU.
29462
4962050e
JM
29463 * Makerules ($(inst_includedir)/%.h): New rule.
29464 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29465 (install-others): Remove variable setting.
29466 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29467
38842f45
RH
294682012-03-08 Richard Henderson <rth@twiddle.net>
29469
67bb6da6
RH
29470 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29471 from macro to inline function; merge with the
29472 !__LIBC_INTERNAL_MATH_INLINES version.
29473 (__ieee754_sqrtf): Likewise.
29474
15194b4b
RH
29475 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29476 to inline function.
29477 (__rintf, __floor, __floorf): Likewise.
29478
64e21ede
RH
29479 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29480 macro to inline function.
29481 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29482
38842f45
RH
29483 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29484 not <math/math_private.h>.
29485
c64bf5fe
DM
294862012-03-08 David S. Miller <davem@davemloft.net>
29487
29488 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29489 copyright year.
29490 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29491
82d86f28
TS
294922012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29493
29494 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29495 normalization.
29496 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29497 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29498
aea5d727
UD
294992012-03-08 Ulrich Drepper <drepper@gmail.com>
29500
29501 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29502 be defined individually, they must be defined as a block. Define
29503 S for printing a string instead of hidint the different by using a
29504 macro for adding the 'l'.
29505 * stdio-common/tst-fphex-wide.c: Adjust.
29506
70bca0a3
MP
295072012-03-07 Marek Polacek <polacek@redhat.com>
29508
29509 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29510
65b81130
MP
295112012-03-08 Marek Polacek <polacek@redhat.com>
29512
29513 [BZ #13806]
29514 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29515 * stdio-common/tst-fphex.c: Define a few macros to make the
29516 test reusable. Use them.
29517 * stdio-common/tst-fphex-wide.c: New file.
29518
07037eeb
JM
295192012-03-08 Joseph Myers <joseph@codesourcery.com>
29520
a7a93d50
JM
29521 [BZ #6911]
29522 * manual/macros.texi (gnusystems): New macro.
29523 (nongnusystems): Likewise.
29524 (gnulinuxhurdsystems): Likewise.
29525 (gnuhurdsystems): Likewise..
29526 (gnulinuxsystems): Likewise.
29527 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29528 variants of the GNU system, not "GNU system".
29529 * manual/conf.texi: Likewise.
29530 * manual/errno.texi: Likewise. Update example of errno macro
29531 expansion.
29532 * manual/filesys.texi: Likewise.
29533 (getumask): Document as specific to GNU/Hurd.
29534 * manual/install.texi: Likewise. Reword some references to
29535 GNU/Linux.
29536 * manual/intro.texi: Likewise.
29537 * manual/io.texi: Likewise.
29538 (File Name Portability): Detail which constraints are inapplicable
29539 to all GNU systems and which are only inapplicable to GNU/Hurd.
29540 * manual/job.texi: Likewise.
29541 * manual/llio.texi: Likewise.
29542 (O_NOCTTY): Document as present on GNU/Linux.
29543 * manual/maint.texi: Likewise.
29544 * manual/memory.texi: Likewise.
29545 * manual/pattern.texi: Likewise.
29546 * manual/pipe.texi: Likewise.
29547 * manual/process.texi: Likewise.
29548 * manual/resource.texi: Likewise.
29549 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29550 child on GNU/Hurd.
29551 * manual/setjmp.texi: Likewise.
29552 * manual/signal.texi: Likewise.
29553 * manual/startup.texi: Likewise.
29554 * manual/stdio.texi: Likewise.
29555 * manual/terminal.texi: Likewise.
29556 (ONLCR): Document as POSIX.
29557 (OXTABS): Document availability on GNU/Linux as XTABS.
29558 (ONOEOT): Document availability separately from other bits.
29559 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29560 * manual/time.texi: Likewise.
29561 * manual/users.texi: Likewise.
29562 * INSTALL: Regenerated.
29563 * sysdeps/gnu/errlist.c: Regenerated.
29564
07037eeb
JM
29565 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29566 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29567 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29568 puts.
29569 * configure: Regenerated.
29570
d1d3431a
JM
295712012-03-07 Joseph Myers <joseph@codesourcery.com>
29572
af6a1e37
JM
29573 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29574 default includes instead of AC_HEADER_CHECK.
29575 * sysdeps/i386/configure: Regenerated.
29576
d1d3431a
JM
29577 [BZ #10716]
29578 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29579 * math/s_cacoshf.c (__cacoshf): Likewise.
29580 * math/s_cacoshl.c (__cacoshl): Likewise.
29581 * math/s_casinh.c (__casinh): Set signs of result from argument.
29582 * math/s_casinhf.c (__casinhf): Likewise.
29583 * math/s_casinhl.c (__casinhl): Likewise.
29584 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29585 (casinh_test): Add more tests.
29586 * sysdeps/i386/fpu/libm-test-ulps: Update.
29587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29588
482ff4da
UD
295892012-03-07 Ulrich Drepper <drepper@gmail.com>
29590
872fda05
UD
29591 * po/zh_TW.po: Update from translation team.
29592
a4300c7a
UD
29593 * login/Makefile (distribute): Remove variable.
29594 * catgets/Makefile: Likewise.
29595 * mach/Makefile: Likewise.
29596 * malloc/Makefile: Likewise.
29597 * misc/Makefile: Likewise.
29598 * iconv/Makefile: Likewise.
29599 * nscd/Makefile: Likewise.
29600 * hurd/Makefile: Likewise.
29601 * manual/Makefile: Likewise.
29602 * locale/Makefile: Likewise.
29603 * intl/Makefile: Likewise.
29604 * conform/Makefile: Likewise.
29605 * nss/Makefile: Likewise.
29606 * time/Makefile: Likewise.
29607 * soft-fp/Makefile: Likewise.
29608 * dirent/Makefile: Likewise.
29609 * gmon/Makefile: Likewise.
29610 * po/Makefile: Likewise.
29611 * rt/Makefile: Likewise.
29612 * socket/Makefile: Likewise.
29613 * math/Makefile: Likewise.
29614 * signal/Makefile: Likewise.
29615 * debug/Makefile: Likewise.
29616 * elf/Makefile: Likewise.
29617 * timezone/Makefile: Likewise.
29618 * stdlib/Makefile: Likewise.
29619 * iconvdata/Makefile: Likewise.
29620 * sunrpc/Makefile: Likewise.
29621 * io/Makefile: Likewise.
29622 * argp/Makefile: Likewise.
29623 * inet/Makefile: Likewise.
29624 * hesiod/Makefile: Likewise.
29625 * grp/Makefile: Likewise.
29626 * csu/Makefile: Likewise.
29627 * wctype/Makefile: Likewise.
29628 * crypt/Makefile: Likewise.
29629 * libio/Makefile: Likewise.
29630 * string/Makefile: Likewise.
29631 * nis/Makefile: Likewise.
29632 * resolv/Makefile: Likewise.
29633 * stdio-common/Makefile: Likewise.
29634 * wcsmbs/Makefile: Likewise.
29635 * dlfcn/Makefile: Likewise.
29636 * posix/Makefile: Likewise.
29637
3b7c4e74 29638 [BZ #6959]
482ff4da
UD
29639 * timezone/Makefile: Don't install timezone files, just the programs
29640 and scripts.
29641
f72ed77d
UD
296422012-03-06 Ulrich Drepper <drepper@gmail.com>
29643
a000466f
UD
29644 * nss/databases.def: Add missing gshadow entry.
29645
f72ed77d
UD
29646 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29647
a53b7a4e
MP
296482012-03-06 Marek Polacek <polacek@redhat.com>
29649
29650 [BZ #13726]
29651 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29652 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29653 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29654 * stdio-common/tst-long-dbl-fphex.c: New file.
29655
e9258400
DM
296562012-03-06 David S. Miller <davem@davemloft.net>
29657
29658 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29659 (set_obp_int): New function.
29660 (get_obp_int): New function.
29661 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29662 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29663 Avoid unused variable warnings on 'val' and use builtin_expect.
29664 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29665 __builtin_expect.
e9258400
DM
29666 (INLINE_CLONE_SYSCALL): Likewise.
29667
3bd2c723
DM
296682012-03-05 David S. Miller <davem@davemloft.net>
29669
29670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29671
bbb78d03
AS
296722012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29673
884c5db4
AS
29674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29675
bbb78d03
AS
29676 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29677 only for |x| >= 40.
29678 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29679
1c9f702a 296802012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29681
29682 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29683 Replace gettimeofday with __vdso_gettimeofday.
29684
7be16f82
RM
29685 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29686 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29687 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29688
29689 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29690 time with __vdso_time.
29691
ed58a00f
JM
296922012-03-05 Joseph Myers <joseph@codesourcery.com>
29693
29694 * manual/lang.texi (size_t): Note types to which size_t may be
29695 equivalent with the GNU C Library, but do not describe when
29696 differences between them are significant.
29697
30ee4ced
AJ
296982012-03-05 Andreas Jaeger <aj@suse.de>
29699
29700 * sysdeps/i386/fpu/libm-test-ulps: Update.
29701
b7cd39e8
JM
297022012-03-05 Joseph Myers <joseph@codesourcery.com>
29703
29704 [BZ #3976]
29705 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29706 (__ieee754_pow): Save and restore rounding mode and use
29707 round-to-nearest for main computations.
29708 * math/libm-test.inc (pow_test_tonearest): New function.
29709 (pow_test_towardzero): Likewise.
29710 (pow_test_downward): Likewise.
29711 (pow_test_upward): Likewise.
29712 (main): Call the new functions.
29713 * sysdeps/i386/fpu/libm-test-ulps: Update.
29714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29715
29716 [BZ #3976]
29717 * math/libm-test.inc (cosh_test_tonearest): New function.
29718 (cosh_test_towardzero): Likewise.
29719 (cosh_test_downward): Likewise.
29720 (cosh_test_upward): Likewise.
29721 (sinh_test_tonearest): Likewise.
29722 (sinh_test_towardzero): Likewise.
29723 (sinh_test_downward): Likewise.
29724 (sinh_test_upward): Likewise.
29725 (main): Call the new functions.
29726 * sysdeps/i386/fpu/libm-test-ulps: Update.
29727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29728
6c6a98c9
TV
297292012-03-05 Tom de Vries <tom@codesourcery.com>
29730
29731 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29732 default stack guard is set in last bytes.
29733 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29734
21bb2d2e 297352012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29736
21bb2d2e 29737 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29738
21bb2d2e
AJ
29739 [BZ #13656]
29740 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29741 possibly allocate from heap instead of stack.
29742 * stdio-common/bug-vfprintf-nargs.c: New file.
29743 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29744
c6922934
AS
297452012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29746
29747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29748
bc957d53
MP
297492012-03-03 Marek Polacek <polacek@redhat.com>
29750
29751 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29752 * math/math_private.h: Likewise.
29753 * stdlib/tst-strtod.c: Likewise.
29754 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29755 * sysdeps/x86_64/bits/atomic.h: Likewise.
29756
6358490d
DM
297572012-03-02 David S. Miller <davem@davemloft.net>
29758
29759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29763 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29764 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29765 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29766 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29767
01ae168d
RM
297682012-03-02 Roland McGrath <roland@hack.frob.com>
29769
d9a17c07
RM
29770 [BZ #13792]
29771 * manual/examples/README: New file, says the example source files
29772 can be used under GPL>=2.
29773 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29774 line containing just "*/".
29775 * manual/examples/add.c: Add copyright header (GPL>=2).
29776 * manual/examples/argp-ex1.c: Likewise.
29777 * manual/examples/argp-ex2.c: Likewise.
29778 * manual/examples/argp-ex3.c: Likewise.
29779 * manual/examples/argp-ex4.c: Likewise.
29780 * manual/examples/atexit.c: Likewise.
29781 * manual/examples/db.c: Likewise.
29782 * manual/examples/dir.c: Likewise.
29783 * manual/examples/dir2.c: Likewise.
29784 * manual/examples/execinfo.c: Likewise.
29785 * manual/examples/filecli.c: Likewise.
29786 * manual/examples/filesrv.c: Likewise.
29787 * manual/examples/fmtmsgexpl.c: Likewise.
29788 * manual/examples/genpass.c: Likewise.
29789 * manual/examples/inetcli.c: Likewise.
29790 * manual/examples/inetsrv.c: Likewise.
29791 * manual/examples/isockad.c: Likewise.
29792 * manual/examples/longopt.c: Likewise.
29793 * manual/examples/memopen.c: Likewise.
29794 * manual/examples/memstrm.c: Likewise.
29795 * manual/examples/mkfsock.c: Likewise.
29796 * manual/examples/mkisock.c: Likewise.
29797 * manual/examples/mygetpass.c: Likewise.
29798 * manual/examples/pipe.c: Likewise.
29799 * manual/examples/popen.c: Likewise.
29800 * manual/examples/rprintf.c: Likewise.
29801 * manual/examples/search.c: Likewise.
29802 * manual/examples/select.c: Likewise.
29803 * manual/examples/setjmp.c: Likewise.
29804 * manual/examples/sigh1.c: Likewise.
29805 * manual/examples/sigusr.c: Likewise.
29806 * manual/examples/stpcpy.c: Likewise.
29807 * manual/examples/strdupa.c: Likewise.
29808 * manual/examples/strftim.c: Likewise.
29809 * manual/examples/strncat.c: Likewise.
29810 * manual/examples/subopt.c: Likewise.
29811 * manual/examples/swapcontext.c: Likewise.
29812 * manual/examples/termios.c: Likewise.
29813 * manual/examples/testopt.c: Likewise.
29814 * manual/examples/testpass.c: Likewise.
29815 * manual/examples/timeval_subtract.c: Likewise.
29816
01ae168d
RM
29817 [BZ #13792]
29818 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29819 function to ...
29820 * manual/timeval_subtract.c.texi: ... here, new file.
29821
49efa33d
DM
298222012-03-02 David S. Miller <davem@davemloft.net>
29823
29824 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29825
28afd92d
JM
298262012-03-02 Joseph Myers <joseph@codesourcery.com>
29827
804360ed
JM
29828 [BZ #3976]
29829 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29830 (__sin): Save and restore rounding mode and use round-to-nearest
29831 for all computations.
29832 (__cos): Save and restore rounding mode and use round-to-nearest
29833 for all computations.
29834 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29835 <fenv.h>.
29836 (tan): Save and restore rounding mode and use round-to-nearest for
29837 all computations.
29838 * math/libm-test.inc (cos_test_tonearest): New function.
29839 (cos_test_towardzero): Likewise.
29840 (cos_test_downward): Likewise.
29841 (cos_test_upward): Likewise.
29842 (sin_test_tonearest): Likewise.
29843 (sin_test_towardzero): Likewise.
29844 (sin_test_downward): Likewise.
29845 (sin_test_upward): Likewise.
29846 (tan_test_tonearest): Likewise.
29847 (tan_test_towardzero): Likewise.
29848 (tan_test_downward): Likewise.
29849 (tan_test_upward): Likewise.
29850 (main): Call the new functions.
29851 * sysdeps/i386/fpu/libm-test-ulps: Update.
29852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29853
a6d06d7b
JM
29854 [BZ #10135]
29855 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29856 small n, then large n, before computing and testing k+n.
29857 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29858 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29859 Likewise.
29860 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29861 Likewise.
29862 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29863 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29864 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29865 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29866 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29867 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29868 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29869 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29870 * math/libm-test.inc (scalbn_test): Add more tests.
29871 (scalbln_test): Likewise.
29872
07e12bb3
JM
29873 * manual/filesys.texi (mode_t): Describe constraints on size and
29874 signedness, not exact equivalence to a particular type.
29875 (ino_t): Likewise.
29876 (ino64_t): Likewise.
29877 (dev_t): Likewise.
29878 (nlink_t): Likewise.
29879 (blkcnt_t): Likewise.
29880 (blkcnt64_t): Likewise.
29881 * manual/llio.texi (off_t): Likewise.
29882
28afd92d
JM
29883 [BZ #3976]
29884 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29885 (__ieee754_exp): Save and restore rounding mode and use
29886 round-to-nearest for all computations.
29887 * math/libm-test.inc (exp_test_tonearest): New function.
29888 (exp_test_towardzero): Likewise.
29889 (exp_test_downward): Likewise.
29890 (exp_test_upward): Likewise.
29891 (main): Call the new functions.
29892 * sysdeps/i386/fpu/libm-test-ulps: Update.
29893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29894
b1eeb65d
CD
298952012-03-01 Chris Demetriou <cgd@google.com>
29896
29897 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29898 have predictable order.
29899
53362a4b
DM
299002012-03-01 David S. Miller <davem@davemloft.net>
29901
3c969083
DM
29902 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29903
759707de
DM
29904 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29905 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29906 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29907 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29908
dfdb8ff2
DM
29909 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29910 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29911 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29913 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29914 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29915 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29916 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29917 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29918
ead89f96
DM
29919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29920
7f66bd07
DM
29921 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29922 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29923 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29924
53362a4b
DM
29925 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29926 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29927 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29928 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29929 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29930 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29931 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29932 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29933 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29934 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29935 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29936 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29937 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29938 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29939 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29940 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29941 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29942 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29943 * sysdeps/sparc/elf/configure: Regenerated.
29944
7b1902cb
JM
299452012-03-01 Joseph Myers <joseph@codesourcery.com>
29946
bec039bc
JM
29947 * configure.in (AS, LD): Require binutils 2.20 or later.
29948 * configure: Regenerated.
29949 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29950 as required minimum version.
29951 * INSTALL: Regenerated.
29952
7b1902cb
JM
29953 [BZ #2541]
29954 [BZ #4108]
29955 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29956 before squaring exponent.
29957 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29958 bottom long double and 27 bits of top long double before squaring
29959 exponent.
29960 * math/libm-test.inc (erfc_test): Add more tests.
29961 * sysdeps/i386/fpu/libm-test-ulps: Update.
29962 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29964
f775c276
KT
299652012-03-01 Kai Tietz <ktietz@redhat.com>
29966
29967 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29968 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29969 containing bit-fields.
29970 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29971 * soft-fp/single.h (_FP_UNION_S): Likewise.
29972 * soft-fp/double.h (_FP_UNION_D): Likewise.
29973
5b8a4d4a
JM
299742012-02-29 Joseph Myers <joseph@codesourcery.com>
29975
0bab47b6
JM
29976 [BZ #13786]
29977 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29978 not include ../strcmp.S.
29979 [USE_AS_STRNCASECMP_L]: Likewise.
29980 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29981 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29982 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29983 (__strncasecmp_l_ia32): Define as alias to
29984 __strncasecmp_l_nonascii.
29985
0fcad3e2
JM
29986 [BZ #5794]
29987 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29988 * sysdeps/i386/fpu/libm-test-ulps: Update.
29989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29990
5b8a4d4a
JM
29991 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29993
8fdceb2e
JL
299942012-02-29 Jeff Law <law@redhat.com>
29995
29996 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29997 out of bounds read.
29998
1f393a11
MP
299992012-02-29 Marek Polacek <polacek@redhat.com>
30000
30001 [BZ #13706]
30002 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30003 * elf/Makefile: Add rules to run tst-unused-dep.out.
30004
8847f037
DM
300052012-02-28 David S. Miller <davem@davemloft.net>
30006
30007 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30008 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30009 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30010 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30011 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30012 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30013
169d7f11
JM
300142012-02-29 Joseph Myers <joseph@codesourcery.com>
30015
30016 * math/libm-test.inc (llround_test): Move one test from
30017 lround_test. Use TEST_f_L in moved test.
30018 (lround_test): Move misplaced test to llround_test. Add testcase
30019 from bug 2561.
30020
39adf059
UD
300212012-02-28 Ulrich Drepper <drepper@gmail.com>
30022
30023 * sysdeps/x86_64/fpu/e_expf.S: New file.
30024 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30025
71b5d1c5
SB
300262012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30027
30028 [BZ #13637]
30029 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30030 of remain_len that may cause incomplete multi-byte character and
30031 false match.
30032 * posix/bug-regex33.c: New file.
30033 * posix/Makefile (tests): Add bug-regex33.
30034
1f77f049
JM
300352012-02-28 Joseph Myers <joseph@codesourcery.com>
30036
30037 * manual/macros.texi: New file.
30038 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30039 * manual/libc.texinfo: Include macros.texi.
30040 * manual/creatute.texi: Likewise.
30041 * manual/install.texi: Likewise.
30042 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30043 @glibcadj{} in references to the GNU C Library.
30044 * manual/charset.texi: Likewise.
30045 * manual/conf.texi: Likewise.
30046 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
30047 when not using those macros.
30048 * manual/creature.texi: Likewise.
30049 * manual/crypt.texi: Likewise.
30050 * manual/errno.texi: Likewise.
30051 * manual/filesys.texi: Likewise.
30052 * manual/header.texi: Likewise.
30053 * manual/install.texi: Likewise.
30054 * manual/intro.texi: Likewise.
30055 * manual/io.texi: Likewise.
30056 * manual/job.texi: Likewise.
30057 * manual/lang.texi: Likewise.
30058 * manual/libc.texiinfo: Likewise.
30059 * manual/llio.texi: Likewise.
30060 * manual/locale.texi: Likewise.
30061 * manual/maint.texi: Likewise.
30062 * manual/math.texi: Likewise.
30063 * manual/memory.texi: Likewise.
30064 * manual/message.texi: Likewise.
30065 * manual/nss.texi: Likewise.
30066 * manual/pattern.texi: Likewise.
30067 * manual/process.texi: Likewise.
30068 * manual/resource.texi: Likewise.
30069 * manual/search.texi: Likewise.
30070 * manual/setjmp.texi: Likewise.
30071 * manual/signal.texi: Likewise.
30072 * manual/socket.texi: Likewise.
30073 * manual/startup.texi: Likewise.
30074 * manual/stdio.texi: Likewise.
30075 * manual/string.texi: Likewise.
30076 * manual/sysinfo.texi: Likewise.
30077 * manual/syslog.texi: Likewise.
30078 * manual/terminal.texi: Likewise.
30079 * manual/time.texi: Likewise.
30080 * manual/users.texi: Likewise.
30081 * INSTALL: Regenerated.
30082 * NOTES: Regenerated.
d40c5d54 30083 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 30084
450bf206
AS
300852012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30086
30087 * include/dirent.h: Include <dirstream.h> before
30088 <dirent/dirent.h>.
30089
741a235b
DM
300902012-02-28 David S. Miller <davem@davemloft.net>
30091
30092 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30093 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30094 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30095 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30096
d6b5aa58
DM
300972012-02-27 David S. Miller <davem@davemloft.net>
30098
1aff59a3
DM
30099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30101 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30102 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30103
d6b5aa58
DM
30104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30105 frame pointer instead of stack pointer relative arg slot.
30106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30107 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30108 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30109
433f48bf
CD
301102012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30111
30112 [BZ #3992]
30113 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30114
d674b76d
DM
301152012-02-27 David S. Miller <davem@davemloft.net>
30116
30117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30121 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30122 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30123 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30124 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30125
0e7727f7
JM
301262012-02-27 Joseph Myers <joseph@codesourcery.com>
30127
30128 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30129 later. Allow versions 5-9.
43be4ca2 30130 * configure: Regenerated.
0e7727f7
JM
30131 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30132 required minimum version and 4.6 as recommended version. Do not
30133 mention bugs in GCC 2.7 and 2.8.
43be4ca2 30134 * INSTALL: Regenerated.
0e7727f7 30135
a78bc654
DM
301362012-02-27 David S. Miller <davem@davemloft.net>
30137
428d5830
DM
30138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30142 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30143 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30144 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30145 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30146
a78bc654
DM
30147 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30148 manipulate bits before adding and subtracting TWO112[sx].
30149 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30150
4579f81c
RM
301512012-02-27 Roland McGrath <roland@hack.frob.com>
30152
36c8acb4
RM
30153 [BZ #13775]
30154 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30155 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30156 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30157 being in POSIX, because they are in 1003.1-2008.
30158
84ad622b
RM
30159 * rt/tst-aio.c: Include <fcntl.h>.
30160 * rt/tst-aio7.c: Likewise.
30161 * rt/tst-aio64.c: Likewise.
30162
4579f81c
RM
30163 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30164
abd923db
JM
301652012-02-27 Joseph Myers <joseph@codesourcery.com>
30166
30167 * manual/install.texi (--with-headers): Describe headers as
30168 interface headers, not private headers.
30169 (Specific advice for GNU/Linux systems): Describe use of headers
30170 from "make headers_install", not private headers from older
30171 kernels.
43be4ca2 30172 * INSTALL: Regenerated.
abd923db
JM
30173 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30174 Change to 2.6.19.
30175 * sysdeps/unix/sysv/linux/configure: Regenerated.
30176
6664049b
JM
30177 * manual/llio.texi (fclean): Remove documentation.
30178
bb8b6697
JM
30179 * manual/Makefile (libc-texi-generated): New variable. Include
30180 version.texi.
30181 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30182 $(libc-texi-generated), not duplicated list of files.
30183 (version.texi, stamp-version): New rules.
30184 (realclean): Remove $(libc-texi-generated), not individual files
30185 from that list. Do not remove dir-add.texinfo.
30186 * manual/libc.texinfo: Comment out uses of edition numbers and
30187 references to printed manual. Remove last-updated dates.
30188 (EDITION): Comment out.
30189 (ISBN): Likewise.
30190 (VERSION, UPDATED): Remove.
30191 (version.texi): Include.
30192
12e5c3b9
AS
301932012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30194
30195 * sysdeps/posix/spawni.c: Include <signal.h>.
30196 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30197 * sysdeps/pthread/aio_fsync.c: Likewise.
30198
4efeffc1 301992012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 30200
ba63ba08
UD
30201 * conform/Makefile (tests): Run only when not cross-compiling and
30202 when fast-check is not defined.
30203
d94a4670
UD
30204 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30205 * conform/data/limits.h-data: Fixes for POSIX2008.
30206 * conform/run-conformtest.sh: Run all tests.
30207 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30208 headers.
30209 * include/bits/dlfcn.h: Likewise.
30210 * include/langinfo.h: Likewise.
30211 * include/monetary.h: Likewise.
30212 * include/sys/poll.h: Likewise.
30213
30214 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30215 for __USE_GNU.
30216 * posix/spawn.h: Define __need_sigset_t.
30217 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30218 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30219 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30220 to get sigevent_t only.
30221 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30222 only for __USE_GNU.
30223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30224 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30225 process_vm_writev only for __USE_GNU.
30226 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
30227
30228 * conform/Makefile: For now ignore errors from run-conformtest.
30229 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30230 POSIX to avoid namespace pollution. Don't prepend headers.
30231 * conform/data/aio.h-data: Fixes for POSIX testing.
30232 * conform/data/fcntl.h-data: Likewise.
30233 * conform/data/glob.h-data: Likewise.
30234 * conform/data/grp.h-data: Likewise.
30235 * conform/data/pthread.h-data: Likewise.
30236 * conform/data/pwd.h-data: Likewise.
30237 * conform/data/signal.h-data: Likewise.
30238 * conform/data/spawn.h-data: Likewise.
30239 * conform/data/stdio.h-data: Likewise.
30240 * conform/data/stdlib.h-data: Likewise.
30241 * conform/data/stropts.h-data: Likewise.
30242 * conform/data/sys/mman.h-data: Likewise.
30243 * conform/data/sys/stat.h-data: Likewise.
30244 * conform/data/sys/types.h-data: Likewise.
30245 * conform/data/sys/wait.h-data: Likewise.
30246 * conform/data/time.h-data: Likewise.
30247 * conform/data/unistd.h-data: Likewise.
30248 * conform/data/utime.h-data: Likewise.
30249
30250 * io/sys/stat.h: fchmod was always in POSIX.
30251 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30252 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30253 * rt/aio.h: Define __need_timespec before including <time.h>.
30254 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30255 struct. Add forward declaration of pthread_attr_t and use it in
30256 sigevent.
30257 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30258 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30259 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30260 always remove CLK_TCK definition.
30261
c20105c3
AS
302622012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30263
30264 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30265
7a270350
UD
302662012-02-25 Ulrich Drepper <drepper@gmail.com>
30267
31341567
UD
30268 * conform/run-conformtest.sh: New file.
30269 * conform/Makefile: Run run-conformtest for tests.
30270 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30271 support.
30272
30273 * conform/data/uchar.h-data: New file.
30274 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30275 * conform/data/arpa/inet.h-data: Likewise.
30276 * conform/data/assert.h-data: Likewise.
30277 * conform/data/complex.h-data: Likewise.
30278 * conform/data/cpio.h-data: Likewise.
30279 * conform/data/ctype.h-data: Likewise.
30280 * conform/data/dirent.h-data: Likewise.
30281 * conform/data/dlfcn.h-data: Likewise.
30282 * conform/data/errno.h-data: Likewise.
30283 * conform/data/fcntl.h-data: Likewise.
30284 * conform/data/float.h-data: Likewise.
30285 * conform/data/fmtmsg.h-data: Likewise.
30286 * conform/data/fnmatch.h-data: Likewise.
30287 * conform/data/ftw.h-data: Likewise.
30288 * conform/data/glob.h-data: Likewise.
30289 * conform/data/grp.h-data: Likewise.
30290 * conform/data/iconv.h-data: Likewise.
30291 * conform/data/inttypes.h-data: Likewise.
30292 * conform/data/langinfo.h-data: Likewise.
30293 * conform/data/libgen.h-data: Likewise.
30294 * conform/data/limits.h-data: Likewise.
30295 * conform/data/locale.h-data: Likewise.
30296 * conform/data/math.h-data: Likewise.
30297 * conform/data/monetary.h-data: Likewise.
30298 * conform/data/mqueue.h-data: Likewise.
30299 * conform/data/ndbm.h-data: Likewise.
30300 * conform/data/net/if.h-data: Likewise.
30301 * conform/data/netdb.h-data: Likewise.
30302 * conform/data/netinet/in.h-data: Likewise.
30303 * conform/data/nl_types.h-data: Likewise.
30304 * conform/data/poll.h-data: Likewise.
30305 * conform/data/pthread.h-data: Likewise.
30306 * conform/data/pwd.h-data: Likewise.
30307 * conform/data/regex.h-data: Likewise.
30308 * conform/data/sched.h-data: Likewise.
30309 * conform/data/search.h-data: Likewise.
30310 * conform/data/semaphore.h-data: Likewise.
30311 * conform/data/setjmp.h-data: Likewise.
30312 * conform/data/signal.h-data: Likewise.
30313 * conform/data/spawn.h-data: Likewise.
30314 * conform/data/stdarg.h-data: Likewise.
30315 * conform/data/stdio.h-data: Likewise.
30316 * conform/data/stdlib.h-data: Likewise.
30317 * conform/data/string.h-data: Likewise.
30318 * conform/data/strings.h-data: Likewise.
30319 * conform/data/stropts.h-data: Likewise.
30320 * conform/data/sys/ipc.h-data: Likewise.
30321 * conform/data/sys/mman.h-data: Likewise.
30322 * conform/data/sys/msg.h-data: Likewise.
30323 * conform/data/sys/resource.h-data: Likewise.
30324 * conform/data/sys/select.h-data: Likewise.
30325 * conform/data/sys/sem.h-data: Likewise.
30326 * conform/data/sys/shm.h-data: Likewise.
30327 * conform/data/sys/socket.h-data: Likewise.
30328 * conform/data/sys/stat.h-data: Likewise.
30329 * conform/data/sys/statvfs.h-data: Likewise.
30330 * conform/data/sys/time.h-data: Likewise.
30331 * conform/data/sys/timeb.h-data: Likewise.
30332 * conform/data/sys/times.h-data: Likewise.
30333 * conform/data/sys/types.h-data: Likewise.
30334 * conform/data/sys/uio.h-data: Likewise.
30335 * conform/data/sys/un.h-data: Likewise.
30336 * conform/data/sys/utsname.h-data: Likewise.
30337 * conform/data/sys/wait.h-data: Likewise.
30338 * conform/data/syslog.h-data: Likewise.
30339 * conform/data/tar.h-data: Likewise.
30340 * conform/data/termios.h-data: Likewise.
30341 * conform/data/utime.h-data: Likewise.
30342 * conform/data/utmpx.h-data: Likewise.
30343 * conform/data/varargs.h-data: Likewise.
30344 * conform/data/wchar.h-data: Likewise.
30345 * conform/data/wctype.h-data: Likewise.
30346 * conform/data/wordexp.h-data: Likewise.
30347
30348 * include/stropts.h: New file.
30349 * include/uchar.h: New file.
30350 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30351 * include/assert.h: Likewise.
30352 * include/ctype.h: Likewise.
30353 * include/dirent.h: Likewise.
30354 * include/dlfcn.h: Likewise.
30355 * include/fcntl.h: Likewise.
30356 * include/fnmatch.h: Likewise.
30357 * include/glob.h: Likewise.
30358 * include/grp.h: Likewise.
30359 * include/libio.h: Likewise.
30360 * include/locale.h: Likewise.
30361 * include/math.h: Likewise.
30362 * include/net/if.h: Likewise.
30363 * include/netdb.h: Likewise.
30364 * include/netinet/in.h: Likewise.
30365 * include/pthread.h: Likewise.
30366 * include/pwd.h: Likewise.
30367 * include/regex.h: Likewise.
30368 * include/sched.h: Likewise.
30369 * include/search.h: Likewise.
30370 * include/setjmp.h: Likewise.
30371 * include/signal.h: Likewise.
30372 * include/stdio.h: Likewise.
30373 * include/stdlib.h: Likewise.
30374 * include/string.h: Likewise.
30375 * include/sys/cdefs.h: Likewise.
30376 * include/sys/mman.h: Likewise.
30377 * include/sys/msg.h: Likewise.
30378 * include/sys/resource.h: Likewise.
30379 * include/sys/select.h: Likewise.
30380 * include/sys/socket.h: Likewise.
30381 * include/sys/stat.h: Likewise.
30382 * include/sys/statvfs.h: Likewise.
30383 * include/sys/time.h: Likewise.
30384 * include/sys/times.h: Likewise.
30385 * include/sys/uio.h: Likewise.
30386 * include/sys/utsname.h: Likewise.
30387 * include/sys/wait.h: Likewise.
30388 * include/termios.h: Likewise.
30389 * include/time.h: Likewise.
30390 * include/ulimit.h: Likewise.
30391 * include/unistd.h: Likewise.
30392 * include/utime.h: Likewise.
30393 * include/wchar.h: Likewise.
30394 * include/wctype.h: Likewise.
30395 * include/wordexp.h: Likewise.
30396
30397 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30398
7a270350
UD
30399 * time/time.h: TIME_UTC must be a macro.
30400 Make timespec_get available for ISO C11 only as well.
30401
7724defc
UD
304022012-02-24 Ulrich Drepper <drepper@gmail.com>
30403
30404 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30405 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30406
6b1d1d46
JM
304072012-02-24 Joseph Myers <joseph@codesourcery.com>
30408
30409 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 30410
0f8bbd69
JM
304112012-02-24 Joseph Myers <joseph@codesourcery.com>
30412
30413 * manual/texinfo.tex: Update to version 2012-01-19.16.
30414
66ab80bc
JM
304152012-02-24 Joseph Myers <joseph@codesourcery.com>
30416
30417 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30418
74981cc5
RM
304192012-02-24 Roland McGrath <roland@hack.frob.com>
30420
ee968201
RM
30421 [BZ #13738]
30422 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30423 * manual/fdl-1.3.texi: New file.
30424 * manual/fdl-1.1.texi: File removed.
30425
74981cc5
RM
30426 [BZ #13738]
30427 * manual/libc.texinfo (FDL_VERSION): New @set.
30428 Use it for mention of FDL in cover text.
30429 (Documentation License): Use it in @include file name.
30430
7bb764bc
JM
304312012-02-22 Joseph Myers <joseph@codesourcery.com>
30432 Roland McGrath <roland@hack.frob.com>
30433
30434 [BZ #5461]
30435 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30436 not LONG_LONG_MAX and LONG_LONG_MIN.
30437 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30438 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30439 name.
30440 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30441
6cbeae47
JM
304422012-02-22 Joseph Myers <joseph@codesourcery.com>
30443
30444 [BZ #2547]
30445 [BZ #11365]
30446 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30447 manipulate bits before adding and subtracting TWO23[sx].
30448 * math/libm-test.inc (nearbyint_test): Add more tests.
30449
fe45ce09
JM
304502012-02-22 Joseph Myers <joseph@codesourcery.com>
30451
30452 [BZ #2548]
30453 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30454 bits before adding and subtracting TWO23[sx].
30455 * math/libm-test.inc (rint_test): Add more tests.
30456 (rint_test_tonearest): Likewise.
30457 (rint_test_towardzero): Likewise.
30458 (rint_test_downward): Likewise.
30459 (rint_test_upward: Likewise.
30460
ff3b3d82
JM
304612012-02-22 Joseph Myers <joseph@codesourcery.com>
30462
30463 [BZ #10110]
30464 * include/stdc-predef.h: New file. Extracted from features.h.
30465 * include/features.h: Include stdc-predef.h.
30466 * Makefile (headers): Add stdc-predef.h.
30467 * CONFORMANCE (Compiler limitations): Update.
30468
ef0aab35
JM
304692012-02-22 Joseph Myers <joseph@codesourcery.com>
30470
30471 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30472
58639409
DM
304732012-02-21 David S. Miller <davem@davemloft.net>
30474
30475 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30476 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30477
c0e70b25
DM
304782012-02-20 David S. Miller <davem@davemloft.net>
30479
30480 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30481 using a normal save/restore sequence, rather than allocating a
30482 dummy stack frame just to store a frame pointer and restore.
30483 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30484
fb06851d
JM
304852012-02-21 Joseph Myers <joseph@codesourcery.com>
30486
30487 * manual/install.texi: Fix stray word in line-wrapped comment.
30488
7a8b71c3
DM
304892012-02-20 David S. Miller <davem@davemloft.net>
30490
d510c123
DM
30491 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30492 both binutils and gcc support GOTDATA.
30493
0722d7c2
DM
30494 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30495 "rd %pc" in the PIC register setup sequences.
30496
3d2b3019
DM
30497 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30498 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30499 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30500 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30501 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30502 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30503 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30504 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30505 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30506 (SYSCALL_ERROR_HANDLER): Likewise.
30507 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30508 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30509 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30510 (SYSCALL_ERROR_HANDLER): Likewise.
30511
c80098a9
DM
30512 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30513 (HAVE_GCC_GOTDATA): New.
30514 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30515 relocation support in both binutils and gcc.
30516 * sysdeps/sparc/elf/configure: Regenerate.
30517
3a2545a0
DM
30518 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30519 * sysdeps/sparc/sparc32/elf/configure: Delete.
30520 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30521 * sysdeps/sparc/sparc64/elf/configure: Delete.
30522 * sysdeps/sparc/elf/configure.in: New file.
30523 * sysdeps/sparc/elf/configure: Generate.
30524
7a8b71c3
DM
30525 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30526 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30527 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30528 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30529 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30530
f1e86fca
JM
305312012-02-21 Joseph Myers <joseph@codesourcery.com>
30532
30533 * manual/install.texi: Do not mention specific glibc version
30534 numbers.
30535 * manual/libc.texinfo (VERSION, UPDATED): Update.
30536 (@copying): Use @copyright{} and range of years.
30537
0e7dfaef
JM
305382012-02-21 Joseph Myers <joseph@codesourcery.com>
30539
30540 [BZ #13695]
30541 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30542 [crti.S not in sysdirs] (generated): Do not append.
30543 [crti.S not in sysdirs] (omit-deps): Likewise.
30544 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30545 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30546 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30547 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30548 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30549 Likewise.
30550 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30551 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30552 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30553 * csu/defs.awk: Remove file.
30554 * sysdeps/generic/initfini.c: Likewise.
30555 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30556 variable.
30557 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30558 Likewise.
30559
599af3ca
JM
305602012-02-20 Joseph Myers <joseph@codesourcery.com>
30561
30562 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30563 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30564 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30565 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30566 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30567 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30568 <bits/epoll.h>.
30569 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30570 (__EPOLL_PACKED): Define to empty if not defined by
30571 <bits/epoll.h>.
30572 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30573 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30574 bits/epoll.h.
30575
0e499750
JM
305762012-02-20 Joseph Myers <joseph@codesourcery.com>
30577
30578 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30579 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30580 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30581 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30582 <bits/timerfd.h>.
30583 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30585 bits/timerfd.h.
30586
5ad91f6e
JM
305872012-02-20 Joseph Myers <joseph@codesourcery.com>
30588
30589 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30590 in C locale.
30591 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30592 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30593 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30595
06b99b02
AJ
305962012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30597
30598 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30599 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30600
7638c0fd
AS
306012012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30602
30603 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30604 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30605 defined.
30606 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30607 Likewise.
30608 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30609 entry for 2.16.
30610
92221550
AJ
306112012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30612
30613 * math/w_acos.c: Use non-signaling floating-point comparisons.
30614 * math/w_acosf.c: Likewise.
30615 * math/w_acosh.c: Likewise.
30616 * math/w_acoshf.c: Likewise.
30617 * math/w_acoshl.c: Likewise.
30618 * math/w_acosl.c: Likewise.
30619 * math/w_asin.c: Likewise.
30620 * math/w_asinf.c: Likewise.
30621 * math/w_asinl.c: Likewise.
30622 * math/w_atanh.c: Likewise.
30623 * math/w_atanhf.c: Likewise.
30624 * math/w_atanhl.c: Likewise.
30625 * math/w_exp2.c: Likewise.
30626 * math/w_exp2f.c: Likewise.
30627 * math/w_exp2l.c: Likewise.
30628 * math/w_j0.c: Likewise.
30629 * math/w_j0f.c: Likewise.
30630 * math/w_j0l.c: Likewise.
30631 * math/w_j1.c: Likewise.
30632 * math/w_j1f.c: Likewise.
30633 * math/w_j1l.c: Likewise.
30634 * math/w_jn.c: Likewise.
30635 * math/w_jnf.c: Likewise.
30636 * math/w_log.c: Likewise.
30637 * math/w_log10.c: Likewise.
30638 * math/w_log10f.c: Likewise.
30639 * math/w_log10l.c: Likewise.
30640 * math/w_log2.c: Likewise.
30641 * math/w_log2f.c: Likewise.
30642 * math/w_log2l.c: Likewise.
30643 * math/w_logf.c: Likewise.
30644 * math/w_logl.c: Likewise.
30645 * math/w_sqrt.c: Likewise.
30646 * math/w_sqrtf.c: Likewise.
30647 * math/w_sqrtl.c: Likewise.
30648 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30649 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30650 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30651 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30652 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30653
ebaf36eb
JM
306542012-02-19 Joseph Myers <joseph@codesourcery.com>
30655
30656 [BZ #9739]
30657 * manual/string.texi (strnlen): Use correct parameter name in
30658 equivalent expression.
30659
71c254a6
JM
306602012-02-19 Joseph Myers <joseph@codesourcery.com>
30661
30662 [BZ #11174]
30663 * manual/users.texi (seteuid): Consistently use neweuid for
30664 argument name.
30665
16d2c631
JM
306662012-02-19 Joseph Myers <joseph@codesourcery.com>
30667
30668 [BZ #13704]
30669 * manual/nss.texi (Services in the NSS configuration): Correct
30670 list of services in example configuration file.
30671
cd837b09
NB
306722012-02-19 Nick Bowler <nbowler@draconx.ca>
30673
30674 [BZ #11322]
30675 * manual/arith.texi: Remove statements about negative zero
30676 behaving identically to zero.
30677
02c4bbad
JM
306782012-02-18 Joseph Myers <joseph@codesourcery.com>
30679
30680 [BZ #5993]
30681 * manual/install.texi: Do not document upgrading from libc5.
30682
366842e7
JM
306832012-02-18 Joseph Myers <joseph@codesourcery.com>
30684
30685 [BZ #4596]
30686 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30687
dd54084d
DM
306882012-02-18 David S. Miller <davem@davemloft.net>
30689
30690 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30691 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30692 %o7 across the call.
30693 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30694 instead.
30695 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30696 SETUP_PIC_REG_LEAF.
30697 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30698 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30699 * sysdeps/sparc/crtn.S: Likewise.
30700
2bcc53a3
UD
307012012-02-17 Ulrich Drepper <drepper@gmail.com>
30702
30703 * aout/Makefile: Remove.
30704
09c093b5
RK
307052012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30706
30707 [BZ #13058]
30708 * manual/examples/argp-ex1.c (main): Format definition in GNU
30709 style.
30710 * manual/examples/argp-ex2.c (main): Likewise.
30711 * manual/examples/argp-ex3.c (main): Likewise.
30712 * manual/examples/argp-ex4.c (main): Likewise.
30713 * manual/examples/longopt.c (main): Use new-style prototype
30714 definition.
30715 * manual/examples/strncat.c (main): Specify return type and use
30716 (void) for arguments.
30717 * manual/examples/subopt.c (main): Use char **argv argument.
30718
2ee633a2
JM
307192012-02-17 Joseph Myers <joseph@codesourcery.com>
30720
30721 [BZ #5077]
30722 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30723 rounding modes.
30724
0520adde
FB
307252012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30726
30727 [BZ #6907]
30728 * manual/string.texi (strchr): Change when strchrnul is
30729 recommended.
30730
3f4081cd
DGM
307312012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30732
30733 [BZ #174]
30734 * manual/locale.texi (setlocale): Document LOCPATH.
30735
d1b10e78
JM
307362012-02-17 Joseph Myers <joseph@codesourcery.com>
30737
30738 [BZ #10210]
30739 * manual/process.texi (execle): Move @dots{} before last argument.
30740
79c6869c
PB
307412012-02-17 Paul Bolle <pebolle@tiscali.nl>
30742
30743 [BZ #12047]
30744 * manual/charset.texi (Generic Charset Conversion): Fix typo
30745 (LC_TYPE -> LC_CTYPE).
30746
cc6e48bc
NB
307472012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30748
30749 [BZ #5805]
30750 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30751 (scalbnf): Likewise.
30752 (scalbnl): Likewise.
30753 (scalbln): Likewise.
30754 (scalblnf): Likewise.
30755 (scalblnl): Likewise.
30756 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30757 (vwarnx): Likewise.
30758 (verr): Likewise.
30759 (verrx): Likewise.
30760 * manual/filesys.texi (telldir): Use braces around return type.
30761 * manual/llio.texi (mmap): Add space after comma.
30762 (mmap64): Likewise.
30763 * manual/math.texi (jn): Use @var{} on parameter names.
30764 (jnf): Likewise.
30765 (jnl): Likewise.
30766 (yn): Likewise.
30767 (ynf): Likewise.
30768 (ynl): Likewise.
30769 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30770 line.
30771 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30772 "...".
30773 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30774 (sched_get_priority_max): Likewise.
30775 * manual/signal.texi (sigvec): Add space after comma.
30776 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30777 names.
30778 (if_indextoname): Likewise.
30779 (if_freenameindex): Likewise.
30780 (sendto): Use ',' instead of '.' in prototype.
30781 * manual/startup.texi (syscall): Use @dots{} instead of literal
30782 "...".
30783 * manual/stdio.texi (__fpending): Separate initial words of
30784 paragraph from @deftypefun line.
30785 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30786 "...".
30787 (vsyslog): Use @var{} on parameter names.
30788 * manual/terminal.texi (stty): Use @var{} on parameter names.
30789 * manual/users.texi (getutmp): Use @var{} on parameter names.
30790 (getutmpx): Likewise.
30791
5b23062f
JM
307922012-02-17 Joseph Myers <joseph@codesourcery.com>
30793
30794 [BZ #6884]
30795 * manual/stdio.texi (fopen): Fix typos in description of
30796 ",ccs=STRING".
30797
8dee4833
AJ
307982012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30799
30800 [BZ #4026]
30801 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30802 get clock_id definition.
30803
9078ce93
TS
308042012-02-17 Thomas Schwinge <thomas@schwinge.name>
30805
30806 [BZ #4822]
30807 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30808 (madvise): Cast every argument to void on its own.
30809
3835c55f
JM
308102012-02-17 Joseph Myers <joseph@codesourcery.com>
30811
30812 [BZ #9902]
30813 * manual/startup.texi (Exit Status): Fix typo.
30814
35c47e37
JM
308152012-02-17 Joseph Myers <joseph@codesourcery.com>
30816
30817 [BZ #10140]
30818 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30819 * manual/examples/argp-ex2.c: Likewise.
30820 * manual/examples/argp-ex3.c: Likewise.
30821
e3b69ca7
RH
308222012-02-16 Richard Henderson <rth@redhat.com>
30823
30824 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30825 * sysdeps/s390/s390-32/initfini.c: Remove.
30826 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30827 * sysdeps/s390/s390-64/initfini.c: Remove.
30828
df83af67
KK
308292012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30830
30831 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30832 compiler output for sysdeps/generic/initfini.c.
30833 * sysdeps/sh/elf/initfini.c: Remove file.
30834
f63f3380
DM
308352012-02-16 David S. Miller <davem@davemloft.net>
30836
fb59b3a4
DM
30837 [BZ #11494]
30838 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30839
f63f3380
DM
30840 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30841 * sysdeps/sparc/crti.S: New file.
30842 * sysdeps/sparc/crtn.S: New file.
30843 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30844 * sysdeps/sparc/sparc64/Makefile: Likewise.
30845
df6a4a4a
MF
308462012-02-15 Mike Frysinger <vapier@gentoo.org>
30847
6dd8f3dc 30848 [BZ #3335]
df6a4a4a
MF
30849 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30850
1cac7236
RM
308512012-02-15 Roland McGrath <roland@hack.frob.com>
30852
d2c736f8
RM
30853 [BZ #4822]
30854 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30855
1cac7236
RM
30856 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30857 (write, read, close): Likewise.
30858 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30859
8e475601
JM
308602012-02-15 Joseph Myers <joseph@codesourcery.com>
30861
30862 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30863 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30864 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30865 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30866 <bits/signalfd.h>.
30867 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30868 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30869 bits/signalfd.h.
30870
ed656b40
MP
308712012-02-14 Marek Polacek <polacek@redhat.com>
30872
30873 * sysdeps/x86_64/crti.S: New file.
30874 * sysdeps/x86_64/crtn.S: New file.
30875 * sysdeps/x86_64/elf/initfini.c: Remove file.
30876
2a979d3a
JM
308772012-02-13 Joseph Myers <joseph@codesourcery.com>
30878
30879 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30880 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30881 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30882 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30883 <bits/inotify.h>.
30884 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30886 bits/inotify.h.
30887
2a418ac3
JM
308882012-02-13 Joseph Myers <joseph@codesourcery.com>
30889
30890 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30891 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30892 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30893 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30894 <bits/eventfd.h>.
30895 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30897 bits/eventfd.h.
30898
fb779be7
TS
308992012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30900
e19e83c5
RM
30901 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30902 __feraiseexcept instead of feraiseexcept.
7c35ffed 30903
fb779be7
TS
30904 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30905 nanosleep invocations.
30906 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30907 strings, and add error checking for a nanosleep invocations.
30908
59ba27a6
PE
309092012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30910
30911 Replace FSF snail mail address with URLs, as per GNU coding standards.
30912 Most of the snail mail addresses were wrong anyway, and omitting
30913 them makes the source code easier to maintain. Almost all of the
30914 changes are to license notices and to locale LC_IDENTIFICATION
30915 addresses, except for this one:
30916 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30917 not its snail mail address.
30918
57b957eb
RH
309192012-02-09 Richard Henderson <rth@twiddle.net>
30920
af850b1c
RH
30921 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30922 of kernel-features.h.
30923
57b957eb
RH
30924 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30925
6b73181a
MP
309262012-02-08 Marek Polacek <polacek@redhat.com>
30927
30928 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30929 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30930 * sysdeps/gnu/_G_config.h: Likewise.
30931 * sysdeps/generic/_G_config.h: Likewise.
30932
26ecc33a
AS
309332012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30934
6c6dbc63
AS
30935 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30936 tests.
30937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30938
e216c012
AS
30939 * sysdeps/powerpc/powerpc32/crti.S: New file.
30940 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30941 * sysdeps/powerpc/powerpc64/crti.S: New file.
30942 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30943
26ecc33a
AS
30944 * Makeconfig (have-initfini): Don't set.
30945 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30946 * configure.in (nopic_initfini): Don't substitute.
30947 * config.h.in (HAVE_INITFINI): Don't #undef.
30948 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30949 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30950
3add8e13
JM
309512012-02-08 Joseph Myers <joseph@codesourcery.com>
30952
30953 Support crti.S and crtn.S provided directly by architectures.
30954 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30955 [crti.S in sysdirs] (omit-deps): Likewise.
30956 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30957 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30958 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30959 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30960 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30961 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30962 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30963 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30964 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30965 compiler output for sysdeps/generic/initfini.c.
30966 * sysdeps/i386/elf/Makefile: Remove file.
30967 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30968
a22f12b4
MP
309692012-02-07 Marek Polacek <polacek@redhat.com>
30970
30971 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30972 * sysdeps/gnu/_G_config.h: Likewise.
30973 * sysdeps/mach/hurd/_G_config.h: Likewise.
30974
148cf100
MP
309752012-02-07 Marek Polacek <polacek@redhat.com>
30976
30977 * math/Makefile (tests): Add tst-CMPLX2.
30978 * math/tst-CMPLX2.c: New file.
30979
cfdc0dd7
AS
309802012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30981
84ba42c4
AS
30982 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30983
cfdc0dd7
AS
30984 * math/libm-test.inc (jn_test): Add missing L suffix.
30985
622c86f4
MP
309862012-02-06 Marek Polacek <polacek@redhat.com>
30987
30988 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30989 * sysdeps/i386/fpu/e_powf.S: Likewise.
30990 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30991 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30992 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30993 * sysdeps/i386/fpu/e_pow.S: Likewise.
30994 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30995 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30996 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30997 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30998 * sysdeps/i386/fpu/e_log2.S: Likewise.
30999 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31000 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31001 * sysdeps/i386/fpu/e_powl.S: Likewise.
31002 * sysdeps/i386/fpu/s_log1p.S: Likewise.
31003 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31004 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31005 * sysdeps/i386/fpu/e_logl.S: Likewise.
31006 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31007 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31008 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31009 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31010 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31011 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31012 * sysdeps/i386/fpu/e_log.S: Likewise.
31013 * sysdeps/i386/fpu/s_cexp.S: Likewise.
31014 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31015 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31016 * sysdeps/i386/fpu/e_logf.S: Likewise.
31017 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31018 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31019 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31020 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31021 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31022 * sysdeps/i386/fpu/e_log10.S: Likewise.
31023 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31024 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31025 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31026 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31027 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31028 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31029 * sysdeps/i386/asm-syntax.h: Likewise.
31030 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31031 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31032 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31033 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31034 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31035 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31036 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31037 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31038 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31039 * sysdeps/powerpc/sysdep.h: Likewise.
31040 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31041 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31042
d4a54ac6
JM
310432012-02-06 Joseph Myers <joseph@codesourcery.com>
31044
31045 [BZ #411]
31046 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31047
314054ea
JM
310482012-02-06 Joseph Myers <joseph@codesourcery.com>
31049
31050 * sysdeps/i386/sysdep.h: Include <features.h>.
31051 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31052 version.
31053
d8e0ca50
JM
310542012-02-05 Joseph Myers <joseph@codesourcery.com>
31055
31056 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31057 Define.
31058 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31059 LOAD_PIC_REG_STR.
31060
b1da7dd9
JM
310612012-02-03 Joseph Myers <joseph@codesourcery.com>
31062
31063 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31064 (SETUP_PIC_REG): Use GET_PC_THUNK.
31065 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31066 macro.
31067
9a1d9254
JM
310682012-02-03 Joseph Myers <joseph@codesourcery.com>
31069
31070 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31071 for non-PIC compilation.
31072 (SETUP_PIC_REG): Add .p2align directive.
31073 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31074 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31075 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31076 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31077 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31078 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31079 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31080 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31081 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31082 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31083 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31084 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31085 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31086 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31087 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31088 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31089 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31090 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31091 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31092 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31093 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31094 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31095 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31096 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31097 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31098 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31099 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31100 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31101 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31102 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31103 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31104 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31105 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31106 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31107 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31108 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31109 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31110 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31111 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31112 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31113 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31114
65dc3b75
JM
311152012-02-03 Joseph Myers <joseph@codesourcery.com>
31116
31117 * math/tst-CMPLX.c: Include <stdio.h>.
31118
d55bf177
JM
311192012-01-31 Joseph Myers <joseph@codesourcery.com>
31120
31121 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31122 float.
31123 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31124 * sysdeps/sparc/bits/mathdef.h: Likewise.
31125
69db4f8f
MP
311262012-01-31 Marek Polacek <polacek@redhat.com>
31127
31128 * libio/libio.h: Don't define _PARAMS.
31129 * locale/programs/config.h: Don't define PARAMS.
31130 * stdlib/strtol_l.c: Likewise.
31131 (__strtol_l): Remove PARAMS from the prototype.
31132
41b81892
UD
311332012-01-31 Ulrich Drepper <drepper@gmail.com>
31134
3b49edc0
UD
31135 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31136 names. Just use the correct names. Remove unnecessary wrapper
31137 functions.
31138 * malloc/arena.c: Likewise.
31139 * malloc/hooks.c: Likewise.
31140
41b81892
UD
31141 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31142 ARENA_TEST says not to. Simplify test for creation of a new arena.
31143 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31144
27a25b6e
UD
311452012-01-30 Ulrich Drepper <drepper@gmail.com>
31146
31147 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31148 into tail calls.
31149 (update_get_addr): New function.
31150 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31151 GET_ADDR_MODULE parameter.
31152
c8a89e7d
JM
311532012-01-30 Joseph Myers <joseph@codesourcery.com>
31154
31155 * crypt/cert.c: Remove __STDC__ conditionals.
31156 * crypt/crypt-entry.c: Likewise.
31157 * crypt/crypt_util.c: Likewise.
31158 * libio/filedoalloc.c: Likewise.
31159 * libio/fileops.c: Likewise.
31160 * libio/genops.c: Likewise.
31161 * libio/iofclose.c: Likewise.
31162 * libio/iofdopen.c: Likewise.
31163 * libio/iofopen.c: Likewise.
31164 * libio/iofopen64.c: Likewise.
31165 * libio/iogetdelim.c: Likewise.
31166 * libio/iopopen.c: Likewise.
31167 * libio/obprintf.c: Likewise.
31168 * libio/oldfileops.c: Likewise.
31169 * libio/oldiofclose.c: Likewise.
31170 * libio/oldiofdopen.c: Likewise.
31171 * libio/oldiofopen.c: Likewise.
31172 * libio/oldiopopen.c: Likewise.
31173 * libio/wfiledoalloc.c: Likewise.
31174 * libio/wgenops.c: Likewise.
31175 * locale/programs/xmalloc.c: Likewise.
31176 * misc/syslog.c: Likewise.
31177 * stdio-common/xbug.c: Likewise.
31178 * string/memchr.c: Likewise.
31179 * string/memcmp.c: Likewise.
31180 * string/memrchr.c: Likewise.
31181 * string/rawmemchr.c: Likewise.
31182 * sysdeps/posix/getcwd.c: Likewise.
31183 * time/strftime_l.c: Likewise.
31184
3b100462
JM
311852012-01-30 Joseph Myers <joseph@codesourcery.com>
31186
31187 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
31188 * config.make.in (config-cflags-sse2avx): Define.
31189 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31190 Fix typo.
31191
607998af
CM
311922012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31193
31194 * scripts/config.guess: Update from upstream config git repository.
31195 * scripts/config.sub: Likewise.
31196
3601428f
CM
311972012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31198
3ac8b282
CM
31199 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31200 (EM_NUM): Update.
31201 (R_TILEPRO_*, R_TILEGX_*): New macros.
31202
e034841e
CM
31203 * scripts/firstversions.awk: Fix bug in version range handling.
31204
540d7568
CM
31205 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31206
3601428f
CM
31207 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31208
463de862
CM
31209 * include/sys/epoll.h: New file.
31210 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31211 libc_hidden_def.
31212
73139a76
UD
312132012-01-28 Ulrich Drepper <drepper@gmail.com>
31214
96bc5b45
UD
31215 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31216 Avoid unnecessary __WORDSIZE == 64 test.
31217 (fmaxf): Use VEX format if possible.
31218 (fmax): Likewise.
31219 (fminf): Likewise.
31220 (fmin): Likewise.
31221
56f6f6a2
UD
31222 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31223 * math/math_private.h: Remove libc_fegetround* and
31224 libc_fesetround*.
31225 * sysdeps/i386/configure.in: Check for -msse2avx.
31226 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31227 also if SSE2AVX is defined.
31228 Remove libc_fegetround* and libc_fesetround*.
31229 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31230 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31231 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31232 of HAS_YMM_USABLE.
31233 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31234 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31235 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31236 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31237 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31238
73139a76
UD
31239 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31240
d73f93a4
AZ
312412012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31242
31243 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31244 size is not set.
31245 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31246
6ee65ed6
UD
312472012-01-27 Ulrich Drepper <drepper@gmail.com>
31248
31249 [BZ #13618]
31250 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31251 relocation.
31252 * Makeconfig (libm): Define.
31253 * elf/Makefile: Add rules to build and run tst-relsort1.
31254 * elf/tst-relsort1.c: New file.
31255 * elf/tst-relsort1mod1.c: New file.
31256 * elf/tst-relsort1mod2.c: New file.
31257
8db21882
JM
312582012-01-27 Joseph Myers <joseph@codesourcery.com>
31259
31260 * math/s_ldexp.c: Remove __STDC__ conditionals.
31261 * math/s_ldexpf.c: Likewise.
31262 * math/s_ldexpl.c: Likewise.
31263 * math/s_nextafter.c: Likewise.
31264 * math/s_nexttowardf.c: Likewise.
31265 * math/s_significand.c: Likewise.
31266 * math/s_significandf.c: Likewise.
31267 * math/s_significandl.c: Likewise.
31268 * math/w_jnl.c: Likewise.
31269 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31270 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31271 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31272 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31273 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31274 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31275 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31276 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31277 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31278 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31279 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31280 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31281 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31282 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31283 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31284 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31285 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31286 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31288 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31289 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31290 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31291 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31292 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31293 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31294 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31295 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31296 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31297 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31298 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31299 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31300 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31301 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31302 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31303 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31304 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31305 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31306 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31307 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31308 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31309 * sysdeps/ieee754/k_standard.c: Likewise.
31310 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31311 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31312 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31313 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31314 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31315 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31316 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31317 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31318 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31319 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31320 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31321 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31322 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31323 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31324 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31325 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31326 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31327 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31328 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31329 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31330 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31331 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31332 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31333 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31334 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31335 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31336 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31337 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31338 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31339 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31340 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31341 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31342 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31343 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31344 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31345 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31346 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31347 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31348 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31349 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31350 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31351 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31352 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31353 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31354 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31355 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31356 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31357 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31358 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31359 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31360 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31361 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31362 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31363 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31364 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31365 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31366 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31367 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31368 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31369 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31370 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31371 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31372 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31373 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31374 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31375 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31376 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31377 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31378 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31379 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31380 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31381 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31382 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31383 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31384 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31385 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31386 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31387 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31388 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31389 * sysdeps/ieee754/s_matherr.c: Likewise.
31390 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31391 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31392 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31393 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31394
965a54a4
JM
313952012-01-26 Joseph Myers <joseph@codesourcery.com>
31396
31397 * crypt/md5.h: Remove __STDC__ conditionals.
31398 * libio/libioP.h: Likewise.
31399 * locale/programs/config.h: Likewise.
31400 * sysdeps/generic/sysdep.h: Likewise.
31401 * sysdeps/i386/asm-syntax.h: Likewise.
31402 * sysdeps/s390/asm-syntax.h: Likewise.
31403 * sysdeps/unix/sysdep.h: Likewise.
31404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31406
7071ad79
JM
314072012-01-26 Joseph Myers <joseph@codesourcery.com>
31408
31409 * libio/libio.h: Remove __STDC__ conditionals.
31410 * malloc/obstack.h: Likewise.
31411 * math/complex.h: Likewise.
31412 * math/math.h: Likewise.
31413 * sysdeps/generic/_G_config.h: Likewise.
31414 * sysdeps/gnu/_G_config.h: Likewise.
31415 * sysdeps/mach/hurd/_G_config.h: Likewise.
31416 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31417 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31418 * sysdeps/sparc/bits/mathdef.h: Likewise.
31419
afc5ed09
UD
314202012-01-26 Ulrich Drepper <drepper@gmail.com>
31421
31422 [BZ #13583]
31423 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 31424 Clean up HAS_* macros.
afc5ed09 31425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
31426 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31427 possible.
31428 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31429 HAS_AVX.
31430 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31431 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31432 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31433 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31434 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 31435
bdb6de1d
JM
314362012-01-25 Joseph Myers <joseph@codesourcery.com>
31437
31438 * elf/tst-unique3.cc (gets): Remove declaration.
31439 * elf/tst-unique3lib.cc (gets): Likewise.
31440 * elf/tst-unique3lib2.cc (gets): Likewise.
31441 * elf/tst-unique4.cc (gets): Likewise.
31442
b15549e6
UD
314432012-01-24 Ulrich Drepper <drepper@gmail.com>
31444
31445 * include/stdio.h: Add C++ protection. Add gets declarations and
31446 definitions.
31447 * debug/tst-chk1.c: Don't declare gets here.
31448 * stdio-common/tst-gets.c: Likewise.
31449
a037381f
JM
314502012-01-24 Joseph Myers <joseph@codesourcery.com>
31451
31452 * posix/glob: Remove directory.
31453
f1d4aa75
JM
314542012-01-24 Joseph Myers <joseph@codesourcery.com>
31455
31456 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31457
81c0c964
PT
314582012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31459
31460 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31461 of the non-standard EPFNOSUPPORT.
31462
0ea698ae
ST
314632011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31464
31465 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31466 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31467 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31468
d220b117
UD
314692012-01-21 Ulrich Drepper <drepper@gmail.com>
31470
31471 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31472
3e1aa84e
UD
314732012-01-20 Ulrich Drepper <drepper@gmail.com>
31474
31475 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31476 transient errors.
31477 * nscd/grpcache.c (cache_addgr): Likewise.
31478 * nscd/hstcache.c (cache_addhst): Likewise.
31479 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31480 * nscd/pwdcache.c (cache_addpw): Likewise.
31481 * nscd/servicescache.c (cache_addserv): Likewise.
31482
400aa020
UD
314832012-01-16 Ulrich Drepper <drepper@gmail.com>
31484
d77e7869
UD
31485 * malloc/malloc.c: Various cleanups.
31486 * malloc/hooks.c: Likewise.
31487
400aa020
UD
31488 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31489 * stdlib/bug-fmtmsg1.c: New file.
31490
31491 * stdlib/fmtmsg.c (init): Add missing unlock.
31492 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31493
e0a309cf
MP
314942012-01-12 Marek Polacek <polacek@redhat.com>
31495
31496 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31497 and _GNU_SOURCE.
31498
929d11c7
WS
314992012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31500
31501 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31502 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31503 macro to ensure uniqueness of label name.
31504 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31505 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31506
41d0e869
UD
315072012-01-11 Ulrich Drepper <drepper@gmail.com>
31508
0cc5ed3b
UD
31509 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31510
41d0e869
UD
31511 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31512 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31513 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31514 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31515
a47a831a
UD
315162012-01-10 Ulrich Drepper <drepper@gmail.com>
31517
daa891c0
UD
31518 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31519
31520 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31521 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31522 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31523
e58ef0f2
UD
31524 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31525
a47a831a 31526 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
31527 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31528 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 31529 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
31530
31531 * math/bits/math-finite.h: Add ldexp support.
31532
a0bfc9c7
MP
315332012-01-10 Marek Polacek <polacek@redhat.com>
31534
31535 * locale/programs/localedef.h (show_archive_content): Add noreturn
31536 attribute.
31537
d6e97a1d
UD
315382012-01-09 Ulrich Drepper <drepper@gmail.com>
31539
31540 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31541
d5835c26
UD
315422012-01-08 Ulrich Drepper <drepper@gmail.com>
31543
e5f484c6
UD
31544 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31545
d5835c26
UD
31546 * io/Makefile (headers): Add bits/poll2.h.
31547
d1f741e9
WS
315482011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31549
31550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31551 typo #include statement.
31552
ec09c1c4
UD
315532012-01-08 Ulrich Drepper <drepper@gmail.com>
31554
31555 * include/sys/cdefs.h: Define __attribute_alloc_size.
31556 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31557 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31558 * elf/pldd.c: Likewise.
31559 * iconv/iconv_charmap.c: Likewise.
31560 * iconv/iconvconfig.c: Likewise.
31561 * iconv/strtab.c: Likewise.
31562 * locale/programs/locale.c: Likewise.
31563 * locale/programs/localedef.h: Likewise.
31564 * locale/programs/simple-hash.c: Likewise.
31565 * nscd/nscd.h: Likewise.
31566 * nss/makedb.c: Likewise.
31567 * sysdeps/generic/ldconfig.h: Likewise.
31568 * locale/programs/localedef.c: Remove xmalloc prototype.
31569 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31570
20b38e03
PP
315712012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31572
31573 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31574 appropriate.
31575
a0da5fe1
UD
315762012-01-08 Ulrich Drepper <drepper@gmail.com>
31577
1d5a644a 31578 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31579 * math/tst-CMPLX.c: New file.
1d5a644a 31580
8784a6db
UD
31581 * math/complex.h (CMPLXL): Fix typo.
31582
d9a216c0
UD
31583 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31584 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31585 GLIBC_2.16.
31586 * debug/tst-chk1.c: Add poll and ppoll tests.
31587 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31588 * include/sys/poll.h: Add hidden proto for ppoll.
31589 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31590 * sysdeps/mach/hurd/ppoll.c: Likewise.
31591 * io/ppoll.c: Likewise.
31592 * debug/poll_chk.c: New file.
31593 * debug/ppoll_chk.c: New file.
31594 * include/bits/poll2.h: New file.
31595 * io/bits/poll2.h: New file.
31596
ac097f5c
UD
31597 [BZ #1350]
31598 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31599
2119dcfa
UD
31600 * configure.in: static is always set to yes. Remove.
31601 * config.make.in: Don't set build-static.
31602 * Makeconfig: Remove use of build-static.
31603 * dlfcn/Makefile: Likewise.
31604 * elf/Makefile: Likewise.
31605 * math/Makefile: Likewise.
31606 * misc/Makefile: Likewise.
31607 * nptl/Makefile: Likewise.
31608 * sysdeps/mach/hurd/Makefile: Likewise.
31609
121766a9
UD
31610 * configure.in: PWD_P is not used anymore.
31611 * config.make.in: Remove PWD_P entry.
31612
51a1d39c 31613 * configure.in: Remove last remnants of RANLIB.
8720d066 31614 No need to check for signed size_t anymore.
215f4bdc
UD
31615 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31616 and IA-64.
3857022a 31617 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31618 * aclocal.m4: Likewise.
31619
d3ed7225
UD
31620 * wcsmbs/mbrtoc16.c: Implement using towc function.
31621 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31622 * wcsmbs/wcsmbsload.c: Likewise.
31623 * iconv/gconv_simple.c: Likewise.
31624 * iconv/gconv_int.h: Likewise.
31625 * iconv/gconv_builtin.h: Likewise.
31626 * iconv/iconv_prog.c: Remove CHAR16 handling.
31627
31628 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31629
31630 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31631
a0da5fe1
UD
31632 * configure.in: Remove --with-elf and --enable-bounded options.
31633 Dont set base_machine for ia64. More non-ELF conditions removed.
31634 Remove testing and setting of leading underscore information.
31635 * config.make.in (build-bounded): Set to no.
31636 * config.h.in: Remove NO_UNDERSCORES entry.
31637 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31638 them.
31639 * csu/start.c: Remove !NO_UNDERSCORE code.
31640 * locale/localeinfo.h: Likewise.
31641 * sysdeps/generic/machine-gmon.h: Likewise.
31642 * sysdeps/generic/sysdep.h: Likewise.
31643 * sysdeps/i386/sysdep.h: Likewise.
31644 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31645 * sysdeps/mach/sysdep.h: Likewise.
31646 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31647 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31648 * sysdeps/sh/sysdep.h: Likewise.
31649 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31650 * sysdeps/unix/i386/sysdep.S: Likewise.
31651 * sysdeps/unix/sparc/start.c: Likewise.
31652 * sysdeps/unix/sparc/sysdep.S: Likewise.
31653 * sysdeps/unix/sparc/sysdep.h: Likewise.
31654 * sysdeps/unix/start.c: Likewise.
31655 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31656 * sysdeps/x86_64/sysdep.h: Likewise.
31657
df78418a
UD
316582012-01-07 Ulrich Drepper <drepper@gmail.com>
31659
a784e502
UD
31660 [BZ #13553]
31661 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31662 for non-gcc.
31663 * argp/argp-fmtstream.h: Use const instead __const.
31664 * argp/argp.h: Likewise.
31665 * assert/assert.h: Likewise.
31666 * bits/fenv.h: Likewise.
31667 * bits/sched.h: Likewise.
31668 * bits/sigset.h: Likewise.
31669 * bits/sigthread.h: Likewise.
31670 * catgets/nl_types.h: Likewise.
31671 * conform/data/pthread.h-data: Likewise.
31672 * crypt/crypt-private.h: Likewise.
31673 * crypt/crypt.h: Likewise.
31674 * crypt/crypt_util.c: Likewise.
31675 * ctype/ctype.h: Likewise.
31676 * debug/execinfo.h: Likewise.
31677 * debug/mbsnrtowcs_chk.c: Likewise.
31678 * debug/mbsrtowcs_chk.c: Likewise.
31679 * debug/wcsnrtombs_chk.c: Likewise.
31680 * debug/wcsrtombs_chk.c: Likewise.
31681 * debug/wcstombs_chk.c: Likewise.
31682 * dirent/dirent.h: Likewise.
31683 * dlfcn/dlfcn.h: Likewise.
31684 * elf/neededtest4.c: Likewise.
31685 * grp/grp.h: Likewise.
31686 * gshadow/gshadow.h: Likewise.
31687 * iconv/gconv.h: Likewise.
31688 * iconv/gconv_int.h: Likewise.
31689 * iconv/gconv_simple.c: Likewise.
31690 * iconv/iconv.h: Likewise.
31691 * iconv/loop.c: Likewise.
31692 * iconv/skeleton.c: Likewise.
31693 * include/aio.h: Likewise.
31694 * include/aliases.h: Likewise.
31695 * include/argz.h: Likewise.
31696 * include/arpa/inet.h: Likewise.
31697 * include/assert.h: Likewise.
31698 * include/dirent.h: Likewise.
31699 * include/dlfcn.h: Likewise.
31700 * include/execinfo.h: Likewise.
31701 * include/fcntl.h: Likewise.
31702 * include/fenv.h: Likewise.
31703 * include/glob.h: Likewise.
31704 * include/grp.h: Likewise.
31705 * include/libintl.h: Likewise.
31706 * include/mntent.h: Likewise.
31707 * include/netdb.h: Likewise.
31708 * include/pwd.h: Likewise.
31709 * include/rpc/netdb.h: Likewise.
31710 * include/sched.h: Likewise.
31711 * include/search.h: Likewise.
31712 * include/shadow.h: Likewise.
31713 * include/signal.h: Likewise.
31714 * include/stdio.h: Likewise.
31715 * include/stdlib.h: Likewise.
31716 * include/string.h: Likewise.
31717 * include/sys/socket.h: Likewise.
31718 * include/sys/stat.h: Likewise.
31719 * include/sys/statfs.h: Likewise.
31720 * include/sys/statvfs.h: Likewise.
31721 * include/sys/syslog.h: Likewise.
31722 * include/sys/time.h: Likewise.
31723 * include/sys/uio.h: Likewise.
31724 * include/time.h: Likewise.
31725 * include/unistd.h: Likewise.
31726 * include/utmp.h: Likewise.
31727 * include/wchar.h: Likewise.
31728 * include/wctype.h: Likewise.
31729 * inet/aliases.h: Likewise.
31730 * inet/arpa/inet.h: Likewise.
31731 * inet/netinet/ether.h: Likewise.
31732 * inet/netinet/in.h: Likewise.
31733 * intl/libintl.h: Likewise.
31734 * io/bits/fcntl2.h: Likewise.
31735 * io/fcntl.h: Likewise.
31736 * io/ftw.h: Likewise.
31737 * io/sys/poll.h: Likewise.
31738 * io/sys/stat.h: Likewise.
31739 * io/sys/statfs.h: Likewise.
31740 * io/sys/statvfs.h: Likewise.
31741 * io/utime.h: Likewise.
31742 * libio/bits/stdio.h: Likewise.
31743 * libio/bits/stdio2.h: Likewise.
31744 * libio/libio.h: Likewise.
31745 * libio/libioP.h: Likewise.
31746 * libio/stdio.h: Likewise.
31747 * locale/lc-ctype.c: Likewise.
31748 * locale/locale.h: Likewise.
31749 * login/utmp.h: Likewise.
31750 * malloc/arena.c: Likewise.
31751 * malloc/malloc.c: Likewise.
31752 * malloc/malloc.h: Likewise.
31753 * malloc/mcheck.c: Likewise.
31754 * malloc/mtrace.c: Likewise.
31755 * math/bits/mathcalls.h: Likewise.
31756 * math/fenv.h: Likewise.
31757 * math/math_private.h: Likewise.
31758 * misc/bits/error.h: Likewise.
31759 * misc/bits/syslog.h: Likewise.
31760 * misc/err.h: Likewise.
31761 * misc/error.h: Likewise.
31762 * misc/fstab.h: Likewise.
31763 * misc/mntent.h: Likewise.
31764 * misc/regexp.h: Likewise.
31765 * misc/search.h: Likewise.
31766 * misc/sgtty.h: Likewise.
31767 * misc/sys/mman.h: Likewise.
31768 * misc/sys/syslog.h: Likewise.
31769 * misc/sys/uio.h: Likewise.
31770 * misc/sys/xattr.h: Likewise.
31771 * misc/ttyent.h: Likewise.
31772 * nis/rpcsvc/ypclnt.h: Likewise.
31773 * nss/nss.h: Likewise.
31774 * posix/bits/unistd.h: Likewise.
31775 * posix/fnmatch.h: Likewise.
31776 * posix/glob.h: Likewise.
31777 * posix/sched.h: Likewise.
31778 * posix/spawn.h: Likewise.
31779 * posix/sys/wait.h: Likewise.
31780 * posix/unistd.h: Likewise.
31781 * posix/wordexp.h: Likewise.
31782 * pwd/pwd.h: Likewise.
31783 * resolv/netdb.h: Likewise.
31784 * resource/sys/resource.h: Likewise.
31785 * rt/aio.h: Likewise.
31786 * rt/bits/mqueue2.h: Likewise.
31787 * rt/mqueue.h: Likewise.
31788 * shadow/shadow.h: Likewise.
31789 * signal/signal.h: Likewise.
31790 * socket/send.c: Likewise.
31791 * socket/sendto.c: Likewise.
31792 * socket/sys/socket.h: Likewise.
31793 * stdio-common/printf.h: Likewise.
31794 * stdlib/bits/stdlib.h: Likewise.
31795 * stdlib/fmtmsg.h: Likewise.
31796 * stdlib/monetary.h: Likewise.
31797 * stdlib/stdlib.h: Likewise.
31798 * stdlib/ucontext.h: Likewise.
31799 * streams/stropts.h: Likewise.
31800 * string/argz.h: Likewise.
31801 * string/bits/string2.h: Likewise.
31802 * string/string.h: Likewise.
31803 * string/strings.h: Likewise.
31804 * sunrpc/rpc/auth.h: Likewise.
31805 * sunrpc/rpc/auth_des.h: Likewise.
31806 * sunrpc/rpc/clnt.h: Likewise.
31807 * sunrpc/rpc/netdb.h: Likewise.
31808 * sunrpc/rpc/pmap_clnt.h: Likewise.
31809 * sunrpc/rpc/xdr.h: Likewise.
31810 * sysdeps/generic/inttypes.h: Likewise.
31811 * sysdeps/generic/net/if.h: Likewise.
31812 * sysdeps/generic/sys/swap.h: Likewise.
31813 * sysdeps/gnu/net/if.h: Likewise.
31814 * sysdeps/gnu/utmpx.h: Likewise.
31815 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31816 * sysdeps/i386/i486/bits/string.h: Likewise.
31817 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31818 * sysdeps/s390/bits/string.h: Likewise.
31819 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31820 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31821 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31822 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31823 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31824 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31825 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31826 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31827 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31828 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31829 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31830 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31831 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31832 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31833 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31834 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31835 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31836 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31837 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31838 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31839 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31840 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31841 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31842 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31843 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31844 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31845 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31846 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31847 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31848 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31849 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31850 * sysvipc/sys/ipc.h: Likewise.
31851 * sysvipc/sys/msg.h: Likewise.
31852 * sysvipc/sys/sem.h: Likewise.
31853 * sysvipc/sys/shm.h: Likewise.
31854 * termios/termios.h: Likewise.
31855 * time/sys/time.h: Likewise.
31856 * time/time.h: Likewise.
31857 * wcsmbs/bits/wchar2.h: Likewise.
31858 * wcsmbs/uchar.h: Likewise.
31859 * wcsmbs/wchar.h: Likewise.
31860 * wctype/wctype.h: Likewise.
31861
0269750c
UD
31862 [BZ #13551]
31863 * Makeconfig: Remove all but ELF support including AIX support.
31864 * Makerules: Likewise.
31865 * config.h.in: Likewise.
31866 * config.make.in: Likewise.
31867 * configure: Likewise.
31868 * configure.in: Likewise.
31869 * csu/Makefile: Likewise.
31870 * csu/version.c: Likewise.
31871 * debug/Makefile: Likewise.
31872 * dlfcn/Makefile: Likewise.
31873 * elf/Makefile: Likewise.
31874 * extra-lib.mk: Likewise.
31875 * iconv/Makefile: Likewise.
31876 * include/libc-symbols.h: Likewise.
31877 * include/shlib-compat.h: Likewise.
31878 * resolv/Makefile: Likewise.
31879 * resolv/res_libc.c: Likewise.
31880 * rt/Makefile: Likewise.
31881 * sysdeps/i386/asm-syntax.h: Likewise.
31882 * sysdeps/i386/sysdep.h: Likewise.
31883 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31884 * sysdeps/mach/sysdep.h: Likewise.
31885 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31886 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31887 * sysdeps/s390/asm-syntax.h: Likewise.
31888 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31889 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31890 * sysdeps/sh/sysdep.h: Likewise.
31891 * sysdeps/unix/sparc/sysdep.h: Likewise.
31892 * sysdeps/wordsize-32/divdi3.c: Likewise.
31893 * sysdeps/x86_64/sysdep.h: Likewise.
31894
00bbd29b
UD
31895 * argp/Versions: Remove _argp_unlock_xxx.
31896
31897 [BZ #13559]
31898 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31899 * abilist/libBrokenLocale.abilist: Likewise.
31900 * abilist/libanl.abilist: Likewise.
31901 * abilist/libc.abilist: Likewise.
31902 * abilist/libcrypt.abilist: Likewise.
31903 * abilist/libdl.abilist: Likewise.
31904 * abilist/libm.abilist: Likewise.
31905 * abilist/libnsl.abilist: Likewise.
31906 * abilist/libpthread.abilist: Likewise.
31907 * abilist/libresolv.abilist: Likewise.
31908 * abilist/librt.abilist: Likewise.
31909 * abilist/libthread_db.abilist: Likewise.
31910 * abilist/libutil.abilist: Likewise.
31911 * abilist/libnss_db.abilist: New file.
31912
31913 * scripts/abilist.awk: Add support for indirect functions.
31914
a2693a0e
UD
31915 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31916
3f05895f
UD
31917 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31918
ecb6fb48
UD
31919 * shlib-versions: Remove entries for ports architectures.
31920
664f8cb9
UD
31921 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31922 files in ports.
31923 * elf/stackguard-macros.h: Remove support for IA-64.
31924 * elf/tst-auditmod1.c: Likewise.
31925 * sysdeps/generic/ldsodefs.h: Likewise.
31926
7ae81d88
UD
31927 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31928 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31929 configure files.
31930
bdeba135
UD
31931 [BZ #13552]
31932 * configure.in: Remove --enable-omitfp support.
31933 * FAQ.in: Adjust.
31934 * config.make.in: Likewise.
31935 * Makeconfig: Likewise.
31936 * manual/install.texi: Likewise.
31937
d75a0a62
UD
31938 In case anyone cares, the IA-64 architecture could move to ports.
31939 * sysdeps/ia64/*: Removed.
31940 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31941 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31942
dcc9756b
UD
31943 [BZ #13555]
31944 * configure.in: Remove entries for unsupported architectures.
31945
d3761ebc 31946 [BZ #13533]
9954432e
UD
31947 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31948 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31949 routines.
31950 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31951 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31952 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31953 fall back to using wcrtomb.
31954 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31955 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31956 renaming.
31957 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31958 * wcsmbs/tst-c16c32-1.c: New file.
31959
31960 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31961 local variable.
31962
c3a87236
UD
31963 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31964
28926a1b
UD
31965 * elf/tst-unique3.cc: Add explicit declaration of gets.
31966 * elf/tst-unique3lib.cc: Likewise.
31967 * elf/tst-unique3lib2.cc: Likewise.
31968 * elf/tst-unique4.cc: Likewise.
31969
df78418a
UD
31970 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31971
8ecd6b2a
JM
319722012-01-06 Joseph Myers <joseph@codesourcery.com>
31973
31974 [BZ #13566]
31975 * assert/assert.h (static_assert): Don't define for C++.
31976 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31977 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31978
9f115170
UD
319792012-01-03 Ulrich Drepper <drepper@gmail.com>
31980
5e0d0300
UD
31981 * iconv/loop.c (single loop): Fix assertion in storing of
31982 remaining bytes.
31983
9f115170
UD
31984 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31985
81fb02b0
UD
319862012-01-01 Ulrich Drepper <drepper@gmail.com>
31987
31988 * posix/getconf.c: Update copyright year.
31989 * nss/getent.c: Likewise.
a316c1f6 31990 * nss/makedb.c: Likewise.
81fb02b0
UD
31991 * iconv/iconvconfig.c: Likewise.
31992 * iconv/iconv_prog.c: Likewise.
31993 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31994 * elf/pldd.c: Likewise.
31995 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31996 * catgets/gencat.c: Likewise.
31997 * csu/version.c: Likewise.
31998 * elf/ldd.bash.in: Likewise.
31999 * elf/sprof.c (print_version): Likewise.
32000 * locale/programs/locale.c: Likewise.
32001 * locale/programs/localedef.c: Likewise.
a316c1f6 32002 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
32003 * nscd/nscd.c (print_version): Likewise.
32004 * debug/xtrace.sh: Likewise.
32005 * malloc/memusage.sh: Likewise.
32006 * malloc/mtrace.pl: Likewise.
32007 * debug/catchsegv.sh: Likewise.
32008
2ba92745
JJ
320092011-12-30 Jakub Jelinek <jakub@redhat.com>
32010
32011 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32012 pure attribute.
32013
dadebdae
UD
320142011-12-24 Ulrich Drepper <drepper@gmail.com>
32015
d3761ebc 32016 [BZ #13533]
db6af3eb
UD
32017 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32018 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32019 transformations.
32020 * iconv/gconv_int.h: Likewise.
32021 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32022 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32023 from libc for GLIBC_2.16.
32024 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32025 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32026 * wcsmbs/uchar.h: Really define mbstate_t.
32027 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32028 * wcsmbs/c16rtomb.c: New file.
32029 * wcsmbs/mbrtoc16.c: New file.
32030 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32031 for C/POSIX locale.
32032 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32033 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32034
dadebdae
UD
32035 * wcsmbs/wchar.h: Add missing __restrict.
32036
67371b56
UD
320372011-12-23 Ulrich Drepper <drepper@gmail.com>
32038
74033a25
UD
32039 [BZ #13532]
32040 * time/Makefile (routines): Add timespec_get.
32041 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32042 * time/time.h: Define TIME_UTC and declare timespec_get. Define
32043 timespec for ISO C11.
32044 * time/timespec_get.c: New file.
32045 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32046 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32047
380d7e87
UD
32048 [BZ #13531]
32049 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32050 * stdlib/stdlib.h: Declare aligned_alloc.
32051 * Versions.def: Add GLIBC_2.16 for libc.
32052 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32053
4e9e7a35
UD
32054 [BZ 13527]
32055 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32056 ISO C11.
32057
380d7e87 32058 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
32059 code.
32060
03a71829
UD
32061 [BZ #13528]
32062 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32063
839e283e
UD
32064 [BZ #13529]
32065 * assert/assert.h (static_assert): Define.
32066
ce5294e2 32067 * version.h: Update for 2.16 development version.
90fa7312 32068
8d44e150 32069 [BZ #13526]
d7809905
UD
32070 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32071 _ISOC11_SOURCE.
32072
c0da14cd
UD
32073 * version.h (RELEASE): Bump for 2.15 release.
32074 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32075
530a3249
MP
32076 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32077 Patch by Marek Polacek <mpolacek@redhat.com>.
32078
67371b56
UD
32079 * bits/byteswap.h: Protect long long constants with __extension__.
32080 * sysdeps/i386/bits/byteswap.h: Likewise.
32081 * sysdeps/ia64/bits/byteswap.h: Likewise.
32082 * sysdeps/s390/bits/byteswap.h: Likewise.
32083 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32084
15db4de1
LD
320852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32086
32087 [BZ #13540]
bbe315ea
LD
32088 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32089 destination buffer.
15db4de1
LD
32090 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32091
2b2596b1
MP
320922011-12-23 Marek Polacek <polacek@redhat.com>
32093
32094 * elf/dl-addr.c (determine_info): Add inline keyword.
32095 * elf/tst-auditmod4b.c (check_avx): Likewise.
32096 * elf/tst-auditmod6b.c (check_avx): Likewise.
32097 * elf/tst-auditmod6c.c (check_avx): Likewise.
32098 * elf/tst-auditmod7b.c (check_avx): Likewise.
32099
70c6c246
UD
321002011-12-23 Ulrich Drepper <drepper@gmail.com>
32101
32102 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32103 !__SSE_MATH__.
32104
c044cf14
LD
321052011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32106
15db4de1 32107 [BZ #13540]
c044cf14
LD
32108 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32109 processing for last bytes.
32110
6b13d9d9
BH
321112011-08-06 Bruno Haible <bruno@clisp.org>
32112
d455f537
BH
32113 [BZ #13061]
32114 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32115 U+0385, not to U+1FEE.
32116
6b13d9d9
BH
32117 [BZ #13062]
32118 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32119 entry for U+00A5 U+0301.
32120
db910efd
UD
321212011-12-22 Ulrich Drepper <drepper@gmail.com>
32122
27deeafc
UD
32123 [BZ #13166]
32124 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32125 buffer for the output is too small.
32126
aed9d171
UD
32127 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32128 optimization.
32129
db910efd
UD
32130 [BZ #13185]
32131 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32132 SSE flags if possible.
32133
2bd779ae
LD
321342011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32135
e7f9dac3 32136 [BZ #13540]
2bd779ae
LD
32137 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32138 processing for last bytes.
32139
154bfc16
JM
321402011-12-22 Joseph Myers <joseph@codesourcery.com>
32141
32142 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32143 (syscall-list-default-options, syscall-list-default-condition)
32144 (syscall-list-includes): Define.
32145 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32146 list of ABIs and options and #if conditions for each ABI. Do not
32147 handle common syscalls between ABIs specially.
32148 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32149 Remove.
32150 (syscall-list-variants, syscall-list-32bit-options)
32151 (syscall-list-32bit-condition, syscall-list-64bit-options)
32152 (syscall-list-64bit-condition): Define.
32153 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32154 (syscall-list-variants, syscall-list-32bit-options)
32155 (syscall-list-32bit-condition, syscall-list-64bit-options)
32156 (syscall-list-64bit-condition): Define.
32157 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32158 Remove.
32159 (syscall-list-variants, syscall-list-32bit-options)
32160 (syscall-list-32bit-condition, syscall-list-64bit-options)
32161 (syscall-list-64bit-condition): Define.
32162 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32163 Remove.
32164 (syscall-list-variants, syscall-list-32bit-options)
32165 (syscall-list-32bit-condition, syscall-list-64bit-options)
32166 (syscall-list-64bit-condition): Define.
32167
21eaf3a5
UD
321682011-12-22 Ulrich Drepper <drepper@gmail.com>
32169
16c6f992
UD
32170 * locale/iso-639.def: Add brx entry.
32171
41043168
UD
32172 [BZ #13328]
32173 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32174 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32175
21eaf3a5
UD
32176 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32177 __feraiseexcept_renamed.
32178
e3a851a2
UD
321792011-12-21 Ulrich Drepper <drepper@gmail.com>
32180
4920765e
UD
32181 [BZ #13538]
32182 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32183 EPOLLET with unsigned values.
32184 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32185 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32186
e3a851a2
UD
32187 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32188 to large cancellation.
32189 * math/s_cacoshf.c: Likewise.
32190 * math/s_cacoshl.c: Likewise.
32191
b27e24b8
RK
321922011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32193
32194 [BZ #13305]
aebefeee 32195 [BZ #12786]
b27e24b8
RK
32196 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32197 * math/s_cacoshf.c: Likewise.
32198 * math/s_cacoshl.c: Likewise.
32199
ee190f67
UD
322002011-12-21 Ulrich Drepper <drepper@gmail.com>
32201
32202 [BZ #13439]
32203 * iconv/gconv.h: Define __GCONV_SWAP.
32204 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32205 * iconvdata/utf-16.c: Likewise.
32206 * iconvdata/utf-32.c: Likewise.
32207
707f25df
AS
322082011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32209
32210 [BZ #13524]
32211 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32212 numerator after shifting it by one limb.
32213
d2daaa1e
RÁE
322142011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32215
32216 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32217 under [__USE_EXTERN_INLINES].
32218
a4647e72
UD
322192011-12-17 Ulrich Drepper <drepper@gmail.com>
32220
32221 [BZ #13446]
32222 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32223
f0b264f1
AZ
322242011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32225
32226 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32227 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32228 optimized code.
32229 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32230 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32231 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32232 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32233 for strncasecmp/strncasecmp_l compilation.
32234 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32235 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32236
8ef4f244
MP
322372011-12-08 Marek Polacek <mpolacek@redhat.com>
32238
32239 [BZ #13484]
32240 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32241 of __asm__.
32242
97ac2654
UD
322432011-12-17 Ulrich Drepper <drepper@gmail.com>
32244
32245 [BZ #13506]
32246 * time/tzfile.c (__tzfile_read): Check values from file header.
32247
91d2a845
WS
322482011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32249
32250 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32251 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32252 * powerpc/powerpc32/dl-start.S: Likewise.
32253 * powerpc/powerpc32/elf/start.S: Likewise.
32254 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32255 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32256 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32257 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32258 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32259 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32260 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32261 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32262 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32263 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32264 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32265 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32266 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32267 * powerpc/powerpc32/memset.S: Likewise.
32268 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32269 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32270 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32271 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32272 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32273 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32274 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32275 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32276 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32277 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32278 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32279 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32280 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32281
a1267ba1
AZ
322822011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32283
32284 * math/libm-test.inc: Added more nearbyint tests.
32285 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32286 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32287 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32288 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32289
ad8ac1bd
RL
322902011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32291
32292 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32293 FD_CLOEXEC.
32294
1d3e4b61
UD
322952011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32296
32297 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32298 Add wcscpy-ssse3 wcscpy-c.
32299 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32300 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32301 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32302 * sysdeps/x86_64/wcschr.S: New file.
32303 * sysdeps/x86_64/wcsrchr.S: New file.
32304 * string/test-strcmp.c: Remove checking of wcscmp function for
32305 wrong alignments.
32306 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32307 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32308 wcsrchr-sse2 wcsrchr-c.
32309 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32310 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32311 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32312 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32313 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32314 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32315 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32316 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32317 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32318 * wcsmbc/wcschr.c (WCSCHR): New macro.
32319
5b330a2d
UD
323202011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32321
32322 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32323 * wcsmbs/test-wcsrchr.c: New file.
32324 * string/test-strrchr.c: Add wcsrchr support.
32325 (WIDE): New macro.
32326 * wcsmbs/test-wcscpy.c: New file.
32327 * string/test-strcpy.c: Add wcscpy support.
32328 (WIDE): New macro.
26428b7c 32329
f039c043
UD
323302011-12-10 Ulrich Drepper <drepper@gmail.com>
32331
32332 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32333 the inner loop.
32334
850fb039
AS
323352011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32336
32337 [BZ #13472]
32338 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32339
4efbd5cb
UD
323402011-12-04 Ulrich Drepper <drepper@gmail.com>
32341
52ff5dd0 32342 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 32343 Minor optimizations.
52ff5dd0 32344
4efbd5cb
UD
32345 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32346 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32347 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32348
8a426e12
UD
323492011-12-03 Ulrich Drepper <drepper@gmail.com>
32350
aff2453d
UD
32351 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32352 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32353 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32354 for gcc to avoid warnings.
32355 * inet/Makefile (tests): Add tst-checks.
32356 * inet/tst-checks.c: New file.
32357
32358 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32359 warning.
32360
32361 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32362 __wmemcmp_sse2.
32363
32364 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32365 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32366
8a426e12
UD
32367 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32368
9bea3473
UD
323692011-12-02 Ulrich Drepper <drepper@gmail.com>
32370
3a965496
UD
32371 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32372 problem.
32373
9bea3473
UD
32374 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32375
f101631b
UD
323762011-11-29 Joseph Myers <joseph@codesourcery.com>
32377
32378 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32379 conditional on GCC version.
32380 (__arch_compare_and_exchange_val_8_acq)
32381 (__arch_compare_and_exchange_val_16_acq)
32382 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32383 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32384 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32385
a98275aa
UD
323862011-12-02 Joseph Myers <joseph@codesourcery.com>
32387
32388 * sysdeps/sh/backtrace.c: New file.
32389
d4cc29a2
AS
323902011-12-02 Andreas Schwab <schwab@redhat.com>
32391
32392 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32393 parenthesis.
32394
6257af2d
AS
323952011-12-01 Andreas Schwab <schwab@redhat.com>
32396
32397 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32398 falling back to utime.
32399
b5f44c1a
AS
324002011-11-30 Andreas Schwab <schwab@redhat.com>
32401
32402 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32403 expectations for float.
32404
f3a6cc0a
AS
324052011-11-29 Andreas Schwab <schwab@redhat.com>
32406
32407 * locale/weight.h (findidx): Add parameter len.
32408 * locale/weightwc.h (findidx): Likewise.
32409 * posix/fnmatch_loop.c (FCT): Adjust caller.
32410 * posix/regcomp.c (build_equiv_class): Likewise.
32411 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32412 * posix/regexec.c (check_node_accept_bytes): Likewise.
32413 * string/strcoll_l.c (STRCOLL): Likewise.
32414 * string/strxfrm_l.c (STRXFRM): Likewise.
32415
9d65ea3a
UD
324162011-11-17 Ulrich Drepper <drepper@gmail.com>
32417
32418 * Makefile.in: Remove CVSOPT handling.
32419 * configure.in: Remove use of AC_REVISION.
32420 * iconvdata/Makefile (distribute): No need to filter out CVS.
32421 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32422 handling.
32423
5583a086
AS
324242011-11-16 Andreas Schwab <schwab@redhat.com>
32425
32426 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32427 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32428 [USE_AS_STRNCASECMP_L]: Likewise.
32429 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32430 NO_TLS_DIRECT_SEG_REFS.
32431 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32432 Fix argument offsets for non-PIC.
32433 [USE_AS_STRNCASECMP_L]: Likewise.
32434 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32435 NO_TLS_DIRECT_SEG_REFS.
32436
d62a8200
UD
324372011-11-15 Ulrich Drepper <drepper@gmail.com>
32438
9d65ea3a 32439 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
32440 O_CLOEXEC.
32441 * locale/loadlocale.c (_nl_load_locale): Likewise.
32442
09f93bd3
AS
324432011-11-15 Andreas Schwab <schwab@redhat.com>
32444
446514f9
AS
32445 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32446 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32447 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32448 (SYSCALL_GETTIME): Set errno on error.
32449
09f93bd3
AS
32450 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32451 count references to noai6ai_cached.
32452
312be3f9
UD
324532011-11-15 Ulrich Drepper <drepper@gmail.com>
32454
32455 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32456
32457 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32458 FD_CLOEXEC for /proc/self/maps.
32459
32460 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32461 FD_CLOEXEC for /proc/meminfo.
32462
32463 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32464 gai.conf.
32465
32466 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32467 FD_CLOEXEC for given file.
32468
32469 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32470
32471 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32472 FD_CLOEXEC for /etc/hosts.
32473 (_gethtent): Likewise.
32474
32475 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32476
32477 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32478 cancellation and set FD_CLOEXEC for /etc/netgroup.
32479
32480 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32481 reading /etc/publickey.
32482
32483 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32484 allow cancellation when reading /etc/group.
32485
32486 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32487 cancellation.
32488 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32489
32490 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32491 when using data file.
32492
32493 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32494
32495 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32496 (write_nis_obj): Use "c" and "e" in fopen.
32497
32498 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32499
32500 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32501
32502 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32503
32504 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32505
32506 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32507 locale.alias.
32508
32509 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32510
32511 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32512
32513 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32514
32515 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32516 file parsing and set FD_CLOEXEC.
32517
82af0fa8
UD
325182011-11-14 Ulrich Drepper <drepper@gmail.com>
32519
32520 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32521
a5fb313c
AS
325222011-11-14 Andreas Schwab <schwab@redhat.com>
32523
32524 * malloc/arena.c (arena_get2): Don't call reused_arena when
32525 _int_new_arena failed.
32526
6abf3465
UD
325272011-11-14 Ulrich Drepper <drepper@gmail.com>
32528
32529 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32530 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32531 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32532 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32533 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32534 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32535 to compile strcasecmp and strncasecmp.
32536 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32537 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32538
32539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32540
76e3966e
UD
325412011-11-13 Ulrich Drepper <drepper@gmail.com>
32542
32543 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32544 locale-defines.sym to gen-as-const-headers.
32545 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32546 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32547 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32548 to compile strcasecmp and strncasecmp.
32549 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32550 strcasecmp_l and strncasecmp_l.
32551 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32552 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32553 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32554 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32555 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32556 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32557 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32558 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32559 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32560 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32561 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32562
ab26144e
UD
325632011-11-12 Ulrich Drepper <drepper@gmail.com>
32564
7edb22ef
UD
32565 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32566 result of SYSDEP_GETTIME_CPU to retval.
32567 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32568 parameter list to macro. Remove trailing semicolon. Adjust users.
32569
9694fc44
UD
32570 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32571 variable.
32572
8ad89ef8
UD
32573 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32574 mantissa words.
32575 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32576
0c822ef9
UD
32577 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32578 from unused variable.
32579
874e0564
UD
32580 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32581 DWARF definitions.
32582 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32583 for assembling.
32584
3a2edc79
UD
32585 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32586 over namespaces.
32587
f3c2577f
UD
32588 * sunrpc/rpc_prot.c (rejected): Fix case value.
32589
294ce126
UD
32590 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32591 unsigned long long int to avoid warnings in shift.
32592
5e2b63c6
UD
32593 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32594 of use of trans.
32595 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32596 variable tmp.
32597
e7f4b08e
UD
32598 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32599 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32600 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32601
ab26144e
UD
32602 * nis/nis_table.c (nis_list): Use variable of correct type for
32603 result of __follow_path call.
32604
8a6d5255
AZ
326052011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32606
32607 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32608 of math functions ceil, trunc, floor, round, and sqrt, when
32609 avaliable on the platform.
32610 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32611 name clash.
32612 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32613 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32614 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32615
aaddc98c
MP
326162011-10-30 Marek Polacek <mpolacek@redhat.com>
32617
32618 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32619 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32620
95b7042b
RM
326212011-11-11 Roland McGrath <roland@hack.frob.com>
32622
32623 * include/unistd.h: Fix __readlink return type.
32624 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32625
57769839
UD
326262011-11-11 Ulrich Drepper <drepper@gmail.com>
32627
32628 * stdlib/ucontext.h: Undo last change for makecontext.
32629
edc5984d
AS
326302011-11-11 Andreas Schwab <schwab@redhat.com>
32631
98591e58
AS
32632 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32633
edc5984d
AS
32634 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32635 * setjmp/setjmp.h: Mark functions as non-leaf.
32636 * setjmp/bits/setjmp2.h: Likewise.
32637 * stdlib/ucontext.h: Likewise.
32638
77cdc054
AS
326392011-11-10 Andreas Schwab <schwab@redhat.com>
32640
32641 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32642 (reused_arena): Don't check arena limit.
32643 (arena_get2): Atomically check arena limit.
32644
fe72eebd
UD
326452011-11-08 Ulrich Drepper <drepper@gmail.com>
32646
5f078c32
UD
32647 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32648 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32649
fe72eebd
UD
32650 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32651 instructions.
32652
ae1bc2fa
AS
326532011-11-07 Andreas Schwab <schwab@redhat.com>
32654
7583a88d
AS
32655 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32656 handler when locking.
32657
ae1bc2fa
AS
32658 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32659 Fix size of allocated buffer.
32660
10fb0bfa
AS
326612011-11-04 Andreas Schwab <schwab@redhat.com>
32662
998832a4
AS
32663 [BZ #10103]
32664 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32665 declarations for long double functions.
32666 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32667
10fb0bfa
AS
32668 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32669
3d7ba52b
AS
326702011-11-03 Andreas Schwab <schwab@redhat.com>
32671
a9ae54a1
AS
32672 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32673 installed.
32674
3d7ba52b
AS
32675 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32676 is disabled.
32677
bc8db248
ST
326782011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32679
32680 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32681
45b96dd6
AS
326822011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32683
647776f6
AS
32684 * include/alloca.h (stackinfo_alloca_round): Define.
32685 (extend_alloca): Use it.
32686 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32687 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32688 here.
32689
d91a8b93
AS
32690 * scripts/check-local-headers.sh: Ignore libaudit.h.
32691
45b96dd6
AS
32692 * nscd/Makefile (extra-objs): Make recursively expanded.
32693
432d41ce
UD
326942011-11-01 Ulrich Drepper <drepper@gmail.com>
32695
34372fc6
UD
32696 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32697 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32698
fadb59f8
UD
32699 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32700 * posix/tst-rfc3484-2.c: Likewise.
32701 * posix/tst-rfc3484-3.c: Likewise.
32702
78239589
UD
32703 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32704 process_vm_writev.
32705 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32706 process_vm_writev.
32707 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32708 process_vm_writev from libc using GLIBC_2.15 version.
32709
432d41ce
UD
32710 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32711
02f9c6cf
PP
327122011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32713
32714 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32715 stack usage.
32716
3a2c0242
UD
327172011-10-31 Ulrich Drepper <drepper@gmail.com>
32718
f4ec4833
UD
32719 [BZ #13367]
32720 * nss/getent.c (initgroups_keys): Show error message in case no group
32721 names are given.
32722
3a2c0242
UD
32723 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32724 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32725 __bump_nl_timestamp.
32726 * nscd/connections (nscd_init): When host database is served open
32727 netlink socket and request notification about configuration changes.
32728 (main_loop_poll): Track netlink file descriptor and bump timestamp
32729 in case data becomes available.
32730 (main_loop_epoll): Likewise.
32731 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32732 (database_pers_head): Add extra_data fileds.
32733 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32734 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32735 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32736 Adjust caller.
32737 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32738 in6ai data, call __free_in6ai.
32739 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32740 Add -DHAVE_NETLINK.
32741 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32742 interface information. Reuse previous data if netlink timestamp
32743 is not changed.
32744 (__bump_nl_timestamp): New function.
32745 (__free_in6ai): New function.
32746
636064eb
UD
327472011-10-30 Ulrich Drepper <drepper@gmail.com>
32748
32749 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32750 close_not_cancel_no_status here.
32751 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32752
9beb2334
UD
327532011-10-29 Ulrich Drepper <drepper@gmail.com>
32754
6ef76f3b
UD
32755 [BZ #13276]
32756 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32757 return value.
32758
0ffc4f3e 32759 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32760 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32761 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32762
cb95113e
UD
327632011-07-03 Andreas Jaeger <aj@suse.de>
32764
32765 [BZ #10709]
32766 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32767 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32768 * math/libm-test.inc (sin_test): Add test case.
32769
a1b560ff
UD
327702011-10-29 Ulrich Drepper <drepper@gmail.com>
32771
c9aaface
UD
32772 [BZ #13337]
32773 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32774 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32775
d272e7f1
UD
32776 * elf/chroot_canon.c (chroot_canon): Cleanups.
32777
1bc33071
UD
32778 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32779
1760874d
TJ
32780 [BZ #13335]
32781 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32782 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32783
51d91b18
UD
32784 * string/test-strchr.c: Make usable for strchrnul testing.
32785 * string/test-strchrnul.c: New file.
32786 * string/Makefile (strop-tests): Add strchrnul.
32787
a1b560ff 32788 * po/it.po: Update from translation team.
b611fb81 32789 * po/es.po: Likewise.
a1b560ff 32790
a5b81e1f
UD
327912011-10-28 Ulrich Drepper <drepper@gmail.com>
32792
fd52bc6d
UD
32793 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32794 the three constants needed as parameters. Drop the others.
32795 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32796 __m128i_strloadu_tolower.
52e4b9eb
UD
32797 Create and initialize variable zero and use it in all the places
32798 where _mm_setzero_si128 was used.
fd52bc6d 32799
a5b81e1f
UD
32800 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32801 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32802 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32803 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32804 anymore.
32805 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32806 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32807 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32808 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32809 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32810 __mpranred, __mptan.
32811 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32812 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32813 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32814 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32815 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32816 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32817 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32818 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32819 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32820
b4343346
AS
328212011-10-28 Andreas Schwab <schwab@redhat.com>
32822
0c92d8a8
AS
32823 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32824 redefine if SHARED.
32825 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32826
b4343346
AS
32827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32828 wide char related routines to wcsmbs subdir.
32829
3871f58f
AS
328302011-10-27 Andreas Schwab <schwab@redhat.com>
32831
32832 [BZ #13344]
32833 * misc/sys/cdefs.h (__THROWNL): Define.
32834 * posix/unistd.h: Use __THREADNL instead of __THREAD
32835 for memory synchronization functions.
32836
94d44d9f
RM
328372011-10-26 Roland McGrath <roland@hack.frob.com>
32838
21b64b15 32839 [BZ #13349]
94d44d9f
RM
32840 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32841 doesn't exist.
32842 * manual/stdio.texi (Obstack Streams): Node removed.
32843
f6ce9294
AS
328442011-10-26 Andreas Schwab <schwab@redhat.com>
32845
80479147
AS
32846 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32847 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32848 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32849
f6ce9294
AS
32850 * math/math_private.h (math_force_eval): Allow non-addressable
32851 arguments.
32852 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32853
618280a1
UD
328542011-10-25 Ulrich Drepper <drepper@gmail.com>
32855
e0016b11
UD
32856 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32857 file is not needed.
32858
32859 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32860 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32861 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32862 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32863 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32864 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32865 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32866 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32867 Add AVX variants.
32868 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32869 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32870 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32871 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32872 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32873 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32874 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32875 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32876 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32877 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32878 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32879 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32880 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32881 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32882 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32883 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32884 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32885 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32886 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32887
32888 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32889 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32890
618280a1
UD
32891 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32892 place. Use VEX encoding when compiling for AVX.
32893
37822576
AS
328942011-10-25 Andreas Schwab <schwab@redhat.com>
32895
1f1e1947
AS
32896 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32897 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32898
37822576
AS
32899 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32900
31ea014d
UD
329012011-10-25 Ulrich Drepper <drepper@gmail.com>
32902
d7826aa1 32903 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32904 useless if() expression.
d7826aa1
UD
32905 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32906 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32907 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32908 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32909 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32910 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32911 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32912 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32913 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32914 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32915 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32916 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32917 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32918 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32919 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32920 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32921 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32922 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32923 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32924
31ea014d
UD
32925 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32926
16437fec
AS
329272011-10-25 Andreas Schwab <schwab@redhat.com>
32928
32929 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32930 condition.
32931 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32932
31d3cc00
UD
329332011-10-25 Ulrich Drepper <drepper@gmail.com>
32934
32935 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32936 .text section. Avoid duplicate constants.
32937 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32938 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32939 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32940 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32941 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32944 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32945 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32946 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32947 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32948 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32949 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32950 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32951 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32952 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32953 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32954 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32955 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32956 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32957 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32958 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32959 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32960 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32961 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32962 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32963 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32964 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32965 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32966 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32967 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32968 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32969 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32970 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32971 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32972 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32973 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32974 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32975 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32976 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32977 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32978 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32979 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32980 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32981 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32982
58985aa9
UD
329832011-10-24 Ulrich Drepper <drepper@gmail.com>
32984
202c9deb
UD
32985 * sysdeps/x86_64/dla.h: Move to ...
32986 * sysdeps/x86_64/fpu/dla.h: ...here.
32987 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32988 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32989
af968f62
UD
32990 * config.make.in: Add have-mfma4 entry.
32991 * configure.in: Substitute libc_cv_cc_fma4.
32992 * math/Makefile (dbl-only-routines): Add sincostab.
32993 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32994 Use __sincostab not sincos.
32995 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32996 name is a macro.
32997 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
33001 using __copysign.
33002 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
33003 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
33004 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33005 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33006 and __inv.
33007 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33008 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33009 __copysign.
33010 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
33011 define aliases when function name is a macro.
33012 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33013 sysdeps/ieee754/dbl-64/sincos.tbl.
33014 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33015 fma4-enabled routines.
33016 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33017 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33018 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33019 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33020 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33021 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33022 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33023 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33024 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33025 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33026 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33027 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33028 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33029 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33030 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33031 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33032 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33033 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33034 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33035 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33036 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33037 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33038 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33039 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33040 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33041 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33042 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33043 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33044 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33045 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33046
58985aa9
UD
33047 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33048 rename.
33049 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33052 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33053 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33054 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33055 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33056 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33057
a201fbcf
AS
330582011-10-24 Andreas Schwab <schwab@redhat.com>
33059
33060 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33061
fc2ee42a
LD
330622011-10-23 Ulrich Drepper <drepper@gmail.com>
33063
bb3129bd
UD
33064 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33065
0275fff8
UD
33066 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33067 prediction.
33068 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33069
2fa2ae85
UD
33070 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33071 Remove unused variable magic_bits.
33072 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33073
fc2ee42a
LD
33074 * string/strnlen.c: Define and use STRNLEN macro.
33075 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33076 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33077 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33078 * wcsmbs/wcslen.c: Define and use WCSLEN.
33079 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33080 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33081 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33082 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33083 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33084 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33085 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33086
ce7dd29f
LD
330872011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33088
33089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33090 strnlen-sse2-no-bsf.
33091 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33092 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33093 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33094 Add strnlen support.
33095 (USE_AS_STRNLEN): New macro.
33096 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33097 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33098 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33099 * sysdeps/x86_64/wcslen.S: New file.
33100
979c70a3
MZ
331012011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33102
33103 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33104 XMM-moves are used for copying on small sizes.
33105
2d09f82f
LD
331062011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33107
33108 * wcsmbs/Makefile (strop-tests): Add wcschr.
33109 * wcsmbs/test-wcschr.c: New file.
33110 * string/test-strchr.c: Update.
33111 Add wcschr support.
33112 (WIDE): New macro.
33113
619fccca
LD
331142011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33115
2d09f82f 33116 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
33117 * wcsmbs/test-wcslen.c: New file.
33118 * string/test-strlen.c: Update.
33119 Add wcslen support.
33120 (WIDE): New macro.
33121
09f699ea
UD
331222011-10-23 Ulrich Drepper <drepper@gmail.com>
33123
33124 * po/it.po: Update from translation team.
33125
95584d3b
LD
331262011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33127
33128 * sysdeps/x86_64/wcscmp.S: Update.
33129 Fix wrong comparison semantics.
33130 wcscmp shall use signed comparison not unsigned.
33131 Don't use substraction to avoid overflow bug.
33132 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33133 * wcsmbc/wcscmp.c: Likewise.
33134 * string/test-strcmp.c: Likewise.
33135 Add new tests to check cases with negative values.
33136
c8b3296b
UD
331372011-10-23 Ulrich Drepper <drepper@gmail.com>
33138
33139 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33140 * sysdeps/x86_64/dla.h: ...here. New file.
33141 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33142 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33143 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33144 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33146 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33147 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33148 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33149 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33150
246ad57a
AS
331512011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33152
33153 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33154 __ynl_finite aliases.
33155
a1a87169
UD
331562011-10-22 Ulrich Drepper <drepper@gmail.com>
33157
0d355eb7
UD
33158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33159
a1a87169
UD
33160 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33161 define DLA_FMA.
33162 [DLA_FMA] (EMULV): Use DLA_FMA.
33163 [DLA_FMA] (MUL12): Use EMULV.
33164 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33165 that are not needed.
33166 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33167 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33168 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33169 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33170 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33171 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33172 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33173
ee2aafe0
AS
331742011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33175
33176 * math/s_nan.c: Undef __nan.
33177 * math/s_nanf.c: Undef __nanf.
33178 * math/s_nanl.c: Undef __nanl.
33179 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33180 "math_private.h".
33181
bc62c2fb
UD
331822011-10-22 Ulrich Drepper <drepper@gmail.com>
33183
77425c63
UD
33184 * math/s_catan.c: Add branch predictions.
33185 * math/s_catanf.c: Likewise.
33186 * math/s_catanh.c: Likewise.
33187 * math/s_catanhf.c: Likewise.
33188 * math/s_catanhl.c: Likewise.
33189 * math/s_catanl.c: Likewise.
33190 * math/s_cexp.c: Likewise.
33191 * math/s_cexpf.c: Likewise.
33192 * math/s_cexpl.c: Likewise.
33193 * math/s_clog.c: Likewise.
33194 * math/s_clog10.c: Likewise.
33195 * math/s_clog10f.c: Likewise.
33196 * math/s_clog10l.c: Likewise.
33197 * math/s_clogf.c: Likewise.
33198 * math/s_clogl.c: Likewise.
33199 * math/s_csqrt.c: Likewise.
33200 * math/s_csqrtf.c: Likewise.
33201 * math/s_csqrtl.c: Likewise.
33202 * math/s_ctanf.c: Likewise.
33203 * math/s_ctanh.c: Likewise.
33204 * math/s_ctanhf.c: Likewise.
33205 * math/s_ctanhl.c: Likewise.
33206 * math/s_ctanl.c: Likewise.
33207
bc62c2fb
UD
33208 * math/math_private.h: Define __nan, __nanf, __nanl.
33209 * math/s_cacosh.c: Include <math_private.h>.
33210 * math/s_cacoshl.c: Likewise.
33211 * math/s_casinh.c: Likewise.
33212 * math/s_casinhf.c: Likewise.
33213 * math/s_casinhl.c: Likewise.
33214 * math/s_ccos.c: Rely entire on ccosh.
33215 * math/s_ccosf.c: Rely entire on ccoshf.
33216 * math/s_ccosl.c: Rely entirely on ccoshl.
33217 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33218 Remove tests for FE_INVALID.
33219 * math/s_ccoshf.c: Likewise.
33220 * math/s_ccoshl.c: Likewise.
33221 * math/s_csin.c: Likewise.
33222 * math/s_csinf.c: Likewise.
33223 * math/s_csinh.c Likewise.
33224 * math/s_csinhf.c: Likewise.
33225 * math/s_csinhl.c: Likewise.
33226 * math/s_csinl.c: Likewise.
33227 * math/s_ctan.c: Likewise.
33228 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33229 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33230 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33231
8ec250a4
UD
332322011-10-21 Ulrich Drepper <drepper@gmail.com>
33233
c196fed8
UD
33234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33235 compilation problems.
33236
8ec250a4
UD
33237 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33238 __builtin_expect.
33239
8d4f46c6
UD
332402011-10-20 Ulrich Drepper <drepper@gmail.com>
33241
ed72b654
UD
33242 * sysdeps/i386/configure.in: Test for -mfma4 option.
33243 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33244 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33245 COMMON_CPUID_INDEX_80000001.
33246 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33247 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33248 use it if FMA3 is not supported.
33249 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33250
8d4f46c6
UD
33251 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33252 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33253
d45c60c2
AS
332542011-10-20 Andreas Schwab <schwab@redhat.com>
33255
33256 [BZ #12892]
33257 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33258 it would create a cycle with a link time dependency.
33259
d9a4d2ab
UD
332602011-10-19 Ulrich Drepper <drepper@gmail.com>
33261
855d1560
UD
33262 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33263 instruction.
33264 * string/Makefile (strop-tests): Add rawmemchr.
33265 * string/test-rawmemchr.c: New file.
33266
d9a4d2ab
UD
33267 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33268 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33269 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33270 when compiling str{,n}casecmp and when AVX is available. Hook up
33271 new optimized code in initializers.
33272
8f3b1ffe
AS
332732011-10-19 Andreas Schwab <schwab@redhat.com>
33274
33275 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33276 __feraiseexcept instead of feraiseexcept.
33277
d38f1dba
UD
332782011-10-18 Ulrich Drepper <drepper@gmail.com>
33279
d9a8d0ab
UD
33280 * math/math_private.h: Define defaults for libc_fetestexcept and
33281 libc_feupdateenv.
33282 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33283 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33284 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33285 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33286 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33287 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33288 libc_fetestexcept and libc_feupdateenv.
33289
4855e3dd
UD
33290 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33291 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33292 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33293 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33294 libc_feholdexcept_setround.
33295
581d30e3
UD
33296 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33297 Add s_nearbyint-c and s_nearbyintf-c.
33298 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33299 nearbyintf inlines.
33300 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33301 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33302 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33303 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33304
d38f1dba
UD
33305 * math/math_private.h: Define defaults for libc_fegetround,
33306 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33307 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33308 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33309 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33310 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33311 standard functions.
33312 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33313 Remove comments and hacks for old compiler versions.
33314 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33315 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33316 libc_feholdexceptl.
33317
caa6c9d8
AS
333182011-10-18 Andreas Schwab <schwab@redhat.com>
33319
33320 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
33321 (__feraiseexcept_renamed): Add __NTH.
33322 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
33323 namespace violations.
33324
97c066e6
UD
333252011-10-17 Ulrich Drepper <drepper@gmail.com>
33326
99ce7b04
UD
33327 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33328
1004d182
UD
33329 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33330
228a984d
UD
33331 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33332 recently added interfaces.
33333 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33334
c8553a6a
UD
33335 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33336 about macro parameter expansion.
33337
ed22dcf6
UD
33338 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33339 __NO_MATH_INLINES is defined. Cleanups.
33340
33341 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33342 and __floorf is target has SSE4.1.
33343 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33344 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33345 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33346 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33347
b171c137
UD
33348 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33349 name.
33350 (floorf): Likewise.
33351
97c066e6
UD
33352 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33353
629f62ef
AS
333542011-10-17 Andreas Schwab <schwab@redhat.com>
33355
49a43d80
AS
33356 * misc/sys/cdefs.h: Fix last change.
33357
629f62ef
AS
33358 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33359 database lookup.
33360
e453f6cd
UD
333612011-10-16 Ulrich Drepper <drepper@gmail.com>
33362
aa78043a
UD
33363 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33364
ad0f5cad
UD
33365 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33366 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33367 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33368 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33369 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33370 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33371 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33372 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33373 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33374 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33375 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33376 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33377 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33378 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33379 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33380 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33381 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33382 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33383 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33384 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33385 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33386 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33387
33388 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33389 ceil, ceilf, floor, floorf.
33390
33391 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33392 Perform IRELATIVE relocations last.
33393
e453f6cd
UD
33394 * elf/do-rel.h: Add another parameter nrelative, replacing the
33395 local variable with the same name. Change name of the function
33396 to end in Rel or Rela (uppercase).
33397 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33398 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33399 elf_dynamic_do_##reloc function.
33400
fd5bdc09
UD
334012011-10-15 Ulrich Drepper <drepper@gmail.com>
33402
79b195b5
UD
33403 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33404 is sufficient, at least on modern CPUs.
33405
d4a28569
UD
33406 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33407
b61099b5
UD
33408 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33409 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33410
bcf01e6d
UD
33411 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33412 __expl_finite.
33413 * math/bits/math-finite.h: Add entries for exp.
33414 * math/e_expl.c: Add __*_finite alias.
33415 * sysdeps/i386/fpu/e_exp.S: Likewise.
33416 * sysdeps/i386/fpu/e_expf.S: Likewise.
33417 * sysdeps/i386/fpu/e_expl.c: Likewise.
33418 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33419 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33420 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33421 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33422 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33423 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33424 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33425
ba1a0d59
UD
33426 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33427 is sufficient, at least on modern CPUs.
33428
fd5bdc09
UD
33429 * ctype/ctype-info.c (__ctype_init): Define.
33430 * include/ctype.h (__ctype_init): Declare.
33431 (__ctype_b_loc): The variable is always initialized.
33432 (__ctype_toupper_loc): Likewise.
33433 (__ctype_tolower_loc): Likewise.
33434 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33435 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33436
7872cfb0
AS
334372011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33438
b468825a
AS
33439 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33440
7872cfb0
AS
33441 * configure.in: Also look in $cxxmachine/include for C++ system
33442 headers.
33443
be13f7bf
LD
334442011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33445
33446 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33447 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33448 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33449 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33450 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33451 (USE_AS_WMEMCMP): New macro.
33452 Fixing indents.
33453 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33454 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33455 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33456 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33458 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33459 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33460 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33461 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33462 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33463 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33464 (USE_AS_WMEMCMP): New macro.
33465 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33466 * sysdeps/string/test-memcmp.c: Update.
33467 Fix simple_wmemcmp.
33468 Add new tests.
33469 * wcsmbs/wmemcmp.c: Update.
33470 (WMEMCMP): New macro.
33471 Fix overflow bug.
33472
556a2007
AJ
334732011-10-12 Andreas Jaeger <aj@suse.de>
33474
33475 [BZ #13268]
33476 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33477
538faaa7
UD
334782011-10-15 Ulrich Drepper <drepper@gmail.com>
33479
ab6737ff
UD
33480 * libio/iofwide.c (do_length): Avoid warning.
33481
538faaa7
UD
33482 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33483
396a21b1
UD
334842011-10-14 Ulrich Drepper <drepper@gmail.com>
33485
cdf2901f
UD
33486 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33487
38ad40ce
UD
33488 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33489 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33490 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33491 * sysdeps/i386/i686/fpu/e_log.S: New file.
33492 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33493 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33494
396a21b1
UD
33495 * ctype/ctype.h: Add support for inlined isXXX functions when
33496 compiling C++ code.
33497
6b1f68c9
AS
334982011-10-14 Andreas Schwab <schwab@redhat.com>
33499
349290c0
AS
33500 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33501
6b1f68c9
AS
33502 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33503
f2282d42
RM
335042011-10-13 Roland McGrath <roland@hack.frob.com>
33505
33506 [BZ #13291]
33507 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33508
5298ffa8
AS
335092011-10-13 Andreas Schwab <schwab@redhat.com>
33510
714fad23
AS
33511 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33512 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33513 feraiseexcept.
33514
81dcc7fb
AS
33515 * sysdeps/x86_64/memrchr.S: Check for zero size.
33516
5298ffa8
AS
33517 * string/stratcliff.c: Add memrchr tests.
33518
951fbcec
LD
335192011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33520
33521 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33522 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33523 rawmemchr-sse2 rawmemchr-sse2-bsf.
33524 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33525 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33526 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33527 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33528 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33529 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33530 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33531 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33532 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33533 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33534 * string/memrchr.c (MEMRCHR): New macro.
33535
0ac5ae23
UD
335362011-10-12 Ulrich Drepper <drepper@gmail.com>
33537
33538 Add integration with gcc's -ffinite-math-only and optimize wrapper
33539 functions in libm.
33540 * Versions.def: Define GLIBC_2.15 version for libm.
33541 * math/Makefile (headers): Add bits/math-finite.h.
33542 * math/bits/math-finite.h: New file.
33543 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33544 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33545 * math/e_acoshl.c: Add __*_finite alias.
33546 * math/e_acosl.c: Likewise.
33547 * math/e_asinl.c: Likewise.
33548 * math/e_atan2l.c: Likewise.
33549 * math/e_atanhl.c: Likewise.
33550 * math/e_coshl.c: Likewise.
33551 * math/e_exp10.c: Likewise.
33552 * math/e_exp10f.c: Likewise.
33553 * math/e_exp10l.c: Likewise.
33554 * math/e_exp2l.c: Likewise.
33555 * math/e_fmodl.c: Likewise.
33556 * math/e_gammal_r.c: Likewise.
33557 * math/e_hypotl.c: Likewise.
33558 * math/e_j0l.c: Likewise.
33559 * math/e_j1l.c: Likewise.
33560 * math/e_jnl.c: Likewise.
33561 * math/e_lgammal_r.c: Likewise.
33562 * math/e_log10l.c: Likewise.
33563 * math/e_log2l.c: Likewise.
33564 * math/e_logl.c: Likewise.
33565 * math/e_powl.c: Likewise.
33566 * math/e_sinhl.c: Likewise.
33567 * math/e_sqrtl.c: Likewise.
33568 * math/e_scalb.c: Completely rewritten and optimized.
33569 * math/e_scalbf.c: Likewise.
33570 * math/e_scalbl.c: Likewise.
33571 * math/w_acos.c: Likewise.
33572 * math/w_acosf.c: Likewise.
33573 * math/w_acosl.c: Likewise.
33574 * math/w_acosh.c: Likewise.
33575 * math/w_acoshf.c: Likewise.
33576 * math/w_acoshl.c: Likewise.
33577 * math/w_asin.c: Likewise.
33578 * math/w_asinf.c: Likewise.
33579 * math/w_asinl.c: Likewise.
33580 * math/w_atan2.c: Likewise.
33581 * math/w_atan2f.c: Likewise.
33582 * math/w_atan2l.c: Likewise.
33583 * math/w_atanh.c: Likewise.
33584 * math/w_atanhf.c: Likewise.
33585 * math/w_atanhl.c: Likewise.
33586 * math/w_exp10.c: Likewise.
33587 * math/w_exp10f.c: Likewise.
33588 * math/w_exp10l.c: Likewise.
33589 * math/w_fmod.c: Likewise.
33590 * math/w_fmodf.c: Likewise.
33591 * math/w_fmodl.c: Likewise.
33592 * math/w_j0.c: Likewise.
33593 * math/w_j0f.c: Likewise.
33594 * math/w_j0l.c: Likewise.
33595 * math/w_j1.c: Likewise.
33596 * math/w_j1f.c: Likewise.
33597 * math/w_j1l.c: Likewise.
33598 * math/w_jn.c: Likewise.
33599 * math/w_jnf.c: Likewise.
33600 * math/w_log.c: Likewise.
33601 * math/w_logf.c: Likewise.
33602 * math/w_logl.c: Likewise.
33603 * math/w_log10.c: Likewise.
33604 * math/w_log10f.c: Likewise.
33605 * math/w_log10l.c: Likewise.
33606 * math/w_log2.c: Likewise.
33607 * math/w_log2f.c: Likewise.
33608 * math/w_log2l.c: Likewise.
33609 * math/w_pow.c: Likewise.
33610 * math/w_powf.c: Likewise.
33611 * math/w_powl.c: Likewise.
33612 * math/w_remainder.c: Likewise.
33613 * math/w_remainderf.c: Likewise.
33614 * math/w_remainderl.c: Likewise.
33615 * math/w_scalb.c: Likewise.
33616 * math/w_scalbf.c: Likewise.
33617 * math/w_scalbl.c: Likewise.
33618 * math/w_sqrt.c: Likewise.
33619 * math/w_sqrtf.c: Likewise.
33620 * math/w_sqrtl.c: Likewise.
33621 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33622 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33623 used.
33624 * math/math_private.h: Declare __kernel_standard_f.
33625 * math/w_cosh.c: Remove cruft and optimize a bit.
33626 * math/w_coshf.c: Likewise.
33627 * math/w_coshl.c: Likewise.
33628 * math/w_exp2.c: Likewise.
33629 * math/w_exp2f.c: Likewise.
33630 * math/w_exp2l.c: Likewise.
33631 * math/w_hypot.c: Likewise.
33632 * math/w_hypotf.c: Likewise.
33633 * math/w_hypotl.c: Likewise.
33634 * math/w_lgamma.c: Likewise.
33635 * math/w_lgamma_r.c: Likewise.
33636 * math/w_lgammaf.c: Likewise.
33637 * math/w_lgammaf_r.c: Likewise.
33638 * math/w_lgammal.c: Likewise.
33639 * math/w_lgammal_r.c: Likewise.
33640 * math/w_sinh.c: Likewise.
33641 * math/w_sinhf.c: Likewise.
33642 * math/w_sinhl.c: Likewise.
33643 * math/w_tgamma.c: Likewise.
33644 * math/w_tgammaf.c: Likewise.
33645 * math/w_tgammal.c: Likewise.
33646 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33647 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33648 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33649 Minor optimizations. Pretty printing. Remove cruft.
33650 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33651 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33652 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33653 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33654 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33655 * sysdeps/i386/fpu/e_asin.S: Likewise.
33656 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33657 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33658 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33659 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33660 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33661 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33662 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33663 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33664 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33665 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33666 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33667 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33668 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33669 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33670 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33671 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33672 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33673 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33674 * sysdeps/i386/fpu/e_log.S: Likewise.
33675 * sysdeps/i386/fpu/e_log10.S: Likewise.
33676 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33677 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33678 * sysdeps/i386/fpu/e_log2.S: Likewise.
33679 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33680 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33681 * sysdeps/i386/fpu/e_logf.S: Likewise.
33682 * sysdeps/i386/fpu/e_logl.S: Likewise.
33683 * sysdeps/i386/fpu/e_pow.S: Likewise.
33684 * sysdeps/i386/fpu/e_powf.S: Likewise.
33685 * sysdeps/i386/fpu/e_powl.S: Likewise.
33686 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33687 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33688 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33689 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33690 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33691 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33692 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33693 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33694 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33695 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33696 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33697 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33698 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33699 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33700 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33701 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33702 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33703 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33704 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33705 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33706 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33707 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33708 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33709 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33710 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33711 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33712 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33713 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33714 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33715 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33716 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33717 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33718 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33719 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33720 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33721 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33722 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33723 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33724 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33725 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33726 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33727 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33728 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33729 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33730 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33731 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33732 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33733 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33734 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33735 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33736 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33737 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33738 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33739 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33740 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33741 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33742 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33743 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33744 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33745 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33746 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33747 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33748 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33749 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33750 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33751 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33752 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33753 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33754 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33755 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33756 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33757 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33758 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33759 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33760 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33761 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33762 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33763 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33764 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33765 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33766 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33767 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33768 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33769 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33770 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33771 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33772 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33773 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33774 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33775 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33776 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33777 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33778 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33779 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33780 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33781 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33782 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33783 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33784 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33785 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33786 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33787 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33788 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33789 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33790 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33791 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33792 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33793 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33794 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33795 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33796 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33797 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33798 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33799 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33800 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33801 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33802 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33803 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33804 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33805 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33806 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33807 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33808 (__isnanf): Likewise.
33809 (__isinf_ns): Likewise.
33810 (__isinf_nsf): Likewise.
33811 (__finite): Likewise.
33812 (__finitef): Likewise.
33813 (__ieee754_sqrt): Define as macro.
33814 (__ieee754_sqrtf): Define as macro.
33815 (__ieee754_sqrtl): Define as macro.
33816 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33817 inlined copy.
33818 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33819 __FINITE_MATH_ONLY__ consistent.
33820 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33821
12cc2fcd
AS
338222011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33823
a843a204
AS
33824 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33825 of rawmemchr.
33826
12cc2fcd
AS
33827 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33828
c853acd5
UD
338292011-10-09 Ulrich Drepper <drepper@gmail.com>
33830
33831 * po/ja.po: Update from translation team.
33832
c658d255
RM
338332011-10-08 Roland McGrath <roland@hack.frob.com>
33834
110946e4
RM
33835 * locale/programs/locarchive.c (prepare_address_space): New function.
33836 (create_archive, enlarge_archive, open_archive): Use it.
33837
50604220
RM
33838 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33839 inside [SHARED], where it is used.
33840
c658d255
RM
33841 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33842
33843 * nss/getent.c (netgroup_keys): Remove unused variable.
33844 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33845
6a621eb7
UD
338462011-10-08 Ulrich Drepper <drepper@gmail.com>
33847
7edb55ce
UD
33848 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33849 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33850 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33851 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33852 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33853 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33854 * math/Makefile (libm-calls): Add s_isinf_ns.
33855 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33856 * math/multc3.c: Likewise.
33857 * math/s_casin.c: Likewise.
33858 * math/s_casinf.c: Likewise.
33859 * math/s_casinl.c: Likewise.
33860 * math/s_ccos.c: Likewise.
33861 * math/s_ccosf.c: Likewise.
33862 * math/s_ccosl.c: Likewise.
33863 * math/s_ctan.c: Likewise.
33864 * math/s_ctanf.c: Likewise.
33865 * math/s_ctanh.c: Likewise.
33866 * math/s_ctanhf.c: Likewise.
33867 * math/s_ctanhl.c: Likewise.
33868 * math/s_ctanl.c: Likewise.
33869 * math/w_fmod.c: Likewise.
33870 * math/w_fmodf.c: Likewise.
33871 * math/w_fmodl.c: Likewise.
33872 * math/w_remainder.c: Likewise.
33873 * math/w_remainderf.c: Likewise.
33874 * math/w_remainderl.c: Likewise.
33875 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33876 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33877 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33878 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33879 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33880 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33881 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33882 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33883
187da0ae
UD
33884 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33885 of the number.
33886 * stdio-common/printf_fphex.c: Likewise.
33887 * stdio-common/printf_size.c: Likewise.
33888
9277c064
UD
33889 * math/e_exp10.c: Include math_private.h using <...> not "...".
33890 * math/e_exp10f.c: Likewise.
33891 * math/e_exp10l.c: Likewise.
33892 * math/e_exp2l.c: Likewise.
33893 * math/e_j0l.c: Likewise.
33894 * math/e_j1l.c: Likewise.
33895 * math/e_jnl.c: Likewise.
33896 * math/e_lgammal_r.c: Likewise.
33897 * math/e_rem_pio2l.c: Likewise.
33898 * math/e_scalb.c: Likewise.
33899 * math/e_scalbf.c: Likewise.
33900 * math/e_scalbl.c: Likewise.
33901 * math/k_cosl.c: Likewise.
33902 * math/k_sinl.c: Likewise.
33903 * math/k_tanl.c: Likewise.
33904 * math/s_cacoshf.c: Likewise.
33905 * math/s_catan.c: Likewise.
33906 * math/s_catanf.c: Likewise.
33907 * math/s_catanh.c: Likewise.
33908 * math/s_catanhf.c: Likewise.
33909 * math/s_catanhl.c: Likewise.
33910 * math/s_catanl.c: Likewise.
33911 * math/s_ccosh.c: Likewise.
33912 * math/s_ccoshf.c: Likewise.
33913 * math/s_ccoshl.c: Likewise.
33914 * math/s_cexp.c: Likewise.
33915 * math/s_cexpf.c: Likewise.
33916 * math/s_cexpl.c: Likewise.
33917 * math/s_clog.c: Likewise.
33918 * math/s_clog10.c: Likewise.
33919 * math/s_clog10f.c: Likewise.
33920 * math/s_clog10l.c: Likewise.
33921 * math/s_clogf.c: Likewise.
33922 * math/s_clogl.c: Likewise.
33923 * math/s_csin.c: Likewise.
33924 * math/s_csinf.c: Likewise.
33925 * math/s_csinh.c: Likewise.
33926 * math/s_csinhf.c: Likewise.
33927 * math/s_csinhl.c: Likewise.
33928 * math/s_csinl.c: Likewise.
33929 * math/s_csqrt.c: Likewise.
33930 * math/s_csqrtf.c: Likewise.
33931 * math/s_csqrtl.c: Likewise.
33932 * math/s_ctan.c: Likewise.
33933 * math/s_ctanf.c: Likewise.
33934 * math/s_ctanh.c: Likewise.
33935 * math/s_ctanhf.c: Likewise.
33936 * math/s_ctanhl.c: Likewise.
33937 * math/s_ctanl.c: Likewise.
33938 * math/s_ldexp.c: Likewise.
33939 * math/s_ldexpf.c: Likewise.
33940 * math/s_ldexpl.c: Likewise.
33941 * math/s_significand.c: Likewise.
33942 * math/s_significandf.c: Likewise.
33943 * math/s_significandl.c: Likewise.
33944 * math/w_acos.c: Likewise.
33945 * math/w_acosf.c: Likewise.
33946 * math/w_acosh.c: Likewise.
33947 * math/w_acoshf.c: Likewise.
33948 * math/w_acoshl.c: Likewise.
33949 * math/w_acosl.c: Likewise.
33950 * math/w_asin.c: Likewise.
33951 * math/w_asinf.c: Likewise.
33952 * math/w_asinl.c: Likewise.
33953 * math/w_atan2.c: Likewise.
33954 * math/w_atan2f.c: Likewise.
33955 * math/w_atan2l.c: Likewise.
33956 * math/w_atanh.c: Likewise.
33957 * math/w_atanhf.c: Likewise.
33958 * math/w_atanhl.c: Likewise.
33959 * math/w_cosh.c: Likewise.
33960 * math/w_coshf.c: Likewise.
33961 * math/w_coshl.c: Likewise.
33962 * math/w_dremf.c: Likewise.
33963 * math/w_exp10.c: Likewise.
33964 * math/w_exp10f.c: Likewise.
33965 * math/w_exp10l.c: Likewise.
33966 * math/w_exp2.c: Likewise.
33967 * math/w_exp2f.c: Likewise.
33968 * math/w_fmod.c: Likewise.
33969 * math/w_fmodf.c: Likewise.
33970 * math/w_fmodl.c: Likewise.
33971 * math/w_hypot.c: Likewise.
33972 * math/w_hypotf.c: Likewise.
33973 * math/w_hypotl.c: Likewise.
33974 * math/w_j0.c: Likewise.
33975 * math/w_j0f.c: Likewise.
33976 * math/w_j0l.c: Likewise.
33977 * math/w_j1.c: Likewise.
33978 * math/w_j1f.c: Likewise.
33979 * math/w_j1l.c: Likewise.
33980 * math/w_jn.c: Likewise.
33981 * math/w_jnf.c: Likewise.
33982 * math/w_jnl.c: Likewise.
33983 * math/w_lgamma.c: Likewise.
33984 * math/w_lgamma_r.c: Likewise.
33985 * math/w_lgammaf.c: Likewise.
33986 * math/w_lgammaf_r.c: Likewise.
33987 * math/w_lgammal.c: Likewise.
33988 * math/w_lgammal_r.c: Likewise.
33989 * math/w_log.c: Likewise.
33990 * math/w_log10.c: Likewise.
33991 * math/w_log10f.c: Likewise.
33992 * math/w_log10l.c: Likewise.
33993 * math/w_log2.c: Likewise.
33994 * math/w_log2f.c: Likewise.
33995 * math/w_log2l.c: Likewise.
33996 * math/w_logf.c: Likewise.
33997 * math/w_logl.c: Likewise.
33998 * math/w_pow.c: Likewise.
33999 * math/w_powf.c: Likewise.
34000 * math/w_powl.c: Likewise.
34001 * math/w_remainder.c: Likewise.
34002 * math/w_remainderf.c: Likewise.
34003 * math/w_remainderl.c: Likewise.
34004 * math/w_scalb.c: Likewise.
34005 * math/w_scalbf.c: Likewise.
34006 * math/w_scalbl.c: Likewise.
34007 * math/w_sinh.c: Likewise.
34008 * math/w_sinhf.c: Likewise.
34009 * math/w_sinhl.c: Likewise.
34010 * math/w_sqrt.c: Likewise.
34011 * math/w_sqrtf.c: Likewise.
34012 * math/w_sqrtl.c: Likewise.
34013 * math/w_tgamma.c: Likewise.
34014 * math/w_tgammaf.c: Likewise.
34015 * math/w_tgammal.c: Likewise.
34016
6a621eb7
UD
34017 * po/ja.po: Update from translation team.
34018
bf582445
AJ
340192011-09-29 Andreas Jaeger <aj@suse.de>
34020
f9efbf3a
AJ
34021 [BZ #13179]
34022 * sunrpc/netname.c (netname2host): Fix logic.
34023
bf582445
AJ
34024 [BZ #6779]
34025 [BZ #6783]
34026 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34027 correctly.
34028 * math/w_remainder.c (__remainder): Likewise.
34029 * math/w_remainderf.c (__remainderf): Likewise.
34030 * math/libm-test.inc (remainder_test): Add test cases.
34031
48693bea
AK
340322011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34033
34034 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34035 sdiv_qrnnd.
34036
42622229
LD
340372011-10-07 Ulrich Drepper <drepper@gmail.com>
34038
34039 * string/test-memcmp.c: Avoid unncessary #defines.
34040 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34041
093ecf92
LD
340422011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34043
34044 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34045 Use new sse2 version for core i3 - i7 as it's faster
34046 than sse42 version.
34047 (bit_Prefer_PMINUB_for_stringop): New.
34048 * sysdeps/x86_64/rawmemchr.S: Update.
34049 Replace with faster SSE2 version.
34050 * sysdeps/x86_64/memrchr.S: New file.
34051 * sysdeps/x86_64/memchr.S: Update.
34052 Replace with faster SSE2 version.
34053
fde56e5c
MP
340542011-09-12 Marek Polacek <mpolacek@redhat.com>
34055
34056 * elf/dl-load.c (lose): Add cast to avoid warning.
34057
21fd49a9
UD
340582011-10-07 Ulrich Drepper <drepper@gmail.com>
34059
5a06e643
UD
34060 * po/ca.po: Update from translation team.
34061
684ae515
UD
34062 * inet/getnetgrent_r.c: Hook up nscd.
34063 * nscd/Makefile (routines): Add nscd_netgroup.
34064 (nscd-modules): Add netgroupcache.
34065 (CFLAGS-netgroupcache.c): Define.
34066 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34067 (cache_search): Add const to second parameter.
34068 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34069 INNETGR.
34070 (dbs): Add netgrdb entry.
34071 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34072 (verify_persistent_db): Handle netgrdb.
34073 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34074 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34075 GETFDNETGR.
34076 (netgroup_response_header): Define.
34077 (innetgroup_response_header): Define.
34078 (datahead): Add netgroup_response_header and innetgroup_response_header
34079 elements.
34080 * nscd/nscd.conf: Add entries for netgroup cache.
34081 * nscd/nscd.h (dbtype): Add netgrdb.
34082 (_PATH_NSCD_NETGROUP_DB): Define.
34083 (netgroup_iov_disabled): Declare.
34084 (xmalloc, xcalloc, xrealloc): Move declarations here.
34085 (cache_search): Adjust prototype.
34086 Add netgroup-related prototypes.
34087 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34088 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34089 (__nscd_innetgr): Declare.
34090 * nscd/selinux.c (perms): Use access_vector_t as element type and
34091 add netgroup-related initializers.
34092 * nscd/netgroupcache.c: New file.
34093 * nscd/nscd_netgroup.c: New file.
34094 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34095 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34096 For four parameters use innetgr.
34097 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34098 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34099 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34100 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34101
21fd49a9
UD
34102 * nscd/connections.c (register_traced_file): Don't register file
34103 for disabled databases.
34104
054c0457
UD
341052011-10-06 Ulrich Drepper <drepper@gmail.com>
34106
32b63198
UD
34107 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34108
054c0457
UD
34109 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34110 from tree and freeing node.
34111
64031225
JO
341122011-09-25 Jiri Olsa <jolsa@redhat.com>
34113
34114 * nss/nsswitch.c (__nss_database_lookup): Handle
34115 nss_parse_service_list out of memory case.
34116
0490345c
JO
341172011-09-15 Jiri Olsa <jolsa@redhat.com>
34118
34119 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34120 out of memory case.
34121
3a62d00d
AS
341222011-10-04 Andreas Schwab <schwab@redhat.com>
34123
34124 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34125 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34126 pass it down.
34127 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34128 elf_machine_rela, elf_machine_lazy_rel.
34129 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34130 (ELF_DYNAMIC_DO_REL): Likewise.
34131 (ELF_DYNAMIC_DO_RELA): Likewise.
34132 (ELF_DYNAMIC_RELOCATE): Likewise.
34133 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34134 to ELF_DYNAMIC_DO_REL.
34135 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34136 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34137 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34138 elf_machine_rela.
34139 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34140 skip_ifunc, don't call ifunc function if non-zero.
34141 (elf_machine_rela): Likewise.
34142 (elf_machine_lazy_rel): Likewise.
34143 (elf_machine_lazy_rela): Likewise.
34144 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34145 (elf_machine_lazy_rel): Likewise.
34146 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34147 Likewise.
34148 (elf_machine_lazy_rel): Likewise.
34149 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34150 Likewise.
34151 (elf_machine_lazy_rel): Likewise.
34152 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34153 (elf_machine_lazy_rel): Likewise.
34154 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34155 (elf_machine_lazy_rel): Likewise.
34156 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34157 (elf_machine_lazy_rel): Likewise.
34158 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34159 (elf_machine_lazy_rel): Likewise.
34160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34161 (elf_machine_lazy_rel): Likewise.
34162 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34163 (elf_machine_lazy_rel): Likewise.
34164
68577918
UD
341652011-09-28 Ulrich Drepper <drepper@gmail.com>
34166
34167 * nss/nss_files/files-init.c (_nss_files_init): Use static
34168 initialization for all the *_traced_file variables.
34169
68822d74
AS
341702011-09-28 Andreas Schwab <schwab@redhat.com>
34171
34172 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34173
2056100b
RM
341742011-09-27 Roland McGrath <roland@hack.frob.com>
34175
34176 [BZ #13226]
34177 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34178
32c76b63
AS
341792011-09-27 Andreas Schwab <schwab@redhat.com>
34180
34181 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34182 Reread the line before reparsing it.
34183
bf972c9d
AS
341842011-09-26 Andreas Schwab <schwab@redhat.com>
34185
34186 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34187
e057a1b5
JM
341882011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34189 Maxim Kuvyrkov <maxim@codesourcery.com>
34190 Joseph Myers <joseph@codesourcery.com>
34191
34192 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34193 if needed for __stack_chk_guard.
34194
bc7e1c36
RM
341952011-09-19 Roland McGrath <roland@hack.frob.com>
34196
ecb1482f
RM
34197 * sysdeps/posix/spawni.c (script_execute): Always define it.
34198 It will be optimized away if unused.
34199 (maybe_script_execute): New function.
34200 (__spawni): Call it.
34201
bc7e1c36
RM
34202 * Makerules: Don't include tls.make.
34203 (config-tls): Always set to thread.
34204 * tls.make.c: File removed.
34205
1c3b002b
MF
342062011-09-19 Mike Frysinger <vapier@gentoo.org>
34207
34208 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34209 * config.make.in (CPPFLAGS-config): New substituted variable.
34210
2840865d
UD
342112011-09-15 Ulrich Drepper <drepper@gmail.com>
34212
88738eb6
UD
34213 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34214
cbf645a6 34215 [BZ #13192]
2840865d
UD
34216 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34217 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34218
b402e91a
RM
342192011-09-15 Roland McGrath <roland@hack.frob.com>
34220
34221 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34222 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34223 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34224 (CALL_FAIL): Likewise.
34225 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34226 (CALL_FAIL): Macro removed.
34227 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34228
4c1a1f71
UD
342292011-09-15 Ulrich Drepper <drepper@gmail.com>
34230
34231 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34232 for __FINITE_MATH_ONLY__ == 1.
34233
edc121be
AS
342342011-09-15 Andreas Schwab <schwab@redhat.com>
34235
34236 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34237 __ieee754_sqrt instead of sqrt.
34238 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34239 __ieee754_sqrtf instead of sqrtf.
34240 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34241 __floorf instead of floorf.
34242 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34243 __floorf, __truncf instead of floorf, truncf.
34244
cd205654
UD
342452011-09-14 Ulrich Drepper <drepper@gmail.com>
34246
ee4d0315
UD
34247 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34248
cd205654
UD
34249 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34250 __extern_always_inline.
34251 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34252 32-bit.
34253
48b67d71
AS
342542011-09-14 Andreas Schwab <schwab@redhat.com>
34255
34256 * elf/rtld.c (dl_main): Also relocate in dependency order when
34257 doing symbol dependency testing.
34258
1ae12c75
AS
342592011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34260
34261 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34262 Always define `refsym'.
34263
995a80df
AS
342642011-09-13 Andreas Schwab <schwab@redhat.com>
34265
e529793b
AS
34266 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34267 (__FD_ELT): Renamed from __FDELT.
34268 * misc/bits/select2.h (__FD_ELT): Likewise.
34269 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34270 __FD_MASK instead of __FDELT, __FDMASK.
34271 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34272 Likewise.
34273 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34274 Likewise.
34275
52d4fef8
AS
34276 * elf/Makefile (gen-ldd): Fix pattern.
34277
995a80df
AS
34278 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34279 (init_tls): Likewise.
34280
8682f8b0
UD
342812011-09-12 Ulrich Drepper <drepper@gmail.com>
34282
34283 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34284
de82006d
AS
342852011-09-12 Andreas Schwab <schwab@redhat.com>
34286
a7c8e6a1
AS
34287 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34288 `struct cmsghdr *' instead of `void *'.
34289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34290 Likewise.
34291
0f31fe77
AS
342922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34293
34294 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34295 if non-absolute.
34296 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34297 ldd_rewrite_script.
0f31fe77 34298
32b4c839
UD
342992011-09-11 Ulrich Drepper <drepper@gmail.com>
34300
83cd1420
UD
34301 * configure.in: Remove --with-tls option.
34302 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34303 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34304 out in case it is missing.
34305 * sysdeps/ia64/elf/configure.in: Likewise.
34306 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34307 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34308 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34309 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34310 * sysdeps/sh/elf/configure.in: Likewise.
34311 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34312 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34313 * sysdeps/x86_64/elf/configure.in: Likewise.
34314 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34315 * sysdeps/mach/hurd/tls.h: Likewise.
34316
633f745d
UD
34317 [BZ #13067]
34318 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34319
f318beb8
UD
34320 [BZ #13090]
34321 * configure.in: Fix use of AC_INIT.
34322
32b4c839
UD
34323 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34324
3ce1f295
UD
343252011-09-10 Ulrich Drepper <drepper@gmail.com>
34326
bb016596
UD
34327 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34328 __set_errno.
8e58439c
UD
34329 * malloc/hooks.c: Likewise.
34330
aebae053 34331 [BZ #11929]
02d46fc4
UD
34332 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34333 variables statically.
34334 (narenas): Initialize.
34335 (list_lock): Initialize.
bb016596
UD
34336 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34337 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
34338 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34339 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34340 Add initializers to main_arena and mp_.
34341 (malloc_state): Remove pagesize member. Change all users to use
34342 GLRO(dl_pagesize).
34343
34344 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34345 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34346 is always initialized.
34347
22a89187
UD
34348 * malloc/malloc.c: Removed unused configurations and dead code.
34349 * malloc/arena.c: Likewise.
34350 * malloc/hooks.c: Likewise.
02d46fc4 34351 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 34352
d063d164
UD
34353 * include/tls.h: Removed. USE___THREAD must always be defined.
34354 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34355 * elf/dl-libc.c: Likewise.
34356 * elf/dl-tsd.c: Likewise.
34357 * include/errno.h: Likewise.
34358 * include/netdb.h: Likewise.
34359 * include/resolv.h: Likewise.
34360 * inet/herrno-loc.c: Likewise.
34361 * inet/herrno.c: Likewise.
34362 * malloc/arena.c: Likewise.
34363 * malloc/hooks.c: Likewise.
34364 * malloc/malloc.c: Likewise.
34365 * resolv/res-state.c: Likewise.
34366 * resolv/res_libc.c: Likewise.
34367 * sysdeps/i386/dl-machine.h: Likewise.
34368 * sysdeps/ia64/dl-machine.h: Likewise.
34369 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34370 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34371 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34372 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34373 * sysdeps/sh/dl-machine.h: Likewise.
34374 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34375 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34376 * sysdeps/unix/i386/sysdep.S: Likewise.
34377 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34378 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34379 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34380 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34381 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34382 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34383 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34384 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34385 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34387 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34388 * sysdeps/x86_64/dl-machine.h: Likewise.
34389 * tls.make.c: Likewise.
34390
3ce1f295
UD
34391 * configure.in: Remove --with-__thread option. Make tests for
34392 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34393 tls_model attribute fail if no support is available. Remove
34394 USE_IN_LIBIO.
34395 * Makeconfig: Adjust for dropped configure option. All features are
34396 now mandatory.
34397 * Makerules: Likewise.
34398 * Versions.def: Likewise.
34399 * argp/argp-fmtstream.c: Likewise.
34400 * argp/argp-fmtstream.h: Likewise.
34401 * argp/argp-help.c: Likewise.
34402 * assert/assert.c: Likewise.
34403 * config.h.in: Likewise.
34404 * config.make.in: Likewise.
34405 * configure: Likewise.
34406 * configure.in: Likewise.
34407 * csu/Versions: Likewise.
34408 * csu/init.c: Likewise.
34409 * elf/tst-audit2.c: Likewise.
34410 * elf/tst-tls10.c: Likewise.
34411 * elf/tst-tls10.h: Likewise.
34412 * elf/tst-tls11.c: Likewise.
34413 * elf/tst-tls12.c: Likewise.
34414 * elf/tst-tls14.c: Likewise.
34415 * elf/tst-tlsmod11.c: Likewise.
34416 * elf/tst-tlsmod12.c: Likewise.
34417 * elf/tst-tlsmod13.c: Likewise.
34418 * elf/tst-tlsmod13a.c: Likewise.
34419 * elf/tst-tlsmod14a.c: Likewise.
34420 * elf/tst-tlsmod15b.c: Likewise.
34421 * elf/tst-tlsmod16a.c: Likewise.
34422 * elf/tst-tlsmod16b.c: Likewise.
34423 * elf/tst-tlsmod7.c: Likewise.
34424 * elf/tst-tlsmod8.c: Likewise.
34425 * elf/tst-tlsmod9.c: Likewise.
34426 * gmon/gmon.c: Likewise.
34427 * grp/fgetgrent_r.c: Likewise.
34428 * grp/putgrent.c: Likewise.
34429 * hurd/fopenport.c: Likewise.
34430 * include/libc-symbols.h: Likewise.
34431 * include/tls.h: Likewise.
34432 * intl/gettextP.h: Likewise.
34433 * intl/loadinfo.h: Likewise.
34434 * locale/global-locale.c: Likewise.
34435 * locale/localeinfo.h: Likewise.
34436 * mach/devstream.c: Likewise.
34437 * malloc/arena.c: Likewise.
34438 * malloc/set-freeres.c: Likewise.
34439 * misc/err.c: Likewise.
34440 * misc/getttyent.c: Likewise.
34441 * misc/mntent_r.c: Likewise.
34442 * posix/getopt.c: Likewise.
34443 * posix/wordexp.c: Likewise.
34444 * pwd/fgetpwent_r.c: Likewise.
34445 * resolv/Versions: Likewise.
34446 * resolv/res_hconf.c: Likewise.
34447 * shadow/fgetspent_r.c: Likewise.
34448 * shadow/putspent.c: Likewise.
34449 * stdio-common/printf_fphex.c: Likewise.
34450 * stdio-common/tmpfile.c: Likewise.
34451 * stdlib/abort.c: Likewise.
34452 * stdlib/fmtmsg.c: Likewise.
34453 * sunrpc/auth_unix.c: Likewise.
34454 * sunrpc/clnt_perr.c: Likewise.
34455 * sunrpc/clnt_tcp.c: Likewise.
34456 * sunrpc/clnt_udp.c: Likewise.
34457 * sunrpc/clnt_unix.c: Likewise.
34458 * sunrpc/openchild.c: Likewise.
34459 * sunrpc/svc_simple.c: Likewise.
34460 * sunrpc/svc_tcp.c: Likewise.
34461 * sunrpc/svc_udp.c: Likewise.
34462 * sunrpc/svc_unix.c: Likewise.
34463 * sunrpc/xdr.c: Likewise.
34464 * sunrpc/xdr_array.c: Likewise.
34465 * sunrpc/xdr_rec.c: Likewise.
34466 * sunrpc/xdr_ref.c: Likewise.
34467 * sunrpc/xdr_stdio.c: Likewise.
34468
1248c1c4
PB
344692011-09-09 Ulrich Drepper <drepper@gmail.com>
34470
34471 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34472
344732011-07-03 Andreas Jaeger <aj@suse.de>
34474
34475 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34476 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34477 regenerate with gen-libm-tests.pl.
34478
344792010-05-12 Petr Baudis <pasky@suse.cz>
34480
34481 [BZ #11589]
34482 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34483 around j0() zero points by switching to j1().
34484 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34485 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34486 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34487 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34488
f22e1074
UD
344892011-09-09 Ulrich Drepper <drepper@gmail.com>
34490
f19009c1
UD
34491 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34492 instead of 0.
34493 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 34494 instead of 0.
f19009c1
UD
34495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34496 Patch in part by Pavel Roskin <proski@gnu.org>.
34497
3f8cc204
UD
34498 [BZ #13138]
34499 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34500 realloc.
34501 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34502 Free memory block if necessary.
34503
f22e1074
UD
34504 [BZ #12847]
34505 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34506 be NULL. Don't lock in this case.
34507
0a2349f9
RM
345082011-09-09 Roland McGrath <roland@hack.frob.com>
34509
34510 * elf/elf.h (ELFOSABI_GNU): New macro.
34511 (ELFOSABI_LINUX): Define to that.
34512
f3cdd467
DZ
345132011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34514
34515 * string/strncat.c (strncat): Undef the symbol in case it has been
34516 defined in bits/string.h.
34517
74718d13
UD
345182011-09-09 Ulrich Drepper <drepper@gmail.com>
34519
633e9e0f
UD
34520 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34521
0a2349f9 34522 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
34523 link map.
34524
f9924780
AJ
345252011-08-17 Andreas Jaeger <aj@suse.de>
34526
34527 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34528
7f5517aa
PP
345292011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34530 Ian Lance Taylor <iant@google.com>
34531
34532 * math/libm-test.inc (lround_test): New testcase.
34533 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34534
762011fe
UD
345352011-09-08 Ulrich Drepper <drepper@gmail.com>
34536
92963737
UD
34537 * Makefile: Remove support for automatic cvs check-ins.
34538 * Makerules: Likewise.
34539 * config.make.in: Likewise.
34540 * configure.in: Likewise.
34541 * intl/Makefile: Likewise.
34542 * locale/Makefile: Likewise.
34543 * po/Makefile: Likewise.
34544 * posix/Makefile: Likewise.
34545 * sysdeps/gnu/Makefile: Likewise.
34546 * sysdeps/mach/hurd/Makefile: Likewise.
34547 * sysdeps/sparc/sparc32/Makefile: Likewise.
34548
b0727fd8
JS
34549 [BZ #13118]
34550 * posix/Makefile (bug-regex32-ENV): Define.
34551 Patch by John Stanley <jpsinthemix@verizon.net>.
34552
a0f33f99
UD
34553 * misc/Makefile (headers): Add bits/select2.h.
34554 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34555 * misc/bits/select2.h: New file.
34556 * include/bits/select2.h: New file.
34557 * debug/Makefile (routines): Add fdelt_chk.
34558 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34559 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34560 FD_ISSET.
34561 * debug/fdelt_chk.c: New file.
34562
762011fe
UD
34563 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34564 * wcsmbs/test-wmemcmp.c: Likewise.
34565 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 34566 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
34567
345682011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34569
34570 * string/Makefile (strop-tests): Add memcmp.
34571 * string/test-wmemcmp.c: New file.
34572 * string/test-memcmp.c: Add wmemcmp support.
34573
7f513ec8
RM
345742011-09-08 Roland McGrath <roland@hack.frob.com>
34575
0442afb4
RM
34576 [BZ #13153]
34577 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34578 2011-07-19 change.
34579
7f513ec8
RM
34580 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34581 garbage value in a __mach_port_mod_refs call in the cases of the
34582 task-self and thread-self ports.
34583
a12b2239
ST
345842011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34585
34586 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34587
610f9ab4
AS
345882011-09-08 Andreas Schwab <schwab@redhat.com>
34589
7f513ec8 34590 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34591
48882a1a
LD
345922011-09-07 Ulrich Drepper <drepper@gmail.com>
34593
b49865be
UD
34594 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34595
fdc86bc9
UD
34596 * elf/dl-libc.c (dlerror_run): Pass back error code from
34597 dl_catch_error.
34598
c966526a
UD
34599 [BZ #13123]
34600 * elf/dl-load.c (lose): Free l_origin if it is valid.
34601
48882a1a
LD
34602 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34603 names.
34604 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34605 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34606 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34607 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34608 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34609 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34610
77a2a8b4
AZ
346112011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34612
34613 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34614 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34615 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34616 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34617 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34618 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34619 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34620 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34621 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34622 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34623
24f579d8
AM
346242011-08-15 Alan Modra <amodra@gmail.com>
34625
34626 [BZ #13092]
34627 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34628 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34629 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34630 ppc_mcount to static-only-routines.
34631 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34632 __mcount_internal.
34633 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34634 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34635
3d4837df
UD
346362011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34637
34638 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34639 for finite and infinity parameters.
34640
22700377
WS
346412011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34642
34643 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34644 and add nop instructions for throughput optimization.
34645 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34646
5025581e
WS
346472011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34648
34649 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34650 aligned copy for power7 with vector-scalar instructions.
34651 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34652
08a300c9
L
346532011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34654
34655 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34656 AVX check.
34657
59178ef9
AS
346582011-09-07 Andreas Schwab <schwab@redhat.com>
34659
34660 [BZ #13144]
34661 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34662 last change.
34663
e38ba7ab
UD
346642011-09-07 Ulrich Drepper <drepper@gmail.com>
34665
34666 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34667 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34668 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34669 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34670 clock_gettime.
34671
d53a73ac
UD
346722011-09-06 Ulrich Drepper <drepper@gmail.com>
34673
fc8bffcc
UD
34674 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34675 Forgot to demangle the pointer.
34676
ceaa0c5d
UD
34677 * sysdeps/i386/sysdep.h: Define atom_text_section.
34678 * sysdeps/x86_64/sysdep.h: Likewise.
34679 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34680 section with atom_text_section.
34681 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34682 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34683 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34684 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34685 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34686
a77d3c17
UD
34687 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34688 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34689 already be defined. Change to take two parameters and don't assign
34690 result to variable. Adjust all users.
34691 Define INTERNAL_GETTIME if not already defined.
34692 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34693 call.
34694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34695 HAVE_CLOCK_GETTIME_VSYSCALL.
34696 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34697
d53a73ac
UD
34698 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34699 gettimeofday vsyscall, just use time.
34700
a8f84144
AS
347012011-09-06 Andreas Schwab <schwab@redhat.com>
34702
34703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34704 <errno.h>.
34705
ef606249
UD
347062011-09-06 Ulrich Drepper <drepper@gmail.com>
34707
34708 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34709 syscall on x86-64.
34710 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34711 syscall.
34712 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34713 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34714 syscall if possible.
34715
6585cb60
UD
347162011-09-05 Ulrich Drepper <drepper@gmail.com>
34717
34718 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34719 e_ident. Don't pass to find_mapsXX.
34720 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34721
a5f524e4
LD
347222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34723
34724 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34725 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34726 * sysdeps/x86_64/multiarch/strchr.S: Update.
34727 Check bit_slow_BSF bit.
34728 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34729 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34730 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34731
554881ef
UD
347322011-09-05 Ulrich Drepper <drepper@gmail.com>
34733
d96de963
UD
34734 [BZ #13134]
34735 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34736 before glibc 2.15.
34737 (tryshell): Define.
34738 (__spawni): Change last parameter to be flag. Test
34739 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34740 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34741 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34742 * posix/spawni.c: Likewise.
34743 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34744 * posix/spawnp.c: Likewise. Change normal version to use
34745 SPAWN_XFLAGS_USE_PATH.
34746 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34747 SPAWN_XFLAGS_TRY_SHELL.
34748
d48e5868
UD
34749 [BZ #13150]
34750 * posix/glob.h: Remove gcc 1.x support.
34751
554881ef
UD
34752 [BZ #13068]
34753 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34754
693fb948
LD
347552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34756
34757 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34758 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34759 strrchr-sse2-bsf
34760 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34761 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34762 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34763 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34764 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34765 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34766
1b48c537
UD
347672011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34768
49d42c37
UD
34769 * sysdeps/x86_64/wcscmp.S: New file.
34770
1b48c537
UD
34771 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34772 wcscmp-c wcscmp-sse2
34773 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34774 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34775 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34776 * wcsmbs/wcscmp.c: Allow renaming.
34777
15c95c5d
DM
347782011-09-05 David S. Miller <davem@davemloft.net>
34779
34780 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34781 stack slot, rather than the struct return pointer slot.
34782 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34783 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34785 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34786
2f0ad8f3
UD
347872011-09-05 Ulrich Drepper <drepper@gmail.com>
34788
d88ae418
UD
34789 * po/ja.po: Update from translation team.
34790
2f0ad8f3
UD
34791 [BZ #13144]
34792 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34793 kernel in 64-bit binaries.
34794
5f4318d1
DM
347952011-09-01 David S. Miller <davem@davemloft.net>
34796
34797 * elf/elf.h (HWCAP_SPARC_*): Move to..
34798 * sysdeps/sparc/sysdep.h: this new file and add new values.
34799 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34800 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34801 _DL_HWCAP_COUNT to 24.
34802 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34803 entries.
34804 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34805 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34806 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34807 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34808 instead of magic constants.
34809 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34810
3ba57516
DM
348112011-08-31 David S. Miller <davem@davemloft.net>
34812
34813 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34814 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34815 Reimplement to do errno handling inline.
34816 (SYSCALL_ERROR_HANDLER): New macro.
34817 (__SYSCALL_STRING): Do not do errno handling in asm.
34818 (__CLONE_SYSCALL_STRING): Delete.
34819 (__INTERNAL_SYSCALL_STRING): Delete.
34820 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34821 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34822 (PSEUDO): Reimplement to do errno handling inline.
34823 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34824 (SYSCALL_ERROR_HANDLER): New macro.
34825 (__SYSCALL_STRING): Do not do errno handling in asm.
34826 (__CLONE_SYSCALL_STRING): Delete.
34827 (__INTERNAL_SYSCALL_STRING): Delete.
34828 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34829 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34830 i386.
34831 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34832 (inline_syscall*): Add 'err' argument.
34833 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34834 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34835 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34836 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34837
34838 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34839 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34840
2bc17433
AS
348412011-08-30 Andreas Schwab <schwab@redhat.com>
34842
34843 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34844
fbeb5f4d
JO
348452011-08-29 Jiri Olsa <jolsa@redhat.com>
34846
34847 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34848 directive.
34849
ad69cc26
DM
348502011-08-24 David S. Miller <davem@davemloft.net>
34851
34852 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34853
39dd69df
AS
348542011-08-24 Andreas Schwab <schwab@redhat.com>
34855
34856 * elf/Makefile: Add rules to build and run unload8 test.
34857 * elf/unload8.c: New file.
34858 * elf/unload8mod1.c: New file.
34859 * elf/unload8mod1x.c: New file.
34860 * elf/unload8mod2.c: New file.
34861 * elf/unload8mod3.c: New file.
34862
34863 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34864 it wasn't used.
34865
2c0b250a
DM
348662011-08-23 David S. Miller <davem@davemloft.net>
34867
34868 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34869 subtract stack bias.
34870 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34871 %sp not %fp in calculations.
34872 (_JMPBUF_UNWINDS_ADJ): Likewise.
34873
22044b48
DM
34874 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34875 (aio_suspend): Call it to force an exception region around the
34876 AIO_MISC_WAIT() invocation.
34877
2cae4995
AS
348782011-08-23 Andreas Schwab <schwab@redhat.com>
34879
34880 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34881 backslash.
34882
873a772e
AJ
348832011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34884
34885 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34886 protection macro.
34887 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34888 and <dl-machine.h>.
34889 (Elf64_FuncDesc): Remove.
34890
25ad0df1
DM
348912011-08-22 David S. Miller <davem@davemloft.net>
34892
34893 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34894 sigaltstack check, add missing cfi directives.
34895 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34896 missing cfi directives, and sigaltstack handling.
34897
e888bcbe
AS
348982011-08-16 Andreas Schwab <schwab@redhat.com>
34899
34900 [BZ #11724]
34901 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34902 object is seen twice.
34903 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34904
34905 * elf/Makefile (distribute): Add tst-initorder2.c.
34906 (tests): Add tst-initorder2.
34907 (modules-names): Add tst-initorder2a tst-initorder2b
34908 tst-initorder2c tst-initorder2d. Add rules to build them.
34909 ($(objpfx)tst-initorder2.out): New rule.
34910 * elf/tst-initorder2.c: New file.
34911 * elf/tst-initorder2.exp: New file.
34912
87162f46
AS
349132011-08-22 Andreas Schwab <schwab@redhat.com>
34914
70538b7f
AS
34915 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34916
f55ffe58
AS
34917 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34918 dependencies back to end of function.
34919
87162f46
AS
34920 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34921 $(elfobjdir)/ld.so.
34922
91b392a4
UD
349232011-08-21 Ulrich Drepper <drepper@gmail.com>
34924
34925 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34926 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34927 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34928 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34929 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34930 of __vdso_gettimeofday.
34931 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34932 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34933 attribute_hidden.
34934 (_libc_vdso_platform_setup): Remove initialization of
34935 __vdso_gettimeofday and __vdso_time.
34936
5c43483f
UD
349372011-08-20 Ulrich Drepper <drepper@gmail.com>
34938
775a77e7
UD
34939 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34940 and fgetc_unlocked.
34941 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34942 getc_unlocked.
89f447ed 34943
49c74ba9
UD
34944 * elf/dl-open.c (add_to_global): Report additions to the global scope
34945 for LD_DEBUG=scopes.
34946 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34947 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34948
5c43483f
UD
34949 [BZ #13114]
34950 * stdio-common/Makefile (tests): Add bug24.
34951 * stdio-common/bug24.c: New file.
34952
a101b025
AJ
349532011-08-19 Andreas Jaeger <aj@suse.de>
34954
34955 [BZ #13114]
34956 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34957 non-existant file when using close-on-exec mode.
34958
c88f1766
UD
349592011-08-20 Ulrich Drepper <drepper@gmail.com>
34960
0276a718
UD
34961 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34962 the very first instruction.
34963
c88f1766
UD
34964 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34965 the CFI state in the end.
34966 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34967 inclusion of dl-trampoline.h.
34968 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34969
51ccffa0
AS
349702011-08-19 Andreas Schwab <schwab@redhat.com>
34971
94d7165f
AS
34972 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34973 expectations for long double.
34974
51ccffa0
AS
34975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34976 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34977
fd708658 349782011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34979
34980 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34981 artificual limit depends upon the system page size.
34982
44f0a71e
UD
349832011-08-17 Ulrich Drepper <drepper@gmail.com>
34984
34985 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34986 * resolv/Makefile: Define CFLAGS-libresolv.
34987
8de79a24
AS
349882011-08-17 Andreas Schwab <schwab@redhat.com>
34989
34990 * nss/makedb.c (compute_tables): Make variables used in nested
34991 function static.
34992
27724598
UD
349932011-08-17 Ulrich Drepper <drepper@gmail.com>
34994
c5305d88
UD
34995 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34996 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34997 if buffer was too small.
34998
27724598
UD
34999 * elf/pldd.c (main): Attach to all threads in the process.
35000 Rewrite /proc handling to use *at functions.
35001
076fe015
UD
350022011-08-16 Ulrich Drepper <drepper@gmail.com>
35003
174baab3
UD
35004 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35005 specifies first scope to show.
35006 (dl_open_worker): Update callers. Move printing scope of new
35007 object to before the relocation.
44f0a71e 35008 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
35009 * sysdeps/generic/ldsodefs.h: Update declaration.
35010
076fe015
UD
35011 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35012 string for the scope number.
35013
a60df2c3
UD
350142011-08-14 Ulrich Drepper <drepper@gmail.com>
35015
35016 * nscd/servicescache.c (cache_addserv): Make sure written is always
35017 initialized.
35018
5e4287d1
RM
350192011-08-14 Roland McGrath <roland@hack.frob.com>
35020
85ae0589
RM
35021 * sysdeps/i386/i486/bits/atomic.h
35022 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35023 statement expression, so as to suppress "set but not used" warning.
35024 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35025
69f63097
RM
35026 * string/strncat.c (STRNCAT): Use prototype definition.
35027
675456ef
RM
35028 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35029 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35030 -Iprograms here.
35031 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35032 (localedef-modules): Add localedef.
35033 (locale-modules): Add locale.
35034
5e4287d1
RM
35035 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35036 * elf/rtld.c (dl_main): Invert order of assignment in last change,
35037 to avoid a warning.
35038
9c96ff23
DM
350392011-08-14 David S. Miller <davem@davemloft.net>
35040
35041 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35042 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35043
f9ddf089
UD
350442011-08-13 Ulrich Drepper <drepper@gmail.com>
35045
44f0a71e 35046 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
35047 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35048 * elf/rtld.c (dl_main): Set l_name of vDSO.
35049 Call _dl_show_scope when DL_DEBUG_SCOPES.
35050 (process_dl_debug): Recognize scopes flag and also set it for all.
35051 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35052 Declare _dl_show_scope.
35053
1dc27704
UD
35054 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35055 (do_dlopen): Pass caller_dlopen to dl_open.
35056 (__libc_dlopen_mode): Initialize caller_dlopen.
35057
f9ddf089
UD
35058 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35059 of libc. Make tolower call locale-independent. Optimize a bit by
35060 using isdigit instead of isalnum.
35061 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35062
9ac533d3
UD
350632011-08-12 Ulrich Drepper <drepper@gmail.com>
35064
35065 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35066 was a dependency or dynamically loaded.
35067
89edf2e9
UD
350682011-08-11 Ulrich Drepper <drepper@gmail.com>
35069
8e999d29
UD
35070 * intl/l10nflist.c: Allow architecture-specific pop function.
35071 * sysdeps/x86_64/l10nflist.c: New file.
35072
89edf2e9
UD
35073 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35074 classification.
35075
14d96785
AS
350762011-08-10 Andreas Schwab <schwab@redhat.com>
35077
35078 * include/dirent.h: Add libc_hidden_proto for scandirat and
35079 scandirat64. Don't declare __scandirat64.
35080 * dirent/scandirat.c: Add libc_hidden_def.
35081 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35082 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35083
6761ac04
DM
350842011-08-10 David S. Miller <davem@davemloft.net>
35085
35086 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35087 enum.
35088 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35089 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35090 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35091
c55fbd1e
UD
350922011-08-09 Ulrich Drepper <drepper@gmail.com>
35093
35094 * Versions.def [libc]: Add GLIBC_2.15.
35095 * dirent/Makefile (routines): Add scandirat and scandirat64.
35096 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35097 GLIBC_2.15.
35098 * dirent/dirent.h: Declare scandirat and scandirat64.
35099 * dirent/scandirat.c: New file.
35100 * dirent/scandirat64.c: New file.
35101 * sysdeps/wordsize-64/scandirat.c: New file.
35102 * sysdeps/wordsize-64/scandirat64.c: New file.
35103 * dirent/opendir.c: Define opendirat.
35104 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35105 using scandirat.
35106 * dirent/scandir64.c: Adjust for scandir.c change.
35107 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35108 __scandirat64, and __scandir_cancel_handler.
35109 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35110 additional parameter and use openat instead of open (outside of ld.so).
35111 Add new __opendir as wrapper around __opendirat.
35112 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35113 here without requiring old scandirat implementation.
35114
879165f2
UD
351152011-08-08 Ulrich Drepper <drepper@gmail.com>
35116
35117 * dirent/scandir.c (cancel_handler): Renamed to
35118 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35119 defined. Adjust users.
35120 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35121 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35122
cb7e923b
UD
351232011-08-04 Ulrich Drepper <drepper@gmail.com>
35124
16292edd
UD
35125 * string/test-string.h (IMPL): Use __STRING to expand name and then
35126 stringify it.
35127
cb7e923b
UD
35128 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35129 of cleanups.
35130
cff82933
LD
351312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35132
35133 * string/Makefile: Update.
35134 (strop-tests): Append strncat.
35135 * string/test-wcscmp.c: New file.
35136 New comprehensive test for wcscmp.
35137 * string/test-strcmp.c: Update.
35138 (WIDE): New define.
35139
9be9bfcc
AS
351402011-07-22 Andreas Schwab <schwab@redhat.com>
35141
35142 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35143 line.
35144
2e96f1c7
AS
351452011-07-26 Andreas Schwab <schwab@redhat.com>
35146
35147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35148 encoding to ACE if AI_IDN.
35149
85188888
JJ
351502011-08-01 Jakub Jelinek <jakub@redhat.com>
35151
35152 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35153 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35154
5fa16e9b
LD
351552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35156
35157 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35158 Fix overflow bug in strncat.
35159 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35160
35161 * string/test-strncat.c: Update.
35162 Add new tests for checking overflow bugs.
35163
351642011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35165
35166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35167 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35168 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35169 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35170 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35171 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35172 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35173 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35174 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35175
35176 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35177 (USE_AS_STRCAT): Define.
35178 Add strcat and strncat support.
35179 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35180
8c1a459f
AS
351812011-07-25 Andreas Schwab <schwab@redhat.com>
35182
35183 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35184 __n bigger than INT_MAX+1.
35185 (__strncmp_g): Likewise.
35186
bba33c28
UD
351872011-07-23 Ulrich Drepper <drepper@gmail.com>
35188
798be72d
UD
35189 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35190 * libio/stido.h: Likewise.
35191
8accd4dc
UD
35192 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35193 (AF_NFC): Define.
35194 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35195 (AF_NFC): Define.
35196
cbff0d96
UD
35197 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35198 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35199 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35200 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35201 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35202
9191c04a
UD
35203 [BZ #13021]
35204 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35205 installed.
35206
bba33c28
UD
35207 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35208 typo.
35209 (_dl_x86_64_save_sse): Likewise.
35210
90f139dd
UD
352112011-07-22 Ulrich Drepper <drepper@gmail.com>
35212
1aae088a
UD
35213 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35214 OSXSAVE.
35215 (_dl_x86_64_save_sse): Likewise.
35216
8e2045f5
UD
35217 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35218
90f139dd
UD
35219 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35220
1d002f25
AS
352212011-07-21 Andreas Schwab <schwab@redhat.com>
35222
35223 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35224 change.
35225 (_dl_x86_64_save_sse): Use correct AVX check.
35226
21137f89
UD
352272011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35228
35229 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35230 bug in strncpy/strncat.
35231 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35232
a65c0b7a
UD
352332011-07-21 Ulrich Drepper <drepper@gmail.com>
35234
35235 * string/tester.c (test_strcat): Add tests for different alignments
35236 of source and destination.
35237 (test_strncat): Likewise.
35238
6986b98a
UD
352392011-07-20 Ulrich Drepper <drepper@gmail.com>
35240
90bb2039
UD
35241 [BZ #12852]
35242 * posix/glob.c (glob): Check passed in values before using them in
35243 expressions to avoid some overflows.
35244 (glob_in_dir): Likewise.
35245
5644ef54
UD
35246 [BZ #13007]
35247 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35248 check for AVX enablement so that we don't crash with old kernels and
35249 new hardware.
35250 * elf/tst-audit4.c: Add same checks here.
35251 * elf/tst-audit6.c: Likewise.
35252
35253 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 35254
bfc9dc9b
AS
352552011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35256
35257 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35258
702e64bb
UD
352592011-07-20 Ulrich Drepper <drepper@gmail.com>
35260
35261 * po/cs.po: Update from translation team.
35262 * po/bg.po: Likewise.
35263
295e904f
MP
352642011-07-12 Marek Polacek <mpolacek@redhat.com>
35265
35266 * misc/sys/cdefs.h: Add support for const attribute.
35267 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35268 to gnu_dev_{major,minor,makedev} functions.
35269
3ff94596
MP
352702011-07-20 Marek Polacek <mpolacek@redhat.com>
35271
35272 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35273
28b59fca
AS
352742011-07-20 Andreas Schwab <schwab@redhat.com>
35275
35276 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35277 strlen results.
35278
19df733e
AK
352792011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35280
35281 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35282 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35283 register in order to avoid conflicts with the soft frame pointer
35284 being held in r11 when necessary.
35285 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35286 (INTERNAL_VSYSCALL_NCS): Likewise.
35287
c8835729
MP
352882011-07-14 Marek Polacek <mpolacek@redhat.com>
35289
35290 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35291 * elf/dl-fini.c (_dl_fini): Adjust caller.
35292 * elf/dl-close.c (_dl_close_worker): Likewise.
35293 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35294
b902330c
MP
352952011-07-15 Marek Polacek <mpolacek@redhat.com>
35296
8991e135
MP
35297 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35298 "aux_cache->nlibs < 0".
35299
b902330c
MP
35300 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35301 in the reload-count case.
35302
99710781
LD
353032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35304
35305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35306 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35307 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35308 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35309 * sysdeps/x86_64/multiarch/strcat.S: New file.
35310 * sysdeps/x86_64/multiarch/strncat.S: New file.
35311 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35312 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35313 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35314 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35315 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35316 (USE_AS_STRCAT): Define.
35317 Add strcat and strncat support.
35318 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35319 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35320 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35321 * string/strncat.c: Update.
35322 (USE_AS_STRNCAT): Define.
35323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35324 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35325 and i7.
35326 * sysdeps/x86_64/multiarch/init-arch.h
35327 (bit_Prefer_PMINUB_for_stringop): New.
35328 (index_Prefer_PMINUB_for_stringop): Likewise.
35329 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35330 bit_Prefer_PMINUB_for_stringop.
35331
7dc6bd90
UD
353322011-07-19 Ulrich Drepper <drepper@gmail.com>
35333
35334 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35335 buffer64.
35336 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35337 of casting of buffer.
35338 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35339 buffer32 and buffer64.
35340 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35341 writes instead of casting of buffer.
35342 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35343 buffer32.
35344 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35345 casting of buffer.
35346
e0e72284
AS
353472011-07-19 Andreas Schwab <schwab@redhat.com>
35348
35349 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35350
feb1eb0b
UD
353512011-07-19 Ulrich Drepper <drepper@gmail.com>
35352
35353 * nscd/nscd.c (termination_handler): Don't do anything for a database
35354 if it has not yet been initialized.
35355
298711ff
UD
353562011-07-18 Ulrich Drepper <drepper@gmail.com>
35357
35358 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35359
353602011-07-15 Marek Polacek <mpolacek@redhat.com>
35361
35362 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35363
f9d68389
UD
353642011-07-18 Ulrich Drepper <drepper@gmail.com>
35365
35366 * po/nl.po: Update from translation team.
35367 * po/sv.po: Likewise.
35368
db290cf5
RM
353692011-07-16 Roland McGrath <roland@hack.frob.com>
35370
35371 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35372 now disallowed by GCC.
5c550700 35373
fd5e21c7
RM
35374 * configure.in (use-default-link): Default to yes if a test -shared
35375 link meets our qualifications.
35376 * configure: Regenerated.
35377
5c550700
RM
35378 * config.make.in (output-format): New variable.
35379 * configure.in: Check for ld --print-output-format support.
35380 * configure: Regenerated.
35381 * Makerules ($(common-objpfx)format.lds)
35382 [$(output-format) != unknown]: Just use $(output-format),
35383 instead of the linker-script munging.
35384
9fa2c032
RM
353852011-07-14 Roland McGrath <roland@hack.frob.com>
35386
a6928d51
RM
35387 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35388 of $(common-objpfx)shlib.lds.
35389 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35390
661607b3
RM
35391 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35392 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35393
9fa2c032
RM
35394 * configure.in (-z relro check): Adjust test code to add a large
35395 writable data section after it.
35396 * configure: Regenerated.
35397
defe9061
RM
353982011-07-11 Roland McGrath <roland@hack.frob.com>
35399
35400 * configure.in (-z relro check): Fix test code to make the variable
35401 truly const.
35402 * configure: Regenerated.
35403
319b9ad4
UD
354042011-07-11 Ulrich Drepper <drepper@gmail.com>
35405
35406 * nscd/nscd.h (struct traced_file): Define.
35407 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35408 elements. Add traced_files.
35409 (inotify_fd): Declare.
35410 (register_traced_file): Declare.
35411 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35412 (inotify_fd): Export.
35413 (resolv_conf_descr): Remove.
35414 (nscd_init): Move inotify descriptor creation to main.
35415 Don't register files for notification here.
35416 (register_traced_file): New function.
35417 (invalidate_cache): Don't use reset_res to determine whether to call
35418 res_init, go through the list of registered files.
35419 (main_loop_poll): The inotify descriptors are now stored in the
35420 structures for the traced files.
35421 (main_loop_epoll): Likewise
35422 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35423 to __nss_disable_nscd.
35424 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35425 for a database anymore. Check the records for all the registered
35426 files instead.
35427 * nss/Makefile (libnss_files-routines): Add files-init.
35428 (libnss_db-routines): Add db-init.
35429 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35430 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35431 * nss/nss_db/db-init.c: New file.
35432 * nss/nss_files/files-init.c: New file.
35433 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35434 __nss_lookup_function.
35435 (__nss_lookup_function): Call nss_load_library.
35436 (nss_load_all_libraries): New function.
35437 (__nss_disable_nscd): Take parameter with callback function for files
35438 to register. Set is_nscd. Load all the DSOs for the NSS modules
35439 used for the cached services.
35440 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35441 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35442 options for features to all the files in nscd.
35443
35444 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35445
23bee3e8
RM
354462011-07-10 Roland McGrath <roland@hack.frob.com>
35447
35448 * csu/elf-init.c (__libc_csu_init): Comment typo.
35449
46a5b7f0
UD
354502011-07-09 Ulrich Drepper <drepper@gmail.com>
35451
35452 * po/pl.po: Update from translation team.
35453 * po/ja.po: Likewise.
35454 * po/ru.po: Likewise.
35455 * po/ko.po: Likewise.
35456 * po/fr.po: Likewise.
35457
d30cf5bb
RM
354582011-07-09 Roland McGrath <roland@hack.frob.com>
35459
113ddea4
RM
35460 * configure.in (.ctors/.dtors header and trailer check):
35461 Use an empirical test on a built program.
35462 * configure: Regenerated.
35463
574920b4
RM
35464 * configure.in (-z relro check): Use an empirical test on a built DSO.
35465 Detect, but do not require, on ia64.
35466 * configure: Regenerated.
35467
d30cf5bb
RM
35468 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35469 Update tests that use readelf to use $READELF instead.
35470 * configure: Regenerated.
35471
8538fdb3
UD
354722011-07-08 Ulrich Drepper <drepper@gmail.com>
35473
35474 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35475 if the result is not used.
35476
04d08991
AJ
354772011-07-05 Andreas Jaeger <aj@suse.de>
35478
35479 [BZ#9696]
35480 * stdlib/tst-strtod.c: Add testcase.
35481
de283087
AD
354822011-07-07 Ulrich Drepper <drepper@gmail.com>
35483
4e5f31c8 35484 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 35485 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
35486 The latter has a higher limit. Take additional parameter to pass to
35487 the new function.
35488 (__pathconf): Pass file to __statfs_link_max.
35489 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35490 __statfs_link_max.
35491 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35492 __statfs_link_max.
35493
de283087
AD
35494 [BZ #12868]
35495 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35496 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35497 Handle Lustre.
35498 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35499 (__statfs_filesize_max): Likewise.
35500 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35501
c75fa153
AJ
355022011-07-05 Andreas Jaeger <aj@suse.de>
35503
35504 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35505
1a544854
UD
355062011-07-06 Marek Polacek <mpolacek@redhat.com>
35507
35508 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35509 `status' variable.
35510 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35511 Likewise.
35512
6f0eec67
UD
355132011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35514
35515 * Makefile (strop-tests): Add strncat.
35516 * string/test-strncat.c: New file.
35517
aae30307
UD
355182011-06-30 Marek Polacek <mpolacek@redhat.com>
35519
35520 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35521
c0cfb5eb
UD
355222011-06-21 Andreas Jaeger <aj@suse.de>
35523
35524 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35525 Copy rule from iconvdata/Makefile.
35526
01636b21
UD
355272011-07-06 Ulrich Drepper <drepper@gmail.com>
35528
35529 [BZ #12922]
35530 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35531 but no long options are defined, just return 'W'.
35532
9895c8bc
UD
355332011-06-22 Marek Polacek <mpolacek@redhat.com>
35534
35535 [BZ #9696]
35536 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35537
5d4cf042
UD
355382011-07-06 Ulrich Drepper <drepper@gmail.com>
35539
35540 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35541 netgroups to read.
960e5535 35542 (innetgr): Likewise.
5d4cf042 35543
751eb97e
RM
355442011-07-05 Roland McGrath <roland@hack.frob.com>
35545
35546 * config.make.in (install_root): Default to $(DESTDIR).
35547
f15f1e45
UD
355482011-07-05 Ulrich Drepper <drepper@gmail.com>
35549
35550 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35551
4e34ac6a
RM
355522011-07-02 Roland McGrath <roland@hack.frob.com>
35553
5e9b6af4
RM
35554 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35555
84f9ea0f
RM
35556 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35557 containing directory rather than embedding absolute directory names.
35558
ea5ee9f7
RM
35559 * scripts/check-local-headers.sh: Rewritten using awk.
35560 Match by word, not by line. Print error messages for matches.
35561 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35562
1b74661a
RM
35563 * Makerules [shlib-lds-flags empty]:
35564 ($(common-objpfx)libc_pic.opts): New target.
35565 ($(common-objpfx)libc_pic.os.clean): New target.
35566 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35567
35568 * config.make.in (OBJCOPY): New variable.
35569 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35570 * configure: Regenerated.
35571
f781ef40
RM
35572 * config.make.in (use-default-link): New variable.
35573 * configure.in (use_default_link): Grok --with-default-link to set it.
35574 * configure: Regenerated.
35575 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35576 (shlib-lds, shlib-lds-flags): Define to empty.
35577
2d4fa81e
RM
35578 * Makerules (shlib-lds): New variable.
35579 (shlib-lds-flags): New variable.
35580 (build-shlib, build-moduile, build-module-asneeded): Use it.
35581 ($(common-objpfx)libc.so): Use $(shlib-lds).
35582 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35583 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35584
31fffa6b
RM
35585 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35586 DT_FLAGS/DT_FLAGS_1 with zero flags.
35587
4e34ac6a
RM
35588 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35589 linker script munging.
35590
fcfc776b
UD
355912011-07-02 Ulrich Drepper <drepper@gmail.com>
35592
35593 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35594 as 128-bit value.
35595 * crypt/sha512.c (sha512_process_block): Perform total addition using
35596 128-bit if possible.
35597 (__sha512_finish_ctx): Likewise.
35598 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35599 as 64-bit value.
35600 * crypt/sha256.c (SWAP64): Define.
35601 (sha256_process_block): Perform total addition using 64-bit if
35602 possible.
35603 (__sha256_finish_ctx): Likewise.
35604
99231d9a
UD
356052011-07-01 Ulrich Drepper <drepper@gmail.com>
35606
35607 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35608 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35609 * nscd/hstcache.c (cache_addhst): Likewise.
35610 * nscd/grpcache.c (cache_addgr): Likewise.
35611 * nscd/aicache.c (addhstaiX): Likewise
35612 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35613
445b4a53
TK
356142011-07-01 Thorsten Kukuk <kukuk@suse.de>
35615
35616 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35617 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35618 * nscd/hstcache.c (cache_addhst): Likewise.
35619 * nscd/grpcache.c (cache_addgr): Likewise.
35620 * nscd/aicache.c (addhstaiX): Likewise
35621
6d4d8e8e
AS
356222011-07-01 Andreas Schwab <schwab@redhat.com>
35623
35624 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35625 domain only when needed.
35626
89f654c5
AS
356272011-06-30 Andreas Schwab <schwab@redhat.com>
35628
35629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35630 is always restored.
35631
cf3b23ff
UD
356322011-06-29 Ulrich Drepper <drepper@gmail.com>
35633
35634 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35635 are re-adding the entry.
35636 * nscd/servicescache.c (cache_addserv): Likewise.
35637
751626f9
AJ
356382011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35639
35640 * sysdeps/generic/dl-irel.h: fix protection against multiple
35641 inclusions.
35642 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35643
9113ea1f
UD
356442011-06-28 Ulrich Drepper <drepper@gmail.com>
35645
5c0b8d90
UD
35646 [BZ #12935]
35647 * malloc/memusage.sh: Fix quoting in message.
35648 * debug/xtrace.sh: Likewise.
35649
9113ea1f
UD
35650 * configure.in: Remove support for --experimental-malloc option, make
35651 it the default.
35652 * config.make.in: Likewise.
35653 * malloc/Makefile: Likewise.
35654
a4172181
AS
356552011-06-27 Andreas Schwab <schwab@redhat.com>
35656
35657 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35658 two-byte characters.
35659
78a7eee7
RM
356602011-06-27 Roland McGrath <roland@hack.frob.com>
35661
62bede13
RM
35662 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35663 AC_CACHE_CHECK invocation.
35664 * configure: Regenerated.
35665
78a7eee7
RM
35666 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35667
5ce33a62
UD
356682011-06-27 Ulrich Drepper <drepper@gmail.com>
35669
034807a9
UD
35670 [BZ #12350]
35671 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35672 bit from old_res_options.
35673
4902da17
UD
35674 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35675
5ce33a62
UD
35676 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35677 value type for setfct.
35678
c2344f56
L
356792011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35680
35681 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35682 __gettimeofday instead of gettimeofday.
35683
68468076
UD
356842011-06-26 Ulrich Drepper <drepper@gmail.com>
35685
35686 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35687
acb0d739
L
356882011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35689
35690 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35691
35692 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35693 info.
35694
8912479f
L
356952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35696
35697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35698 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35699 strcpy-sse2-unaligned strncpy-sse2-unaligned
35700 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35701 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35702 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35703 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35704 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35705 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35706 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35707 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35708 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35709 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35710 (STRCPY): Support SSE2 and SSSE3 versions.
35711
d5495a11
UD
357122011-06-24 Ulrich Drepper <drepper@gmail.com>
35713
35714 [BZ #12874]
35715 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35716 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35717 kernels which artificially limit size of requests.
35718
0b1cbaae
L
357192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35720
35721 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35722 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35723 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35724 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35725 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35726 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35727 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35728 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35729 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35730 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35731 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35732 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35733 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35734 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35735 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35737 Enable unaligned load optimization for Intel Core i3, i5 and i7
35738 processors.
35739 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35740 Define.
35741 (index_Fast_Unaligned_Load): Define.
35742 (HAS_FAST_UNALIGNED_LOAD): Define.
35743
07f494a0
MP
357442011-06-23 Marek Polacek <mpolacek@redhat.com>
35745
35746 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35747
fa3fc0fe
UD
357482011-06-22 Ulrich Drepper <drepper@gmail.com>
35749
35750 [BZ #12907]
35751 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35752 until it is clear that the information is realy needed.
35753 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35754
e12df166
AS
357552011-06-22 Andreas Schwab <schwab@redhat.com>
35756
35757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35758
852eb34d
UD
357592011-06-22 Ulrich Drepper <drepper@gmail.com>
35760
84e2a551
UD
35761 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35762 /sys/devices/system/cpu/online if it is usable.
35763
852eb34d
UD
35764 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35765 reading the information from the /proc filesystem to once a second.
35766
6e502e19
UD
357672011-06-21 Andreas Jaeger <aj@suse.de>
35768
35769 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35770 NULL after inclusion of kernel headers.
35771
75d39ff2
UD
357722011-06-21 Ulrich Drepper <drepper@gmail.com>
35773
51f9aa6a
UD
35774 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35775 calls to internal_setent.
35776
c0244a9d
UD
35777 [BZ #12885]
35778 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35779 addresses using gethostbyname4_r ignore IPv4 addresses.
35780
c5e3c2ae
UD
35781 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35782 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35783
75d39ff2
UD
35784 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35785
42675c6f
DM
357862011-06-20 David S. Miller <davem@davemloft.net>
35787
35788 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35789 inclusions.
35790 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35791
35792 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35793 (elf_irel): Use it.
35794 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35795 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35796 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35797 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35798 * sysdeps/x86_64/dl-irel.h: Likewise.
35799
35800 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35801 * elf/dl-sym.c: Likewise.
35802
57912a71
UD
358032011-06-15 Ulrich Drepper <drepper@gmail.com>
35804
35805 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35806 need to dereference resplen2.
35807
ee22793d
AS
358082011-06-14 Andreas Schwab <schwab@redhat.com>
35809
35810 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35811
a9e836b0
UD
358122011-06-15 Ulrich Drepper <drepper@gmail.com>
35813
77fb9117
UD
35814 * Makeconfig: Define vardbdir and inst_vardbdir.
35815 * nss/Makefile: Add rules to install db-Makefile.
35816
40c1b22c
UD
35817 * nss/nss_db/db-XXX.c: Cleanup.
35818
9f2da732
UD
35819 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35820 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35821 GLIBC_PRIVATE.
35822 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35823 * nss/makedb.c: Implement -g option to specify that value strings
35824 are generated and should not be added to table iterated over for
35825 get*ent calls.
35826 * nss/nss_db/db-initgroups.c: New file.
35827
82e9a1f7
UD
35828 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35829 interface.
35830
c41af17e
UD
35831 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35832 (internal_getgrouplist): Adjust to name change.
35833 Update use_initgroups_entry if this is not the first call.
35834 * nss/databases.def: Add initgroups entry.
35835
a9e836b0
UD
35836 * nss/makedb.c (compute_tables): Check result of multiple hash table
35837 sizes to minimize maximum chain length.
35838
2666d441
UD
358392011-06-14 Ulrich Drepper <drepper@gmail.com>
35840
35841 * Versions.def: Add entry for libnss_db.
35842 * shlib-versions: Likewise.
35843 * nss/Makefile: Add rules to build libnss_db.
35844 * nss/Versions: Add libnss_db information. Organize libnss_files
35845 entries better.
35846 * nss/db-Makefile: Add gshadow support. Change rules for the new
35847 makedb progra. Some minor improvements to generate smaller files.
35848 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35849 here from...
35850 * nss/makedb.c: ...here.
35851 Improve database format to be smaller and require less memory at
35852 runtime.
35853 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35854 db anymore.
35855 * nss/nss_db/db-netgrp.c: Likewise.
35856 * nss/nss_db/db-open.c: Likewise.
35857 * nss/nss_files/flies-XXX.x: Adjust comments.
35858 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35859 * nss/nss_files/files-grp.c: Likewise.
35860 * nss/nss_files/files-hosts.c: Likewise.
35861 * nss/nss_files/files-network.c: Likewise.
35862 * nss/nss_files/files-proto.c: Likewise.
35863 * nss/nss_files/files-pwd.c: Likewise.
35864 * nss/nss_files/files-rpc.c: Likewise.
35865 * nss/nss_files/files-service.c: Likewise.
35866 * nss/nss_files/files-sgrp.c: Likewise.
35867 * nss/nss_files/files-spwd.c: Likewise.
35868 * nss/nss_db/db-alias.c: Removed.
35869 * nss/nss_db/dummy-db.h: Removed.
35870
9ee76b5a
UD
358712011-06-02 Ulrich Drepper <drepper@gmail.com>
35872
35873 * nss/makedb.c: Rewritten to not use database library.
35874 * nss/Makefile: Update to build new makedb program.
35875
c71ca1f8
AJ
358762011-06-14 Andreas Jaeger <aj@suse.de>
35877
35878 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35879 memset declaration.
35880
3154bfb8
UD
358812011-06-10 Andreas Schwab <schwab@redhat.com>
35882
35883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35884 tmpbuf.
35885
b350afab
RM
358862011-06-10 Roland McGrath <roland@hack.frob.com>
35887
decd4e50
RM
35888 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35889 * elf/Makefile ($(objpfx)ld.so): Likewise.
35890
5615eaf2
RM
35891 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35892 Don't list ld.so twice in dependencies.
35893
35894 * posix/bug-regex31.c: Include <stdlib.h>.
35895
35896 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35897
35898 * nis/nss_compat/compat-spwd.c
35899 (getspent_next_nss_netgr): Remove unused variable.
35900 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35901
35902 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35903 nonmembers" output to use the right array.
35904
35905 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35906
35907 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35908
35909 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35910 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35911 * catgets/gencat.c (read_input_file): Likewise.
35912 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35913
35914 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35915 variable definition inside #if's controlling its use.
35916
35917 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35918
35919 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35920
35921 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35922
35923 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35924 unreachable code.
35925
35926 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35927
b68e08db
RM
35928 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35929 * configure: Regenerated.
35930
b350afab
RM
35931 * Makerules: Revert last change.
35932 * elf/Makefile: Likewise.
35933
28368601
RM
359342011-06-09 Roland McGrath <roland@hack.frob.com>
35935
35936 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35937 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35938 (reloc-link): Likewise.
35939
11988f8f
UD
359402011-06-09 Ulrich Drepper <drepper@gmail.com>
35941
35942 * elf/Makefile: Add rules to build pldd.
35943 * elf/pldd.c: New file.
35944 * elf/pldd-xx.c: New file.
35945
e80fab37
UD
359462011-06-07 Ulrich Drepper <drepper@gmail.com>
35947
35948 * version.h: Update for 2.15 development version.
35949
9b849836
DM
359502011-06-07 David S. Miller <davem@davemloft.net>
35951
35952 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35953 ifuncs.
35954 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35955 elf_machine_lazy_rel): Likewise.
35956 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35957 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35958 elf_machine_lazy_rel): Likewise.
35959 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35960 dl_hwcap via passed in argument.
35961 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35962 Likewise.
35963
5a31b283
AK
359642011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35965
35966 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35967
069e52f8
RM
359682011-06-06 Roland McGrath <roland@hack.frob.com>
35969
35970 [BZ #12849]
35971 * manual/fdl-1.1.texi: New file, verbatim from:
35972 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35973 * manual/lgpl-2.1.texi: New file, verbatim from:
35974 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35975 * manual/Makefile (licenses): New variable, list those new file names.
35976 (texis): Use it.
35977 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35978
35979 * manual/fdl.texi: File removed.
35980 * manual/lesser.texi: File removed.
35981 * manual/libc.texinfo (Copying, Documentation License):
35982 Use new @include file names, put @appendix directive before @include.
35983
f16846a5
JJ
359842011-06-04 Jakub Jelinek <jakub@redhat.com>
35985
35986 [BZ #12841]
35987 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35988 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35989 (mq_open): Add __NTH.
35990
3d29045b
L
359912011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35992
35993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35994 Assume Intel Core i3/i5/i7 processor if AVX is available.
35995
8c297311
UD
359962011-05-31 Ulrich Drepper <drepper@gmail.com>
35997
35998 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35999 typo.
36000
c8fc0c91
UD
360012011-05-31 Andreas Schwab <schwab@redhat.com>
36002
36003 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36004 memory. Use alloca_account. Fix memory leak when retrying.
36005
5b27a807
UD
360062011-05-31 Ulrich Drepper <drepper@gmail.com>
36007
356f8bc6
UD
36008 * version.h (RELEASE): Bump for 2.14 release.
36009 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36010
5b27a807
UD
36011 * config.make.in (RANLIB): Remove entry.
36012
01f16ab0
UD
360132011-05-30 Ulrich Drepper <drepper@gmail.com>
36014
41fce8bd
UD
36015 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36016 (libc.pot): Work around missing support for .ksh extension in xgettext.
36017
4769ae77
UD
36018 [BZ #12684]
36019 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36020 if both request failed.
36021 (send_dg): In case of server errors clear resplen or *resplen2.
36022
6b1e7d19
UD
36023 [BZ #12454]
36024 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36025 when there are multiple maps.
36026 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36027 (_dl_fini): Remove test here.
36028
01f16ab0
UD
36029 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36030
b1ebd700
UD
360312011-05-29 Ulrich Drepper <drepper@gmail.com>
36032
7ae22829
UD
36033 [BZ #12350]
36034 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36035 bit from old_res_options.
36036 (gaih_inet): Likewise.
36037
553149f6 36038 [BZ #11099]
18a84741 36039 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
36040 as signed.
36041
652ffab1
UD
36042 * resolv/res_init.c (res_setoptions): Make the code more compact.
36043
16985fd0
UD
36044 [BZ #11558]
36045 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36046 set RES_USEVC.
36047
0464f746
UD
36048 [BZ #11634]
36049 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36050
7d17596c
UD
36051 * malloc/malloc.h: Mark malloc hook variables as deprecated.
36052
cf6bbbd7
UD
36053 [BZ #11781]
36054 * malloc/malloc.h: Declare malloc hook variables as volatile.
36055
13f1ab36
UD
36056 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36057 in last patch.
36058
b1ebd700
UD
36059 [BZ #11799]
36060 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 36061 raise in the comment.
80e2212d
UD
36062 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36063 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36064 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 36065
ce67228d
UD
360662011-05-28 Ulrich Drepper <drepper@gmail.com>
36067
8887a920
UD
36068 [BZ #12811]
36069 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36070 grow the buffers more if it already has to be sufficient.
36071 (build_wcs_upper_buffer): Likewise.
36072 * posix/regexec.c (check_matching): Likewise.
36073 (clean_state_log_if_needed): Likewise.
36074 (extend_buffers): Don't enlarge buffers beyond size of the input
36075 buffer.
36076 Patches mostly by Emil Wojak <emil@wojak.eu>.
36077 * posix/bug-regex32.c: New file.
36078 * posix/Makefile (tests): Add bug-regex32.
36079
4f031072
UD
36080 * locale/findlocale.c (_nl_find_locale): Return right away if
36081 _nl_explode_name failed.
36082 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36083
d0478f0c
UD
36084 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36085
de81b246
UD
36086 * debug/xtrace.sh: Unify messages.
36087 * malloc/memusage.sh: Likewise.
36088
c738465a
UD
36089 [BZ #12813]
36090 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36091 time symbol from vDSO. Substitute with vsyscall if not available.
36092 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36093 __vdso_time.
36094
f1f929d7
UD
36095 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36096 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36097 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36098 Add sendmmsg and internal_sendmmsg.
36099 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36100 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36101 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36102
ce67228d
UD
36103 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36104 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36105 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36106
e57420c6
UD
361072011-05-27 Ulrich Drepper <drepper@gmail.com>
36108
a8509ca5
UD
36109 [BZ #12813]
36110 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36111 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36112 available.
36113 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36114 __vdso_getcpu.
36115
e57420c6
UD
36116 [BZ #12814]
36117 * iconvdata/Makefile (tests): Add bug-iconv9.
36118 * iconvdata/bug-iconv9.c: New file.
36119
4d07db15
AS
361202011-05-27 Andreas Schwab <schwab@redhat.com>
36121
36122 [BZ #12814]
36123 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36124
ea486f69
JJ
361252011-05-25 Jakub Jelinek <jakub@redhat.com>
36126
36127 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36128 (struct user_regs_struct): Change intcs field back to cs.
36129
6f038433
UD
361302011-05-25 Ulrich Drepper <drepper@gmail.com>
36131
36132 * po/ja.po: Update from translation team.
36133
67f86a25
UD
361342011-05-23 Ulrich Drepper <drepper@gmail.com>
36135
36136 [BZ #12795]
36137 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36138 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36139
def7fbd6
AS
361402011-05-20 Andreas Schwab <schwab@redhat.com>
36141
36142 * stdlib/longlong.h: Update from GCC.
36143
f50ef8f1
AS
361442011-05-23 Andreas Schwab <schwab@redhat.com>
36145
36146 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36147 parameter name.
36148 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36149 Add parameter name.
36150 (__sysconf): Pass it down.
36151
de7ce8f1
UD
361522011-05-22 Ulrich Drepper <drepper@gmail.com>
36153
f2962a71
UD
36154 [BZ #12671]
36155 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36156 some situations.
36157 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36158 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36159 add in in __libc_use_alloca calls. Adjust callers.
36160 (glob): Use malloc in some situations.
36161
de7ce8f1
UD
36162 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36163 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36164 pltexit.
36165
aec84f53
UD
361662011-05-21 Ulrich Drepper <drepper@gmail.com>
36167
05bb4a68
UD
36168 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36169 and CLOCK_BOOTTIME_ALARM.
36170
7ea72f99
UD
36171 [BZ #12782]
36172 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36173 is returned.
36174
7e4afad5
UD
36175 * string/_strerror.c (__strerror_r): Print negative errors as signed
36176 numbers.
36177
8e211fec
UD
36178 [BZ #12777]
36179 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36180 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36181 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36182
f7d82dc9
UD
36183 * configure.in: Fix typo in redirection and correct removal of test
36184 files in two cases.
36185
cc9e536d
UD
36186 [BZ #12788]
36187 * locale/setlocale.c (new_composite_name): Fix test to check for
36188 identical name of all categories.
36189
aec84f53
UD
36190 [BZ #12792]
36191 * libio/filedoalloc.c (local_isatty): New function.
36192 (_IO_file_doallocate): Use local_isatty.
36193 * stdio-common/perror.c (perror): In case a new stream is used
36194 forward the stream error.
36195 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36196 error flag.
36197
78e64fdc
RT
361982011-05-20 Ulrich Drepper <drepper@gmail.com>
36199
34a9094f
UD
36200 [BZ #11869]
36201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36202 alloca.
36203 * include/alloca.h (extend_alloca_account): Define.
36204
78e64fdc
RT
36205 [BZ #11857]
36206 * posix/regex.h: Fix comments with documentation of user-accessible
36207 fields after compilation and describe correct free'ing of pattern
36208 after re_compile_pattern.
36209 Patch by Reuben Thomas <rrt@sc3d.org>.
36210
457bddfc
RA
362112011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36212
36213 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36214 and -mno-altivec to prevent the compiler from using Altivec and/or
36215 VSX instructions when the corresponding registers are not available.
36216
a4527b51
AS
362172011-05-19 Andreas Schwab <schwab@redhat.com>
36218
36219 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36220
ed690b2f
UD
362212011-05-19 Ulrich Drepper <drepper@gmail.com>
36222
36223 * libio/freopen.c (freopen): Use __dup2, not dup2.
36224 * libio/freopen64.c (freopen64): Likewise.
36225
8db73634
L
362262011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36227
36228 [BZ #12775]
36229 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36230 * math/Makefile (tests): Add test-powl.
36231 (CFLAGS-test-powl.c): Define.
36232 * math/test-powl.c: New file.
36233
0a197a9d
L
362342011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36235
36236 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36237
ee30c380
UD
362382011-05-17 Ulrich Drepper <drepper@gmail.com>
36239
36240 [BZ #11837]
36241 * iconvdata/gb18030.c: Update to GB18020-2005.
36242
6ce75379
UD
362432011-05-16 Ulrich Drepper <drepper@gmail.com>
36244
a4b89fd8
AR
36245 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36246 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36247 Patch by Aharon Robbins <arnold@skeeve.com>.
36248
ea389b12
UD
36249 [BZ #11892]
36250 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36251 on the stack.
36252
68a3f91f
UD
36253 [BZ #11895]
36254 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36255 through underflows.
36256
15cc7dd1
UD
36257 [BZ #12766]
36258 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36259 point to strings before performing equality test for error_one_per_line
36260 mode.
36261
f3799213
UD
36262 [BZ #11697]
36263 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36264
d79a9c94
UD
36265 [BZ #11820]
36266 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36267 (struct user_fpregs_struct): Avoid __uint*_t types.
36268
56e5eb46
UD
36269 [BZ #6420]
36270 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36271 symbol info. Use it instead of calling _dl_addr locally.
36272 (lock_and_info): New function.
36273 (tr_freehook): Call lock_and_info and pass symbol info as additional
36274 parameter to tr_where.
36275 (tr_mallochook): Likewise.
36276 (tr_reallochook): Likewise.
36277 (tr_memalignhook): Likewise.
36278
6ce75379
UD
36279 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36280 used and couldn't be at all thread-safe.
36281
f8a3b5bf
UD
362822011-05-15 Ulrich Drepper <drepper@gmail.com>
36283
94b7cc37
UD
36284 * libio/freopen.c (freopen): Don't close old file descriptor
36285 before the new one is opened. Instead dup the new file descriptor
36286 to the old one after the new stream is created.
36287 * libio/freopen64.c (freopen64): Likewise.
36288 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36289 * libio/fileops.c (_IO_new_file_close_it): Handle new
36290 _IO_FLAGS2_NOCLOSE flag.
36291 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36292 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36293 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36294 _IO_FLAGS2_NOCLOSE flag.
36295 * include/unistd.h: Add hidden_proto for dup3.
36296 Define __have_dup3.
36297 * io/dup3.c: Define hidden symbol.
36298 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36299
bd25564e
UD
36300 [BZ #7101]
36301 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36302 when an incomplete long option is used.
36303 * posix/tst-getopt_long1.c: New file.
36304 * posix/Makefile (tests): Add tst-getopt_long1.
36305
c84cfef4
UD
36306 [BZ #10138]
36307 * scripts/config.guess: Update from autoconf-2.68.
36308 * scripts/config.sub: Likewise.
36309
3b85df27
UD
36310 [BZ #10157]
36311 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36312 tests into ...
36313 (has_cpuclock): ...this. New function.
36314 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36315 macro here based on has_cpuclock code.
36316
15a856b1
UD
36317 [BZ #10149]
36318 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36319 First byte (not low byte) is now always NUL.
36320 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36321
05f399e6
UD
36322 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36323 Use non-cancelable interfaces.
36324
10a52685 36325 [BZ #9809]
94ecc67d
UD
36326 * locale/iso-639.def: Add entry for Sorani.
36327
f8a3b5bf
UD
36328 [BZ #11901]
36329 * include/stdlib.h: Move include protection to the right place.
36330 Define abort_msg_s. Declare __abort_msg with it.
36331 * stdlib/abort.c (__abort_msg): Adjust type.
36332 * assert/assert.c (__assert_fail_base): New function. Majority
36333 of code from __assert_fail. Allocate memory for __abort_msg with
36334 mmap.
36335 (__assert_fail): Now call __assert_fail_base.
36336 * assert/assert-perr.c: Remove bulk of implementation. Use
36337 __assert_fail_base.
36338 * include/assert.hL Declare __assert_fail_base.
36339 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36340 mmap.
36341 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36342
1af4e298
UD
363432011-05-14 Ulrich Drepper <drepper@gmail.com>
36344
f8a3b5bf 36345 [BZ #11952]
d26dfc60
MG
36346 [BZ #12453]
36347 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36348 until all modules are registered in the DTV.
36349 * elf/Makefile: Add rules to build and run tst-tls19.
36350 * elf/tst-tls19.c: New file.
36351 * elf/tst-tls19mod1.c: New file.
36352 * elf/tst-tls19mod2.c: New file.
36353 * elf/tst-tls19mod3.c: New file.
36354 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36355
2fc54d6f
UD
36356 [BZ #12083]
36357 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36358 correctly.
36359
98d76b46
UD
36360 [BZ #12601]
36361 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36362 two-byte sequence errors.
36363 * iconvdata/Makefile (tests): Add bug-iconv8.
36364 * iconvdata/bug-iconv8.c: New file.
36365
da3c19ef
UD
36366 [BZ #12626]
36367 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36368 buf2 definition.
36369
ca408c15
UD
36370 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36371
d6f67f7d
UD
36372 [BZ #12432]
36373 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36374 (dummy_getcfa): New function.
36375 (init): Get _Unwind_GetCFA address, use dummy if not found.
36376 (backtrace_helper): In recursion check, also check whether CFA changes.
36377 (__backtrace): Completely initialize arg.
36378
1af4e298 36379 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
36380 storing incomplete byte sequence in state object. Avoid testing for
36381 guaranteed too small input if we know there is enough data available.
1af4e298 36382
da62f81b
AS
363832011-05-11 Andreas Schwab <schwab@redhat.com>
36384
36385 * Makeconfig (+link-pie): Indent.
36386 * Rules (binaries-pie): Define if $(have-fpie) and
36387 $(build-shared).
36388 (binaries-shared): Also filter out $(binaries-pie).
36389 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36390 * nscd/Makefile (others-pie): Add nscd.
36391 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36392 ($(objpfx)nscd): Remove command override.
36393 * login/Makefile (others-pie): Add pt_chown.
36394 ($(objpfx)pt_chown): Remove command override.
36395 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36396 remove command overrides.
36397
fcabc0f8
UD
363982011-05-13 Ulrich Drepper <drepper@gmail.com>
36399
20030ae6
UD
36400 * libio/tst_putwc.c: Fix error messages.
36401
fcabc0f8
UD
36402 [BZ #12724]
36403 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36404 currently writing and seek to current position when not.
36405 * libio/Makefile (tests): Add bug-fclose1.
36406 * libio/bug-fclose1.c: New file.
36407
320a5dc0
PB
364082011-05-12 Ulrich Drepper <drepper@gmail.com>
36409
36410 [BZ #12511]
36411 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36412 don't set DF_1_NODELETE here.
36413 (do_lookup_x): When entering new entry test for copy relocation
36414 and if necessary set DF_1_NODELETE flag.
36415 * elf/tst-unique4.cc: New file.
36416 * elf/tst-unique4.h: New file.
36417 * elf/tst-unique4lib.cc: New file.
36418 * elf/Makefile: Add rules to build and run tst-unique4.
36419 Patch by Piotr Bury <pbury@goahead.com>.
36420
22836f52
UD
364212011-05-11 Ulrich Drepper <drepper@gmail.com>
36422
f574184a
UD
36423 [BZ #12052]
36424 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36425
e1fb097f
UD
36426 [BZ #12625]
36427 * misc/mntent_r.c (addmntent): Flush the stream after the output
36428
22836f52
UD
36429 [BZ #12393]
36430 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36431 (is_trusted_path_normalize): Skip initial colon. Append slash
36432 to empty buffer. Duplicate is_trusted_path code but allow
36433 constructed patch to be prefix.
36434 (is_dst): Allow $ORIGIN followed by /.
36435 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36436 Correct testing of result of is_trusted_path_normalize
36437 (decompose_rpath): Fix warning.
36438
7b3b0b2a
UD
364392011-05-10 Ulrich Drepper <drepper@gmail.com>
36440
36441 [BZ #11257]
36442 * grp/initgroups.c (internal_getgrouplist): When we found the service
36443 list through the initgroups entry in nsswitch.conf do not always
36444 continue on a successful lookup. Don't always use the
eac80ce2 36445 __nss_group_database value if it is set.
7b3b0b2a
UD
36446 * nss/nsswitch.conf (initgroups): Change action for successful db
36447 lookup to continue for compatibility.
36448
2a81eaa5
UD
364492011-05-09 Ulrich Drepper <drepper@gmail.com>
36450
be97a69e
UD
36451 [BZ #11532]
36452 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36453 and CP774 modules.
36454 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36455 and CP774 modules.
36456 * iconvdata/tst-tables.sh: Likewise.
36457 * iconvdata/cp770.c: New file.
36458 * iconvdata/cp771.c: New file.
36459 * iconvdata/cp772.c: New file.
36460 * iconvdata/cp773.c: New file.
36461 * iconvdata/cp774.c: New file.
36462 * iconvdata/testdata/CP770: New file.
36463 * iconvdata/testdata/CP770..UTF8: New file.
36464 * iconvdata/testdata/CP771: New file.
36465 * iconvdata/testdata/CP771..UTF8: New file.
36466 * iconvdata/testdata/CP772: New file.
36467 * iconvdata/testdata/CP772..UTF8: New file.
36468 * iconvdata/testdata/CP773: New file.
36469 * iconvdata/testdata/CP773..UTF8: New file.
36470 * iconvdata/testdata/CP774: New file.
36471 * iconvdata/testdata/CP774..UTF8: New file.
36472
36473 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36474 END CHARMAP line.
36475 * iconvdata/gen-8bit-gap.sh: Likewise.
36476 * iconvdata/gen-8bit.sh: Likewise.
36477
c1e9e399
UD
36478 * locale/iso-639.def: Add ary entry.
36479
24c55fb3 36480 [BZ #11258]
96b4b1b0
UD
36481 * locale/C-translit.h.in: Add U20A1 transliteration.
36482
bdc2f971
KB
36483 [BZ #12178]
36484 * locale/iso-639.def: Add wae entry.
36485 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36486
2952b117
UD
36487 [BZ #12545]
36488 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36489 for n.
36490
2a81eaa5
UD
36491 [BZ #12711]
36492 * locale/C-translit.h.in: Add entry for U20B9.
36493 Patch by pravin.d.s@gmail.com.
36494
28377d1b
UD
364952011-05-08 Ulrich Drepper <drepper@gmail.com>
36496
7fb90fb8
UD
36497 [BZ #12713]
36498 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36499 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
36500 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36501 in rtld. Use *stat64.
7fb90fb8 36502 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 36503 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 36504 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
36505 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36506 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36507 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36508 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36509 __fstatat64 macros.
7fb90fb8
UD
36510 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36511 * dirent/rewinddir.c: Add libc_hidden_def.
36512 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 36513 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 36514
28377d1b
UD
36515 * include/dirent.h (__alloc_dir): Add flags parameter.
36516 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36517 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36518 __alloc_dir.
36519 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36520 from fdopendir if O_CLOEXEC is already set.
36521
66bdbaa4
AM
365222011-03-15 Alan Modra <amodra@gmail.com>
36523
36524 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36525 l_tls_firstbyte_offset non-zero. Save padding offset in
36526 l_tls_firstbyte_offset for later use.
36527 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36528 freeing static tls block.
36529
95721191
JN
365302011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36531
36532 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36533 where #ifdef was intended. The intent is to prevent ARG_MAX from
36534 being defined by the kernel headers.
36535
f87dfb1f
UD
365362011-05-07 Ulrich Drepper <drepper@gmail.com>
36537
36538 [BZ #12734]
36539 * resolv/resolv.h: Define RES_NOTLDQUERY.
36540 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36541 no-tld-query and set RES_NOTLDQUERY.
36542 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36543 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36544 modern BIND to search name as TLD unless forbidden.
36545
47c3cd7a
UD
365462011-05-07 Petr Baudis <pasky@suse.cz>
36547 Ulrich Drepper <drepper@gmail.com>
36548
36549 [BZ #12393]
36550 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36551 (is_trusted_path): ...to here.
c1e9ea35 36552 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 36553 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 36554 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 36555
8a35c912
PP
365562011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36557
36558 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36559 __BEGIN/__END_DECLS.
36560
acd41f47
UD
365612011-05-06 Ulrich Drepper <drepper@gmail.com>
36562
36563 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36564 NSS_STATUS_NOTFOUND if no record was found.
36565
597df647
AS
365662011-05-05 Andreas Schwab <schwab@redhat.com>
36567
36568 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36569 (headers-not-in-tirpc): Remove rpc/netdb.h
36570 * resolv/netdb.h: Revert last change.
36571
b9af1301
PP
365722011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36573
36574 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36575 circular dependency between libgcc.a and libc.a.
36576
4e34d5f5
AS
365772011-05-05 Andreas Schwab <schwab@redhat.com>
36578
36579 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36580 * nis/Makefile: Don't install rpcsvc/*.
36581 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36582 instead of <rpc/types.h>.
36583 (MAXHOSTNAMELEN): Define.
36584
00ee369c
AS
365852011-05-03 Andreas Schwab <schwab@redhat.com>
36586
36587 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36588
0b592a30
MB
365892011-04-28 Maciej Babinski <mbabinski@google.com>
36590
36591 [BZ #12714]
36592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36593 gethostbyname4_r when IPv6 results are possible.
36594
6e04cbbe
UD
365952011-05-02 Ulrich Drepper <drepper@gmail.com>
36596
36597 [BZ #12723]
36598 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36599 _PC_PIPE_BUF handling.
36600
e4ecafe0
BH
366012011-04-30 Bruno Haible <bruno@clisp.org>
36602
36603 [BZ #12717]
36604 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36605 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36606 to 'int'.
36607 * inet/getnameinfo.c (getnameinfo): Likewise.
36608
125ee683
UD
366092011-04-29 Ulrich Drepper <drepper@gmail.com>
36610
36611 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36612 to groups setting in database lookup.
36613 * nss/nsswitch.conf: Add initgroups entry.
36614
b722481a
EB
366152011-04-22 Ulrich Drepper <drepper@gmail.com>
36616
36617 [BZ #12685]
36618 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36619 mode string.
36620 Patch by Eric Blake <eblake@redhat.com>.
36621
4df46dbd
L
366222011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36623
36624 * sunrpc/Makefile (need-export-routines): Add svc_run.
36625 (routines): Remove svc_run.
36626 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36627 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36628 * sunrpc/svc_run.c (svc_run): Likewise.
36629 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36630
e84142d2
UD
366312011-04-21 Ulrich Drepper <drepper@gmail.com>
36632
36633 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36634 problem in reallocation in last patch.
36635
877175d8
UD
366362011-04-20 Ulrich Drepper <drepper@gmail.com>
36637
36638 * sunrpc/Makefile: Move inclusion of Rules.
36639
ab8eed78
UD
366402011-04-19 Ulrich Drepper <drepper@gmail.com>
36641
36642 * nss/nss_files/files-initgroups.c: New file.
36643 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36644 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36645 _nss_files_initgroups_dyn.
36646
e3d8f584
RS
366472011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36648
36649 * elf/elf.h (R_ARM_IRELATIVE): Define.
36650
af190f45
UD
366512011-04-19 Ulrich Drepper <drepper@gmail.com>
36652
36653 * po/ru.po: Update from translation team.
36654
53cf59ef
UD
366552011-04-17 Ulrich Drepper <drepper@gmail.com>
36656
36657 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36658 dependencies.
36659
4c559bcd
MF
366602011-02-06 Mike Frysinger <vapier@gentoo.org>
36661
36662 [BZ #12653]
36663 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36664 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36665 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36666 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36667 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36668
4420675c
AS
366692011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36670
36671 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36672 differing bytes.
36673 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36674 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36675 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36676
75ea32ab
UD
366772011-04-17 Ulrich Drepper <drepper@gmail.com>
36678
36679 [BZ #12420]
36680 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36681 storing it.
36682 * stdlib/bug-getcontext.c: New file.
36683 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36684
27390476
AK
366852011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36686
36687 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36688 instructions into .machine "z9-109".
36689 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36690 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36691
10442705
AK
366922011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36693
36694 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36695 between environment variables and auxiliary vector.
36696
7b57bfe5
UD
366972011-04-16 Ulrich Drepper <drepper@gmail.com>
36698
36699 * Makefile: Add rules to build linkobj/libc.so.
36700 * include/libc-symbols.h: Define libc_hidden_nolink.
36701 * include/rpc/auth.h: Mark functions which are to be hidden.
36702 * include/rpc/auth_des.h: Likewise.
36703 * include/rpc/auth_unix.h: Likewise.
36704 * include/rpc/clnt.h: Likewise.
36705 * include/rpc/des_crypt.h: Likewise.
36706 * include/rpc/key_prot.h: Likewise.
36707 * include/rpc/pmap_clnt.h: Likewise.
36708 * include/rpc/pmap_prot.h: Likewise.
36709 * include/rpc/pmap_rmt.h: Likewise.
36710 * include/rpc/rpc_msg.h: Likewise.
36711 * include/rpc/svc.h: Likewise.
36712 * include/rpc/svc_auth.h: Likewise.
36713 * include/rpc/xdr.h: Likewise.
36714 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36715 * nss/Makefile: Likewise.
36716 * sunrpc/Makefile: Don't install headers. Build library with normal
36717 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36718 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36719 for the compat linking library. Remove use of INTDEF/INTUSE.
36720 * sunrpc/auth_none.c: Likewise.
36721 * sunrpc/auth_unix.c: Likewise.
36722 * sunrpc/authdes_prot.c: Likewise.
36723 * sunrpc/authuxprot.c: Likewise.
36724 * sunrpc/clnt_gen.c: Likewise.
36725 * sunrpc/clnt_perr.c: Likewise.
36726 * sunrpc/clnt_raw.c: Likewise.
36727 * sunrpc/clnt_simp.c: Likewise.
36728 * sunrpc/clnt_tcp.c: Likewise.
36729 * sunrpc/clnt_udp.c: Likewise.
36730 * sunrpc/clnt_unix.c: Likewise.
36731 * sunrpc/des_crypt.c: Likewise.
36732 * sunrpc/des_soft.c: Likewise.
36733 * sunrpc/get_myaddr.c: Likewise.
36734 * sunrpc/key_call.c: Likewise.
36735 * sunrpc/key_prot.c: Likewise.
36736 * sunrpc/netname.c: Likewise.
36737 * sunrpc/pm_getmaps.c: Likewise.
36738 * sunrpc/pm_getport.c: Likewise.
36739 * sunrpc/pmap_clnt.c: Likewise.
36740 * sunrpc/pmap_prot.c: Likewise.
36741 * sunrpc/pmap_prot2.c: Likewise.
36742 * sunrpc/pmap_rmt.c: Likewise.
36743 * sunrpc/publickey.c: Likewise.
36744 * sunrpc/rpc_cmsg.c: Likewise.
36745 * sunrpc/rpc_common.c: Likewise.
36746 * sunrpc/rpc_dtable.c: Likewise.
36747 * sunrpc/rpc_prot.c: Likewise.
36748 * sunrpc/rpc_thread.c: Likewise.
36749 * sunrpc/rtime.c: Likewise.
36750 * sunrpc/svc.c: Likewise.
36751 * sunrpc/svc_auth.c: Likewise.
36752 * sunrpc/svc_authux.c: Likewise.
36753 * sunrpc/svc_raw.c: Likewise.
36754 * sunrpc/svc_run.c: Likewise.
36755 * sunrpc/svc_simple.c: Likewise.
36756 * sunrpc/svc_tcp.c: Likewise.
36757 * sunrpc/svc_udp.c: Likewise.
36758 * sunrpc/svc_unix.c: Likewise.
36759 * sunrpc/svcauth_des.c: Likewise.
36760 * sunrpc/xcrypt.c: Likewise.
36761 * sunrpc/xdr.c: Likewise.
36762 * sunrpc/xdr_array.c: Likewise.
36763 * sunrpc/xdr_float.c: Likewise.
36764 * sunrpc/xdr_intXX_t.c: Likewise.
36765 * sunrpc/xdr_mem.c: Likewise.
36766 * sunrpc/xdr_rec.c: Likewise.
36767 * sunrpc/xdr_ref.c: Likewise.
36768 * sunrpc/xdr_sizeof.c: Likewise.
36769 * sunrpc/xdr_stdio.c: Likewise.
36770
e6c61494
UD
367712011-04-10 Ulrich Drepper <drepper@gmail.com>
36772
36773 [BZ #12650]
36774 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36775 * sysdeps/ia64/dl-tls.h: Likewise.
36776 * sysdeps/powerpc/dl-tls.h: Likewise.
36777 * sysdeps/s390/dl-tls.h: Likewise.
36778 * sysdeps/sh/dl-tls.h: Likewise.
36779 * sysdeps/sparc/dl-tls.h: Likewise.
36780 * sysdeps/x86_64/dl-tls.h: Likewise.
36781 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36782
34fe483e
AS
367832011-03-14 Andreas Schwab <schwab@redhat.com>
36784
36785 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36786 rpath element also skip the following colon.
36787 (expand_dynamic_string_token): Add is_path parameter and pass
36788 down to DL_DST_REQUIRED and _dl_dst_substitute.
36789 (decompose_rpath): Call expand_dynamic_string_token with
36790 non-zero is_path. Ignore empty rpaths.
36791 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36792 with zero is_path.
36793
f12a32e6
AS
367942011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36795
36796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36797 Make cancelable.
36798
38a7d692
UD
367992011-04-09 Ulrich Drepper <drepper@gmail.com>
36800
36801 [BZ #12655]
36802 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36803 Patch by Filipe David Manana <fdmanana@apache.org>.
36804
e451d22b
AS
368052011-04-07 Andreas Schwab <schwab@redhat.com>
36806
36807 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36808 Maintain aligned stack.
36809 (CHECK_RSP): Remove unused macro.
36810
dedc7c7b
UD
368112011-04-03 Ulrich Drepper <drepper@gmail.com>
36812
36813 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36814 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36815
94521213
UD
368162011-04-02 Ulrich Drepper <drepper@gmail.com>
36817
36818 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36819
8cb700c0 36820 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36821
0354e355
L
368222011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36823
36824 [BZ #12518]
36825 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36826 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36827 * sysdeps/x86_64/memmove.c: New file.
36828 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36829 (memcpy): Renamed to ...
36830 (__new_memcpy): This.
36831 (memcpy): Provide GLIBC_2_14 memcpy.
36832 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36833 (memcpy): Provide GLIBC_2_2_5 memcpy.
36834
8593482f
UD
368352011-04-01 Ulrich Drepper <drepper@gmail.com>
36836
36837 [BZ #12631]
36838 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36839
81a5726b
AS
368402011-03-30 Andreas Schwab <schwab@redhat.com>
36841
36842 * misc/syncfs.c: New file.
36843 * misc/Makefile (routines): Add syncfs.
36844 * posix/unistd.h: Declare syncfs.
36845 * sysdeps/unix/syscalls.list: Add syncfs.
36846
00e5419f
AS
368472011-04-01 Andreas Schwab <schwab@redhat.com>
36848
36849 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36850 open_by_handle_at.
36851 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36852 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36854 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36856 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36857 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36858
748876bf
UD
368592011-04-01 Ulrich Drepper <drepper@gmail.com>
36860
658e451d
UD
36861 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36862 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36863 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36864 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36865 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36866 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36867 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36868
748876bf
UD
36869 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36870 sync_file_range.c with -fexceptions.
36871 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36872 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36873 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36874 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36875 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36876 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36877 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36878 sync_file_range as cancellation point
36879 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36880 now a wrapper around __call_sync_file_range with cancellation handling.
36881 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36882 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36883 function name to __call_sync_file_range.
36884 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36885 Add call_sync_file_range.
748876bf 36886
6e63d5e1
AS
368872011-04-01 Andreas Schwab <schwab@redhat.com>
36888
36889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36890 bits/timex.h.
6e63d5e1 36891
46998f74
UD
368922011-04-01 Ulrich Drepper <drepper@gmail.com>
36893
4c1423ed
UD
36894 * iconv/iconv.h: Fix typo in comment.
36895 * io/fcntl.h: Likewise.
36896 * libio/stdio.h: Likewise.
36897 * posix/spawn.h: Likewise.
36898 * posix/unistd.h: Likewise.
36899 * stdlib/stdlib.h: Likewise.
36900 * time/time.h: Likewise.
36901 * wcsmbs/wchar.h: Likewise.
36902
158648c0
UD
36903 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36904 open_by_handle): Add.
36905 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36906 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36907 Augment a few comments.
36908 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36909 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36910 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36911 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36912 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36913 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36914 open_by_handle.
36915
46998f74
UD
36916 * io/fcntl.h (AT_EMPTY_PATH): Define.
36917
83fe108b
UD
369182011-03-30 Ulrich Drepper <drepper@gmail.com>
36919
36920 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36921 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36922 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36923 to...
36924 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36925 * Versions.def: Add GLIBC_2.14.
36926 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36927 Export.
83fe108b 36928
bb242059
UD
369292011-03-22 Ulrich Drepper <drepper@gmail.com>
36930
36931 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36932 round counter.
36933 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36934
c97a1282
L
369352011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36936
36937 [BZ #12597]
36938 * string/test-strncmp.c (do_page_test): New function.
36939 (check2): Likewise.
36940 (test_main): Call check2.
36941 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36942
2a115601
UD
369432011-03-20 Ulrich Drepper <drepper@gmail.com>
36944
36945 [BZ #12587]
36946 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36947 Handle cache information in CPU leaf 4.
36948 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36949
8126d904
UD
369502011-03-18 Ulrich Drepper <drepper@gmail.com>
36951
042c49c6 36952 [BZ #12583]
8126d904
UD
36953 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36954 character representation.
36955 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36956
ccfe366e
RA
369572011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36958
36959 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36960 END(__isnan) to END(__isnanf) to match function entry point/label
36961 EALIGN(__isnanf,...).
36962
c6e13027
JJ
369632011-03-10 Jakub Jelinek <jakub@redhat.com>
36964
36965 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36966
33f85a3f
UD
369672011-03-10 Ulrich Drepper <drepper@gmail.com>
36968
028478fa
UD
36969 [BZ #12510]
36970 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36971 copy from the symbol referenced in the relocation to initialize the
36972 used variable.
36973 Patch by Piotr Bury <pbury@goahead.com>.
36974 * elf/Makefile: Add rules to build and tst-unique3.
36975 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36976 * elf/tst-unique3.cc: New file.
36977 * elf/tst-unique3.h: New file.
36978 * elf/tst-unique3lib.cc: New file.
36979 * elf/tst-unique3lib2.cc: New file.
36980
33f85a3f
UD
36981 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36982
03592fc7
MF
369832011-03-10 Mike Frysinger <vapier@gentoo.org>
36984
36985 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36986 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36987 to _start.
03592fc7 36988
6a5ee102
UD
369892011-03-06 Ulrich Drepper <drepper@gmail.com>
36990
36991 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36992 to-be-loaded object along a path to loader is ld.so.
36993
7e4ba49c
HJ
369942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36995 Ulrich Drepper <drepper@gmail.com>
36996
36997 * sysdeps/x86_64/memset.S: After aligning destination, code
36998 branches to different locations depending on the value of
36999 misalignment, when multiarch is enabled. Fix this.
37000
370012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37002
37003 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37004 Set _x86_64_preferred_memory_instruction for AMD processsors.
37005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37006 Set bit_Prefer_SSE_for_memop for AMD processors.
37007
13a804de
UD
370082011-03-04 Ulrich Drepper <drepper@gmail.com>
37009
37010 * libio/fmemopen.c (fmemopen): Optimize a bit.
37011
9d25c392
AS
370122011-03-03 Andreas Schwab <schwab@redhat.com>
37013
37014 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37015
a5543c6a
RM
370162011-03-03 Roland McGrath <roland@redhat.com>
37017
37018 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37019
012d35f7
DM
370202011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37021
7e4ba49c 37022 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
37023 __bzero_ultra1 instead of __memset_ultra1.
37024
4bff6e01
AS
370252011-02-23 Andreas Schwab <schwab@redhat.com>
37026 Ulrich Drepper <drepper@gmail.com>
37027
37028 [BZ #12509]
37029 * include/link.h (struct link_map): Add l_orig_initfini.
37030 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37031 returning unsuccessfully.
37032 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37033 close of a file loaded at startup, restore the original l_initfini
37034 list.
37035 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37036 list, store the pointer.
37037 * elf/Makefile ($(objpfx)noload-mem): New rule.
37038 (noload-ENV): Define.
37039 (tests): Add $(objpfx)noload-mem.
37040 * elf/noload.c: Include <memcheck.h>.
37041 (main): Call mtrace. Close all opened handles.
37042
f2092faf
AS
370432011-02-17 Andreas Schwab <schwab@redhat.com>
37044
37045 [BZ #12454]
37046 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37047 dependencies are missing.
37048
6c8a2e88
ST
370492011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
37050
f2092faf 37051 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
37052 Hurd needs munmap.
37053 * sysdeps/mach/hurd/ifreq.h: New file.
37054
84a42118
PB
370552011-01-27 Petr Baudis <pasky@suse.cz>
37056 Ulrich Drepper <drepper@gmail.com>
37057
071f805e 37058 [BZ 12445]#
84a42118
PB
37059 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37060 to extend_alloca().
37061 * stdio-common/bug23.c: New file.
37062 * stdio-common/Makefile (tests): Add bug23.
37063
e23fe25b
AS
370642010-09-28 Andreas Schwab <schwab@redhat.com>
37065 Ulrich Drepper <drepper@gmail.com>
37066
37067 [BZ #12489]
37068 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37069 before performing relro protection. At old place add assertion
37070 to make sure nothing changed.
37071
d3f02e10
NS
370722011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37073 Glauber de Oliveira Costa <glommer@gmail.com>
37074
37075 * elf/elf.h: Add new ARM TLS relocs.
37076
d55fd7a5
RA
370772011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37078
37079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37080 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37081 cast from r3.
37082 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37083 'tests' variable.
37084 * sysdeps/wordsize-64/tst-writev.c: New file.
37085
2206397e
RA
370862011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37087
37088 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37089 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37090 insns in _dl_start to prevent a TOC reference before relocs are
37091 resolved.
37092
e9433893
UD
370932011-02-15 Ulrich Drepper <drepper@gmail.com>
37094
37095 [BZ #12469]
37096 * Makeconfig: Remove RANLIB definition.
37097 * Makerules: Don't use RANLIB.
37098 * aclocal.m4: Remove ranlib test.
37099 * configure.in: No need to check for ranlib.
37100 * elf/rtld-Rules: Don't use RANLIB.
37101
f75286c6
ST
371022011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37103
8e31c82d
ST
37104 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37105 protection macro.
37106 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37107 inclusion protection macro.
37108
f75286c6
ST
37109 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37110 SIGRTMIN and SIGRTMAX and print information in that case only when
37111 SIGRTMIN is defined.
37112
c1d0e639
JJ
371132011-02-11 Jakub Jelinek <jakub@redhat.com>
37114
37115 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37116 arginfo fn returning -1.
37117
37118 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37119 and thousands string is zero terminated.
37120
edf9294e
AS
371212011-02-03 Andreas Schwab <schwab@redhat.com>
37122
37123 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37124 sysdeps/unix/sysv/linux/bits/socket.h.
37125
2b7e92df
ST
371262011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37127
edf9294e
AS
37128 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37129 (__CPU_COUNT): Remove old macros.
37130 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37131 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37132 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
37133 (__sched_cpualloc, __sched_cpufree): Add declarations.
37134
a4c7ea7b
UD
371352011-02-05 Ulrich Drepper <drepper@gmail.com>
37136
37137 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37138 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37139 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37140 (readdhstai): Return value of addhstaiX call.
37141 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37142 (addgrbyX): Return value returned by cache_addgr.
37143 (readdgrbyname): Return value returned by addgrbyX.
37144 (readdgrbygid): Likewise.
37145 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37146 (addpwbyX): Return value returned by cache_addpw.
37147 (readdpwbyname): Return value returned by addhstbyX.
37148 (readdpwbyuid): Likewise.
37149 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37150 (addservbyX): Return value returned by cache_addserv.
37151 (readdservbyname): Return value returned by addservbyX:
37152 (readdservbyport): Likewise.
37153 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37154 (addhstbyX): Return value returned by cache_addhst.
37155 (readdhstbyname): Return value returned by addhstbyX.
37156 (readdhstbyaddr): Likewise.
37157 (readdhstbynamev6): Likewise.
37158 (readdhstbyaddrv6): Likewise.
37159 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37160 (readdinitgroups): Return value returned by addinitgroupsX.
37161 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37162 (prune_cache): Keep track of timeout value of re-added entries.
37163 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37164 * nscd/nscd.h: Adjust prototypes of readd* functions.
37165
a0bf67cc
RM
371662011-02-04 Roland McGrath <roland@redhat.com>
37167
37168 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37169 (nis_stats): Likewise.
37170 * nis/nis_modify.c (nis_modify): Likewise.
37171 * nis/nis_remove.c (nis_remove): Likewise.
37172 * nis/nis_add.c (nis_add): Likewise.
37173
37174 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37175
37176 * posix/fnmatch_loop.c: Add some consts.
37177
37178 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37179
435b95eb
L
371802011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37181
37182 [BZ #12460]
37183 * config.make.in (config-cflags-novzeroupper): Define.
37184 * configure.in: Substitute libc_cv_cc_novzeroupper.
37185 * elf/Makefile (AVX-CFLAGS): Define.
37186 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37187 (CFLAGS-tst-auditmod4a.c): Likewise.
37188 (CFLAGS-tst-auditmod4b.c): Likewise.
37189 (CFLAGS-tst-auditmod6b.c): Likewise.
37190 (CFLAGS-tst-auditmod6c.c): Likewise.
37191 (CFLAGS-tst-auditmod7b.c): Likewise.
37192 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37193
8517b15e
UD
371942011-02-02 Ulrich Drepper <drepper@gmail.com>
37195
37196 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37197 function to the callback.
37198 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37199
10a656fe
AS
372002011-02-02 Andreas Schwab <schwab@redhat.com>
37201
37202 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37203 of errno.
37204
968dad0a
UD
372052011-01-19 Ulrich Drepper <drepper@gmail.com>
37206
9f94d2ea 37207 [BZ #11724]
968dad0a
UD
37208 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37209 of constructors.
37210 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37211 of destructors.
37212 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37213
37214 [BZ #11724]
37215 * elf/Makefile: Add rules to build and run new test.
37216 * elf/tst-initorder.c: New file.
37217 * elf/tst-initorder.exp: New file.
37218 * elf/tst-initordera1.c: New file.
37219 * elf/tst-initordera2.c: New file.
37220 * elf/tst-initordera3.c: New file.
37221 * elf/tst-initordera4.c: New file.
37222 * elf/tst-initorderb1.c: New file.
37223 * elf/tst-initorderb2.c: New file.
37224 * elf/tst-order-a1.c: New file.
37225 * elf/tst-order-a2.c: New file.
37226 * elf/tst-order-a3.c: New file.
37227 * elf/tst-order-a4.c: New file.
37228 * elf/tst-order-b1.c: New file.
37229 * elf/tst-order-b2.c: New file.
37230 * elf/tst-order-main.c: New file.
37231 New test case by George Gensure <werkt0@gmail.com>.
37232
86e92359
UD
372332010-10-01 Andreas Schwab <schwab@redhat.com>
37234
37235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37236 decoding ACE if AI_CANONIDN.
37237
5d5732b0
UD
372382011-01-18 Ulrich Drepper <drepper@gmail.com>
37239
37240 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37241
a77e8cbc
UD
372422011-01-17 Ulrich Drepper <drepper@gmail.com>
37243
6392473f
UD
37244 * version.h (RELEASE): Bump for 2.13 release.
37245 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37246
620a0529
UD
37247 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37248
18ba70a5
UD
37249 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37250 MADV_NOHUGEPAGE.
32465c3e
UD
37251 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37252 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37253 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37254 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37255 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37256 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37257
c0dafcf1
UD
37258 * posix/getconf.c: Update copyright year.
37259 * catgets/gencat.c: Likewise.
37260 * csu/version.c: Likewise.
37261 * debug/catchsegv.sh: Likewise.
37262 * debug/xtrace.sh: Likewise.
37263 * elf/ldconfig.c: Likewise.
37264 * elf/ldd.bash.in: Likewise.
37265 * elf/sprof.c (print_version): Likewise.
37266 * iconv/iconv_prog.c: Likewise.
37267 * iconv/iconvconfig.c: Likewise.
37268 * locale/programs/locale.c: Likewise.
37269 * locale/programs/localedef.c: Likewise.
37270 * malloc/memusage.sh: Likewise.
37271 * malloc/mtrace.pl: Likewise.
37272 * nscd/nscd.c (print_version): Likewise.
37273 * nss/getent.c: Likewise.
37274
a77e8cbc
UD
37275 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37276 PF_CAIF, and PF_ALG.
37277 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37278
77e8bddf
AS
372792011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37280
1f20b93a
AS
37281 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37282 (modules-names): Use them.
37283 (ifunc-test-modules, ifunc-pie-tests): Define.
37284 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37285 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37286 (test-extras): Likewise.
37287 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37288 $(compile-command.c).
37289 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37290 (all-built-dso): Define.
37291 (check-textrel.out, check-execstack.out): Depend on it.
37292
77e8bddf
AS
37293 * configure.in: Don't override --enable-multi-arch.
37294
bc425b33
UD
372952011-01-15 Ulrich Drepper <drepper@gmail.com>
37296
37297 [BZ #6812]
37298 * nscd/hstcache.c (tryagain): Define.
37299 (cache_addhst): Return tryagain not notfound for temporary errors.
37300 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37301 failed.
37302
794c3ad3
UD
373032011-01-14 Ulrich Drepper <drepper@gmail.com>
37304
70181fdd
UD
37305 [BZ #10563]
37306 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37307 to make the syscall.
37308 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37309
794c3ad3
UD
37310 [BZ #12378]
37311 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37312 and fall back to matching as normal character if the string ends before
37313 the matching ']' is found. This is what POSIX requires.
37314 * posix/testfnm.c: Adjust test result.
37315 * posix/globtest.sh: Adjust test result. Add new test.
37316 * posix/tst-fnmatch.input: Likewise.
37317 * posix/tst-fnmatch2.c: Add new test.
37318
68dc9497
AS
373192010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37320
37321 * elf/Makefile (check-execstack): Revert last change. Depend on
37322 check-execstack.h.
37323 (check-execstack.h): New target.
37324 (generated): Add check-execstack.h.
37325 * elf/check-execstack.c: Include "check-execstack.h".
37326 (main): Revert last change.
37327 (handle_file): Return zero if GNU_STACK is absent and
37328 DEFAULT_STACK_PERMS doesn't include PF_X.
37329
451f001b
UD
373302011-01-13 Ulrich Drepper <drepper@gmail.com>
37331
cfa28e56
UD
37332 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37333 in child fails because the descriptor is already closed.
8cf8ce17
UD
37334 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37335 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37336 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 37337
1086d70d
UD
37338 [BZ #12397]
37339 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37340 syscall.
37341
451f001b
UD
37342 [BZ #10484]
37343 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37344 temporary buffer used to handle multi lookups locally.
a85b5cb4 37345 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 37346
08769175
UD
373472011-01-12 Ulrich Drepper <drepper@gmail.com>
37348
37349 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37350 loader is ld.so.
37351
5e49c52e
UD
373522011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37353
37354 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37355 alignment for SSE2.
37356
60522a5f
UD
373572011-01-12 Ulrich Drepper <drepper@gmail.com>
37358
37359 [BZ #12394]
37360 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37361 characters. When rounding increased number of integer digits recompute
37362 number of groups.
37363 * stdio-common/tst-grouping.c: New file.
37364 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37365
f257bbd7
UD
373662011-01-09 Ulrich Drepper <drepper@gmail.com>
37367
37368 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37369 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37370
37371 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37372 void.
37373 * bits/select.h: Likewise.
37374
fa9c15cb
UD
373752011-01-08 Ulrich Drepper <drepper@gmail.com>
37376
37377 * po/ja.po: Update from translation team.
37378
16c2895f
DM
373792011-01-04 David S. Miller <davem@sunset.davemloft.net>
37380
37381 [BZ #11155]
37382 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37383 implementation just like for lxstat, fxstatat, et al.
37384
2543fef2
JM
373852010-12-27 Jim Meyering <meyering@redhat.com>
37386
37387 [BZ #12348]
37388 * posix/regexec.c (build_trtable): Return failure indication upon
37389 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37390
98727dbe
UD
373912010-12-25 Ulrich Drepper <drepper@gmail.com>
37392
5bd6dc5c
UD
37393 [BZ #12201]
37394 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37395 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37396 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37397 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37398
97983464
UD
37399 [BZ #12207]
37400 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37401
98727dbe
UD
37402 [BZ #12204]
37403 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37404 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37405
4a531bb0
L
374062010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37407
37408 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37409 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37410 script has SORT_BY_INIT_PRIORITY.
37411 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37412 NO_CTORS_DTORS_SECTIONS is defined.
37413 * elf/soinit.c: Likewise.
37414 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37415 NO_CTORS_DTORS_SECTIONS is defined.
37416 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37417 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37418 * sysdeps/sh/init-first.c: Likewise.
37419 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37420
07eb4b71
UD
374212010-12-24 Ulrich Drepper <drepper@gmail.com>
37422
37423 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37424 always use the slow path.
37425
30950a5f
RA
374262010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37427
37428 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37429 similar rule which adds the sysdep directories to the header search in
37430 order to pick up the correct platform stackinfo.h.
37431 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37432 perform test if it is, otherwise return successfully without testing.
37433 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37434 DEFAULT_STACK_PERMS define in stackinfo.h.
37435 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37436 defined in stackinfo.h.
37437 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37438 DEFAULT_STACK_PERMS defined in stackinfo.h.
37439 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37440 * sysdeps/ia64/stackinfo.h: Likewise.
37441 * sysdeps/s390/stackinfo.h: Likewise.
37442 * sysdeps/sh/stackinfo.h: Likewise.
37443 * sysdeps/sparc/stackinfo.h: Likewise.
37444 * sysdeps/x86_64/stackinfo.h: Likewise.
37445 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37446 PF_X for powerpc64. Retain PF_X for powerpc32.
37447
db753e2c
UD
374482010-12-19 Ulrich Drepper <drepper@gmail.com>
37449
14b697f7
UD
37450 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37451 accurately.
db753e2c
UD
37452 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37453 GETDENTS_64BIT_ALIGNED.
37454
28300719
UD
374552010-12-14 Ulrich Drepper <dreper@gmail.com>
37456
14b697f7 37457 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 37458
4f197237
AS
374592010-12-10 Andreas Schwab <schwab@redhat.com>
37460
dbb0472f
AS
37461 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37462 _GNU_SOURCE.
37463
4f197237
AS
37464 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37465 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37466 Remove __restrict.
37467 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37468 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37469
fb88ac72
UD
374702010-12-09 Ulrich Drepper <drepper@gmail.com>
37471
37472 [BZ #11655]
37473 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37474 are initialized.
37475
42acbb92
JJ
374762010-12-09 Jakub Jelinek <jakub@redhat.com>
37477
37478 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37479
c038d98d
UD
374802010-12-03 Ulrich Drepper <drepper@gmail.com>
37481
37482 * po/it.po: Update from translation team.
37483
3a4a2499
L
374842010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37485
37486 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37487 unused codes.
37488
1e24cf6e
UD
374892010-11-30 Ulrich Drepper <drepper@gmail.com>
37490
37491 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37492
a7690819
AS
374932010-11-24 Andreas Schwab <schwab@redhat.com>
37494
37495 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37496 specially.
37497 (gaih_getanswer_slice): Likewise.
37498
3bf8d1b1
JJ
374992010-10-20 Jakub Jelinek <jakub@redhat.com>
37500
37501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37502
6db52fbb
PB
375032010-05-31 Petr Baudis <pasky@suse.cz>
37504
37505 [BZ #11149]
37506 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37507 silently even in the chroot mode.
37508
eaca7569
UD
375092010-11-22 Ulrich Drepper <drepper@gmail.com>
37510
37511 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37512 last patch a bit. Pretty printing
37513
3056dcdb
UD
375142010-05-31 Petr Baudis <pasky@suse.cz>
37515
37516 [BZ #10085]
37517 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37518 initialization of skip_initgroups_dyn.
37519
cf7c9078
UD
375202010-11-19 Ulrich Drepper <drepper@gmail.com>
37521
37522 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37523 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37524
a1fb5e3e
UD
375252010-11-16 Ulrich Drepper <drepper@gmail.com>
37526
37527 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37528
3540d66b
AS
375292010-11-11 Andreas Schwab <schwab@redhat.com>
37530
37531 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37532 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37533 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37534 ($(objpfx)tst-fnmatch-mem): New rule.
37535 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37536 * posix/tst-fnmatch.c (main): Call mtrace.
37537
13b69574
L
375382010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37539
37540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37541 Support Intel processor model 6 and model 0x2c.
37542
da93d214
LM
375432010-11-10 Luis Machado <luisgpm@br.ibm.com>
37544
37545 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37546 signed comparison.
37547
8ca52c6e
L
375482010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37549
37550 [BZ #12205]
37551 * string/test-strncasecmp.c (check_result): New function.
37552 (do_one_test): Use it.
37553 (check1): New function.
37554 (test_main): Use it.
37555 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37556 Support strcasecmp and strncasecmp.
37557
69da074d
UD
375582010-11-08 Ulrich Drepper <drepper@gmail.com>
37559
37560 [BZ #12194]
37561 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37562 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37563
ff02d528
L
375642010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37565
37566 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37567 IFUNC support.
37568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37569 memset-x86-64.
37570 * sysdeps/x86_64/multiarch/bzero.S: New file.
37571 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37572 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37573 * sysdeps/x86_64/multiarch/memset.S: New file.
37574 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37576 Set bit_Prefer_SSE_for_memop for Intel processors.
37577 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37578 Define.
37579 (index_Prefer_SSE_for_memop): Define.
37580 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37581
344d0b54
LM
375822010-11-04 Luis Machado <luisgpm@br.ibm.com>
37583
37584 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37585 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37586
c0dde15b
UD
375872010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37588
37589 [BZ #12191]
37590 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37591 (__x86_64_raw_data_cache_size_half): Likewise.
37592 (__x86_64_raw_shared_cache_size): Likewise.
37593 (__x86_64_raw_shared_cache_size_half): Likewise.
37594
37595 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37596 (__x86_64_raw_data_cache_size_half): Likewise.
37597 (__x86_64_raw_shared_cache_size): Likewise.
37598 (__x86_64_raw_shared_cache_size_half): Likewise.
37599 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37600 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37601 and __x86_64_raw_shared_cache_size_half. Round
37602 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37603 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37604 to multiple of 256 bytes.
37605
0e516e0e
MS
376062010-11-03 Ulrich Drepper <drepper@gmail.com>
37607
37608 [BZ #12167]
37609 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37610 of inacessible symlinks. Verify result of symlink before returning it.
37611 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37612 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37613
0e012e87
ER
376142010-10-28 Erich Ritz <erichritz@gmail.com>
37615
37616 * math/math.h (isinf): Fix typo in comment.
37617
de0ff7bc
UD
376182010-11-01 Ulrich Drepper <drepper@gmail.com>
37619
37620 * po/da.po: Update from translation team.
37621
fa41c84d
UD
376222010-10-26 Ulrich Drepper <drepper@gmail.com>
37623
37624 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37625 is added to the list.
37626
f0967738
AK
376272010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37628 Ulrich Drepper <drepper@gmail.com>
37629
37630 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37631 the global list here. Move code to...
37632 (_dl_add_to_namespace_list): ...here. New function.
37633 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37634 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37635 * elf/dl-load.c (lose): Don't remove the element from the list.
37636 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37637 (_dl_map_object): Likewise.
37638
376392010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37640
37641 [BZ #12159]
37642 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37643 into all bytes of SSE register.
37644 Patch by Richard Li <richardpku@gmail.com>.
37645
f0967738 376462010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37647
37648 [BZ #12140]
37649 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37650 perturbing.
37651
d0b9e94f
MB
376522010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37653
37654 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37655 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37656 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37657 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37659 submachine.
37660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37661
8e9f92e9
AS
376622010-10-22 Andreas Schwab <schwab@redhat.com>
37663
37664 * include/dlfcn.h (__RTLD_SECURE): Define.
37665 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37666 mode & __RTLD_SECURE instead.
37667 (open_path): Rename preloaded parameter to secure.
37668 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37669 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37670 * elf/dl-deps.c (openaux): Likewise.
37671 * elf/rtld.c (struct map_args): Remove is_preloaded.
37672 (map_doit): Don't use it.
37673 (dl_main): Likewise.
37674 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37675 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37676
bc96fbda
AS
376772010-09-09 Andreas Schwab <schwab@redhat.com>
37678
37679 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37680 (sysd-rules-targets): Remove duplicates.
37681 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37682 rtld-%.$o dependency.
37683
22cd1c9b
AS
376842010-10-18 Andreas Schwab <schwab@redhat.com>
37685
37686 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37687 _dl_map_object do it.
37688
18edac48
UD
376892010-10-19 Ulrich Drepper <drepper@gmail.com>
37690
37691 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37692 fast fma builtins, define the macros in the C99 standard.
37693 (FP_FAST_FMAF): Likewise.
37694 (FP_FAST_FMAL): Likewise.
37695 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37696
37697 * bits/mathdef.h: Update copyright year.
37698 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37699
d2050124
MM
377002010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37701
37702 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37703 builtins, define the macros in the C99 standard.
37704 (FP_FAST_FMAF): Likewise.
37705 (FP_FAST_FMAL): Likewise.
37706 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37707 multiply/add.
37708 (FP_FAST_FMAF): Likewise.
37709
475facd1
JJ
377102010-10-15 Jakub Jelinek <jakub@redhat.com>
37711
37712 [BZ #3268]
37713 * math/libm-test.inc (fma_test): Some new testcases.
37714 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37715 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37716 y and infinite z. Do multiplication by C already in long double.
37717 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37718 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37719 y and infinite z. Do bitwise or of inexact bit into u.d.
37720 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37721 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37722 * sysdeps/i386/fpu/s_fma.S: Removed.
37723 * sysdeps/i386/fpu/s_fmal.S: Removed.
37724
7c08a05c
JJ
377252010-10-16 Jakub Jelinek <jakub@redhat.com>
37726
37727 [BZ #3268]
37728 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37729 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37730 computation is not scheduled after fetestexcept. Fix value
37731 of minimum denormal long double.
37732
f3f7372d
JJ
377332010-10-14 Jakub Jelinek <jakub@redhat.com>
37734
37735 [BZ #3268]
37736 * math/libm-test.inc (fma_test): Add some more tests.
37737 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37738 correctly.
37739
14d43591
AS
377402010-10-15 Andreas Schwab <schwab@redhat.com>
37741
37742 * scripts/data/localplt-s390-linux-gnu.data: New file.
37743 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37744
5e908464
JJ
377452010-10-13 Jakub Jelinek <jakub@redhat.com>
37746
37747 [BZ #3268]
37748 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37749 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37750 instead of dbl-64.
37751 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37752 inlines.
37753 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37754 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37755 if one of x and y is very large and the other is subnormal.
37756 * sysdeps/s390/fpu/s_fmaf.c: New file.
37757 * sysdeps/s390/fpu/s_fma.c: New file.
37758 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37759 * sysdeps/powerpc/fpu/s_fma.S: New file.
37760 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37761 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37762 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37763
377642010-10-12 Jakub Jelinek <jakub@redhat.com>
37765
37766 [BZ #3268]
37767 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37768 fma tests.
37769 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37770 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37771 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37772 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37773 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37774 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37775 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37776
b833d51f
UD
377772010-10-12 Ulrich Drepper <drepper@redhat.com>
37778
37779 [BZ #12078]
37780 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37781 * posix/bug-regex31.input: Add test case.
37782
1751705d
UD
377832010-10-11 Ulrich Drepper <drepper@gmail.com>
37784
e9b9cbf5
UD
37785 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37786 * posix/bug-regex31.input: New file.
37787
37788 [BZ #12078]
37789 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37790 (parse_sub_exp): Fix last change, use postorder.
37791
ef06edbe
UD
37792 * posix/bug-regex31.c: New file.
37793 * posix/Makefile: Add rules to build and run bug-regex31.
37794
a129c80d
UD
37795 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37796
37797 [BZ #12078]
37798 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37799
b76b818e
UD
37800 [BZ #12108]
37801 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37802 to have entries in sys_siglist.
37803
1751705d
UD
37804 [BZ #12093]
37805 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37806 be NULL.
37807
9ff8d36f
JJ
378082010-10-07 Jakub Jelinek <jakub@redhat.com>
37809
37810 [BZ #3268]
37811 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37812 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37813 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37814 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37815 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37816 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37817 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37818 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37819 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37820 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37821 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37822 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37823 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37824 * math/ftestexcept.c (fetestexcept): Likewise.
37825 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37826 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37827 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37828 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37829 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37830 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37831 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37832
af325969
UD
378332010-10-11 Ulrich Drepper <drepper@gmail.com>
37834
c579b202 37835 [BZ #12107]
af325969
UD
37836 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37837 newline.
37838
67a67b95
UD
378392010-10-06 Ulrich Drepper <drepper@gmail.com>
37840
37841 * string/bug-strstr1.c: New file.
37842 * string/Makefile: Add rules to build and run bug-strstr1.
37843
5fb308bc
EB
378442010-10-05 Eric Blake <eblake@redhat.com>
37845
37846 [BZ #12092]
37847 * string/str-two-way.h (two_way_long_needle): Always clear memory
37848 when skipping input due to the shift table.
37849
45db99c7
UD
378502010-10-03 Ulrich Drepper <drepper@gmail.com>
37851
3b111893
UD
37852 [BZ #12005]
37853 * malloc/mcheck.c: Handle large requests.
37854
45db99c7
UD
37855 [BZ #12077]
37856 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37857 for strncmp and strncasecmp.
37858 * string/stratcliff.c: Add tests for strcmp and strncmp.
37859 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37860
cf7a1eb8
NI
378612010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37862
37863 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37864 __set_fpscr.
37865
6484ba5e
AJ
378662010-09-30 Andreas Jaeger <aj@suse.de>
37867
37868 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37869 (CGROUP_SUPER_MAGIC): Define.
37870 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37871 Handle btrfs and cgroup file systems.
37872 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37873 Likewise.
37874
91c42559
LM
378752010-09-27 Luis Machado <luisgpm@br.ibm.com>
37876
37877 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37878 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37879
87a97932
AK
378802010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37881
37882 [BZ #12067]
37883 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37884 trying to locate the ELF header.
37885
c21cc9bc
AS
378862010-09-27 Andreas Schwab <schwab@redhat.com>
37887
37888 [BZ #11611]
37889 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37890 Mask out sign-bit copies when constructing f_fsid.
37891
315970f6
PB
378922010-09-24 Petr Baudis <pasky@suse.cz>
37893
37894 * debug/stack_chk_fail_local.c: Add missing licence exception.
37895 * debug/warning-nop.c: Likewise.
37896
1ac7a2c7
JM
378972010-09-15 Joseph Myers <joseph@codesourcery.com>
37898
37899 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37900 implementing getdents64 using getdents syscall, set d_type if
37901 __ASSUME_GETDENTS32_D_TYPE.
37902
56801c50
AS
379032010-09-16 Andreas Schwab <schwab@redhat.com>
37904
37905 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37906 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37907
dda51327
UD
379082010-09-21 Ulrich Drepper <drepper@redhat.com>
37909
37910 [BZ #12037]
37911 * posix/unistd.h: Undo change of feature selection for ftruncate from
37912 2010-01-11.
37913
8ffcee4a
UD
379142010-09-20 Ulrich Drepper <drepper@redhat.com>
37915
a545ecd9 37916 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37917 detection.
37918
e24f0a8b
AS
379192010-09-20 Andreas Schwab <schwab@redhat.com>
37920
37921 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37922 fanotify_mark.
37923 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37924
7291c56f
AS
379252010-09-14 Andreas Schwab <schwab@redhat.com>
37926
37927 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37928 variables after CHECK_SP call.
37929 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37930
bc5fb037
AS
379312010-09-13 Andreas Schwab <schwab@redhat.com>
37932 Ulrich Drepper <drepper@redhat.com>
37933
37934 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37935 re-relocationg ld.so.
37936 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37937 _dl_init_paths call.
37938 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37939 here anymore.
37940
e66e7419
UD
379412010-09-14 Ulrich Drepper <drepper@redhat.com>
37942
37943 * resolv/res_init.c (__res_vinit): Count the default server we added.
37944
c044aa75
CLT
379452010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37946 Ulrich Drepper <drepper@redhat.com>
37947
37948 [BZ #11968]
37949 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37950 (____longjmp_chk): Use %ebx for saving value across system call.
37951 Add unwind info.
37952
32cf4069
AS
379532010-09-06 Andreas Schwab <schwab@redhat.com>
37954
37955 * manual/Makefile: Don't mix pattern rules with normal rules.
37956
817328ee
AS
379572010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37958
37959 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37960 operation.
37961 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37962 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37963 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37964 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37965 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37966 Likewise.
37967
29fddf61
UD
379682010-09-04 Ulrich Drepper <drepper@redhat.com>
37969
37970 [BZ #11979]
37971 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37972 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37973
0959ffc9
UD
379742010-09-02 Ulrich Drepper <drepper@redhat.com>
37975
37976 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37977 * sysdeps/x86_64/addmul_1.S: Likewise.
37978 * sysdeps/x86_64/lshift.S: Likewise.
37979 * sysdeps/x86_64/mul_1.S: Likewise.
37980 * sysdeps/x86_64/rshift.S: Likewise.
37981 * sysdeps/x86_64/sub_n.S: Likewise.
37982 * sysdeps/x86_64/submul_1.S: Likewise.
37983
ece29840
ST
379842010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37985
0959ffc9
UD
37986 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37987 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37988 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37989 * bits/sched.h [__need_schedparam]
ece29840 37990 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37991 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37992 (__defined_schedparam): Define to 1.
ece29840
ST
37993 (__sched_param): New structure, identical to sched_param.
37994 (__need_schedparam): Undefine.
37995
e53a31fe
MF
379962010-08-31 Mike Frysinger <vapier@gentoo.org>
37997
fdc0c10d
MF
37998 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37999 (epoll_create1): Declare.
38000
e53a31fe
MF
38001 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38002
a726d796
AS
380032010-08-31 Andreas Schwab <schwab@redhat.com>
38004
38005 [BZ #7066]
38006 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38007 shifting retval into place.
38008
2f3e3dc7
UD
380092010-09-01 Ulrich Drepper <drepper@redhat.com>
38010
f2933da9
UD
38011 * nis/rpcsvc/nis.h: Update copyright notice.
38012 * nis/rpcsvc/nis.x: Likewise.
38013 * nis/rpcsvc/nis_callback.h: Likewise.
38014 * nis/rpcsvc/nis_callback.x: Likewise.
38015 * nis/rpcsvc/nis_object.x: Likewise.
38016 * nis/rpcsvc/nis_tags.h: Likewise.
38017 * nis/rpcsvc/yp.h: Likewise.
38018 * nis/rpcsvc/yp.x: Likewise.
38019 * nis/rpcsvc/ypupd.h: Likewise.
38020 * nis/yp_xdr.c: Likewise.
38021 * nis/ypupdate_xdr.c: Likewise.
38022
2f3e3dc7
UD
38023 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
38024 mainly the body of pmap_getport. Add parameters to specify timeouts.
38025 (pmap_getport): Use __libc_rpc_getport.
38026 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38027 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38028 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38029
f3dcc2f9
AS
380302010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38031
38032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38033 fanotify_mark.
38034
6d34eb5b
RM
380352010-08-27 Roland McGrath <roland@redhat.com>
38036
38037 * sysdeps/i386/i686/multiarch/Makefile
38038 (CFLAGS-varshift.c): New variable.
38039
9ea3de11
UD
380402010-08-27 Ulrich Drepper <drepper@redhat.com>
38041
c96d23fc
UD
38042 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38043 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38044
9ea3de11
UD
38045 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38046
38047 * sysdeps/x86_64/strlen.S: Minimal code improvement.
38048
623aac7f
L
380492010-08-26 H.J. Lu <hongjiu.lu@intel.com>
38050
38051 * sysdeps/x86_64/strlen.S: Unroll the loop.
38052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38053 strlen-sse2 strlen-sse2-bsf.
38054 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38055 __strlen_no_bsf if bit_Slow_BSF is set.
38056 (__strlen_sse42): Removed.
38057 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38058 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38059
8b2b7715
RM
380602010-08-25 Roland McGrath <roland@redhat.com>
38061
38062 * sysdeps/x86_64/multiarch/varshift.S: File removed.
38063 * sysdeps/x86_64/multiarch/varshift.c: New file.
38064 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38065 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38066 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38067 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38068
e73015f2
L
380692010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38070
38071 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38072 strlen-sse2 strlen-sse2-bsf.
38073 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38074 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38075 (__strlen_sse2): Removed.
38076 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38077 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38079 bit_Slow_BSF for Atom.
38080 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38081 (index_Slow_BSF): Define.
38082 (HAS_SLOW_BSF): Define.
38083
df24a73e
UD
380842010-08-25 Ulrich Drepper <drepper@redhat.com>
38085
38086 [BZ #10851]
38087 * resolv/res_init.c (__res_vinit): When no server address at all
38088 is given default to loopback.
38089
f2ac4868
RM
380902010-08-24 Roland McGrath <roland@redhat.com>
38091
09055553
RM
38092 * configure.in: Remove config-name.h generation.
38093 * configure: Regenerated.
38094 * config-name.in: File removed.
38095 * scripts/config-uname.sh: New file.
38096 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38097 ($(objdir)config-name.h): New target.
38098
f2ac4868
RM
38099 * sunrpc/rpc_parse.h: Avoid nested comment.
38100
73f27d5e
RH
381012010-08-24 Richard Henderson <rth@redhat.com>
38102 Ulrich Drepper <drepper@redhat.com>
38103 H.J. Lu <hongjiu.lu@intel.com>
38104
38105 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38107 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38108 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38109 _mm_alignr_epi8 with _mm_loadu_si128.
38110 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38111 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38112 (__m128i_shift_right): Removed.
38113 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38114 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38115 * sysdeps/x86_64/multiarch/varshift.h: New file.
38116 * sysdeps/x86_64/multiarch/varshift.S: New file.
38117
84b9230c
MF
381182010-08-21 Mike Frysinger <vapier@gentoo.org>
38119
38120 * configure.in: Move assembler checks to before sysdep dir checking.
38121
9bbd0ddc
PB
381222010-08-20 Petr Baudis <pasky@suse.cz>
38123
38124 * LICENSES: Sync the sunrpc license.
38125
9da4bb31
UD
381262010-08-19 Ulrich Drepper <drepper@redhat.com>
38127
a7ab6ec8
UD
38128 * sunrpc/auth_des.c: Update copyright notice once again.
38129 * sunrpc/auth_none.c: Likewise.
38130 * sunrpc/auth_unix.c: Likewise.
38131 * sunrpc/authdes_prot.c: Likewise.
38132 * sunrpc/authuxprot.c: Likewise.
38133 * sunrpc/bindrsvprt.c: Likewise.
38134 * sunrpc/clnt_gen.c: Likewise.
38135 * sunrpc/clnt_perr.c: Likewise.
38136 * sunrpc/clnt_raw.c: Likewise.
38137 * sunrpc/clnt_simp.c: Likewise.
38138 * sunrpc/clnt_tcp.c: Likewise.
38139 * sunrpc/clnt_udp.c: Likewise.
38140 * sunrpc/clnt_unix.c: Likewise.
38141 * sunrpc/des_crypt.c: Likewise.
38142 * sunrpc/des_soft.c: Likewise.
38143 * sunrpc/get_myaddr.c: Likewise.
38144 * sunrpc/getrpcport.c: Likewise.
38145 * sunrpc/key_call.c: Likewise.
38146 * sunrpc/key_prot.c: Likewise.
38147 * sunrpc/openchild.c: Likewise.
38148 * sunrpc/pm_getmaps.c: Likewise.
38149 * sunrpc/pm_getport.c: Likewise.
38150 * sunrpc/pmap_clnt.c: Likewise.
38151 * sunrpc/pmap_prot.c: Likewise.
38152 * sunrpc/pmap_prot2.c: Likewise.
38153 * sunrpc/pmap_rmt.c: Likewise.
38154 * sunrpc/rpc/auth.h: Likewise.
38155 * sunrpc/rpc/auth_unix.h: Likewise.
38156 * sunrpc/rpc/clnt.h: Likewise.
38157 * sunrpc/rpc/des_crypt.h: Likewise.
38158 * sunrpc/rpc/key_prot.h: Likewise.
38159 * sunrpc/rpc/netdb.h: Likewise.
38160 * sunrpc/rpc/pmap_clnt.h: Likewise.
38161 * sunrpc/rpc/pmap_prot.h: Likewise.
38162 * sunrpc/rpc/pmap_rmt.h: Likewise.
38163 * sunrpc/rpc/rpc.h: Likewise.
38164 * sunrpc/rpc/rpc_des.h: Likewise.
38165 * sunrpc/rpc/rpc_msg.h: Likewise.
38166 * sunrpc/rpc/svc.h: Likewise.
38167 * sunrpc/rpc/svc_auth.h: Likewise.
38168 * sunrpc/rpc/types.h: Likewise.
38169 * sunrpc/rpc/xdr.h: Likewise.
38170 * sunrpc/rpc_clntout.c: Likewise.
38171 * sunrpc/rpc_cmsg.c: Likewise.
38172 * sunrpc/rpc_common.c: Likewise.
38173 * sunrpc/rpc_cout.c: Likewise.
38174 * sunrpc/rpc_dtable.c: Likewise.
38175 * sunrpc/rpc_hout.c: Likewise.
38176 * sunrpc/rpc_main.c: Likewise.
38177 * sunrpc/rpc_parse.c: Likewise.
38178 * sunrpc/rpc_parse.h: Likewise.
38179 * sunrpc/rpc_prot.c: Likewise.
38180 * sunrpc/rpc_sample.c: Likewise.
38181 * sunrpc/rpc_scan.c: Likewise.
38182 * sunrpc/rpc_scan.h: Likewise.
38183 * sunrpc/rpc_svcout.c: Likewise.
38184 * sunrpc/rpc_tblout.c: Likewise.
38185 * sunrpc/rpc_util.c: Likewise.
38186 * sunrpc/rpc_util.h: Likewise.
38187 * sunrpc/rpcinfo.c: Likewise.
38188 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38189 * sunrpc/rpcsvc/key_prot.x: Likewise.
38190 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38191 * sunrpc/rpcsvc/mount.x: Likewise.
38192 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38193 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38194 * sunrpc/rpcsvc/rex.x: Likewise.
38195 * sunrpc/rpcsvc/rstat.x: Likewise.
38196 * sunrpc/rpcsvc/rusers.x: Likewise.
38197 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38198 * sunrpc/rpcsvc/spray.x: Likewise.
38199 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38200 * sunrpc/rtime.c: Likewise.
38201 * sunrpc/svc.c: Likewise.
38202 * sunrpc/svc_auth.c: Likewise.
38203 * sunrpc/svc_authux.c: Likewise.
38204 * sunrpc/svc_raw.c: Likewise.
38205 * sunrpc/svc_run.c: Likewise.
38206 * sunrpc/svc_simple.c: Likewise.
38207 * sunrpc/svc_tcp.c: Likewise.
38208 * sunrpc/svc_udp.c: Likewise.
38209 * sunrpc/svc_unix.c: Likewise.
38210 * sunrpc/svcauth_des.c: Likewise.
38211 * sunrpc/xcrypt.c: Likewise.
38212 * sunrpc/xdr.c: Likewise.
38213 * sunrpc/xdr_array.c: Likewise.
38214 * sunrpc/xdr_float.c: Likewise.
38215 * sunrpc/xdr_mem.c: Likewise.
38216 * sunrpc/xdr_rec.c: Likewise.
38217 * sunrpc/xdr_ref.c: Likewise.
38218 * sunrpc/xdr_sizeof.c: Likewise.
38219 * sunrpc/xdr_stdio.c: Likewise.
38220
9da4bb31
UD
38221 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38222 handling.
38223
bdaa77bc
AS
382242010-08-19 Andreas Schwab <schwab@redhat.com>
38225
38226 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38227
fe2f79db
LM
382282010-08-19 Luis Machado <luisgpm@br.ibm.com>
38229
38230 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38231 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38232 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38233 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38234 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38235 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38236 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38237 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38238 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38239 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38240 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38241 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38242 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38243 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38244
b9b42ee0
AB
382452010-07-26 Anton Blanchard <anton@samba.org>
38246
38247 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38248 * malloc/arena.c (heap_trim): Likewise.
38249
1c06ba31
UD
382502010-08-16 Ulrich Drepper <drepper@redhat.com>
38251
38252 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38253 here. Not...
38254 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38255 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38256
f8392f40
L
382572010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38258
38259 * sysdeps/i386/elf/Makefile: New file.
38260
3162f12e
AS
382612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38262
38263 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38264 from fanotify_init.
38265 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38266 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38267
28c90b2c
UD
382682010-08-15 Ulrich Drepper <drepper@redhat.com>
38269
38270 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38271 of strncasecmp_l.
1feccb6c 38272 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 38273
ca6bb004
UD
382742010-08-14 Ulrich Drepper <drepper@redhat.com>
38275
e9f82e0d
UD
38276 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38277 strncase_l-nonascii.
38278 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38279 Add strncase_l-ssse3.
38280 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38281 * sysdeps/x86_64/strcmp.S: Likewise.
38282 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38283 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38284 * sysdeps/x86_64/strncase.S: New file.
38285 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38286 * sysdeps/x86_64/strncase_l.S: New file.
38287 * string/Makefile (strop-tests): Add strncasecmp.
38288 * string/test-strncasecmp.c: New file.
38289
38290 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38291 warning.
38292
ca6bb004
UD
38293 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38294 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38295
052fa7b3
AS
382962010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38297
38298 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38299
962dba78
UD
383002010-08-12 Ulrich Drepper <drepper@redhat.com>
38301
38302 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38303 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38304 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38305
bebff237
AM
383062010-05-01 Alan Modra <amodra@gmail.com>
38307
38308 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38309 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38310 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38311 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38312 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38313 tidying. Don't tail-call __sigjmp_save for static lib.
38314 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38315 save location.
38316 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38317 (CALL_MCOUNT): Add eh info, and nop after bl.
38318 (TAIL_CALL_SYSCALL_ERROR): New macro.
38319 (PSEUDO_RET): Use it.
38320 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38321 Correct save location of integer regs and cr.
38322 (_dl_profile_resolve): Correct cr save location. Delete nops
38323 after bl when SHARED. Reduce cfi size a little by better
38324 placement of cfi directives.
38325 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38326 make a stack frame. Instead use parm save area as a temp.
38327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38328 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38330 Don't make a stack frame for parent, use parm save area.
38331 Increase child stack frame to 112 bytes. Don't save unused reg,
38332 and adjust reg usage. Set up cfi on error recovery and
38333 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38335 (__makecontext): Add dummy nop after jump to exit.
38336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38337 Use correct parm save area and cr save, reduce stack frame.
38338 Correct cfi for possible PSEUDO_RET frame setup.
38339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38340 Branch to local label emitted by PSEUDO_RET rather than
38341 __syscall_error.
38342
02637374
AS
383432010-08-12 Andreas Schwab <schwab@redhat.com>
38344
38345 [BZ #11904]
38346 * locale/programs/locale.c (print_assignment): New function.
38347 (show_locale_vars): Use it.
38348
c3e2f19b
UD
383492010-08-11 Ulrich Drepper <drepper@redhat.com>
38350
3cdaa6ad
UD
38351 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38352 field.
38353 (struct statfs64): Likewise.
38354 (_STATFS_F_FLAGS): Define.
38355 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38356 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38357 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38358 (ST_VALID): Define locally.
38359 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38360 __statvfs_getflags, use the provided value.
38361 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38362 __ASSUME_STATFS_F_FLAGS.
38363
754f7da3
UD
38364 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38365
10b3bedc
UD
38366 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38367 Add sys/fanotify.h.
38368 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38369 fanotify_mask for GLIBC_2.13.
38370 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38371 fanotify_init and fanotify_mark.
38372 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38373 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38374
c08fb0d7
UD
38375 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38376 Add prlimit.
38377 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38378 prlimit64 for GLIBC_2.13.
38379 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38380 prlimit64.
38381 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38382 syscall.
38383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38384 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38385 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38386 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38387 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38388 add prlimit alias.
38389 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38390
15bac72b
UD
38391 [BZ #11903]
38392 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38393 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38394
c3e2f19b
UD
38395 * nss/Makefile: Add rules to build and run tst-nss-test1.
38396 * shlib-versions: Add entry for libnss_test1.
38397 * nss/nss_test1.c: New file.
38398 * nss/tst-nss-test1.c: New file.
38399
38400 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38401 (__nss_configure_lookup): Set appropriate entry in
38402 __nss_configure_lookup to true.
38403 * nss/nsswitch.h: Define enum with indeces of databases in
38404 databases and __nss_database_custom arrays. Declare
38405 __nss_database_custom.
38406 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38407 to avoid using nscd when custom rules are installed.
38408 * nss/getXXbyYY_r.c: Likewise.
38409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38410
38411 * nss/nss_files/files-parse.c: Whitespace fixes.
38412
f15ce4d8
UD
384132010-08-09 Ulrich Drepper <drepper@redhat.com>
38414
38415 [BZ #11883]
38416 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38417 * posix/fnmatch_loop.c: Likewise.
38418
d22e4cc9
AK
384192010-07-17 Andi Kleen <ak@linux.intel.com>
38420
38421 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38422 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38423 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38424 * Versions.def [GLIBC_2.13]: Add.
38425
805bc17d
UD
384262010-08-06 Ulrich Drepper <drepper@redhat.com>
38427
38428 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38429 Also fail if tpwd after pwuid call is NULL.
38430
5a42321d
ST
384312010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38432
38433 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38434 when converting to ms.
38435
fd3ebeda
ST
384362010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38437
38438 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38439 EOPNOTSUPP errors with ENOTTY.
38440 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38441 EOPNOTSUPP errors with ENOTTY.
38442
73507d3a
UD
384432010-07-31 Ulrich Drepper <drepper@redhat.com>
38444
38445 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38446 Add strcasecmp_l-ssse3.
38447 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38448 strcasecmp.
38449 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38450 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38451 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38452
fe36dd02
UD
384532010-07-30 Ulrich Drepper <drepper@redhat.com>
38454
66f6765a
UD
38455 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38456
42e08a54
UD
38457 * string/Makefile (strop-tests): Add strcasecmp.
38458 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38459 strcasecmp_l-nonascii.
38460 (gen-as-const-headers): Add locale-defines.sym.
38461 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38462 * sysdeps/x86_64/strcasecmp.S: New file.
38463 * sysdeps/x86_64/strcasecmp_l.S: New file.
38464 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38465 * sysdeps/x86_64/locale-defines.sym: New file.
38466 * string/test-strcasecmp.c: New file.
38467
fe36dd02
UD
38468 * string/test-strcasestr.c: Test both ends of the range of characters.
38469 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38470
48cbc0d6
RM
384712010-07-29 Roland McGrath <roland@redhat.com>
38472
76e6d6bc 38473 [BZ #11856]
48cbc0d6
RM
38474 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38475
880113d9
UD
384762010-07-27 Ulrich Drepper <drepper@redhat.com>
38477
38478 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38479 for ld.so.
38480
deb9cabb
AS
384812010-07-27 Andreas Schwab <schwab@redhat.com>
38482
38483 * manual/memory.texi (Malloc Tunable Parameters): Document
38484 M_PERTURB.
38485
1c7570ff
RM
384862010-07-26 Roland McGrath <roland@redhat.com>
38487
38488 [BZ #11840]
38489 * configure.in (-fgnu89-inline check): Set and substitute
38490 gnu89_inline, not libc_cv_gnu89_inline.
38491 * configure: Regenerated.
38492 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38493
24fb0f88
UD
384942010-07-26 Ulrich Drepper <drepper@redhat.com>
38495
38496 * string/test-strnlen.c: New file.
38497 * string/Makefile (strop-tests): Add strnlen.
38498 * string/tester.c (test_strnlen): Add a few more test cases.
38499 * string/tst-strlen.c: Better error reporting.
38500
38501 * sysdeps/x86_64/strnlen.S: New file.
38502
8e96b93a
UD
385032010-07-24 Ulrich Drepper <drepper@redhat.com>
38504
38505 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38506 lower-latency instructions.
38507
dbc676d4
UD
385082010-07-23 Ulrich Drepper <drepper@redhat.com>
38509
38510 * string/test-strcasestr.c: New file.
38511 * string/test-strstr.c: New file.
38512 * string/Makefile (strop-tests): Add strstr and strcasestr.
38513 * string/str-two-way.h: Don't undefine MAX.
38514 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38515
f6a31e0e
AS
385162010-07-21 Andreas Schwab <schwab@redhat.com>
38517
38518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38519 strcasestr-nonascii.
38520 (CFLAGS-strcasestr-nonascii.c): Define.
38521 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38522 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38523 Remove unused attribute.
38524
5dbc3b6c
RM
385252010-07-20 Roland McGrath <roland@redhat.com>
38526
38527 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38528 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38529 ld.so.cache was broken. With it, there is no way to disable dsocaps
38530 like LD_HWCAP_MASK can disable hwcaps.
38531
23d101d8
EPM
385322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38533
38534 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38535
cc9f2e47
UD
385362010-07-16 Ulrich Drepper <drepper@redhat.com>
38537
38538 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38539 call in strcasestr.
38540 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38541 __strcasestr_sse42_nonascii.
38542 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38543 strcasestr-nonascii.c.
38544 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38545
77c1b069
LM
385462010-06-15 Luis Machado <luisgpm@br.ibm.com>
38547
38548 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38549 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38550 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38551 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38552
440566c3
UD
385532010-07-09 Ulrich Drepper <drepper@redhat.com>
38554
38555 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38556 fcntl.
38557
5be9d05d
AS
385582010-07-06 Andreas Schwab <schwab@redhat.com>
38559
c30b7ee2 38560 [BZ #11577]
5be9d05d
AS
38561 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38562 dl_signal_cerror.
38563
8a492a67
UD
385642010-07-06 Ulrich Drepper <drepper@redhat.com>
38565
38566 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38567 _PC_PIPE_BUF using F_GETPIPE_SZ.
38568
713df3d5
RM
385692010-07-05 Roland McGrath <roland@redhat.com>
38570
38571 * manual/arith.texi (Rounding Functions): Fix rint description
38572 implicit in round description.
38573
702e8f14
UD
385742010-07-02 Ulrich Drepper <drepper@redhat.com>
38575
38576 * elf/Makefile: Fix linking for a few tests to make recent linker
38577 happy.
38578
52ed8be9
AS
385792010-06-30 Andreas Schwab <schwab@redhat.com>
38580
38581 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38582 $(common-objpfx)libc_nonshared.a.
38583
f47c9a11
LM
385842010-06-21 Luis Machado <luisgpm@br.ibm.com>
38585
38586 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38587 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38588 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38589 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38590 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38591 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38592 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38593 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38608 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38609 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38610 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38611 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38612 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38613 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38614 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38615 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38616 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38617 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38618 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38619 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38634
6fb8cbcb
L
386352010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38636
38637 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38638 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38639 * string/memmove.c (memmove): Renamed to ...
38640 (MEMMOVE): ...this. Default to memmove.
38641 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38642 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38643 (END_CHK): Define.
38644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38645 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38646 mempcpy-ssse3-back memmove-ssse3-back.
38647 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38648 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38649 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38650 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38651 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38652 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38653 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38654 * sysdeps/x86_64/multiarch/memmove.c: New file.
38655 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38656 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38657 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38658 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38659 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38660 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38661 Define.
38662 (index_Fast_Copy_Backward): Define.
38663 (HAS_ARCH_FEATURE): Define.
38664 (HAS_FAST_REP_STRING): Define.
38665 (HAS_FAST_COPY_BACKWARD): Define.
38666
4e733bac 386672010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38668
38669 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38670 Restore proper fallback handling.
38671
63c4ed22
UD
386722010-06-19 Ulrich Drepper <drepper@redhat.com>
38673
ac2b484c
UD
38674 [BZ #11701]
38675 * posix/group_member.c (__group_member): Correct checking loop.
38676
63c4ed22
UD
38677 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38678 OOM in getpwuid_r correctly. Return error number when the caller
38679 should return, otherwise -1.
38680 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38681 call returning > 0 value.
38682 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38683
765ade4b
AS
386842010-06-07 Andreas Schwab <schwab@redhat.com>
38685
38686 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38687 libc_nonshared.a from targets in modules-names.
38688
80da2e09
KS
386892010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38690
38691 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38692 requires it.
38693
158db122
LM
386942010-06-10 Luis Machado <luisgpm@br.ibm.com>
38695
38696 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38697 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38698 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38699 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38700
caa78cf8
AS
387012010-06-02 Andreas Schwab <schwab@redhat.com>
38702
38703 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38704
b2ef2c01
UD
387052010-06-14 Ulrich Drepper <drepper@redhat.com>
38706
38707 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38708 and F_GETPIPE_SZ.
38709 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38710 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38713 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38714 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38715
fbd643b6
RM
387162010-06-14 Roland McGrath <roland@redhat.com>
38717
38718 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38719
f32f2869
JJ
387202010-06-07 Jakub Jelinek <jakub@redhat.com>
38721
38722 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38723 __REDIRECT followed by __THROW.
38724 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38725 * posix/getopt.h (getopt): Likewise.
38726
2a50c078
EPM
387272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38728
38729 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38730 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38731 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38732 in AT_FLAGS.
38733 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38734 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38735
eb5ad2eb
LM
387362010-05-28 Luis Machado <luisgpm@br.ibm.com>
38737
38738 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38739
3c88fe1e
L
387402010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38741
38742 [BZ #11640]
38743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38744 Properly check family and model.
38745
d2f73151
TY
387462010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38747
38748 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38749
ebd2e13d
LM
387502010-05-24 Luis Machado <luisgpm@br.ibm.com>
38751
38752 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38753
b32b8b45
UD
387542010-05-21 Ulrich Drepper <drepper@redhat.com>
38755
38756 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38757 symbol reference.
38758
9acbe24d
AS
387592010-05-19 Andreas Schwab <schwab@redhat.com>
38760
38761 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38762 symbol reference.
38763
f0ccf6ea
AS
387642010-05-21 Andreas Schwab <schwab@redhat.com>
38765
3d04ff3a
AS
38766 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38767 and internal_recvmmsg.
38768 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38769 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38770 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38771 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38772
f0ccf6ea
AS
38773 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38774 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38775 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38776
5b08ac57
AS
387772010-05-20 Andreas Schwab <schwab@redhat.com>
38778
38779 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38780
4828935d
LM
387812010-05-17 Luis Machado <luisgpm@br.ibm.com>
38782
38783 POWER7 optimizations.
38784 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38785 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38786
373d545e
UD
387872010-05-19 Ulrich Drepper <drepper@redhat.com>
38788
38789 * version.h: Update for 2.13 development version.
38790
21a2b1ae
AS
387912010-05-12 Andrew Stubbs <ams@codesourcery.com>
38792
38793 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38794 exceptions. Return 0.
38795
3f7dcb2b
RM
387962010-05-07 Roland McGrath <roland@redhat.com>
38797
38798 * elf/ldconfig.c (main): Add a const.
38799
5f24d53a 388002010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38801
a160f8d8
UD
38802 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38803 (args_options): Add no-idn option.
38804 (ahosts_keys_int): Add idn_flags to ai_flags.
38805 (parse_option): Handle 'i' option to clear idn_flags.
38806
5f24d53a
UD
38807 * malloc/malloc.c (_int_free): Possible race in the most recently
38808 added check. Only act on the data if no current modification
38809 happened.
265bb1ce
UD
38810
38811See ChangeLog.17 for earlier changes.