]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove sysdeps/mips soft-fp subdirectories.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
306bc0d1
JM
12015-02-10 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
4 * sysdeps/mips/mips32/sfp-machine.h: ... here.
5 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6 * sysdeps/mips/mips64/Makefile: ... here.
7 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
8 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
9 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
10 * sysdeps/mips/mips64/sfp-machine.h: ... here.
11 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
12 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
13 * sysdeps/mips/mips64/n64/Implies: Likewise.
14
92b67e8d
RM
152015-02-10 Roland McGrath <roland@hack.frob.com>
16
17 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
18 <sys/time.h>, <string.h>, and <errno.h>.
19 (dest_offset, dest_address, value, zero): Remove unused variables.
20 (ldouble): Remove typedef.
21 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
22 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
23 1). Fix code style.
24 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
25 (check): Function removed.
26 (CHECK): New macro.
27 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
28 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
29 Don't call set_sigaction_FP and remove_sigaction_FP here.
30 (ldouble_test): Just use 'long double' as macro argument, no need for
31 the 'ldouble' typedef.
32 (do_test): Set up SIGFPE handler at start, using plain signal rather
33 than sigaction. Fix code style.
34
132a1328
EF
352015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
36
37 [BZ #17949]
38 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39 jump label.
40
3001e54c
AZ
412015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
42
bc0cdc49
AZ
43 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
44 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45
83658961
AZ
46 * sysdeps/powerpc/configure.ac: Remove file.
47 * sysdeps/powerpc/configure: Likewise.
48
10169938
AZ
49 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
50 [sysdep_routines]: Remove wordcopy-power6 object.
51 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
52 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
53 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
54 (__memmove_ppc32): Likewise.
55 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
56 file.
57 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
58 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
59 Remove preprocessor.
60
8548a53d
AZ
61 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
62 [sysdep_routines]: Remove wide chars objects.
63 [wcsmbs]: New rule for wide char objects.
64
b2692114
AZ
65 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
66 Remove wordcopy-power6 obejct.
67 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
68 Use local call for wordcopy and memcpy symbols.
69 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
70 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
71 implementation for loader.
72 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
73
18e270aa
AZ
74 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
75 Remove wordcopy-power7 object.
76 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
77 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
78 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
79 (_wordcopy_fwd_dest_aligned): Likewise.
80 (_wordcopy_bwd_aligned): Likewise.
81 (_wordcopy_bwd_dest_aligned): Likewise.
82
6f0993a6
AZ
83 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
84 Rewrite to call __memmove_ppc instead of include default
85 implementation.
86
3001e54c
AZ
87 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
88 Remove wide chars objects.
89 [wcsmbs]: New rule for wide char objects.
90
59b61c82
AS
912015-02-09 Andreas Schwab <schwab@suse.de>
92
93 [BZ #17912]
94 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
95 in terms of __O_DIRECTORY.
96
ebd7aede
ST
972015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
98
99 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
100 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
101 call PTR_MANGLE.
102 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
103 PTR_DEMANGLE.
ebd7aede 104
3999d26e
PE
1052015-02-07 Paul Eggert <eggert@cs.ucla.edu>
106
107 Add ersatz _Static_assert on older C hosts
108 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
109 pre-C11 C platform that is not known to support _Static_assert.
110
e9a5bc1c
ST
1112015-02-07 Richard Braun <rbraun@sceen.net>
112
113 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
114 sigstate.
e86c5b64 115 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 116
e2049d17
ST
1172015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
118
119 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
120 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
121 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
122 instead of int.
123 * misc/fchflags.c (fchflags): Likewise.
124 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
125 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
126 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
127 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
128 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
129 Declare macros.
130 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
131 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
132 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
133 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
134 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
135 45.
a9a002fb
ST
136 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
137 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
138 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
139 MACH_RCV_TIMED_OUT.
f96ec27a
ST
140 * hurd/hurd/signal.h (_hurd_self_sigstate,
141 _hurd_critical_section_lock, _hurd_critical_section_unlock):
142 Explicit casts from void *.
4fc81a77 143 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 144 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 145
f05826f0
ST
146 [BZ #4719]
147 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
148 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
149 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
150 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
151 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
152 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
153
a5eb23de
ST
154 [BZ #17944]
155 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
156 duplicates ADDR->sun_path with sockaddr LEN limitation.
157 * sysdeps/mach/hurd/connect.c: Include <string.h>
158 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
159 * sysdeps/mach/hurd/sendmsg.c: Likewise.
160 * sysdeps/mach/hurd/sendto.c: Likewise.
161 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
162 implementing it by hand.
163
ac9e0e5e
RM
1642015-02-06 Roland McGrath <roland@hack.frob.com>
165
f8d1bb4c
RM
166 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
167 Use sfi_breg on ldr.
168 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
169 Likewise.
170
022f4812
RM
171 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
172 it's defined.
173 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
174 Test SIGSETXID only if it's defined.
175
1ac074e6
RM
176 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
177
f50ad78b
RM
178 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
179 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
180
9e7265f4
RM
181 * nptl/tst-align2.c: Moved ...
182 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
183 * nptl/Makefile (tests): Remove tst-align2.
184 * sysdeps/unix/sysv/linux/Makefile
185 [$(subdir) = nptl] (tests): Add tst-align-clone.
186 * nptl/tst-getpid1.c: Moved ...
187 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
188 * nptl/tst-getpid2.c: Moved ...
189 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
190 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
191 * sysdeps/unix/sysv/linux/Makefile
192 [$(subdir) = nptl] (tests): ... here.
193 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
194 * sysdeps/unix/sysv/linux/Makefile
195 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
196
62ad2abc
RM
197 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
198 Drop trailing \n from perror argument. Use return rather than exit.
199
cfa69b0b
RM
200 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
201 on [SA_SIGINFO].
202 * nptl/tst-cancel21.c (do_test): Likewise.
203 * debug/tst-backtrace6.c: Include <signal.h> first thing.
204 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
205 [!SA_SIGINFO]: Make it a stub test.
206
82727806
RM
207 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
208 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
209
da3a1594
RM
210 * posix/tst-getlogin.c: Move to ...
211 * login/tst-getlogin.c: ... here.
212 * posix/Makefile (tests): Move tst-getlogin to ...
213 * login/Makefile (tests): ... here.
214
b65c0ff9
RM
215 * libio/tst-atime.c (do_test): Move local variables SV and E
216 inside [ST_NOATIME] conditional.
217
56606ab3
RM
218 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
219
ebf7d6ee
RM
220 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
221
ca0e0675
RM
222 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
223 (wait_code): New function replaces macro.
224 Call nanosleep rather than syscall.
225
8c28bbc6
RM
226 * nptl/pt-system.c: Rewritten. Put everything under
227 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
228 Use IFUNC to redirect when possible.
229
ec2a88b3
RM
230 * nptl/pt-longjmp.c: Rewritten. Put everything under
231 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
232 Use IFUNC to redirect when possible.
233
beff1d13
RM
234 * nptl/pt-fork.c: Rewritten. Put everything under
235 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
236 Use IFUNC to redirect when possible.
237 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
238
ea02c6b8
RM
239 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
240 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
241 unconditionally nowadays. This included the only reference to
242 __vdso_clock_gettime that appears outside libc proper.
243 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
244 Remove version set (containing only __vdso_clock_gettime).
245 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
246 Add attribute_hidden.
247 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
248 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
249 libc_hidden_data_def.
250 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
251 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
252
a1309c2b
RM
253 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
254 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
255 setrpcent, and getrpcport to ...
256 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
257 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
258 getrpcbynumber_r, and getrpcent_r to ...
259 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
260 * inet/getrpcbyname.c: Moved ...
261 * sunrpc/getrpcbyname.c: ... here.
262 * inet/getrpcbyname_r.c: Moved ...
263 * sunrpc/getrpcbyname_r.c: ... here.
264 * inet/getrpcbynumber.c: Moved ...
265 * sunrpc/getrpcbynumber.c: ... here.
266 * inet/getrpcbynumber_r.c: Moved ...
267 * sunrpc/getrpcbynumber_r.c: ... here.
268 * inet/getrpcent.c: Moved ...
269 * sunrpc/getrpcent.c: ... here.
270 * inet/getrpcent_r.c: Moved ...
271 * sunrpc/getrpcent_r.c: ... here.
272 * inet/Makefile (routines): Move those to ...
273 * sunrpc/Makefile (routines): ... here.
274 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
275 the $(subdirs) list.
276 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
277 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
278 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
279 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
280
ac9e0e5e
RM
281 * elf/Makefile (routines): Include $(all-dl-routines), not just
282 $(dl-routines).
283 (rtld-routines): Likewise. Use = rather than :=.
284 * sysdeps/aarch64/Makefile [$(subdir) = elf]
285 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
286 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
287 * sysdeps/arm/Makefile: Likewise.
288 * sysdeps/i386/Makefile: Likewise.
289 * sysdeps/x86_64/Makefile: Likewise.
290 * sysdeps/hppa/Makefile [$(subdir) = elf]
291 (sysdep_routines, sysdep-rtld-routines): Don't add
292 $(sysdep-dl-routines) to these.
293 * sysdeps/ia64/Makefile: Likewise.
294 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
295 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
296 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
297 Don't add dl-static to these; sysdep-dl-routines alone is enough.
298 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
299 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
300 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
301 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
302 * sysdeps/powerpc/Makefile [$(subdir) = elf]
303 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
304 these; sysdep-dl-routines alone is enough.
305
639e42eb
JM
3062015-02-06 Joseph Myers <joseph@codesourcery.com>
307
1c7a4a51
JM
308 [BZ #17932]
309 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
310 where multiplication results in zero and third argument is finite
311 and nonzero.
312 * math/auto-libm-test-in: Add more tests of fma.
313 * math/auto-libm-test-out: Regenerated.
314
61f006c1
JM
315 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
316 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
317 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
318 (_FP_CMP_EQ): Likewise.
319 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
320
639e42eb
JM
321 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
322 extra argument CHECK_NAN. Redefine as wrapper around
323 _FP_EXTEND_CNAN.
324
3c0c543b
CD
3252015-02-06 Carlos O'Donell <carlos@systemhalted.org>
326
4e42b5b8
CD
327 * version.h (RELEASE): Set to "stable".
328 (VERSION): Set to "2.21"
329 * include/features.h (__GLIBC_MINOR__): Set to 21.
330
3c0c543b
CD
331 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
332
5bd80bfe 3332015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 334 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
335
336 [BZ #16618]
337 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
338 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
339 size in bytes. Store needed elements in wpmax. Use needed size
340 in bytes for extend_alloca.
341
3f823f48
CD
3422015-02-05 Carlos O'Donell <carlos@systemhalted.org>
343
04cb913d
CD
344 * manual/install.texi: Latest tested versions are GCC 4.9.2,
345 binutls 2.25, and texinfo 5.2.
346 * INSTALL: Regenerate.
347 * sysdeps/nios2/configure: Regenerate.
348 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
349 * manual/contrib.texi: Update.
350 * po/be.po: Update.
351 * po/bg.po: Update.
352 * po/ca.po: Update.
353 * po/cs.po: Update.
354 * po/da.po: Update.
355 * po/de.po: Update.
356 * po/el.po: Update.
357 * po/eo.po: Update.
358 * po/es.po: Update.
359 * po/fi.po: Update.
360 * po/fr.po: Update.
361 * po/gl.po: Update.
362 * po/hr.po: Update.
363 * po/hu.po: Update.
364 * po/ia.po: Update.
365 * po/id.po: Update.
366 * po/it.po: Update.
367 * po/ja.po: Update.
368 * po/ko.po: Update.
369 * po/lt.po: Update.
370 * po/nb.po: Update.
371 * po/nl.po: Update.
372 * po/pl.po: Update.
373 * po/pt_BR.po: Update.
374 * po/ru.po: Update.
375 * po/rw.po: Update.
376 * po/sk.po: Update.
377 * po/sl.po: Update.
378 * po/sv.po: Update.
379 * po/tr.po: Update.
380 * po/uk.po: Update.
381 * po/vi.po: Update.
382 * po/zh_CN.po: Update.
383 * po/zh_TW.po: Update.
384
3f823f48
CD
385 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
386 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
387 * sysdeps/hppa/dl-irel.h: Remove #warning.
388 * sysdeps/hppa/entry.h: Provide prototype for
389 __canonicalize_funcptr_for_compare and cast argument.
390 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
391 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
392 * sysdeps/hppa/sotruss-lib.c: New file.
393 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
394 (atomic_compare_and_exchange_val_acq): Use __typeof__.
395 (atomic_compare_and_exchange_bool_acq): Likewise.
396 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
397 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
398
399 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
400 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
401 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
402
34c56048
CLT
4032015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
404
405 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
406 called function in non-PIC case.
407
d4abeca5
DM
4082015-01-31 David S. Miller <davem@davemloft.net>
409
edac0a60
DM
410 * sysdeps/sparc/sparc32/bits/atomic.h
411 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
412 unlock not after it.
413 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
414 volatile register usage warnings from the compiler.
415
d4abeca5
DM
416 * sysdeps/sparc/nptl/sem_init.c: Delete.
417 * sysdeps/sparc/nptl/sem_post.c: Delete.
418 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
419 * sysdeps/sparc/nptl/sem_wait.c: Delete.
420 * sysdeps/sparc/sparc32/sem_init.c: New file.
421 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
422 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
423 padding explicitly initialized.
424 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
425 padding for in-semaphore spinlock.
426 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
427 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
428 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
429 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
430 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
431 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
432 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
433 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
434 version.
435 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
436 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
437
5f3d0b78
L
4382015-01-30 H.J. Lu <hongjiu.lu@intel.com>
439
440 [BZ #17801]
441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
442 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
443 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
444 New.
445 (index_AVX_Fast_Unaligned_Load): Likewise.
446 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
447 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
448 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
449 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
450 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
451 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
452 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
453 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
454 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
455
b658fdd8
AS
4562015-01-29 Andreas Schwab <schwab@suse.de>
457
458 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
459
3cb26316
SP
4602015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
461
462 [BZ #17892]
463 * nscd/nscd_stat.c (send_stats): Initialize DATA.
464
527de9e4
MS
4652015-01-28 Martin Sebor <msebor@redhat.com>
466
467 * math/README.libm-test: Clarify. Add "How to read the test output."
468
06991eb8
CM
4692015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
470
471 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
472 Define to 0.
473
df341342
JM
4742015-01-28 Joseph Myers <joseph@codesourcery.com>
475
476 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
477 (__HAVE_64B_ATOMICS): Define to 0.
478
08cee2a4
AZ
4792015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
480
d4d0ecb2
AZ
481 [BZ #17885]
482 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
483 value to set as new flag.
484
08cee2a4
AZ
485 [BZ #16576]
486 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
487 and use _ARCH_PPCSQ instead.
488 (__ieee754_sqrt): Likewise.
489 (__ieee754_sqrtf): Likewise.
490 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
491 _ARCH_PPCSQ is defined.
492 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
493 fsqrt instruction.
494 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
495 _ARCH_PPCSQ is defined.
496 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
497 fsqrts instruction.
498 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
499
5fe8e359
AK
5002015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
501
502 * iconv/loop.c: Suppress array out of bound warning caused by GCC
503 bug (GCC BZ #64739).
504
24bb7432
AS
5052015-01-25 Andreas Schwab <schwab@linux-m68k.org>
506
fa20da31
AS
507 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
508 Mark _retval as used.
509 (lll_futex_wake_unlock): Likewise.
510 (lll_futex_timed_wait_requeue_pi): Likewise.
511
45819cbc
AS
512 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
513 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
514 register variables.
515
403cc231
AS
516 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
517 libm_hidden_def.
518
24bb7432
AS
519 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
520 (__bswap_64): Mark as __always_inline.
521
9317ea65
B
5222015-01-25 Bram <bug_rh@spam.wizbit.be>
523
524 [BZ #15378]
525 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
526 when none of the search directories exist.
527
0e87343e
AZ
5282015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
529
bea58013
AZ
530 [BZ #17869]
531 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
532 power8 in .machine directive.
533
0e87343e
AZ
534 [BZ #17868]
535 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
536 set dependency from opd value.
537
ede0236c
L
5382015-01-23 H.J. Lu <hongjiu.lu@intel.com>
539
540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
541 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
542 architecture.
ede0236c 543
22971c35
L
5442015-01-23 H.J. Lu <hongjiu.lu@intel.com>
545
546 [BZ #17870]
547 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
548 with uint64_t.
549 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
550 (uint64_t) 1.
e0da28a1 551 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
552 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
553 Replace 1UL with (uint64_t) 1.
554 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
555 int with uint64_t.
556
da5bf245
RM
5572015-01-23 Roland McGrath <roland@hack.frob.com>
558
2ec2d703
RM
559 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
560 (if_freenameindex): Likewise.
561
da5bf245
RM
562 * resource/getrlimit64.c: Add missing libc_hidden_def.
563
d7423856
JM
5642015-01-22 Joseph Myers <joseph@codesourcery.com>
565
566 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
567 __label__.
568 (_FP_FMA): Likewise.
569 (_FP_TO_INT_ROUND): Likewise.
570 (_FP_FROM_INT): Likewise.
571
6b2ba95b
AZ
5722015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
573
574 [BZ #16418]
575 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
576 Make code racy and cancel safe.
577
ccdb048d
CD
5782015-01-21 Carlos O'Donell <carlos@redhat.com>
579
191220b3
CD
580 * sysdeps/arm/unwind-resume.h: Fix copyright year.
581 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
582 attribution.
583
0897c551
CD
584 * pwd/tst-getpw.c: Rewrite.
585
ccdb048d
CD
586 [BZ #17702]
587 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
588 (modules-names): Add moddummy1 and moddummy2.
589 ($(objpfx)tst-rec-dlopen): Define.
590 * dlfcn/moddummy1.c: New file.
591 * dlfcn/moddummy2.c: New file.
592 * dlfcn/tst-rec-dlopen.c: New file.
593 * elf/dl-cache.c (_dl_load_cache_lookup):
594 Return char*. Copy result with alloca/strcpy/strdup.
595 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
596 returns char*. Free cached. If not saving realname
597 free cached.
598 * elf/dl-open.c (dl_open_worker): Do not assert that
599 _r_debug->r_state is RT_CONSISTENT.
600 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
601 returns char*.
602
042e1521
CD
6032015-01-21 Torvald Riegel <triegel@redhat.com>
604 Carlos O'Donell <carlos@redhat.com>
605
606 [BZ #12674]
607 * nptl/sem_waitcommon.c: New file.
608 * nptl/sem_wait.c: Include sem_waitcommon.c.
609 (__sem_wait_cleanup, do_futex_wait): Remove.
610 (__new_sem_wait): Adapt.
611 (__new_sem_trywait): New function.
612 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
613 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
614 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
615 (sem_timedwait): Adapt.
616 * nptl/sem_post.c (__new_sem_post): Adapt.
617 (futex_wake): New function.
618 (__old_sem_post): Add release MO fence.
619 * nptl/sem_open.c (sem_open): Adapt.
620 * nptl/sem_init.c (__new_sem_init): Adapt.
621 (futex_private_if_supported): New function.
622 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
623 (__old_sem_getvalue): Add using previous code.
624 * sysdeps/nptl/internaltypes.h: Adapt.
625 * nptl/tst-sem13.c (do_test): Adapt.
626 * nptl/tst-sem11.c (main): Adapt.
627 * nptl/sem_trywait.c: Remove.
628 * nptl/DESIGN-sem.txt: Remove.
629 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
630 (gen-as-const-headers): Remove structsem.sym.
631 * nptl/structsem.sym: Remove.
632 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
633 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
634 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
635 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
636 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
637 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
638 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
639 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
640 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
641 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
642 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
643 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
644 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
645 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
646 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
647 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
648 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
649 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
650 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
651 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
652 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
653 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
654
fe0e85af
CD
6552015-01-20 Carlos O'Donell <carlos@redhat.com>
656
a8db092e
CD
657 * INSTALL: Regenerated.
658
fe0e85af
CD
659 * po/libc.pot: Regenerated.
660
522e6ee3
CLT
6612015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
662 Sandra Loosemore <sandra@codesourcery.com>
663 Andrew Jenner <andrew@codesourcery.com>
664 Joseph Myers <joseph@codesourcery.com>
665 Nathan Sidwell <nathan@codesourcery.com>
666
667 * NEWS: Mention new Nios II port.
668 * sysdeps/nios2/Implies: New file.
669 * sysdeps/nios2/Makefile: New file.
670 * sysdeps/nios2/Subdirs: New file.
671 * sysdeps/nios2/Versions: New file.
672 * sysdeps/nios2/__longjmp.S: New file.
673 * sysdeps/nios2/abort-instr.h: New file.
674 * sysdeps/nios2/backtrace.c: New file.
675 * sysdeps/nios2/bits/endian.h: New file.
676 * sysdeps/nios2/bits/fenv.h: New file.
677 * sysdeps/nios2/bits/link.h: New file.
678 * sysdeps/nios2/bits/setjmp.h: New file.
679 * sysdeps/nios2/bsd-_setjmp.S: New file.
680 * sysdeps/nios2/bsd-setjmp.S: New file.
681 * sysdeps/nios2/configure: New generated file.
682 * sysdeps/nios2/configure.ac: New file.
683 * sysdeps/nios2/crti.S: New file.
684 * sysdeps/nios2/crtn.S: New file.
685 * sysdeps/nios2/dl-init.c: New file.
686 * sysdeps/nios2/dl-machine.h: New file.
687 * sysdeps/nios2/dl-sysdep.h: New file.
688 * sysdeps/nios2/dl-tls.h: New file.
689 * sysdeps/nios2/dl-trampoline.S: New file.
690 * sysdeps/nios2/gccframe.h: New file.
691 * sysdeps/nios2/gmp-mparam.h: New file.
692 * sysdeps/nios2/jmpbuf-offsets.h: New file.
693 * sysdeps/nios2/jmpbuf-unwind.h: New file.
694 * sysdeps/nios2/ldsodefs.h: New file.
695 * sysdeps/nios2/libc-tls.c: New file.
696 * sysdeps/nios2/libm-test-ulps: New file.
697 * sysdeps/nios2/machine-gmon.h: New file.
698 * sysdeps/nios2/math-tests.h: New file.
699 * sysdeps/nios2/math_private.h: New file.
700 * sysdeps/nios2/memusage.h: New file.
701 * sysdeps/nios2/nptl/Makefile: New file.
702 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
703 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
704 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
705 * sysdeps/nios2/nptl/pthreaddef.h: New file.
706 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
707 * sysdeps/nios2/nptl/tls.h: New file.
708 * sysdeps/nios2/preconfigure: New file.
709 * sysdeps/nios2/s_fma.c: New file.
710 * sysdeps/nios2/s_fmaf.c: New file.
711 * sysdeps/nios2/setjmp.S: New file.
712 * sysdeps/nios2/sfp-machine.h: New file.
713 * sysdeps/nios2/sotruss-lib.c: New file.
714 * sysdeps/nios2/stackguard-macros.h: New file.
715 * sysdeps/nios2/stackinfo.h: New file.
716 * sysdeps/nios2/start.S: New file.
717 * sysdeps/nios2/sysdep.h: New file.
718 * sysdeps/nios2/tls-macros.h: New file.
719 * sysdeps/nios2/tst-audit.h: New file.
720 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
721 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
722 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
723 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
724 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
725 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
726 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
727 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
728 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
729 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
730 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
731 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
732 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
733 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
734 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
735 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
736 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
737 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
738 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
739 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
740 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
741 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
742 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
743 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
744 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
745 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
746 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
747 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
748 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
749 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
750 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
751 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
752 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
753 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
754 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
755 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
756 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
757 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
758 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
759 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
760 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
761 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
762 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
763 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
764
026eb207
SL
7652015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
766
767 [BZ #17844]
768 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
769 (getutent): Use weak_alias in non SHARED case
770 and default_symbol_version in SHARED case.
771 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
772 (getutent_r, pututline): Likewise.
773 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
774 (getutid): Likewise.
775 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
776 (getutid_r): Likewise.
777 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
778 (getutline): Likewise.
779 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
780 (getutline_r): Likewise.
781 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
782 (updwtmp): Likewise.
783
1d532483
SL
7842015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
785
786 [BZ #17848]
787 * sysdeps/s390/s390-32/memcmp.S
788 (memcmp_g5): Rename to __memcmp_g5.
789 * sysdeps/s390/s390-32/memcpy.S
790 (memcpy_g5): Rename to __memcpy_g5.
791 Jump to __memcpy_mvcle instead of memcpy_mvcle.
792 (memcpy_mvcle) Rename to __memcpy_mvcle.
793 * sysdeps/s390/s390-32/memset.S
794 (memset_g5): Rename to __memset_g5.
795 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
796 (IFUNC_RESOLVE): Prefix ifunc-resolve function
797 and use prefixed functions.
798 * sysdeps/s390/s390-32/multiarch/memcmp.S
799 (memcmp_z196): Rename to __memcmp_z196.
800 (memcmp_z10): Rename to __memcmp_z10.
801 (memcmp): Set alias to __memcmp_g5.
802 (bcmp): Set alias to __memcmp_g5.
803 * sysdeps/s390/s390-32/multiarch/memcpy.S
804 (memcpy_z196): Rename to __memcpy_z196.
805 Jump to __memcpy_mvcle instead of memcpy_mvcle.
806 (memcpy_z10): Rename to __memcpy_z10.
807 Jump to __memcpy_mvcle instead of memcpy_mvcle.
808 (memcpy): Set alias to __memcpy_g5.
809 * sysdeps/s390/s390-32/multiarch/memset.S
810 (memset_z196): Rename to __memset_z196.
811 Jump to __memset_mvcle instead of memset_mvcle.
812 (memset_z10): Rename to __memset_z10.
813 Jump to __memset_mvcle instead of memset_mvcle.
814 (memset_mvcle) Rename to __memset_mvcle.
815 (memset): Set alias to __memset_g5.
816 * sysdeps/s390/s390-64/memcmp.S
817 (memcmp_z900): Rename to __memcmp_z900.
818 * sysdeps/s390/s390-64/memcpy.S
819 (memcpy_z900): Rename to __memcpy_z900.
820 Jump to __memcpy_mvcle instead of memcpy_mvcle.
821 (memcpy_mvcle) Rename to __memcpy_mvcle.
822 * sysdeps/s390/s390-64/memset.S
823 (memset_z900): Rename to __memset_z900.
824 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
825 (IFUNC_RESOLVE): Prefix ifunc-resolve function
826 and use prefixed functions.
827 * sysdeps/s390/s390-64/multiarch/memcmp.S
828 (memcmp_z196): Rename to __memcmp_z196.
829 (memcmp_z10): Rename to __memcmp_z10.
830 (memcmp): Set alias to __memcmp_z900.
831 (bcmp): Set alias to __memcmp_z900.
832 * sysdeps/s390/s390-64/multiarch/memcpy.S
833 (memcpy_z196): Rename to __memcpy_z196.
834 Jump to __memcpy_mvcle instead of memcpy_mvcle.
835 (memcpy_z10): Rename to __memcpy_z10.
836 Jump to __memcpy_mvcle instead of memcpy_mvcle.
837 (memcpy): Set alias to __memcpy_z900.
838 * sysdeps/s390/s390-64/multiarch/memset.S
839 (memset_z196): Rename to __memset_z196.
840 Jump to __memset_mvcle instead of memset_mvcle.
841 (memset_z10): Rename to __memset_z10.
842 Jump to __memset_mvcle instead of memset_mvcle.
843 (memset_mvcle) Rename to __memset_mvcle.
844 (memset): Set alias to __memset_z900.
845
53fbd169
JM
8462015-01-14 Joseph Myers <joseph@codesourcery.com>
847
848 [BZ #17748]
849 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
850 __fesetenv instead of fesetenv.
851
d639a363
SP
8522015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
853
854 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
855 macro.
856
d3b00f46
AZ
8572015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
858
ce6615c9
AZ
859 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
860 regression on LE.
861
d3b00f46
AZ
862 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
863 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
864 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
865 strncmp-power8 object.
866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
867 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
868 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
869 * NEWS: Update.
870
72607db0
RS
8712015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
872 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
873
874 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
875 trailing byte check.
876
54dc5461
DM
8772015-01-13 David S. Miller <davem@davemloft.net>
878
879 * include/signal.h (__sigreturn): Guard with __USE_MISC.
880
1c6e6f23
RM
8812015-01-13 Roland McGrath <roland@hack.frob.com>
882
883 * login/logout.c (logout): Use memset rather than bzero.
884 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
885 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
886 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
887 (_gethtbyaddr): Likewise.
888 * locale/programs/simple-hash.c (bcopy): Macro removed.
889
96d6fd6c
AZ
8902015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
891
8bedcb5f
AZ
892 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
893 Add strcmp-power8 object.
894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
895 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
896 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
897 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
898 __strcmp_power8 implementation.
899 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
900 * NEWS: Update.
901
f06a4faf
AZ
902 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
903 Add strncpy-power8 and stpncpy-power8 objects.
904 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
905 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
906 implementations.
907 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
908 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
909 __stpncpy_power8 implementation.
910 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
911 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
912 __strncpy_power8 implementation.
913 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
914 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
915 * NEWS: Update.
916
9f2f36e5
AZ
917 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
918 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
919 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
920
96d6fd6c 921 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
922 strncat-power8 object.
923 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
924 __strcat_power8 implementation.
925 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
926 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
927 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
928 optimized strcat for power8.
929
930 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
931 strcpy-power8 and stpcpy-power8 objects.
932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
933 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
934 implementations.
935 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
936 multiarch stpcpy implementation for POWER8.
937 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
938 multiarch strcpy implementation for POWER8.
939 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
940 __strcpy_power8 function.
941 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
942 stpcpy for POWER8.
943 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
944 strcpy for POWER8.
945 * NEWS: Update.
946
0f9e5854
LH
9472015-01-13 Leonhard Holz <leonhard.holz@web.de>
948
949 [BZ #16009]
950 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
951 weights and rules. Use do_xfrm_cached if data fits in cache,
952 do_xfrm otherwise. Moved former main loop to...
953 * (do_xfrm_cached): New function.
954 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
955 find_idx, find_position and stack_push.
956 * (find_idx): New function.
957 * (find_position): Likewise.
958 * localedata/sort-test.sh: Added test run for do_xfrm.
959 * localedata/xfrm-test.c (main): Added command line option
960 -nocache to run the test with strings that are too large for
961 the STRXFRM cache.
962
c60ec0e0
TR
9632015-01-13 Torvald Riegel <triegel@redhat.com>
964
965 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
966 variable to lll_futex_wake call, not the value itself.
967
34e93d6c
JM
9682015-01-12 Joseph Myers <joseph@codesourcery.com>
969
5a9e4c09
JM
970 [BZ #17803]
971 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
972 twom64. Adjust value to 0x1p-64L.
973 (__scalblnl): Only return standard underflowing result for K <=
974 -64 not K <= -63; adjust exponent for underflowing result by 64
975 not 63.
976 * math/libm-test.inc (scalbn_test_data): Add more tests.
977 (scalbln_test_data): Likewise.
978
34e93d6c
JM
979 [BZ #17834]
980 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
981 0x1p63L.
982 (__scalblnl): Get new exponent of adjusted subnormal value from ES
983 not HX.
984 * math/libm-test.inc (scalbn_test_data): Add more tests.
985 (scalbln_test_data): Likewise.
986
ca677d3c
AZ
9872015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
988 Stefani Seibold <stefani@seibold.net>
989
990 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
991 (sysdep_routines): Add dl-vdso here, ...
992 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
993 (sysdep_routines): ... not here.
994 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
995 fallback when vDSO is not presented.
996 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
997 Define with libc_hidden_proto/libc_hidden_data_def definitions.
998 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
999 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1000 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1001 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1002 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1003 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1004 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1005 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1006 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1007 fallback configurable symbol when vDSO is not available.
1008 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1009 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1010 be able to redefine fallback symbol when vDSO is not available.
1011 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1012 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1013
49a9f6ab 10142015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 1015
56cf2763
AZ
1016 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1017 (TLS_INIT_TP): Add tm_capable initialization.
1018 (TLS_DEFINE_INIT_TP): Likewise.
1019 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1020 TCB.
1021 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1022 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1023 calculation.
1024 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1025 transactoion is lock elision is built and TCB tm_capable is set.
1026 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1028 (INTERNAL_SYSCALL_NCS): Likewise.
1029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1030 (INTERNAL_SYSCALL_NCS): Likewise.
1031 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1032
4b45943a
AZ
1033 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1034 for powerpc.
1035 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1036 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1037 and remove it for 32 bits case.
1038 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1039 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1040 initialization.
1041 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1042 Disable lock elision with rdlocks if elision is not available.
1043
8d2c0a59
AZ
1044 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1045 (sysdep_routines): Add lock elision objects.
1046 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1047 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1048 [pthread_mutex_t] (__elision): Add field.
1049 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1050 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1051 elision definitions for powerpc.
1052 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1053 implementation of lock elision for powerpc.
1054 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1055 implementation of timed lock elision for powerpc.
1056 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1057 implementation of trylock with lock elision for powerpc.
1058 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1059 implementaion of unlock for lock elision for powerpc.
1060 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1061 automatic enable lock elision for mutexes.
1062 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1063 transaction execution definitions for powerpc.
1064 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1065 definitions.
1066 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1067 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1068 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1069 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1070 * NEWS: Update.
1071
bc0ed9f7
RM
10722015-01-09 Roland McGrath <roland@hack.frob.com>
1073
1074 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1075 for #include of <shm-directory.h>.
1076
585d9c18
CLT
10772015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1078
1079 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1080 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1081
aee6626c
MF
10822015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1083
1084 [BZ #17791]
1085 * NEWS: Mention bug fix.
1086 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1087 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1088 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1089
9e560f48
TR
10902015-01-09 Torvald Riegel <triegel@redhat.com>
1091
1092 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1093
e1cfbd0c
TR
10942015-01-09 Torvald Riegel <triegel@redhat.com>
1095
1096 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1097
cf71e44f
DH
10982015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1099
1100 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1101 pointer and cast to uintptr_t.
1102
b360ee62
DH
11032015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1104
1105 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1106 removed.
1107 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1108
caff764e
DH
11092015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1110
1111 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1112 of 0.
1113
59ff172f
RM
11142015-01-08 Roland McGrath <roland@hack.frob.com>
1115
c97d27f1
RM
1116 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1117 <nptl/pthreadP.h> instead.
1118 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1119
08734ccd
RM
1120 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1121 already defined.
1122 [__SIGRTMIN] (init): Function removed.
1123 [__SIGRTMIN] (initialized): Variable removed.
1124 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1125 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1126 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1127 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1128 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1129 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1130 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1131 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1132 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1133 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1134 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1135 * sysdeps/nptl/allocrtsig.c: New file.
1136 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1137 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1138 * sysdeps/generic/testrtsig.h: File removed.
1139
7b052e33
RM
1140 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1141 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1142
cc40d25e
RM
1143 * nptl/nptl-init.c (pthread_functions): Conditionalize
1144 .ptr__nptl_setxid initialization on [SIGSETXID].
1145
9287adf0
RM
1146 * sysdeps/nptl/sys/procfs.h: New file.
1147 * nptl_db/Makefile (headers): Add it.
1148 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1149
59ff172f
RM
1150 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1151 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1152 * nptl/pthread_attr_setaffinity.c: Include it.
1153 * nptl/pthread_setattr_default_np.c: Likewise.
1154 * nptl/check-cpuset.h: New file.
1155
b9205857
RH
11562015-01-08 Richard Henderson <rth@redhat.com>
1157
1158 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1159 (CFLAGS-tst-execstack-prog.c): Likewise.
1160 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1161
1a0a8d15
CLT
11622015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1163 Sandra Loosemore <sandra@codesourcery.com>
1164 Andrew Jenner <andrew@codesourcery.com>
1165 Joseph Myers <joseph@codesourcery.com>
1166 Nathan Sidwell <nathan@codesourcery.com>
1167
1168 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1169 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1170 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1171 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1172 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1173 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1174 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
1175 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1176 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1177 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1178 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1179 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1180 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
1181 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1182 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1183 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1184 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1185
dd6e8af6
AZ
11862015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1187
1188 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1189 timespec struct member in syscall macro.
1190 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1191 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1192 first timeval struct member in syscall macro.
1193 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1194
8116321f
JM
11952015-01-07 Joseph Myers <joseph@codesourcery.com>
1196
1197 [BZ #17748]
1198 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1199 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1200 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1201 __feupdateenv and define as weak alias of __feupdateenv. Use
1202 libm_hidden_weak.
1203 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1204 libm_hidden_def.
1205 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1206 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1207 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1208 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1209 libm_hidden_def.
1210 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1211 __feupdateenv and define as weak alias of __feupdateenv. Use
1212 libm_hidden_weak.
1213 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1214 libm_hidden_def.
1215 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1216 __feupdateenv and define as weak alias of __feupdateenv. Use
1217 libm_hidden_weak.
1218 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1219 libm_hidden_def.
1220 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1221 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1222 (__feupdateenv): Likewise.
1223 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1224 __feupdateenv and define as weak alias of __feupdateenv. Use
1225 libm_hidden_weak.
1226 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1227 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1228 libm_hidden_def.
1229 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1230 function.
1231 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1232 libm_hidden_def.
1233 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1234 __feupdateenv instead of feupdateenv.
1235 (default_libc_feupdateenv_test): Likewise.
1236 (libc_feresetround_ctx): Likewise.
1237
882dfe18
AZ
12382015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1239
1240 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1241 prototype.
1242
39a12f8d
CM
12432015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1244
1245 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1246 COLL_SYM in a couple of places to avoid uninitialized variable
1247 wanings on tilegx gcc 4.8.2.
1248
dc400d7b
RE
12492015-01-07 Richard Earnshaw <rearnsha@arm.com>
1250
1251 * sysdeps/aarch64/strcpy.S: New file.
1252 * sysdeps/aarch64/stpcpy.S: New file.
1253 * NEWS: Updated.
1254
ec582ca0
RE
12552015-01-07 Richard Earnshaw <rearnsha@arm.com>
1256
1257 * sysdeps/aarch64/strrchr.S: New file.
1258 * NEWS: Updated.
1259
d5b1c5ed
EB
12602015-01-07 Eric Biggers <ebiggers3@gmail.com>
1261
1262 [BZ #17658]
1263 * stdlib/setenv.c: Fix memory leak when setting large,
1264 duplicate string.
1265
fb87ee96
VN
12662015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1267
60f046a8 1268 [BZ #17273]
fb87ee96
VN
1269 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1270 and tabs from buffer before parsing fstab entry.
1271 * misc/tst-mntent.c (main): Add test for mount entry with
1272 trailing spaces and tabs.
1273
cd42798a
JM
12742015-01-06 Joseph Myers <joseph@codesourcery.com>
1275
01238691
JM
1276 [BZ #17748]
1277 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1278 * math/fesetround.c (fesetround): Rename to __fesetround and
1279 define as weak alias of __fesetround. Use libm_hidden_weak.
1280 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1281 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1282 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1283 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1284 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1285 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1286 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1287 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1288 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1289 __fesetround_inline.
1290 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1291 __fesetround_inline instead of __fesetround.
1292 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1293 __fesetround and define as weak alias of __fesetround. Use
1294 libm_hidden_weak. Call __fesetround_inline instead of
1295 __fesetround.
1296 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1297 __fesetround and define as weak alias of __fesetround. Use
1298 libm_hidden_weak.
1299 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1300 Likewise.
1301 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1302 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1303 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1304 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1305 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1306 __fesetround and define as weak alias of __fesetround. Use
1307 libm_hidden_weak.
1308 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1309 __fesetround instead of fesetround.
1310 (default_libc_feholdexcept_setround): Likewise.
1311 (libc_feholdsetround_ctx): Likewise.
1312 (libc_feholdsetround_noex_ctx): Likewise.
1313
cd42798a
JM
1314 [BZ #17748]
1315 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1316 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1317 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1318 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1319 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1320 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1321 define as weak alias of __fesetenv. Use libm_hidden_weak.
1322 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1323 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1324 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1325 define as weak alias of __fesetenv. Use libm_hidden_weak.
1326 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1327 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1328 define as weak alias of __fesetenv. Use libm_hidden_weak.
1329 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1330 libm_hidden_def.
1331 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1332 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1333 Likewise.
1334 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1335 define as weak alias of __fesetenv. Use libm_hidden_weak.
1336 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1337 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1338 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1339 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1340 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1341 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1342 __fesetenv instead of fesetenv.
1343 (libc_feresetround_noex_ctx): Likewise.
1344 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1345 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1346 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1347 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1348 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1349 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1350 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1351 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1352 (__feupdateenv): Likewise.
1353 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1354 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1355 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1356 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1357
38949026
AJ
13582015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1359
1cf98e27 1360 [BZ #17806]
38949026
AJ
1361 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1362 addresses have been freed.
1363
5fe55e9c
AJ
13642015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1365
1366 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1367 and nservall.
1368
dc8ab018
OB
13692015-01-06 Ondřej Bílka <neleai@seznam.cz>
1370
1371 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1372 Clean up check_pf allocation pattern. addresses
1373
14bb4e57
AZ
13742015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1375
1376 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1377 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1378 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1379 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1380 * nptl/pthread_join.c (pthread_join): Likewise.
1381 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1382 * sysdeps/posix/waitid.c (__waitid): Likewise.
1383 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1384 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1385 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1386 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1387 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1388 Likewise.
1389 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1390 (__libc_pread64): Likewise.
1391 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1392 (__libc_pwrite): Likewise.
1393 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1394 (__libc_pwrite64): Likewsie.
1395 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1396 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1397 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1398 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1399 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1400 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1401 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1403 Likewise.
1404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1405 (__libc_pread64): Likewise.
1406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1407 Likewise.
1408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1409 (__libc_pwrite64): Likewise.
1410 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1411 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1412 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1413 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1414 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1415 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1416 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1417 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1418 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1419 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1420 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1421 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1422 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1423 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1424 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1425 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1426 Likewise.
1427
10a5e112
AS
14282015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1429
1430 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1431 (CFLAGS-test-double.c): Likewise.
1432 (CFLAGS-test-ldouble.c): Likewise.
1433 (CPPFLAGS-test-ifloat.c): Likewise.
1434 (CPPFLAGS-test-idouble.c): Likewise.
1435 (CPPFLAGS-test-ildoubl.c): Likewise.
1436 (CFLAGS-test-test-fenv.c): Remove variable.
1437 (CFLAGS-test-misc.c): Likewise.
1438
57ada0e7
L
14392015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1440
1441 [BZ #17797]
1442 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1443 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1444 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1445 CLOCKS_PER_SEC == 1000000.
1446 * time/clocktest.c (main): Replace %ld with %jd and cast to
1447 intmax_t.
1448
46abb64d
RM
14492015-01-05 Roland McGrath <roland@hack.frob.com>
1450
1451 * sysdeps/generic/unwind-resume.h: New file.
1452 * sysdeps/gnu/unwind-resume.c: Include it.
1453 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1454 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1455 argument list.
1456 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1457 global rather than static.
1458 (_Unwind_Resume): Update user.
1459 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1460 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1461 rather than static. Add __attribute__ ((cold)).
1462 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1463 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1464 * sysdeps/arm/arm-unwind-resume.S: New file.
1465 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1466 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1467 * sysdeps/arm/Makefile [$(subdir) = csu]
1468 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1469 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1470 Add rt-arm-unwind-resume.
1471 [$(subdir) = nptl]
1472 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1473 Add pt-arm-unwind-resume.
1474 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1475 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1476
ef9faf13
JM
14772015-01-05 Joseph Myers <joseph@codesourcery.com>
1478
1479 [BZ #17748]
1480 * include/fenv.h (__feholdexcept): Declare. Use
1481 libm_hidden_proto.
1482 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1483 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1484 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1485 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1486 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1487 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1488 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1489 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1490 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1491 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1492 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1493 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1494 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1495 (feholdexcept): Likewise.
1496 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1497 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1498 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1499 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1500 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1501 __feholdexcept instead of feholdexcept.
1502 (default_libc_feholdexcept_setround): Likewise.
1503
295a453e
SE
15042015-01-05 Steve Ellcey <sellcey@imgtec.com>
1505
1506 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1507 to avoid using stl/str to align destination.
1508
882c4b9f
SE
15092015-01-05 Steve Ellcey <sellcey@imgtec.com>
1510
1511 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1512
ac4c11f5
JM
15132015-01-05 Joseph Myers <joseph@codesourcery.com>
1514
1515 [BZ #17796]
1516 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1517 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1518 Define as weak alias not strong alias.
1519
03403e30
SE
15202015-01-05 Steve Ellcey <sellcey@imgtec.com>
1521
1522 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1523 bltzal with addiupc.
1524 (RTLD_START): Ditto.
1525
1dca195e
CM
15262015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1527
00b8b9ba
SP
1528 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1529 for __vdso_* functions in declarations.
1530 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1531 definitions.
1532 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1533 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 1534
1dca195e
CM
1535 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1536 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1537 function with cast from llround().
1538 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1539 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1540 Define.
1541
a287953a
JM
15422015-01-05 Joseph Myers <joseph@codesourcery.com>
1543
ab70da77
JM
1544 [BZ #17793]
1545 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1546 Define as weak alias not strong alias.
1547
b8986484
JM
1548 [BZ #17635]
1549 * ctype/ctype-c99.c: New file. isblank implementation moved from
1550 ...
1551 * ctype/ctype-extn.c: ... here.
1552 (__isblank_l): Move to ...
1553 * ctype/ctype-c99_l.c: ... here. New file.
1554 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1555 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1556 Remove variable.
1557 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1558 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1559 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1560 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1561 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1562
a287953a
JM
1563 [BZ #17777]
1564 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1565 (posix_fadvise64): Define as weak alias not strong alias.
1566 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1567 (posix_fallocate64): Likewise.
1568 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1569 Remove variable.
1570 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1571 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1572 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1573 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1574 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1575
b1efe3bb
MF
15762015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1577
1578 [BZ #16191]
1579 * NEWS: Mention bug fix.
1580 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1581 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1582 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1583 (HOST_STACK_END_ADDR): Likewise.
1584
9706dc5f
JM
15852015-01-02 Joseph Myers <joseph@codesourcery.com>
1586
b93c2205
JM
1587 [BZ #17748]
1588 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1589 * math/fegetround.c (fegetround): Rename to __fegetround and
1590 define as weak alias of __fegetround. Use libm_hidden_weak.
1591 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1592 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1593 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1594 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1595 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1596 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1597 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1598 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1599 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1600 Undefine after rather than before function definition; use
1601 parentheses around function name in definition.
1602 (__fegetround): Also undefine macro after function definition.
1603 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1604 __fegetround and define as weak alias of __fegetround. Use
1605 libm_hidden_weak. Do not undefine as macro.
1606 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1607 Likewise.
1608 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1609 __fegetround and define as weak alias of __fegetround. Use
1610 libm_hidden_weak.
1611 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1612 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1613 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1614 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1615 __fegetround and define as weak alias of __fegetround. Use
1616 libm_hidden_weak.
1617 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1618 __fegetround instead of fegetround.
1619
253a59cc
JM
1620 [BZ #17782]
1621 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1622 Condition macro definition on [__USE_MISC].
1623
27dae011
JM
1624 [BZ #17781]
1625 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1626 (struct sigaction): Change type of sa_flags field to int.
1627
172019c0
JM
1628 [BZ #17780]
1629 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1630 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1631 __glibc_reserved0.
1632
522ad1d6
JM
1633 * nptl/version.c (banner): Use single year in copyright notice.
1634
9706dc5f
JM
1635 * NEWS: Update copyright dates.
1636 * catgets/gencat.c (print_version): Likewise.
1637 * csu/version.c (banner): Likewise.
1638 * debug/catchsegv.sh: Likewise.
1639 * debug/pcprofiledump.c (print_version): Likewise.
1640 * debug/xtrace.sh (do_version): Likewise.
1641 * elf/ldconfig.c (print_version): Likewise.
1642 * elf/ldd.bash.in: Likewise.
1643 * elf/pldd.c (print_version): Likewise.
1644 * elf/sotruss.sh: Likewise.
1645 * elf/sprof.c (print_version): Likewise.
1646 * iconv/iconv_prog.c (print_version): Likewise.
1647 * iconv/iconvconfig.c (print_version): Likewise.
1648 * locale/programs/locale.c (print_version): Likewise.
1649 * locale/programs/localedef.c (print_version): Likewise.
1650 * login/programs/pt_chown.c (print_version): Likewise.
1651 * malloc/memusage.sh (do_version): Likewise.
1652 * malloc/memusagestat.c (print_version): Likewise.
1653 * malloc/mtrace.pl: Likewise.
1654 * manual/libc.texinfo: Likewise.
1655 * nptl/version.c (banner): Likewise.
1656 * nscd/nscd.c (print_version): Likewise.
1657 * nss/getent.c (print_version): Likewise.
1658 * nss/makedb.c (print_version): Likewise.
1659 * posix/getconf.c (main): Likewise.
1660 * scripts/test-installation.pl: Likewise.
1661 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1662
b8607aac
WN
16632015-01-02 Will Newton <will.newton@linaro.org>
1664
1665 * sysdeps/arm/armv7/configure: Removed.
1666 * sysdeps/arm/armv7/configure.ac: Likewise.
1667
b168057a
JM
16682015-01-02 Joseph Myers <joseph@codesourcery.com>
1669
1670 * All files with FSF copyright notices: Update copyright dates
1671 using scripts/update-copyrights.
1672 * intl/plural.c: Regenerated.
1673 * locale/programs/charmap-kw.h: Likewise.
1674 * locale/programs/locfile-kw.h: Likewise.
1675
b217c15f
SP
16762015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1677
1678 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1679
73a268c7
JM
16802014-12-31 Joseph Myers <joseph@codesourcery.com>
1681
1682 [BZ #17748]
1683 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1684 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1685 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1686 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1687 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1688 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1689 define as weak alias of __fegetenv. Use libm_hidden_weak.
1690 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1691 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1692 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1693 define as weak alias of __fegetenv. Use libm_hidden_weak.
1694 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1695 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1696 define as weak alias of __fegetenv. Use libm_hidden_weak.
1697 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1698 libm_hidden_def.
1699 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1700 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1701 Likewise.
1702 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1703 define as weak alias of __fegetenv. Use libm_hidden_weak.
1704 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1705 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1706 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1707 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1708 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1709 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1710 __fegetenv instead of fegetenv.
1711 (libc_feholdsetround_noex_ctx): Likewise.
1712
0bd95672
MF
17132014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1714
1715 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1716 (Elf_MIPS_ABIFlags_v0): New structure.
1717 (EF_MIPS_FP64): Define.
1718 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1719 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1720 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1721 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1722 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1723 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1724 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1725 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1726 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1727 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1728 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1729 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1730 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1731 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1732 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1733 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1734 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1735 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1736 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1737 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1738 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1739 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1740 field.
1741 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1742 EF_MIPS_FP64.
1743 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1744 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1745 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1746 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1747 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1748 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1749 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1750 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1751 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1752 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1753 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1754 record the current FP ABI extension.
1755 (mips-mode-switch): Define to show if kernel headers support mode
1756 switching.
1757 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1758 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1759 supported SYSV ABI version to 3.
1760 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1761 feature.
1762
f59ad976
RS
17632014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1764 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1765
1766 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1767 path.
1768 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1769
4a3d3999
JM
17702014-12-31 Joseph Myers <joseph@codesourcery.com>
1771
1772 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1773 __fegetround and redefine to call __fegetround. Remove condition
1774 on [!__NO_MATH_INLINES].
1775 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1776 function.
1777 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1778 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1779 Remove macro.
1780 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1781 instead of <fenv_libc.h>.
1782 (__llrintl): Call fegetround instead of __fegetround.
1783 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1784 instead of <fenv_libc.h>.
1785 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1786 (__lrintl): Call fegetround instead of __fegetround.
1787 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1788 instead of <fenv_libc.h>.
1789 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1790 (__rintl): Call fegetround instead of __fegetround.
1791
195f3afc
SP
17922014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1793
1794 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1795 arrays.
1796
7062bd42
L
17972014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1798
1799 [BZ #17775]
1800 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1801 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1802 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1803
07256e18
AS
18042014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1805
1806 * sysdeps/i386/tls-macros.h: Include <features.h>.
1807 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1808 (TLS_IE): Likewise.
1809 (TLS_LD): Likewise.
1810 (TLS_GD): Likewise.
1811 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1812 define for GCC >= 5.0.
1813
1ff950ad
CM
18142014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1815
1816 * math/test-fenv.c (test_single_exception, set_single_exc,
1817 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1818 feexcp_mask_test, feenable_test, fe_single_test): Add
1819 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1820 case where they are not used.
1821 * math/libm-test.inc: Likewise.
1822 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1823 unused in the absence of FP rounding/exception support.
1824 * stdio-common/tst-printf-round.c: Likewise.
1825 * stdlib/tst-strtod-round.c: Likewise.
1826 * stdlib/tst-strtod-underflow.c: Likewise.
1827
0747f818
JM
18282014-12-30 Joseph Myers <joseph@codesourcery.com>
1829
1830 [BZ #17723]
1831 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1832 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1833 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1834 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1835 libm_hidden_weak.
1836 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1837 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1838 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1839 libm_hidden_def.
1840 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1841 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1842 libm_hidden_weak.
1843 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1844 Likewise.
1845 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1846 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1847 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1848 libm_hidden_weak.
1849 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1850 libm_hidden_def.
1851 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1852 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1853 (__feraiseexcept): Likewise.
1854 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1855 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1856 libm_hidden_weak.
1857 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1858 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1859 libm_hidden_def.
1860 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1861 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1862 Use libm_hidden_def.
1863 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1864 libm_hidden_def.
1865 (feraiseexcept): Define as weak not strong alias. Use
1866 libm_hidden_weak.
1867 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1868 New inline function. Factored out of ...
1869 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1870 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1871 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1872 feraiseexcept.
1873 * math/w_acos.c (__acos): Likewise.
1874 * math/w_asin.c (__asin): Likewise.
1875 * math/w_ilogb.c (__ilogb): Likewise.
1876 * math/w_j0.c (y0): Likewise.
1877 * math/w_j1.c (y1): Likewise.
1878 * math/w_jn.c (yn): Likewise.
1879 * math/w_log.c (__log): Likewise.
1880 * math/w_log10.c (__log10): Likewise.
1881 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1882 * sysdeps/aarch64/fpu/math_private.h
1883 (libc_feupdateenv_test_aarch64): Likewise.
1884 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1885 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1886 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1887 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1888 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1889 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1890 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1891 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1892 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1893 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1894
8d2b2763
L
18952014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1896
1897 [BZ #17732]
1898 * io/test-utime.c (main): Replace %ld with %jd and cast to
1899 intmax_t.
41fad830 1900 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
1901 * nptl/tst-mutex5.c: Include <stdint.h>.
1902 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
1903 * posix/tst-regex.c (run_test): Likewise.
1904 (run_test_backwards): Likewise.
5d619de4
L
1905 * rt/tst-clock.c: Include <stdint.h>.
1906 (clock_test): Replace %ld with %jd and cast to intmax_t.
1907 * rt/tst-cpuclock1.c: Include <stdint.h>.
1908 (do_test): Replace %lu with %ju and cast to uintmax_t.
1909 * rt/tst-cpuclock2.c: Include <stdint.h>.
1910 (do_test): Replace %lu with %ju and cast to uintmax_t.
1911 * rt/tst-mqueue1.c: Include <stdint.h>.
1912 (check_attrs): Replace %ld with %jd and cast to intmax_t.
1913 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1914 intmax_t.
1915 * rt/tst-mqueue4.c (do_test): Likewise.
1916 * rt/tst-timer4.c: Include <stdint.h>.
1917 (check_ts): Replace %ld with %jd and cast to intmax_t.
1918 (do_test): Likewise.
ad86fbc3
L
1919 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1920 and cast to intmax_t.
37f46900 1921 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
1922 * time/clocktest.c (main): Likewise.
1923 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 1924 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 1925
8b4416d8
AS
19262014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1927 H.J. Lu <hongjiu.lu@intel.com>
1928
1929 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1930 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1931 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1932 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1933 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1934 version if bit_Fast_Unaligned_Load is set.
1935 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1936 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1937 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1938 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1939 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1940 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1941 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1942 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1943 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1944 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1945 to 4.
1946 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1947 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1948 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1949 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1950
e47b8d3b
CM
19512014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
1952
6d6d7fde
CM
1953 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1954 instead of #if to avoid a Wundef warning.
1955 * stdlib/tst-limits.c (do_test): Likewise.
1956
cd2c37c9
CM
1957 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1958 parallel other exception macros.
1959 (fegetenv): Convert from macro to extern inline so that it applies
1960 retroactively to inline functions already seen by the compiler.
1961 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1962
e47b8d3b
CM
1963 * posix/Makefile (before-compile): Use $(objpfx) for
1964 posix-conf-vars-def.h.
1965
4a6aca7b
SP
19662014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1967
7910c2ae
SP
1968 * posix/getconf.c (main): Use size_t for type of I.
1969 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1970 NSPEC.
1971
50cbbaa9
SP
1972 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1973 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1974 * posix/posix-envs.def: Likewise.
1975 * sysdeps/posix/sysconf.c: Likewise.
1976 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1977 (specs): Remove array.
1978 * scripts/gen-posix-conf-vars.awk: Support generation of specs
1979 array.
1980
3b566046
SP
1981 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1982 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1983 (__sysconf): Use CONF_IS_* macros.
1984
4a6aca7b
SP
1985 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1986 ($(objpfx)posix-conf-vars-def.h): New target.
1987 * posix/posix-conf-vars.list: New file.
1988 * posix/posix-conf-vars.h: New file.
1989 * posix/confstr.c: Include posix-conf-vars.h.
1990 (confstr): Use CONF_IS_* macros.
1991 * posix/posix-envs.def: Include posix-conf-vars.h. Use
1992 CONF_IS_* macros.
1993 * scripts/gen-posix-conf-vars.awk: New file.
1994
7c1395a7
CM
19952014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
1996
0025b4cc
CM
1997 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1998 fegetround): Add no-op macros to avoid linknamespace issues.
1999
d8aaf74b
CM
2000 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2001 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2002
5d24aa60
CM
2003 * sysdeps/unix/sysv/linux/tile/sysdep.h
2004 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2005 assembly-specific section to avoid a redefinition warning.
2006
7c1395a7
CM
2007 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2008 long before casting to pointer to avoid a cast warning.
2009
3c87c616
CM
20102014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2011
2012 * sysdeps/tile/tilegx/Implies: New file.
2013
f559d8cf
RE
20142014-12-23 Richard Earnshaw <rearnsha@arm.com>
2015
2016 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2017
7d81e8d6
FW
20182014-12-23 Florian Weimer <fweimer@redhat.com>
2019
2020 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2021
90aa3d09
JM
20222014-12-22 Joseph Myers <joseph@codesourcery.com>
2023
2024 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2025 not define.
2026 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2027 <kernel-features.h>.
2028 (__utimes) [__NR_utimes]: Make code unconditional.
2029 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2030 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2031 (__ASSUME_UTIMES): Do not undefine.
2032 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2033 (__ASSUME_UTIMES): Likewise.
2034 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2035 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2036 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2037 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2038
4c0c0e2a
SE
20392014-12-22 Steve Ellcey <sellcey@imgtec.com>
2040
2041 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2042
0dacd7a3
CM
20432014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2044
b638f96a
CM
2045 [BZ #17747]
2046 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2047 alias to weak alias for j0l, y0l.
2048 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2049 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2050
0dacd7a3
CM
2051 [BZ #17746]
2052 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2053 conversion.
2054
528479c4
SE
20552014-12-22 Steve Ellcey <sellcey@imgtec.com>
2056
2057 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2058 to zero if not already defined.
2059
f56f9124
JM
20602014-12-22 Joseph Myers <joseph@codesourcery.com>
2061
2062 [BZ #17724]
2063 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2064 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2065 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2066 (char *) casts added.
2067 * sysdeps/ieee754/k_standardf.c: New file.
2068 * sysdeps/ieee754/k_standardl.c: Likewise.
2069 * math/Makefile (libm-support): Remove k_standard.
2070 (libm-calls): Add k_standard.
2071
8622d556
WD
20722014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2073
2074 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2075 Optimize to avoid an unnecessary FPCR read.
2076
f3806bdb
WD
20772014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2078
2079 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2080 Optimize to reduce FPCR/FPSR accesses.
2081
9b47df58
WD
20822014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2083
2084 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2085 Call libc_fetestexcept_aarch64.
2086
97be3cac
WD
20872014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2088
2089 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2090 Call libc_fesetround_aarch64.
2091
935ab817
JM
20922014-12-22 Joseph Myers <joseph@codesourcery.com>
2093
2094 [BZ #17733]
2095 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2096 (__bind): Do not define as weak alias.
2097 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2098 define.
2099 (__getsockname): Do not define as weak alias.
2100
cc8623f1
WN
21012014-12-22 Will Newton <will.newton@linaro.org>
2102
2103 * manual/install.texi: Document that we require bison 2.7
2104 or above.
2105 * INSTALL: Regenerate.
2106 * configure.ac: Use AC_CHECK_PROG_VER instead of
2107 AC_PATH_PROG when checking for bison and check for
2108 version 2.7 or above.
2109 * configure: Regenerate.
2110
a19ca65a
CM
21112014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2112
92901170 2113 [BZ #17745]
e969965a
CM
2114 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2115 * sysdeps/tile/ffsll.c (ffsll): To here.
2116
a19ca65a
CM
2117 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2118
050f7298
L
21192014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2120
2121 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2122 if not defined.
2123 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2124 definition.
2125 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2126 hidden ___tls_get_addr.
2127 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2128 hidden __tls_get_addr.
2129 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2130 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2131 Likewise.
2132
6df5547e
AS
21332014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2134
2135 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2136 _dl_init call.
2137
7432d613
L
21382014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2139
2140 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2141 from "call _dl_init@PLT".
2142 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 2143
98fe149e
AK
21442014-12-21 Anders Kaseorg <andersk@mit.edu>
2145
2146 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2147 guarantees.
2148
d12455f5
CM
21492014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2150
2151 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2152
95dee05f
CM
21532014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2154
92901170 2155 [BZ #17744]
95dee05f
CM
2156 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2157 strnlen.
2158
2ef4b74a
SE
21592014-12-19 Steve Ellcey <sellcey@imgtec.com>
2160
2161 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2162 of multu on MIPSr6.
2163 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2164 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2165 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2166 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2167 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2168
21692014-12-19 Steve Ellcey <sellcey@imgtec.com>
2170
2171 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2172 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2173 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2174 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 2175 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
2176 mips32r6/mips64r6.
2177 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2178
3eb38795
OB
21792014-12-19 Ondřej Bílka <neleai@seznam.cz>
2180
2181 * string/strncat.c (STRNCAT): Simplify implementation.
2182
6d4188dd
DM
21832014-12-19 David S. Miller <davem@davemloft.net>
2184
0d4ba8be
DM
2185 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2186 access the quad as both a long double and as a series of 4 words.
2187
6d4188dd
DM
2188 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2189 link_map->l_info array access.
2190
4ef91cdc
CM
21912014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2192
804c54f7
CM
2193 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2194
4ef91cdc
CM
2195 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2196 * math/atest-exp2.c (TIMEOUT): Likewise.
2197 * math/atest-sincos.c (TIMEOUT): Likewise.
2198
afd176d6
L
21992014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2200
2201 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2202 -Wno-error with -fno-builtin-lround.
2203
a4a43a90
TR
22042014-12-19 Torvald Riegel <triegel@redhat.com>
2205
2206 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2207 Contains futex constants and functions moved over from ...
2208 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2209 <lowlevellock-futex.h>.
2210 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2211 (lll_timedwait_tid): Add comments and parentheses around macro
2212 arguments.
2213
76f71081
TR
22142014-12-19 Torvald Riegel <triegel@redhat.com>
2215
2216 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2217 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2218 (__lll_private_flag): Remove.
2219 (lll_futex_wait): Likewise.
2220 (lll_futex_timed_wait): Likewise.
2221 (lll_futex_wake): Likewise.
2222 (lll_futex_requeue): Likewise.
2223 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2224 (__lll_timedwait_tid): Spell out argument names.
2225 (lll_timedwait_tid): Add comments and parentheses around macro
2226 arguments.
2227 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2228 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2229
6b814909
TR
22302014-12-19 Torvald Riegel <triegel@redhat.com>
2231
2232 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2233 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2234 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2235 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2236 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2237 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2238 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2239 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2240 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2241 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2242 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2243 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2244 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2245 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2246 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2247 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2248 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2249 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2250 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2251
9cd4d4ab
L
22522014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2253
2254 * sysdeps/x86_64/x32/Makefile: New file.
2255
c9c1a2d0
L
22562014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2257
2258 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2259 1L with (mp_limb_t) 1.
2260
af102d95
RM
22612014-12-17 Roland McGrath <roland@hack.frob.com>
2262
dd690454
RM
2263 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2264 * nptl/libc_pthread_init.c: ... here.
2265 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2266 * nptl/register-atfork.c: ... here.
2267
74eb826c
RM
2268 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2269 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2270 Use assert_perror to check its return value.
2271 (__gai_create_helper_thread): Likewise.
2272
c9ce306b
RM
2273 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2274
af102d95
RM
2275 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2276
8ac5a76a
JM
22772014-12-17 Joseph Myers <joseph@codesourcery.com>
2278
ea41469b
JM
2279 [BZ #17725]
2280 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2281 __profil_counter.
2282 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2283 Likewise.
2284 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2285 Likewise.
2286 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2287 Likewise.
2288 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2289 (profil_counter): Likewise.
2290 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2291 (profil_counter): Likewise.
2292 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2293 Likewise.
2294 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2295 Likewise.
2296 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2297 (profil_counter): Likewise.
2298 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2299 Likewise.
2300 [!__profil_counter] (profil_counter): Define as weak alias of
2301 __profil_counter.
2302 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2303 (profil_counter): Rename to __profil_counter.
2304 [!__profil_counter] (profil_counter): Define as weak alias of
2305 __profil_counter.
2306 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2307 (profil_counter): Rename to __profil_counter.
2308 [!__profil_counter] (profil_counter): Define as weak alias of
2309 __profil_counter.
2310 * sysdeps/posix/profil.c: Update comment referring to
2311 profil_counter.
2312 (__profil): Use __profil_counter instead of profil_counter.
2313 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2314 __profil_counter. Use __profil_counter_ushort and
2315 __profil_counter_uint in definitions.
2316 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2317 instead of profil_counter_uint and profil_counter_ushort.
2318
8ac5a76a
JM
2319 [BZ #17722]
2320 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2321 define as weak alias of __inet_makeaddr.
2322 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2323 as weak alias of __inet_addr.
2324 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2325 as weak alias of __inet_pton. Use libc_hidden_weak.
2326 * include/arpa/inet.h (__inet_pton): Declare. Use
2327 libc_hidden_proto.
2328 (inet_makeaddr): Don't use libc_hidden_proto.
2329 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2330 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2331 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2332 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2333 Remove variable.
2334 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2335 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2336
66ce3cb1
SE
23372014-12-17 Steve Ellcey <sellcey@imgtec.com>
2338
2339 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2340
d22ce01b
SL
23412014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2342
2343 * stdio-common/bug-vfprintf-nargs.c (do_test):
2344 Cast value to intptr_t to avoid format warning
2345 for usage with PRIdPTR printing macro.
2346
eca2772b
SL
23472014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2348
2349 * libio/tst-widetext.c (do_test):
2350 Use format type %td instead of %Zd for ptrdiff_t
2351 in order to avoid format warning.
2352
bdf079da
AS
23532014-12-17 Andreas Schwab <schwab@suse.de>
2354
2355 * nscd/mem.c (gc): Add size_t cast to match printf format.
2356
3eb5d2fc
RM
23572014-12-16 Roland McGrath <roland@hack.frob.com>
2358
2359 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2360 (init): Apply PTR_MANGLE to pointers before storing them.
2361 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2362 before using them.
2363
d003ada2
JM
23642014-12-16 Joseph Myers <joseph@codesourcery.com>
2365
380292ba
JM
2366 [BZ #17719]
2367 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2368 define as weak alias of __memrchr.
2369 (__memrchr): Do not define as strong alias of memrchr.
2370 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2371 Remove variable.
2372 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2373 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2374 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2375
9a44d530
JM
2376 [BZ #17717]
2377 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2378 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2379 (if_indextoname): Rename to __if_indextoname and define as weak
2380 alias of __if_indextoname. Use libc_hidden_weak.
2381 (if_freenameindex): Rename to __if_freenameindex and define as
2382 weak alias of __if_freenameindex.
2383 (if_nameindex): Rename to __if_nameindex and define as weak alias
2384 of __if_nameindex.
2385 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2386 __if_nametoindex and define as weak alias of __if_nametoindex.
2387 Use libc_hidden_weak.
2388 (if_freenameindex): Rename to __if_freenameindex and define as
2389 weak alias of __if_freenameindex.
2390 (if_nameindex): Rename to __if_nameindex and define as weak alias
2391 of __if_nameindex.
2392 (if_indextoname): Rename to __if_indextoname and define as weak
2393 alias of __if_indextoname. Use libc_hidden_weak.
2394 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2395 __if_nametoindex and define as weak alias of __if_nametoindex.
2396 Use libc_hidden_weak.
2397 (if_freenameindex): Rename to __if_freenameindex and define as
2398 weak alias of __if_freenameindex. Use libc_hidden_weak.
2399 (if_nameindex_netlink): Use __if_freenameindex instead of
2400 if_freenameindex.
2401 (if_nameindex): Rename to __if_nameindex and define as weak alias
2402 of __if_nameindex. Use libc_hidden_weak.
2403 (if_indextoname): Rename to __if_indextoname and define as weak
2404 alias of __if_indextoname. Use libc_hidden_weak.
2405 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2406 libc_hidden_proto.
2407 [!_ISOMAC] (__if_freenameindex): Likewise.
2408 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2409 if_nametoindex.
2410 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2411 variable.
2412 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2413 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2414 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2415 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2416 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2417 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2418 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2419
d003ada2
JM
2420 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2421 Remove variable.
2422 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2423 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2424
a0d424ef
SP
24252014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2426
0cd85520
SP
2427 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2428 subscript above bounds'
2429
a0d424ef
SP
2430 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2431 bounds.
2432
0e426475
AS
24332014-12-16 Arjun Shankar <arjun.is@lostca.se>
2434
8b460906
AS
2435 * libio/tst-fopenloc.c: Use test-skeleton.c.
2436
fa13e15b
AS
2437 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2438 (entry): Rename to ITEM.
2439 (do_test, comp): Adjust.
2440
0e426475
AS
2441 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2442
4f646bce
TR
24432014-12-16 Torvald Riegel <triegel@redhat.com>
2444
2445 * string/tester.c: Include <libc-internal.h>.
2446 (test_memset): Ignore -Wmemset-transposed-args.
2447
a07c4427
TR
24482014-12-16 Torvald Riegel <triegel@redhat.com>
2449
2450 * misc/tst-mntent2.c (do_test): Fix warning.
2451
1469f466
TR
24522014-12-16 Torvald Riegel <triegel@redhat.com>
2453
2454 * elf/tst-unique4lib.cc(a): Mark as used.
2455
11e3417a
FW
24562014-12-16 Florian Weimer <fweimer@redhat.com>
2457
2458 [BZ #17630]
2459 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2460 names.
2461
ae61fc7b
AM
24622014-12-16 Allan McRae <allan@archlinux.org>
2463
2464 * stdio-common/Makefile (tests): Re-add bug26.
2465
363a9899
OB
24662014-12-15 Ondřej Bílka <neleai@seznam.cz>
2467
2468 [BZ #17657]
2469 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2470 static array.
2471
d52c62df
TR
24722014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2473
2474 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2475 (__lll_lock_wait): Likewise.
2476 (__lll_timedlock_wait): Likewise.
2477 (__lll_timedwait_tid): Likewise.
2478 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2479 (__lll_robust_timedlock_wait): Likewise.
2480 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2481 (lll_cond_trylock): Likewise.
2482 (__lll_lock): Likewise.
2483 (__lll_robust_lock): Likewise.
2484 (__lll_cond_lock): Likewise.
2485 (lll_robust_cond_lock): Likewise.
2486 (__lll_timedlock): Likewise.
2487 (__lll_robust_timedlock): Likewise.
2488 (__lll_unlock): Likewise.
2489 (__lll_robust_unlock): Likewise.
2490 (lll_wait_tid): Likewise.
2491 (lll_timedwait_tid): Likewise.
2492
045a6bcd
TR
24932014-12-15 Torvald Riegel <triegel@redhat.com>
2494
2495 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2496
7f786dc1
TR
24972014-12-15 Torvald Riegel <triegel@redhat.com>
2498
2499 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2500
e7e21cba
AZ
25012014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2502
2503 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2504 * stdio-common/tst-sprintf.c: Likewise.
2505
bc89c0fc
TR
25062014-12-15 Torvald Riegel <triegel@redhat.com>
2507
2508 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2509
a5357b7c
JL
25102014-12-15 Jeff Law <law@redhat.com>
2511
2512 [BZ #16617]
2513 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2514 on the heap. (CVE-2012-3406)
2515 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2516 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2517 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2518
3a12c70f
WN
25192014-12-15 Will Newton <will.newton@linaro.org>
2520
2521 * manual/install.texi: Bump required version of texinfo
2522 to 4.7 from 4.5.
2523 * INSTALL: Regenerated.
2524 * configure.ac: Check for makeinfo version 4.7 and above.
2525 * configure: Regenerated.
2526
e4f639e4
RM
25272014-12-12 Roland McGrath <roland@hack.frob.com>
2528
2529 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2530 PREFIX, string constant to insert between directory and name.
2531 * sysdeps/posix/shm_open.c: Update caller.
2532 * sysdeps/posix/shm_unlink.c: Likewise.
2533 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2534 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2535 (SEM_SHM_PREFIX): New macro.
2536 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2537 [$(have-thread-library) = no].
2538 * nptl/Makefile (libpthread-routines): Add shm-directory.
2539 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2540 * sysdeps/nptl/shm-directory.h: New file.
2541 * sysdeps/posix/shm-directory.c
2542 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2543 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2544 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2545 INTERNAL_SYSCALL.
2546 (__where_is_shmfs): Function removed.
2547 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2548 Variables removed.
2549 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2550 Use SHM_GET_NAME.
2551 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2552
2553 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2554 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2555 unconditional for use inside libpthread.
2556 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2557
439c43f6
RM
25582014-12-12 Roland McGrath <roland@hack.frob.com>
2559
c76d1ff5
RM
2560 * nptl/pthread_getaffinity.c: New file.
2561 * nptl/pthread_setaffinity.c: New file.
2562 * nptl/pthread_getname.c: New file.
2563 * nptl/pthread_setname.c: New file.
2564
439c43f6
RM
2565 * nptl/pthread_create.c (START_THREAD_DEFN)
2566 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2567
48e435cd
SL
25682014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2569 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2570
2571 * resolv/res_send.c (send_vc): Disable warning resplen may
2572 be used uninitialized.
2573
9d9c0019
SL
25742014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2575
2576 * nptl/tst-mutex6.c
2577 (ATTR_NULL): New define checks ATTR against NULL.
2578 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2579 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2580
9173840b
JL
25812014-12-11 James Lemke <jwlemke@codesourcery.com>
2582
2583 [BZ #17581]
2584 * malloc/hooks.c
2585 (mem2mem_check): Revert my previous change.
2586 (malloc_check_get_size): Revert my previous change.
2587 (mem2chunk_check): Revert my previous change.
2588
78e21c5d
RM
25892014-12-11 Roland McGrath <roland@hack.frob.com>
2590
2591 * sysdeps/posix/shm-directory.c: New file.
2592 * sysdeps/posix/shm-directory.h: New file.
2593 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2594 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2595 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2596 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2597 Transmute EPERM to EACCES.
2598 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2599 from ...
2600 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2601 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2602
f82c43af
KK
26032014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2604
2605 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2606 pointer and cast to uintptr_t.
2607 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2608 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2609 Add cast to avoid warning.
2610 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2611
fc00cf7b
JM
26122014-12-11 Joseph Myers <joseph@codesourcery.com>
2613
2614 * nptl/semaphore.h: Move to ...
2615 * sysdeps/pthread/semaphore.h: ... here.
2616 * Makefile (installed-headers): Change nptl/semaphore.h to
2617 sysdeps/pthread/semaphore.h.
2618
1c4053db
RM
26192014-12-11 Roland McGrath <roland@hack.frob.com>
2620
73b0c1a1
RM
2621 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2622 generated error format strings.
2623
1c4053db
RM
2624 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2625 -Wformat-extra-args warnings for scanf formats.
2626 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2627 test of zero-length format (duh).
2628 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2629 corner-case scanf format test.
2630 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2631 generated fprintf format string.
2632 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2633 corner-case sprintf format tests.
2634 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2635 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2636 -Wformat-extra-args warnings throughout.
2637 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2638 (CFLAGS-scanf4.c): Likewise.
2639 (CFLAGS-scanf7.c): Likewise.
2640 (CFLAGS-tst-sprintf.c): Likewise.
2641 (CFLAGS-tst-printf.c): Likewise.
2642 (CFLAGS-tst-printfsz.c): Likewise.
2643
47d51f4f
JM
26442014-12-11 Joseph Myers <joseph@codesourcery.com>
2645
a1edbf3c
JM
2646 * include/cpio.h: New file.
2647 * include/fmtmsg.h: Likewise.
2648
47d51f4f
JM
2649 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2650 corresponding format argument to size_t.
2651 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2652 arguments.
2653 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2654 corresponding format argument to size_t.
2655 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2656 arguments.
2657 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2658 corresponding format argument to size_t.
2659 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2660 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2661 (CFLAGS-tst-mbswcs2.c): Likewise.
2662 (CFLAGS-tst-mbswcs3.c): Likewise.
2663 (CFLAGS-tst-mbswcs4.c): Likewise.
2664 (CFLAGS-tst-mbswcs5.c): Likewise.
2665 (CFLAGS-tst-trans.c): Likewise
2666
e9813cfb
RM
26672014-12-11 Roland McGrath <roland@hack.frob.com>
2668
2669 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2670 rather than assuming they won't contain any '%'s.
2671
f627ca82
CM
26722014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2673
2674 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2675 inhibit_loop_to_libcall to avoid recursive calls.
2676 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2677 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2678
7f296942
AZ
26792014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2680
2681 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2682 prototype.
2683
d0276e18
SE
26842014-12-11 Steve Ellcey <sellcey@imgtec.com>
2685
2686 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2687 integer value instead of boolean.
2688
fc56e970
SE
26892014-12-11 Steve Ellcey <sellcey@imgtec.com>
2690
2691 * malloc/malloc.c: Fix powerof2 check.
2692
40e53917
SL
26932014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2694
2695 * locale/programs/locfile.h (maybe_swap_uint32):
2696 Remove inline and add unused attribute.
2697
1ea166df
SL
26982014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2699
9d9c0019 2700 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
2701 Truncating assembler expression to a .long expression.
2702
acf869f4
AS
27032014-12-11 Andreas Schwab <schwab@suse.de>
2704
2705 * elf/rtld.c (struct map_args): Constify str member.
2706 (do_preload): Constify fname argument.
2707
9d969099
AZ
27082014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2709
2710 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2711 constants definition.
2712
da5bcaa4
AS
27132014-12-11 Andreas Schwab <schwab@suse.de>
2714
b0a3c164
AS
2715 [BZ #16657]
2716 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2717 FORCE_ELISION instead of DO_ELISION.
2718 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2719 Remove.
2720 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2721 Likewise.
2722
da5bcaa4
AS
2723 * iconvdata/gconv-modules: Remove duplicate entry.
2724
6d248857
WN
27252014-12-11 Will Newton <will.newton@linaro.org>
2726
2727 Merge gettext 0.19.3 into intl/.
2728
2729 This involves a number of cosmetic changes to comments
2730 and ANSI function definitions and prototypes throughout
2731 all the files. The gettext copyright header is used but
2732 with the date ranges taken from the glibc copy.
2733
2734 * NEWS: Add gettext merge to 2.21.
2735 * intl/bindtextdom.c: Switch to gettext copyright.
2736 Use ANSI definitions and prototypes.
2737 Use gl_* locking primitives rather than __libc_* ones.
2738 Use __builtin_expect rather than __glibc_likely/unlikely.
2739 * intl/dcgettext.c: Switch to gettext copyright.
2740 Use ANSI definitions and prototypes.
2741 * intl/dcigettext.c: Switch to gettext copyright.
2742 Use ANSI definitions and prototypes.
2743 (INTDIV0_RAISES_SIGFPE): New define.
2744 Use gl_* locking primitives rather than __libc_* ones.
2745 Include eval-plural.h instead of plural-eval.c.
2746 Use __builtin_expect rather than __glibc_likely/unlikely.
2747 * intl/dcngettext.c: Switch to gettext copyright.
2748 Use ANSI definitions and prototypes.
2749 * intl/dgettext.c: Likewise.
2750 * intl/dngettext.c: Likewise.
2751 * intl/plural-eval.c: Renamed to...
2752 * intl/eval-plural.h: ...this.
2753 * intl/explodename.c: Switch to gettext copyright.
2754 Use ANSI definitions and prototypes.
2755 (_nl_explode_name): Use strchr instead of __rawmemchr.
2756 * intl/finddomain.c: Switch to gettext copyright.
2757 Use ANSI definitions and prototypes.
2758 Use gl_* locking primitives rather than __libc_* ones.
2759 (_nl_find_domain): Use malloc rather than alloca for
2760 allocation of temporary locale name.
2761 * intl/gettext.c: Switch to gettext copyright.
2762 Use ANSI definitions and prototypes.
2763 * intl/gettextP.h: Switch to gettext copyright.
2764 Use ANSI definitions and prototypes.
2765 Use gl_* locking primitives rather than __libc_* ones.
2766 * intl/gmo.h: Switch to gettext copyright.
2767 (struct sysdep_string): Move struct segment_pair outside of
2768 struct definition.
2769 * intl/hash-string.c: Use ANSI definitions and prototypes.
2770 * intl/hash-string.h: Switch to gettext copyright.
2771 Use ANSI definitions and prototypes.
2772 * intl/l10nflist.c: Switch to gettext copyright.
2773 Use ANSI definitions and prototypes.
2774 (_nl_normalize_codeset): Avoid integer overflow.
2775 * intl/loadinfo.h: Switch to gettext copyright.
2776 Use ANSI definitions and prototypes.
2777 (LIBINTL_DLL_EXPORTED): New define.
2778 (PATH_SEPARATOR): New define.
2779 * intl/loadmsgcat.c: Switch to gettext copyright.
2780 * intl/localealias.c: Switch to gettext copyright.
2781 Use ANSI definitions and prototypes.
2782 (_nl_expand_alias): Use PATH_SEPARATOR.
2783 * intl/ngettext.c: Switch to gettext copyright.
2784 Use ANSI definitions and prototypes.
2785 * intl/plural-exp.c: Likewise.
2786 * intl/plural-exp.h: Switch to gettext copyright.
2787 Use ANSI definitions and prototypes.
2788 (struct expression): Move definition of enum operator outside
2789 of struct definition.
2790 * intl/plural.c: Regenerate.
2791 * intl/plural.y: Switch to gettext copyright.
2792 Use ANSI definitions and prototypes.
2793 Port to bison 3.0.
2794 * intl/textdomain.c: Switch to gettext copyright.
2795 Use ANSI definitions and prototypes.
2796 Use gl_* locking primitives rather than __libc_* ones.
2797
48c43298
SE
27982014-12-10 Steve Ellcey <sellcey@imgtec.com>
2799
2800 * debug/warning-nop.c: Add used atrribute.
2801
2b89bce9
JM
28022014-12-10 Joseph Myers <joseph@codesourcery.com>
2803
c153ac9f
JM
2804 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2805
2b89bce9
JM
2806 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2807 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2808 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2809
2cfbdb9a
JM
28102014-12-10 Joseph Myers <joseph@codesourcery.com>
2811 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2812
2813 [BZ #17634]
2814 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2815 Undefine after defining function. Define as weak alias of
2816 __wcschr. Use libc_hidden_weak.
2817 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2818 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2819 (libc_hidden_def): Also define __GI___wcschr alias.
2820 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2821 __wcschr and define as weak alias of __wcschr.
2822 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2823 __wcschr.
2824 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2825 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2826 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2827 libc_hidden_weak. Do not use libc_hidden_def.
2828 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2829 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2830 __GI___wcschr alias.
2831 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2832 [IS_IN (libc)] (wcschr): Define as macro expanding to
2833 __redirect_wcschr.
2834 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2835 [IS_IN (libc)] (__wcschr_power6): Likewise.
2836 [IS_IN (libc)] (__wcschr_power7): Likewise.
2837 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2838 instead of wcschr.
2839 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2840 __libc_wcschr.
2841 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2842 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2843 __wcschr and define as weak alias of __wcschr. Use
2844 libc_hidden_builtin_def.
2845 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2846 as weak alias of __wcschr. Use libc_hidden_weak.
2847 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2848 wcschr.
2849 * time/era.c (_nl_init_era_entries): Likewise.
2850 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2851 variable.
2852 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2853 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2854
1b8bf351
JM
28552014-12-10 Joseph Myers <joseph@codesourcery.com>
2856
2857 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2858 format for long int variable.
2859
f5f46d51
AK
28602014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2861
2862 [BZ #10672]
07008f7d 2863 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
2864 qsort stable.
2865
217a74a8
AS
28662014-12-10 Andreas Schwab <schwab@suse.de>
2867
2868 [BZ #12847]
2869 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2870 user-controlled locks.
2871
aa76a5c7
RE
28722014-12-10 Richard Earnshaw <rearnsha@arm.com>
2873
2874 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2875 register.
2876
2084e7ca
JM
28772014-12-10 Joseph Myers <joseph@codesourcery.com>
2878
a4ecc9eb
JM
2879 * configure.ac (--disable-werror): New configure option.
2880 (enable_werror): New AC_SUBST.
2881 * configure: Regenerated.
2882 * config.make.in (enable-werror): New variable.
2883 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2884 -Wno-error=undef.
2885 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2886 * manual/install.texi (Configuring and compiling): Document
2887 --disable-werror.
2888 * INSTALL: Regenerated.
2889 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2890 (CFLAGS-tst-chk2.c): Likewise.
2891 (CFLAGS-tst-chk3.c): Likewise.
2892 (CFLAGS-tst-chk4.cc): Likewise.
2893 (CFLAGS-tst-chk5.cc): Likewise.
2894 (CFLAGS-tst-chk6.cc): Likewise.
2895 (CFLAGS-tst-lfschk1.c): Likewise.
2896 (CFLAGS-tst-lfschk2.c): Likewise.
2897 (CFLAGS-tst-lfschk3.c): Likewise.
2898 (CFLAGS-tst-lfschk4.cc): Likewise.
2899 (CFLAGS-tst-lfschk5.cc): Likewise.
2900 (CFLAGS-tst-lfschk6.cc): Likewise.
2901
0f88636c
JM
2902 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2903 (main): Disable -Wdeprecated-declarations around calls to
2904 register_printf_function.
2905
c81e9deb
JM
2906 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2907 (do_test): Disable -Wdiv-by-zero around some calls to
2908 fwrite_unlocked and fread_unlocked.
2909
2084e7ca
JM
2910 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2911 (DIAG_POP_NEEDS_COMMENT): Likewise.
2912 (_DIAG_STR1): Likewise.
2913 (_DIAG_STR): Likewise.
2914 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2915 * stdio-common/bug21.c: Include <libc-internal.h>.
2916 (do_test): Disable -Wformat around call to sscanf.
2917 * stdio-common/scanf14.c: Include <libc-internal.h>.
2918 (main): Disable -Wformat around some calls to scanf functions.
2919
df7ecc6b
TR
29202014-12-09 Torvald Riegel <triegel@redhat.com>
2921
2922 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2923
2aa3862e
AZ
29242014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2925
2926 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2927 stack variable alignment.
2928
c5c2b7c3
JM
29292014-12-06 Joseph Myers <joseph@codesourcery.com>
2930
2931 [BZ #17682]
2932 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2933 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2934 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2935 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2936 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2937 __getrlimit instead of getrlimit.
2938 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2939 __gettimeofday instead of gettimeofday.
2940 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2941 Likewise.
2942 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2943 Likewise.
2944 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2945 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2946 Remove variable.
2947 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2948 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2949
9752c3cd
AZ
29502014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2951
2952 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2953 for wide-character tests.
2954
4bee4cd9
RM
29552014-12-04 Roland McGrath <roland@hack.frob.com>
2956
2957 * io/openat64.c: #include <libc-internal.h>
2958 (__openat64): Prototypify. Use ignore_value on MODE.
2959 * io/openat.c: Likewise.
2960 * misc/reboot.c: #include <libc-internal.h>
2961 (reboot): Prototypify. Use ignore_value on HOWTO.
2962 * misc/ptrace.c: #include <libc-internal.h>
2963 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
2964
84dbedb6
JM
29652014-12-04 Joseph Myers <joseph@codesourcery.com>
2966
2967 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2968 XPG4, UNIX98 and XOPEN2K.
2969 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2970 Remove variable.
2971 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2972
b7a3e1c4 29732014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 2974
af50dfc1 2975 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
2976 * libio/iofopen.c: Likewise.
2977 * libio/wfileops.c: Likewise.
2978
fe8b4d98
SP
2979 [BZ #17653]
2980 * libio/fileops.c (_IO_new_file_underflow): Unset cached
2981 offset on EOF.
2982 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2983 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2984 (fgets_func): Function pointer to fgets and fgetws.
2985 (do_ftell_test): Add test to verify ftell value after read
2986 EOF.
2987 (do_test): Set fgets_func.
2988
61b4f792
SP
2989 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2990 O_TRUNC flag for w and w+ modes.
2991 (do_rewind_test): Likewise.
2992 (do_ftell_test): Likewise.
2993 (do_write_test): Likewise.
2994
be349d70
SP
2995 [BZ #17647]
2996 * libio/fileops.c (do_ftell): Seek only when there are
2997 unflushed writes.
2998 * libio/wfileops.c (do_ftell_wide): Likewise.
2999 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3000 test case.
3001 (do_one_test): Call it.
3002
e3d6dba5
JM
30032014-12-03 Joseph Myers <joseph@codesourcery.com>
3004
3005 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3006 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3007 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3008 Remove variable.
3009 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3010 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3011 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3012
7f994279
JM
30132014-12-02 Joseph Myers <joseph@codesourcery.com>
3014
28a91e8f
JM
3015 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3016 Remove variable.
3017 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3018
7f994279
JM
3019 [BZ #17668]
3020 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3021 as weak alias of __getifaddrs. Use libc_hidden_weak.
3022 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3023 __freeifaddrs. Use libc_hidden_weak.
3024 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3025 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3026 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3027 __freeifaddrs. Use libc_hidden_weak.
3028 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3029 __getifaddrs and define as weak alias of __getifaddrs. Use
3030 libc_hidden_weak.
3031 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3032 __freeifaddrs. Use libc_hidden_weak.
3033 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3034 Remove variable.
3035 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3036 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3037
bbe4c142
PJ
30382014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3039
3040 [BZ #17601]
3041 * sysdeps/mips/start.S (__start): Use indirect jump to call
3042 __libc_start_main.
3043
66cadc05
JM
30442014-12-02 Joseph Myers <joseph@codesourcery.com>
3045
909e16d9
JM
3046 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3047
4e0b9016
JM
3048 * nptl/tst-mutex1.c: Include <stdbool.h>.
3049 [!ATTR] (ATTR_NULL): New macro.
3050 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3051 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3052 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3053
b1aff6a4
JM
3054 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3055 to char *.
3056
266865c0
JM
3057 [BZ #17665]
3058 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3059 Change conditional to [__USE_MISC].
3060
84e5e756
JM
3061 [BZ #17664]
3062 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3063 fgets_unlocked.
3064 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3065 __fgets_unlocked.
3066 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3067 fgets_unlocked.
3068 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3069 Remove variable.
3070 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3071 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3072 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3073 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3074 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3075 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3076 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3077 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3078 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3079
66cadc05
JM
3080 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3081
2e8a2de2 30822014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
3083
3084 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3085 Remove strpbrk objects.
3086 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3087 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3088 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3089 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3090 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3091 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3092
bb2542e0
AZ
3093 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3094 Remove strcspn objects.
3095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3096 (__libc_ifunc_impl_list): Remove strcspn implementation.
3097 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3098 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3099 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3100 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
3101
3102 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3103 Remove strspn objetcs.
3104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3105 (__libc_ifunc_impl_list): Remove strspn implementation.
3106 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3107 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3108 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3109 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3110
08f1e1d2
JL
31112014-12-01 James Lemke <jwlemke@codesourcery.com>
3112
3113 [BZ #17581]
3114 * malloc/hooks.c
3115 (mem2mem_check): Add a terminator to the chain of checking blocks.
3116 (malloc_check_get_size): Use it here.
3117 (mem2chunk_check): Ditto.
3118
a8a7d7d2
RS
31192014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3120
3121 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3122 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3123
97114a38
CD
31242014-11-29 Carlos O'Donell <carlos@redhat.com>
3125
c8dc1727
CD
3126 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3127
6d03458e
CD
3128 * nptl/nptl-init.c: Include libc-internal.h.
3129 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3130
97114a38
CD
3131 * elf/ldconfig.c (search_dir): Expand comment.
3132
0e7e69ba
JM
31332014-11-29 Joseph Myers <joseph@codesourcery.com>
3134
3135 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3136 variable.
3137 (linknamespace-symlist-stdlibs-tests): Likewise.
3138 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3139 instead of $(objpfx)symlist-stdlibs.
3140 (linknamespace-libs-isoc): New variable.
3141 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3142 (linknamespace-libs-ISO): New variable.
3143 (linknamespace-libs-ISO99): Likewise.
3144 (linknamespace-libs-ISO11): Likewise.
3145 (linknamespace-libs-XPG3): Likewise.
3146 (linknamespace-libs-XPG4): Likewise.
3147 (linknamespace-libs-POSIX): Likewise.
3148 (linknamespace-libs-UNIX98): Likewise.
3149 (linknamespace-libs-XOPEN2K): Likewise.
3150 (linknamespace-libs-POSIX2008): Likewise.
3151 (linknamespace-libs-XOPEN2K8): Likewise.
3152 ($(objpfx)symlist-stdlibs): Replace by
3153 $(linknamespace-symlist-stdlibs-tests). Use
3154 $(linknamespace-libs-$*) as set of libraries.
3155 ($(linknamespace-header-tests)): Update dependencies. Use
3156 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3157 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3158 * conform/linknamespace.pl: Remove comment about considering
3159 definitions of symbols from irrelevant libraries.
3160
d8dd0080
L
31612014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3162
3163 [BZ #13862]
3164 * elf/dl-tls.c: Include <atomic.h>.
3165 (oom): Remove #ifdef SHARED/#endif.
3166 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3167 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3168 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3169 big enough.
3170 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3171 * nptl/Makefile (tests): Add tst-stack4.
3172 (modules-names): Add tst-stack4mod.
3173 ($(objpfx)tst-stack4): New.
3174 (tst-stack4mod.sos): Likewise.
3175 ($(objpfx)tst-stack4.out): Likewise.
3176 ($(tst-stack4mod.sos)): Likewise.
3177 (clean): Likewise.
3178 * nptl/tst-stack4.c: New file.
3179 * nptl/tst-stack4mod.c: Likewise.
3180
167da422
B
31812014-11-27 J. Brown <jb999@gmx.de>
3182
3183 * sysdeps/x86/bits/string.h: Add recent CPUs.
3184
9114625b
JM
31852014-11-27 Joseph Myers <joseph@codesourcery.com>
3186
6b5189eb
JM
3187 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3188 sigblock.
3189
49051f8e
JM
3190 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3191 feof.
3192
9114625b
JM
3193 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3194 variable.
3195
e7300fef
SL
31962014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3197
3198 * nscd/connections.c: Include libc-internal.h because of macro
3199 usage ignore_value.
3200
1721f0a4
SP
32012014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3202
3203 * string/bits/string3.h (__warn_memset_zero_len): Don't
3204 declare for gcc newer than 5.0.
3205 (memset): Don't test for zero-length __LEN for gcc newer than
3206 5.0.
3207
be970916
JM
32082014-11-27 Joseph Myers <joseph@codesourcery.com>
3209
d88548f4
JM
3210 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3211 size_t for %zu format.
3212
be970916
JM
3213 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3214 difference, not %ju.
3215
3b20fd5c
JM
32162014-11-26 Joseph Myers <joseph@codesourcery.com>
3217
8915eace
JM
3218 * include/libc-internal.h (ignore_value): New macro.
3219 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3220 with ignore_value.
3221
f1a5a0e3
JM
3222 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3223 definition.
3224
59ef1715
JM
3225 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3226 pthread_cleanup_push to void *.
3227
a6f3079b
JM
3228 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3229 Undefine.
3230
706688aa
JM
3231 [BZ #16619]
3232 [BZ #16740]
3233 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3234 instead of 1L << 52.
3235
12da14a5
JM
3236 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3237 * libio/bug-rewind2.c (do_test): Likewise.
3238
bd5dadac
JM
3239 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3240 * debug/test-strcpy_chk-ifunc.c: Likewise.
3241 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3242 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3243 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3244 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3245 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3246 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3247 * Rules [$(multi-arch) = no] (tests): Do not filter out
3248 $(tests-ifunc).
3249 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3250 * debug/Makefile (tests-ifunc): Remove variable.
3251 (tests): Do not add $(tests-ifunc).
3252 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3253 (tests): Do not add $(tests-ifunc).
3254 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3255 [TEST_IFUNC]: Remove conditionals.
3256 * string/test-string.h (TEST_IFUNC): Remove macro.
3257 [TEST_IFUNC]: Remove conditionals.
3258
3b20fd5c
JM
3259 * string/test-strchr.c [!WIDE] (L): New macro.
3260 [WIDE] (L): Likewise.
3261 (check1): Use CHAR instead of char. Use L on string and character
3262 constants.
3263
704f7947
AZ
32642014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3265
3266 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3267 tests.
3268 * sysdeps/powerpc/bits/atomic.h
3269 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3270 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3271 (atomic_exchange_and_add_acq): Likewise.
3272 (atomic_exchange_and_add_rel): Likewise.
3273 * sysdeps/powerpc/powerpc32/bits/atomic.h
3274 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3275 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3276 * sysdeps/powerpc/powerpc64/bits/atomic.h
3277 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3278 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3279
cdcb42d7
TR
32802014-11-26 Torvald Riegel <triegel@redhat.com>
3281
3282 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3283 Change synchronization of __sched_fifo_min_prio and
3284 __sched_fifo_max_prio.
3285 * nptl/pthread_mutexattr_getprioceiling.c
3286 (pthread_mutexattr_getprioceiling): Likewise.
3287 * nptl/pthread_mutexattr_setprioceiling.c
3288 (pthread_mutexattr_setprioceiling): Likewise.
3289 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3290 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3291 Likewise.
3292
c82f5c0c
JM
32932014-11-26 Joseph Myers <joseph@codesourcery.com>
3294
3295 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3296 void.
3297
439e1ad6
JM
32982014-11-25 Joseph Myers <joseph@codesourcery.com>
3299
3300 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3301 third argument const.
3302
b1eda10e
PE
33032014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3304
3305 fnmatch: work around GCC compiler warning bug with uninit var
3306 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3307 This works around a bug with x86-64 GCC 4.9.2 and earlier
3308 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3309 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3310 used uninitialized in this function [-Wmaybe-uninitialized]".
3311
bde2667a
JM
33122014-11-25 Joseph Myers <joseph@codesourcery.com>
3313
3314 * posix/bug-regex31.c (main): Return RES not 0.
3315
5fbb5691
AB
33162014-11-25 Anton Blanchard <anton@samba.org>
3317
3318 * sysdeps/powerpc/bits/atomic.h
3319 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3320
467fec0b
BM
33212014-11-24 Sterling Augustine <saugustine@google.com>
3322
3323 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3324
e9ff8efb
RC
33252014-11-24 Ryan Cumming <etaoins@gmail.com>
3326
3327 [BZ #17608]
3328 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3329
9744496f
JM
33302014-11-24 Joseph Myers <joseph@codesourcery.com>
3331
3332 [BZ #17633]
3333 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3334 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3335 variable.
3336 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3337 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3338
6423d475
WD
33392014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3340
3341 * string/strncpy.c (strncpy): Improve performance by using memset.
3342
33432014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
3344
3345 * string/strcpy.c (strcpy):
3346 Improve performance by using strlen and memcpy.
3347
5d178c37
LH
33482014-11-24 Leonhard Holz <leonhard.holz@web.de>
3349
3350 * string/strcoll_l.c (get_next_seq): __always_inline.
3351 * string/strcoll_l.c (do_compare): __always_inline.
3352
279bc5b3
SP
33532014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3354
7a9ebfa1
SP
3355 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3356 defined.
3357 * include/mqueue.h: Likewise.
3358 * include/stdlib.h: Likewise.
3359
4f41c682
SP
3360 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3361 (get_null_defines): Adjust.
3362 * sunrpc/Makefile: Adjust comment.
3363 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3364 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3365 (CFLAGS-interp.c): Likewise.
3366 (CFLAGS-ldconfig.c): Likewise.
3367 (CPPFLAGS-.os): Likewise.
3368 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3369 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3370 * extra-modules.mk (extra-modules.mk): Likewise.
3371 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3372 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3373 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3374 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3375 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3376 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3377 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3378 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3379 * iconvdata/Makefile (CPPFLAGS): Likewise.
3380 (cpp-srcs-left): Add libof for all iconvdata routines.
3381 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3382 * include/assert.h: Likewise.
3383 * include/ctype.h: Likewise.
3384 * include/errno.h: Likewise.
3385 * include/libc-symbols.h: Likewise.
3386 * include/math.h: Likewise.
3387 * include/netdb.h: Likewise.
3388 * include/resolv.h: Likewise.
3389 * include/stdio.h: Likewise.
3390 * include/stdlib.h: Likewise.
3391 * include/string.h: Likewise.
3392 * include/sys/stat.h: Likewise.
3393 * include/wctype.h: Likewise.
3394 * intl/l10nflist.c: Likewise.
3395 * libidn/idn-stub.c: Likewise.
3396 * libio/libioP.h: Likewise.
3397 * nptl/libc_multiple_threads.c: Likewise.
3398 * nptl/pthreadP.h: Likewise.
3399 * posix/regex_internal.h: Likewise.
3400 * resolv/res_hconf.c: Likewise.
3401 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3402 * sysdeps/arm/memmove.S: Likewise.
3403 * sysdeps/arm/sysdep.h: Likewise.
3404 * sysdeps/generic/_itoa.h: Likewise.
3405 * sysdeps/generic/symbol-hacks.h: Likewise.
3406 * sysdeps/gnu/errlist.awk: Likewise.
3407 * sysdeps/gnu/errlist.c: Likewise.
3408 * sysdeps/i386/i586/memcpy.S: Likewise.
3409 * sysdeps/i386/i586/memset.S: Likewise.
3410 * sysdeps/i386/i686/memcpy.S: Likewise.
3411 * sysdeps/i386/i686/memmove.S: Likewise.
3412 * sysdeps/i386/i686/mempcpy.S: Likewise.
3413 * sysdeps/i386/i686/memset.S: Likewise.
3414 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3415 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3416 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3417 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3418 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3419 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3420 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3421 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3422 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3423 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3424 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3425 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3426 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3427 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3428 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3429 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3430 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3431 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3432 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3433 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3434 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3435 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3436 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3437 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3438 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3439 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3440 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3441 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3442 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3443 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3444 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3445 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3446 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3447 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3448 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3449 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3450 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3451 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3452 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3453 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3454 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3455 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3456 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3457 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3458 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3459 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3460 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3461 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3462 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3463 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3464 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3465 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3466 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3467 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3468 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3469 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3470 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3471 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3472 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3473 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3474 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3475 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3476 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3477 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3478 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3479 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3480 * sysdeps/posix/closedir.c: Likewise.
3481 * sysdeps/posix/opendir.c: Likewise.
3482 * sysdeps/posix/readdir.c: Likewise.
3483 * sysdeps/posix/rewinddir.c: Likewise.
3484 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3485 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3486 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3487 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3488 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3489 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3490 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3491 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3492 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3493 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3494 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3495 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3496 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3497 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3498 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3499 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3500 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3501 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3502 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3503 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3504 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3505 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3506 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3507 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3508 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3509 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3510 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3511 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3512 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3513 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3514 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3515 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3516 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3517 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3518 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3519 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3520 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3521 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3522 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3523 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3524 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3525 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3526 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3527 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3528 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3529 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3530 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3531 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3532 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3533 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3534 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3535 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3536 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3537 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3538 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3539 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3540 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3541 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3542 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3543 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3544 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3545 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3546 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3547 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3548 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3549 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3550 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3551 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3552 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3553 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3554 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3555 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3556 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3557 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3558 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3559 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3560 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3561 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3562 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3563 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3564 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3565 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3566 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3567 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3568 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3569 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3570 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3571 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3572 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3573 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3574 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3575 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3576 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3577 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3578 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3579 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3580 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3581 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3582 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3583 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3584 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3585 * sysdeps/unix/alpha/sysdep.S: Likewise.
3586 * sysdeps/unix/alpha/sysdep.h: Likewise.
3587 * sysdeps/unix/make-syscalls.sh: Likewise.
3588 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3589 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3590 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3591 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3592 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3593 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3594 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3595 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3596 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3597 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3598 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3599 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3600 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3601 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3602 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3603 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3604 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3605 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3606 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3607 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3608 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3609 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3610 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3611 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3612 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3613 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3614 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3617 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3618 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3619 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3620 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3621 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3622 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3623 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3624 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3625 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3626 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3627 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3628 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3629 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3630 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3631 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3632 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3634 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3635 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3636 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3637 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3638 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3639 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3640 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3641 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3642 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3643 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3644 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3646 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3647 * sysdeps/x86_64/memcpy.S: Likewise.
3648 * sysdeps/x86_64/memmove.c: Likewise.
3649 * sysdeps/x86_64/memset.S: Likewise.
3650 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3651 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3652 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3653 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3654 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3655 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3656 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3657 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3658 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3659 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3660 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3661 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3662 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3663 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3664 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3665 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3666 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3667 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3668 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3669 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3670 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3671 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3672 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3673 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3674 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3675 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3676 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3677 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3678 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3679 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3680 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3681 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3682 * sysdeps/x86_64/strcmp.S: Likewise.
3683
76ca86a5
SP
3684 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3685
a3848485
SP
3686 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3687 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3688 * elf/rtld-Rules: Likewise.
3689 * elf/setup-vdso.h: Likewise.
3690 * include/assert.h: Likewise.
3691 * include/bits/stdlib-float.h: Likewise.
3692 * include/errno.h: Likewise.
3693 * include/sys/stat.h: Likewise.
3694 * include/unistd.h: Likewise.
3695 * sysdeps/aarch64/setjmp.S: Likewise.
3696 * sysdeps/alpha/setjmp.S: Likewise.
3697 * sysdeps/arm/__longjmp.S: Likewise.
3698 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3699 * sysdeps/arm/setjmp.S: Likewise.
3700 * sysdeps/arm/sysdep.h: Likewise.
3701 * sysdeps/generic/_itoa.h: Likewise.
3702 * sysdeps/generic/dl-sysdep.h: Likewise.
3703 * sysdeps/generic/ldsodefs.h: Likewise.
3704 * sysdeps/i386/dl-tls.h: Likewise.
3705 * sysdeps/i386/setjmp.S: Likewise.
3706 * sysdeps/m68k/setjmp.c: Likewise.
3707 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3708 * sysdeps/mach/hurd/opendir.c: Likewise.
3709 * sysdeps/posix/getcwd.c: Likewise.
3710 * sysdeps/posix/opendir.c: Likewise.
3711 * sysdeps/posix/profil.c: Likewise.
3712 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3713 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3714 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3715 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3716 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3717 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3718 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3719 * sysdeps/s390/dl-tls.h: Likewise.
3720 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3721 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3722 * sysdeps/sh/sh3/setjmp.S: Likewise.
3723 * sysdeps/sh/sh4/setjmp.S: Likewise.
3724 * sysdeps/unix/alpha/sysdep.h: Likewise.
3725 * sysdeps/unix/arm/sysdep.S: Likewise.
3726 * sysdeps/unix/i386/sysdep.S: Likewise.
3727 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3728 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3729 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3730 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3731 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3732 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3733 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3734 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3735 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3736 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3737 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3738 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3739 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3742 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3743 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3744 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3745 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3746 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3747 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3748 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3749 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3750 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3751 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3752 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3754 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3755 * sysdeps/x86_64/setjmp.S: Likewise.
3756
a109996e
SP
3757 * include/math.h: Use IS_IN instead of IS_IN_libm.
3758 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3759 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3760 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3761 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3762 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3763 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3764 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3765 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3766 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3767 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3768 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3769 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3770 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3771 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3772 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3773 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3774 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3775 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3776 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3777 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3778 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3779 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3780 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3781 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3782 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3783 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3784 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3785 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3786 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3787 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3788 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3789 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3790 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3792 Likewise.
3793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3794 Likewise.
3795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3796 Likewise.
3797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3798 Likewise.
3799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3800 Likewise.
3801 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3802 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3803 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3804 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3805 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3806 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3812 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3813 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3814 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3815 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3816 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3817 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3818 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3819 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3820 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3821 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3822 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3823 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3824 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3825 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3827 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3828
ce9f10f7
SP
3829 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3830 * nptl/pthreadP.h: Likewise.
3831 * nptl_db/structs.def: Likewise.
3832 * sysdeps/arm/sysdep.h: Likewise.
3833 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3834 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3835 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3836 * sysdeps/unix/alpha/sysdep.h: Likewise.
3837 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3838 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3839 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3840 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3841 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3842 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3843 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3844 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3845 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3846 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3847 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3848 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3849 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3850 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3853 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3854 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3855 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3856 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3857 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3858 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3859 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3860 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3861 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3862 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3863
016afc75
SP
3864 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3865 * nptl/pthreadP.h: Likewise.
3866 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3867 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3868 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3869 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3870 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3871 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3872 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3873 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3874 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3875 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3876 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3877 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3879 Likewise.
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3881 Likewise.
3882 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3883 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3884 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3885 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3886 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3887 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3888 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3889 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3890
9b42a0b3
SP
3891 * dlfcn/dladdr.c: Use IS_IN.
3892 * dlfcn/dladdr1.c: Likewise.
3893 * dlfcn/dlclose.c: Likewise.
3894 * dlfcn/dlerror.c: Likewise.
3895 * dlfcn/dlinfo.c: Likewise.
3896 * dlfcn/dlmopen.c: Likewise.
3897 * dlfcn/dlopen.c: Likewise.
3898 * dlfcn/dlsym.c: Likewise.
3899 * dlfcn/dlvsym.c: Likewise.
3900
85f36372
SP
3901 * include/ifaddrs.h: Use IS_IN.
3902 * inet/check_pf.c: Likewise.
3903 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3904 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3905
fb6784e3
SP
3906 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3907 IS_IN_ldconfig.
3908 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3909 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3910
2886d2d1
SP
3911 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3912 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3913 IS_IN (libc).
3914
9a484857
SP
3915 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3916
a10178bd
SP
3917 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3918 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3919 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3920 * include/libc-symbols.h (IS_IN_LIB): New macro.
3921 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3922 * include/netdb.h: Likewise.
3923 * include/stap-probe.h: Remove all uses of IN_LIB.
3924
279bc5b3
SP
3925 * Makeconfig (module-cppflags-real): Define MODULE_NAME
3926 instead of IN_MODULE.
3927 * include/libc-symbols.h (IN_MODULE): Define using
3928 MODULE_NAME.
3929 (PASTE_NAME, PASTE_NAME1): New macros.
3930 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3931 of IN_LIB.
3932 (STAP_PROBE_ASM): Likewise.
3933
e0cfa510
ST
39342014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
3935
3936 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3937 __mach_init in dlopened libc.
3938
34d97d87
MF
39392014-11-22 Mike Frysinger <vapier@gentoo.org>
3940
3941 * sysdeps/arm/preconfigure.ac: Delete EABI check.
3942 * sysdeps/arm/preconfigure: Regenerate.
3943
33cd1f74
RM
39442014-11-21 Roland McGrath <roland@hack.frob.com>
3945
3946 * nptl/pthread_create.c (__pthread_create_2_1): Set
3947 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3948 when copying values from IATTR into PD.
3949
8c230039
WN
39502014-11-21 Will Newton <will.newton@linaro.org>
3951 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3952
6d3db89b
AP
3953 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3954 Refactor inline-asm. Also add comment.
3955
01194ba1
WN
3956 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3957 ElfW macro instead of hardcoded Elf64 types.
3958 (la_aarch64_gnu_pltenter): Likewise.
3959 * sysdeps/aarch64/dl-machine.h
3960 (elf_machine_runtime_setup): Use ElfW(Addr).
3961
8c230039
WN
3962 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3963 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3964 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3965 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3966 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3967 (R_AARCH64_TLS_DTPMOD64): Rename to ..
3968 (R_AARCH64_TLS_DTPMOD): This.
3969 (R_AARCH64_TLS_DTPREL64): Rename to ...
3970 (R_AARCH64_TLS_DTPREL): This.
3971 (R_AARCH64_TLS_TPREL64): Rename to ...
3972 (R_AARCH64_TLS_TPREL): This.
3973 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3974 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3975 R_AARCH64_TLS_TPREL64.
3976 (elf_machine_rela): Likewise.
3977
0d79fa53
TR
39782014-11-21 Torvald Riegel <triegel@redhat.com>
3979
3980 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3981 by setting it to 0. 64b atomics are not supported currently.
3982
b59d114b
AO
39832014-11-21 Alexandre Oliva <aoliva@redhat.com>
3984
3985 [BZ #16469]
3986 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3987 search domain names.
3988
f3d945d5
AO
39892014-11-21 Alexandre Oliva <aoliva@redhat.com>
3990
3991 [BZ #16469]
3992 * NEWS: Update.
3993 * resolv/res_query.c (__libc_res_nquerydomain): Retain
3994 trailing dot.
3995 * posix/tst-getaddrinfo5.c: New.
3996 * posix/Makefile (tests): Add it.
3997
49698902
AO
39982014-11-21 Alexandre Oliva <aoliva@redhat.com>
3999
4000 [BZ #14498]
4001 * NEWS: Fixed.
4002 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4003 after parsing line but before break_if_match.
4004 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4005 if there is a protocol mismatch.
4006
81959214
MS
40072014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4008
4009 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4010 because the potential race is on the user-supplied stream.
4011
7729e0e9
AO
40122014-11-21 Alexandre Oliva <aoliva@redhat.com>
4013
4014 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4015 string literal if not passed a buffer.
4016 * manual/job.texi (ctermid): Update reasoning, note deviation
4017 from posix, suggest mtasurace when not passed a buffer, for
4018 future non-preliminary safety notes.
4019
a4ea5e28
AO
40202014-11-21 Alexandre Oliva <aoliva@redhat.com>
4021
4022 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4023 of not passing it a buffer.
4024 Reported by Peng Haitao.
4025
a2b581cb
AO
40262014-11-21 Alexandre Oliva <aoliva@redhat.com>
4027
4028 * manual/Makefile ($(objpfx)stamp-summary): Require
4029 check-safety.sh to pass.
4030 * manual/check-safety.sh: Wish for verification that every
4031 @deftypefn and @deftypefun is followed by a @safety remark.
4032
f214ff74
RM
40332014-11-20 Roland McGrath <roland@hack.frob.com>
4034
7f0dfae0
RM
4035 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4036
2f531bbb
RM
4037 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4038 PTHREAD_CANCEL_ASYNCHRONOUS.
4039 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4040 send SIGCANCEL.
4041
f214ff74
RM
4042 * nptl/default-sched.h: New file.
4043 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4044 * nptl/pthread_create.c: Include it.
4045 (__pthread_create_2_1): Use collect_default_sched instead of making
4046 Linux syscalls here directly.
4047
e37c91d4
TR
40482014-11-20 Torvald Riegel <triegel@redhat.com>
4049
4050 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4051 __pthread_once): Use C11 atomics.
4052
1eccfecd
TR
40532014-11-20 Torvald Riegel <triegel@redhat.com>
4054
4055 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4056
ff871426
TR
40572014-11-20 Torvald Riegel <triegel@redhat.com>
4058
4059 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4060 atomic_thread_fence_acquire, atomic_thread_fence_release,
4061 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4062 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4063 atomic_compare_exchange_weak_relaxed,
4064 atomic_compare_exchange_weak_acquire,
4065 atomic_compare_exchange_weak_release,
4066 atomic_exchange_acquire, atomic_exchange_release,
4067 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4068 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4069 atomic_fetch_and_acquire,
4070 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4071
1ea339b6
TR
40722014-11-20 Torvald Riegel <triegel@redhat.com>
4073
4074 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4075 USE_ATOMIC_COMPILER_BUILTINS): Define.
4076 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4077 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4078 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4079 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4080 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4081 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4082 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4083 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4084 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4085 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4086 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4087 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4088 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4089 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4090 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4091 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4092 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4093 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4094 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4095 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4096 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4097 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4098 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4099 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4100 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4101 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4102 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4103 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4104 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4105 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4106 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4107 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4108 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4109 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4110 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4111 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4112 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4113 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4114 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4115 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4116
cbd463e2
RM
41172014-11-19 Roland McGrath <roland@hack.frob.com>
4118
d960211f
RM
4119 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4120 the sched_priority value here. It was already checked when the user
4121 called pthread_attr_setschedparam.
4122
cbd463e2
RM
4123 * nptl/tst-bad-schedattr.c: New file.
4124 * nptl/Makefile (tests): Add it.
4125
a39208bd
CD
41262014-11-19 Carlos O'Donell <carlos@redhat.com>
4127 Florian Weimer <fweimer@redhat.com>
4128 Joseph Myers <joseph@codesourcery.com>
4129 Adam Conrad <adconrad@0c3.net>
4130 Andreas Schwab <schwab@suse.de>
4131 Brooks <bmoses@google.com>
4132
4133 [BZ #17625]
4134 * wordexp-test.c (__dso_handle): Add prototype.
4135 (__register_atfork): Likewise.
4136 (__app_register_atfork): New function.
4137 (registered_forks): New global.
4138 (register_fork): New function.
4139 (test_case): Add 3 new tests for WRDE_CMDSUB.
4140 (main): Call __app_register_atfork.
4141 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4142 fork count is non-zero fail the test.
4143 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4144 is set.
4145 (parse_dollars): Remove check for WRDE_NOCMD.
4146 (parse_dquote): Likewise.
4147
9cd47470
SP
41482014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4149
130ac68c
SP
4150 * Makeconfig (built-modules): List non-library modules to be
4151 built.
4152 (module-cppflags): Include libc-modules.h for
4153 everything except shlib-versions.v.i.
4154 (CPPFLAGS): Use it.
4155 (before-compile): Add libc-modules.h.
4156 ($(common-objpfx)libc-modules.h,
4157 $(common-objpfx)libc-modules.stmp): New targets.
4158 (common-generated): Add libc-modules.h and libc-modules.stmp.
4159 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4160 * include/libc-symbols.h: Don't include libc-modules.h.
4161 * include/libc-modules.h: Remove file.
4162 * scripts/gen-libc-modules.awk: New script to generate
4163 libc-modules.h.
4164 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4165 Depend on libc-modules.stmp.
4166
286663c3
SP
4167 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4168
9cd47470
SP
4169 * Makeconfig (in-module): Get value of libof set for the
4170 translation unit.
4171 (CPPFLAGS): Use $(in-module).
4172 * Makerules: Don't suffix routine names for nonlib.
4173 * include/libc-modules.h: New file.
4174 * include/libc-symbols.h: Include libc-modules.h
4175 (IS_IN): New macro to replace IS_IN_* macros.
4176 * elf/Makefile: Set libof-* for each routine.
4177 * elf/rtld-Rules: Likewise.
4178 * extra-modules.mk: Likewise.
4179 * iconv/Makefile: Likewise.
4180 * iconvdata/Makefile: Likewise.
4181 * locale/Makefile: Likewise.
4182 * malloc/Makefile: Likewise.
4183 * nss/Makefile: Likewise.
4184 * sysdeps/gnu/Makefile: Likewise.
4185 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4186 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4187 * sysdeps/s390/s390-64/Makefile: Likewise.
4188 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4189 CPPFLAGS for nscd instead of nonlib.
4190
32fed10f
RM
41912014-11-18 Roland McGrath <roland@hack.frob.com>
4192
d71035bd
RM
4193 * nptl/createthread.c: New file.
4194
6540b991
RM
4195 * nptl/createthread.c: Moved ...
4196 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4197
32fed10f
RM
4198 * nptl/createthread.c: Add proper top-line comment.
4199 (do_clone): Folded into ...
4200 (create_thread): ... here. Take new arguments STOPPED_START and
4201 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4202 increment __nptl_threads, do event-reporting logic, do
4203 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4204 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4205 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4206 just send SIGCANCEL.
4207 * nptl/pthread_create.c: Forward-declare create_thread before
4208 including createthread.c.
4209 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4210 declaration, and new macro START_THREAD_SELF to replace argument.
4211 Remove return statement.
4212 (report_thread_creation): New function.
4213 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4214 synchronization logic, and __nptl_nthreads increment here, around
4215 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4216 PD->parent_cancelhandling here, before create_thread. When
4217 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4218 __deallocate_stack, and ENOMEM translation here.
4219
107a5bf0
JM
42202014-11-18 Joseph Myers <joseph@codesourcery.com>
4221
4222 [BZ #17616]
4223 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4224 (mptwo): Rename to __mptwo.
4225 (__inv): Use __mptwo instead of mptwo.
4226 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4227 (mptwo): Rename to __mptwo.
4228 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4229 of mpone and __mptwo instead of mptwo.
4230 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4231 instead of mpone.
4232 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4233 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4234 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4235 of mpone and __mptwo instead of mptwo.
4236 (__mpranred): Use __mpone instead of mpone.
4237 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4238 variable.
4239 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4240 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4241 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4242 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4243 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4244 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4245 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4246 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4247 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4248 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4249 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4250 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4251 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4252 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4253 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4254 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4255 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4256 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4257 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4258
3b679ab3
TV
42592014-11-18 Tom de Vries <tom@codesoucery.com>
4260
4261 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4262 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
4263
42642014-11-17 Richard Henderson <rth@redhat.com>
4265
4266 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4267 (_FP_PACK_RAW_2): Remove.
4268 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4269 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4270 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4271 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4272 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4273 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4274 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4275 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4276 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4277 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4278 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4279 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4280 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4281 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4282 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4283 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4284
0781a777
RM
42852014-11-14 Roland McGrath <roland@hack.frob.com>
4286
4287 * signal/signal.h [__USE_MISC]
4288 (struct sigvec): Remove type.
4289 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4290 (sigvec): Remove declaration.
4291 * sysdeps/posix/sigvec.c: Moved ...
4292 * signal/sigvec.c: ... here, replacing old file.
4293 (struct sigvec): New type, copied from old signal.h definition.
4294 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4295 (__sigvec): Convert definition to prototype.
4296 (sigvec): Replace weak_alias with compat_symbol.
4297 * signal/Versions (libc: GLIBC_2.21): New version set.
4298 * include/signal.h: Remove __sigvec declaration.
4299 * sysdeps/unix/bsd/sigvec.c: Remove file.
4300 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4301 * manual/signal.texi (BSD Handler): Remove subsection.
4302 Move siginterrupt up to ...
4303 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4304 (Blocking in BSD): Fold subsection into its parent.
4305 * NEWS: Mention sigvec removal.
4306
a4733812
JM
43072014-11-14 Joseph Myers <joseph@codesourcery.com>
4308
5ae4fe60
JM
4309 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4310 (DLA_FMS): Make definition conditional only on [__FMA4__].
4311 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4312 definition.
4313
6a0dd472
JM
4314 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4315 Make definition conditional only on [PROF].
4316 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4317 definition.
4318 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4319 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4320
a4733812
JM
4321 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4322 !__GNUC__].
4323 * include/signal.h (__sigpause): Move declaration above call to
4324 libc_hidden_proto.
4325 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4326 variable.
4327 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4328 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4329
cf7246dd
DM
43302014-11-14 David S. Miller <davem@davemloft.net>
4331
4332 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4333 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4334
c1b0aadc
JM
43352014-11-14 Joseph Myers <joseph@codesourcery.com>
4336
4863355a
JM
4337 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4338 * configure: Regenerated.
4339 * manual/install.texi (Tools for Compilation): Document a
4340 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4341 compiler verified to work.
4342 * INSTALL: Regenerated.
4343
c1b0aadc
JM
4344 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4345 redeclare with asm name.
4346 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4347 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4348 including <string.h>.
4349 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4350 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4351 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4352 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4353 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4354 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4355 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4356
2a1cfd94
JM
43572014-11-13 Joseph Myers <joseph@codesourcery.com>
4358
bf438382
JM
4359 * stdlib/strtol.c (__strtol): Use prototype definition.
4360
2a1cfd94
JM
4361 [BZ #17594]
4362 * stdlib/strtol.c (SYM__): New macro.
4363 (SYM__1): Likewise.
4364 (__strtol): Likewise.
4365 (strtol): Rename to __strtol and define as weak alias of
4366 __strtol. Use libc_hidden_weak.
4367
20ed0d26
SL
43682014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4369
4370 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4371 Use numbered labels in inline assembly.
4372
53244a4e
SL
43732014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4374
4375 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4376 Add setjmp LIBC_PROBE.
4377 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4378 Likewise.
4379 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4380 Add longjmp, longjmp_target LIBC_PROBE.
4381 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4382 Likewise.
4383
47df8251
SL
43842014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4385
4386 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4387 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4388 to get rid of unused variable warning.
4389
618cebef
SL
43902014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4391
4392 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4393 Check for unwind_backtrace == NULL only in SHARED case.
4394 (__backchain_backtrace): Compile only in SHARED case.
4395 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4396 Likewise.
4397 (__backchain_backtrace): Declare as static.
4398
c6aab2cb
RM
43992014-11-12 Roland McGrath <roland@hack.frob.com>
4400
4401 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4402 (__libc_multiple_threads_ptr): Variable moved ...
4403 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4404
5a6fa4d7
JM
44052014-11-12 Joseph Myers <joseph@codesourcery.com>
4406
24f4f825
JM
4407 * conform/GlibcConform.pm: New file.
4408 * conform/conformtest.pl: Use GlibcConform module.
4409 * conform/linknamespace.pl: New file.
4410 * conform/list-header-symbols.pl: Likewise.
4411 * conform/Makefile (linknamespace-symlists-base): New variable.
4412 (linknamespace-symlists-tests): Likewise.
4413 (linknamespace-header-base): Likewise.
4414 (linknamespace-header-tests): Likewise.
4415 (tests-special): Add new tests.
4416 ($(linknamespace-symlists-tests)): New rule.
4417 (linknamespace-libs): New variable.
4418 ($(objpfx)symlist-stdlibs): New rule.
4419 ($(linknamespace-header-tests)): Likewise.
4420 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4421 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4422 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4423 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4424 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4425 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4426 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4427 (test-xfail-ISO/math.h/linknamespace): Likewise.
4428 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4429 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4430 (test-xfail-ISO/time.h/linknamespace): Likewise.
4431 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4432 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4433 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4434 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4435 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4436 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4437 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4438 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4439 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4440 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4441 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4442 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4443 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4444 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4445 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4446 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4447 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4448 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4449 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4450 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4451 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4452 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4453 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4454 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4455 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4456 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4457 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4458 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4459 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4460 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4461 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4462 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4463 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4464 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4465 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4466 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4467 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4468 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4469 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4470 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4471 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4472 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4473 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4474 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4475 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4476 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4477 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4478 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4479 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4480 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4481 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4482 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4483 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4484 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4485 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4486 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4487 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4488 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4489 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4490 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4491 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4492 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4493 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4494 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4495 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4496 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4497 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4498 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4499 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4500 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4501 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4502 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4503 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4504 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4505 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4506 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4507 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4508 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4509 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4510 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4511 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4512 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4513 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4514 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4515 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4516 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4517 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4518 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4519 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4520 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4521 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4522 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4523 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4524 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4525 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4526 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4527 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4528 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4529 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4530 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4531 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4532 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4533 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4534 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4535 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4536 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4537 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4538 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4539 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4540 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4541 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4542 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4543 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4544 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4545 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4546 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4547 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4548 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4549 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4550 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4551 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4552 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4553 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4554 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4555 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4556 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4557 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4558 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4559 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4560 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4561 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4562 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4563 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4564 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4565 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4566 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4567 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4568 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4569 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4570 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4571 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4572 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4573 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4574 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4575 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4576 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4577 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4578 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4579 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4580 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4581
cc67478e
JM
4582 [BZ #17589]
4583 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4584 of fgets_unlocked.
4585
9975e3d3
JM
4586 [BZ #17585]
4587 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4588 (memmem): Rename to __memmem and define as weak alias of
4589 __memmem. Use libc_hidden_weak.
4590 (__memmem): Use libc_hidden_def.
4591 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4592 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4593 memmem.
4594
c4eae752
JM
4595 [BZ #17582]
4596 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4597 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4598 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4599 and define as weak alias of __fgets_unlocked. Use
4600 libc_hidden_weak.
4601 (__fgets_unlocked): Use libc_hidden_def.
4602 * include/stdio.h (__fgets_unlocked): Declare. Use
4603 libc_hidden_proto.
4604 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4605 __fgets_unlocked instead of fgets_unlocked.
4606 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4607 (GET_NPROCS_CONF_PARSER): Likewise.
4608 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4609 (GET_NPROCS_CONF_PARSER): Likewise.
4610
01cad84e
JM
4611 [BZ #17574]
4612 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4613 weak alias of __wmemset. Use libc_hidden_weak.
4614 (__wmemset): Use libc_hidden_def.
4615 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4616 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4617 of wmemset.
4618
939da411
JM
4619 [BZ #17573]
4620 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4621 with asm name __mempcpy.
4622 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4623
293d9a41
JM
4624 [BZ #17572]
4625 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4626 and define as weak alias of __rawmemchr.
4627 (__rawmemchr): Do not define as strong alias of rawmemchr.
4628
bef8fd60
JM
4629 [BZ #17571]
4630 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4631 alias of __qsort_r.
4632 (qsort): Call __qsort_r instead of qsort_r.
4633 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4634 (__qsort_r): Declare. Call libc_hidden_proto.
4635 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4636 instead of qsort_r.
4637 * nscd/gai.c (__qsort_r): Define to qsort_r.
4638 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4639 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4640 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4641
c52ff39e
JM
4642 [BZ #17570]
4643 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4644 define as weak alias of __malloc_info.
4645
2f5c1b00
JM
4646 [BZ #17584]
4647 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4648 as weak alias of __rewinddir. Don't use libc_hidden_def.
4649 (__rewinddir): Use libc_hidden_def.
4650 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4651 as weak alias of __rewinddir. Don't use libc_hidden_def.
4652 (__rewinddir): Use libc_hidden_def.
4653 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4654 weak alias of __rewinddir. Don't use libc_hidden_def.
4655 (__rewinddir): Use libc_hidden_def.
4656 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4657 (__rewinddir): Use libc_hidden_proto.
4658 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4659 rewinddir.
4660 (__getcwd): Use __rewinddir instead of rewinddir.
4661
5a6fa4d7
JM
4662 [BZ #17583]
4663 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4664 alias of __fileno. Use libc_hidden_weak.
4665 (__fileno): Use libc_hidden_def.
4666 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4667 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4668 alias of __ftello.
4669 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4670 __ftello.
4671 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4672 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4673 libc_hidden_def.
4674 (fread_unlocked): Don't use libc_hidden_ver.
4675 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4676 and define as weak alias of __fread_unlocked. Don't use
4677 libc_hidden_def.
4678 (__fread_unlocked): Use libc_hidden_def.
4679 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4680 (ftello): Don't use libc_hidden_proto.
4681 (__ftello): Declare. Use libc_hidden_proto.
4682 (fread_unlocked): Don't use libc_hidden_proto.
4683 (__fread_unlocked): Declare. Use libc_hidden_proto.
4684 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4685 and __ftello instead of fileno, fread_unlocked and ftello.
4686
2581b98e
SP
46872012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4688
4689 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4690 GOT12.
4691 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4692 Likewise.
4693 (_dl_start_user): Likewise.
4694 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4695
533bb7c2
SP
46962014-11-12 Carlos O'Donell <carlos@redhat.com>
4697 Siddhesh Poyarekar <siddhesh@redhat.com>
4698
4699 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4700 Move argv and envp down instead of moving argc up.
4701 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4702
fffa1cf8
LH
47032014-11-12 Leonhard Holz <leonhard.holz@web.de>
4704
4705 [BZ #17506]
4706 * test-skeleton.c (main): Return successful if one of
4707 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4708 * string/tst-strcoll-overflow.c: Define expected status.
4709
fb89b46d
TU
47102014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4711
4712 [BZ #17475]
4713 * locale/iso-639.def: Define Bhili and Tulu language codes.
4714
5c40c3ba
AH
47152014-11-11 Alan Hayward <alan.hayward@arm.com>
4716
4717 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4718
b17fe01b 47192014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
4720
4721 [BZ #17555]
4722 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4723
bd805071
AS
47242014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4725
4726 * configure.ac: Updated check of minimal required version to
4727 2.22.
4728 * manual/install.texi (Tools for Compilation): Updated version
4729 number.
4730 * configure: Regenerated.
4731 * INSTALL: Likewise.
4732
1400983e
AS
47332014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4734
4735 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4736 __tls_get_addr.
4737
2c46a66a
JM
47382014-11-07 Joseph Myers <joseph@codesourcery.com>
4739
4740 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4741 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4742 (__waitpid): Don't define as alias. Use libc_hidden_def not
4743 libc_hidden_weak.
4744 (waitpid): Define as alias of __waitpid.
4745 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4746 __waitpid.
4747 (__waitpid): Don't define as alias. Use libc_hidden_def not
4748 libc_hidden_weak.
4749 (waitpid): Define as alias of __waitpid.
4750 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4751 __libc_waitpid alias.
4752 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4753 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4754 Likewise.
4755 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4756 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4757 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4758 alias.
4759 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4760 __waitpid.
4761 (__waitpid): Don't define as alias. Use libc_hidden_def not
4762 libc_hidden_weak.
4763 (waitpid): Define as alias of __waitpid.
4764
da53d6db
CD
47652014-11-06 Carlos O'Donell <carlos@redhat.com>
4766
a2887bdb
CD
4767 * manual/llio.texi: Add comment that write safety has been
4768 fixed in Linux.
4769
da53d6db
CD
4770 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4771 (localplt-build-dso): Add elf/ld.so.
4772 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4773 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4774 and free for ld.so.
4775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4776 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4778 Likewise.
4779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4780 Likewise.
4781 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4782 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4783 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4784 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4785 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4786 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4787 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4788 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4789 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4790 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4791 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4792
9cf27b8d
JM
47932014-11-05 Joseph Myers <joseph@codesourcery.com>
4794
4795 [BZ #14132]
4796 * include/libc-symbols.h (INTUSE): Remove macro.
4797 (INTDEF): Likewise.
4798 (INTVARDEF): Likewise.
4799 (_INTVARDEF): Likewise.
4800 (INTDEF2): Likewise.
4801 (INTVARDEF2): Likewise.
4802 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4803 rtld_hidden_def instead of INTVARDEF.
4804 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4805 (_dl_starting_up_internal): Remove declaration.
4806 (_dl_starting_up): Use rtld_hidden_proto.
4807 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4808 declaration.
4809 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4810 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4811 _dl_starting_up.
4812 * elf/dl-writev.h (_dl_writev): Likewise.
4813 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4814 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4815 _dl_starting_up_internal.
4816
af83568d
AZ
48172014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4818
4819 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4820 test-skeleton.c.
4821
b01ee67c
WN
48222014-11-05 Will Newton <will.newton@linaro.org>
4823
4824 * benchtests/Makefile: (bench-malloc): Add malloc thread
4825 scalability benchmark.
4826 * benchtests/bench-malloc-threads.c: New file.
4827
be9d4ccc
RE
48282014-11-05 Richard Earnshaw <rearnsha@arm.com>
4829
4830 * sysdeps/aarch64/strchrnul.S: New file.
4831
7110166d
AZ
48322014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4833
4834 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4835 definition.
4836 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4837 Likwise.
4838 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4839 Likewise.
4840 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4841 Likewise.
4842 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4843 Likewise.
4844 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4845 Likewise.
4846
48472014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
4848
4849 * catgets/test-gencat.c: Use test-skeleton.c.
4850 * catgets/tst-catgets.c: Likewise.
4851 * csu/tst-empty.c: Likewise.
4852 * elf/tst-audit2.c: Likewise.
4853 * elf/tst-global1.c: Likewise.
4854 * elf/tst-pathopt.c: Likewise.
4855 * elf/tst-piemod1.c: Likewise.
4856 * elf/tst-tls10.c: Likewise.
4857 * elf/tst-tls11.c: Likewise.
4858 * elf/tst-tls12.c: Likewise.
4859 * gnulib/tst-gcc.c: Likewise.
4860 * iconvdata/tst-e2big.c: Likewise.
4861 * iconvdata/tst-loading.c: Likewise.
4862 * iconv/tst-iconv1.c: Likewise.
4863 * iconv/tst-iconv2.c: Likewise.
4864 * inet/test-inet6_opt.c: Likewise.
4865 * inet/tst-gethnm.c: Likewise.
4866 * inet/tst-network.c: Likewise.
4867 * inet/tst-ntoa.c: Likewise.
4868 * intl/tst-codeset.c: Likewise.
4869 * intl/tst-gettext2.c: Likewise.
4870 * intl/tst-gettext3.c: Likewise.
4871 * intl/tst-ngettext.c: Likewise.
4872 * intl/tst-translit.c: Likewise.
4873 * io/test-stat.c: Likewise.
4874 * libio/test-fmemopen.c: Likewise.
4875 * libio/tst-freopen.c: Likewise.
4876 * libio/tst-sscanf.c: Likewise.
4877 * libio/tst-ungetwc1.c: Likewise.
4878 * libio/tst-ungetwc2.c: Likewise.
4879 * libio/tst-widetext.c: Likewise.
4880 * localedata/tst-ctype.c: Likewise.
4881 * localedata/tst-digits.c: Likewise.
4882 * localedata/tst-leaks.c: Likewise.
4883 * localedata/tst-mbswcs1.c: Likewise.
4884 * localedata/tst-mbswcs2.c: Likewise.
4885 * localedata/tst-mbswcs3.c: Likewise.
4886 * localedata/tst-mbswcs4.c: Likewise.
4887 * localedata/tst-mbswcs5.c: Likewise.
4888 * localedata/tst-setlocale.c: Likewise.
4889 * localedata/tst-trans.c: Likewise.
4890 * localedata/tst-wctype.c: Likewise.
4891 * localedata/tst-xlocale1.c: Likewise.
4892 * login/tst-grantpt.c: Likewise.
4893 * malloc/tst-calloc.c: Likewise.
4894 * malloc/tst-malloc.c: Likewise.
4895 * malloc/tst-mallocstate.c: Likewise.
4896 * malloc/tst-mcheck.c: Likewise.
4897 * malloc/tst-mtrace.c: Likewise.
4898 * malloc/tst-obstack.c: Likewise.
4899 * math/atest-exp2.c: Likewise.
4900 * math/atest-exp.c: Likewise.
4901 * math/atest-sincos.c: Likewise.
4902 * math/test-matherr.c: Likewise.
4903 * math/test-misc.c: Likewise.
4904 * math/test-powl.c: Likewise.
4905 * math/tst-definitions.c: Likewise.
4906 * misc/tst-dirname.c: Likewise.
4907 * misc/tst-efgcvt.c: Likewise.
4908 * misc/tst-fdset.c: Likewise.
4909 * misc/tst-hsearch.c: Likewise.
4910 * misc/tst-mntent2.c: Likewise.
4911 * nptl/tst-sem7.c: Likewise.
4912 * nptl/tst-sem8.c: Likewise.
4913 * nptl/tst-sem9.c: Likewise.
4914 * nss/test-netdb.c: Likewise.
4915 * posix/tst-fnmatch.c: Likewise.
4916 * posix/tst-getlogin.c: Likewise.
4917 * posix/tst-gnuglob.c: Likewise.
4918 * posix/tst-mmap.c: Likewise.
4919 * pwd/tst-getpw.c: Likewise.
4920 * resolv/tst-inet_ntop.c: Likewise.
4921 * rt/tst-timer.c: Likewise.
4922 * stdio-common/test-fseek.c: Likewise.
4923 * stdio-common/test-popen.c: Likewise.
4924 * stdio-common/test-vfprintf.c: Likewise.
4925 * stdio-common/tst-cookie.c: Likewise.
4926 * stdio-common/tst-fileno.c: Likewise.
4927 * stdio-common/tst-gets.c: Likewise.
4928 * stdio-common/tst-obprintf.c: Likewise.
4929 * stdio-common/tst-perror.c: Likewise.
4930 * stdio-common/tst-sprintf2.c: Likewise.
4931 * stdio-common/tst-sprintf3.c: Likewise.
4932 * stdio-common/tst-sprintf.c: Likewise.
4933 * stdio-common/tst-swprintf.c: Likewise.
4934 * stdio-common/tst-tmpnam.c: Likewise.
4935 * stdio-common/tst-unbputc.c: Likewise.
4936 * stdio-common/tst-wc-printf.c: Likewise.
4937 * stdlib/tst-environ.c: Likewise.
4938 * stdlib/tst-fmtmsg.c: Likewise.
4939 * stdlib/tst-limits.c: Likewise.
4940 * stdlib/tst-rand48-2.c: Likewise.
4941 * stdlib/tst-rand48.c: Likewise.
4942 * stdlib/tst-random2.c: Likewise.
4943 * stdlib/tst-random.c: Likewise.
4944 * stdlib/tst-strtol.c: Likewise.
4945 * stdlib/tst-strtoll.c: Likewise.
4946 * stdlib/tst-tls-atexit.c: Likewise.
4947 * stdlib/tst-xpg-basename.c: Likewise.
4948 * string/test-ffs.c: Likewise.
4949 * string/tst-bswap.c: Likewise.
4950 * string/tst-inlcall.c: Likewise.
4951 * string/tst-strtok.c: Likewise.
4952 * string/tst-strxfrm.c: Likewise.
4953 * sysdeps/x86_64/tst-audit10.c: Likewise.
4954 * sysdeps/x86_64/tst-audit3.c: Likewise.
4955 * sysdeps/x86_64/tst-audit4.c: Likewise.
4956 * sysdeps/x86_64/tst-audit5.c: Likewise.
4957 * time/tst-ftime_l.c: Likewise.
4958 * time/tst-getdate.c: Likewise.
4959 * time/tst-mktime3.c: Likewise.
4960 * time/tst-mktime.c: Likewise.
4961 * time/tst-posixtz.c: Likewise.
4962 * time/tst-strptime2.c: Likewise.
4963 * time/tst-strptime3.c: Likewise.
4964 * wcsmbs/tst-btowc.c: Likewise.
4965 * wcsmbs/tst-mbrtowc.c: Likewise.
4966 * wcsmbs/tst-mbsrtowcs.c: Likewise.
4967 * wcsmbs/tst-wchar-h.c: Likewise.
4968 * wcsmbs/tst-wcpncpy.c: Likewise.
4969 * wcsmbs/tst-wcrtomb.c: Likewise.
4970 * wcsmbs/tst-wcsnlen.c: Likewise.
4971 * wcsmbs/tst-wcstof.c: Likewise.
4972
2004e7fb
JM
49732014-11-04 Joseph Myers <joseph@codesourcery.com>
4974
ab97ee8f
JM
4975 [BZ #14132]
4976 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4977 INTDEF.
4978 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4979 declaration.
4980 (_dl_mcount): Use rtld_hidden_proto.
4981 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4982 _dl_mcount.
4983 * elf/rtld.c (_rtld_global_ro): Likewise.
4984
c5684fdb
JM
4985 [BZ #14132]
4986 * elf/dl-init.c (_dl_init): Don't use INTDEF.
4987 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4988 of _dl_init_internal.
4989 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4990 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4991 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4992 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4993 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4994 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4995 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4996 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4997 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4998 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4999 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5000 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5001 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5002 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5003 * sysdeps/tile/dl-start.S (_start): Likewise.
5004 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5005 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5006
4243cbea
JM
5007 [BZ #14132]
5008 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5009 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5010 (rtld_progname): Make macro definition unconditional.
5011 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5012 INTDEF.
5013 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5014 (dl_main): Likewise.
5015 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5016 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5017 instead of _dl_argv_internal.
5018 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5019 __GI__dl_argv instead of INTUSE(_dl_argv).
5020 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5021 __GI__dl_argv instead of _dl_argv_internal.
5022
2004e7fb
JM
5023 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5024 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5025 macro.
5026 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5027 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5028 New macro.
5029 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5030 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5031 macro.
5032 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5033 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5034
97827bfc
AS
50352014-11-04 Andreas Schwab <schwab@suse.de>
5036
5037 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5038
5e4df284
AZ
50392014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5040
5041 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5042 mtvsrd instruction in binary form.
5043
04b76b5a
AS
50442014-11-03 Andreas Schwab <schwab@suse.de>
5045
5046 [BZ #17522]
5047 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5048 for less than MB_LEN_MAX use a local buffer of that size.
5049 * libio/tst-fputws.c: New file.
5050 * libio/Makefile (tests): Add tst-fputws.
5051
4c6da7da
JM
50522014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5053
5054 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5055 the size of the fpu_fr.fpu_dregs[] array.
5056
1679ba8e
JM
50572014-11-01 Joseph Myers <joseph@codesourcery.com>
5058
5059 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5060 (__nanosleep): Do not define as alias.
5061 (nanosleep): Define as alias of __nanosleep.
5062 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5063 __libc_nanosleep name.
5064
2626c183
JM
50652014-10-31 Joseph Myers <joseph@codesourcery.com>
5066
5067 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5068 install.texi in comment.
5069
7f981fc2
TR
50702014-10-31 Torvald Riegel <triegel@redhat.com>
5071
5072 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5073 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5074 ... add here and use lwsync or sync ...
5075 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5076 ... and add here using lwsync.
5077
d6f373d2
MF
50782014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5079
5080 * elf/dl-machine-reject-phdr.h: New file.
5081 * elf/dl-load.c: #include that.
5082 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5083 if that returned true.
5084
67c37987
RM
50852014-10-31 Roland McGrath <roland@hack.frob.com>
5086
5087 [BZ #17496]
5088 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5089 gen-as-const-headers chunk. Add a big scare comment after the last
5090 safe place to touch before-compile.
5091
94a42455 50922014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 5093
f3f5d895
JM
5094 * manual/install.texi (Tools for Compilation): Update autoconf
5095 version requirements.
5096 * INSTALL: Regenerated.
5097
f62ff286
JM
5098 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5099 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5100 (__libc_pselect): Likewise.
94a42455
JM
5101
5102 [BZ #14138]
5103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5107
ff9dbdc0
TR
51082014-10-31 Torvald Riegel <triegel@redhat.com>
5109
5110 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5111 correct barrier instruction.
5112 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5113 Likewise.
5114 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5115 Likewise.
5116
b4f66884
RM
51172014-10-30 Roland McGrath <roland@hack.frob.com>
5118
5119 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5120 after defining inlines. Instead, just use parens to defeat macro
5121 expansion of __isctype in its declaration.
5122
e19c95fd
JM
51232014-10-30 Joseph Myers <joseph@codesourcery.com>
5124
5125 * include/sys/uio.h (__libc_readv): Remove declaration.
5126 (__libc_writev): Likewise.
5127 * misc/readv.c (__libc_readv): Rename to __readv.
5128 (__readv): Do not define as alias.
5129 (readv): Define as alias of __readv.
5130 * misc/writev.c (__libc_writev): Rename to __writev.
5131 (__writev): Do not define as alias.
5132 (writev): Define as alias of __writev.
5133 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5134 (__readv): Do not define as alias.
5135 (readv): Define unconditionally as alias of __readv.
5136 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5137 (__writev): Do not define as alias.
5138 (writev): Define unconditionally as alias of __writev.
5139 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5140 name.
5141 (writev): Do not define __libc_writev name.
5142
65b00b6c
RM
51432014-10-30 Roland McGrath <roland@hack.frob.com>
5144
5145 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5146 (convert_charseq): New function, broken out of ...
5147 (use_from_charmap): ... here. Call it.
5148 (use_to_charmap): Use convert_charseq and free instead of duplicating
5149 its code with a variable-length stack struct.
5150
d4e157aa
JM
51512014-10-30 Joseph Myers <joseph@codesourcery.com>
5152
5153 * include/fcntl.h (__libc_creat): Remove declaration.
5154 * io/creat.c (__libc_creat): Rename to creat.
5155 (creat): Do not define as alias.
5156 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5157 of creat instead of __libc_creat.
5158 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5159 to creat.
5160 (creat): Do not define as alias.
5161 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5162 __libc_creat.
5163 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5164 __libc_creat name.
5165 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5166 Likewise.
5167
0c6891a0
CD
51682014-10-29 Carlos O'Donell <carlos@redhat.com>
5169
5170 * manual/llio.texi: Add comments discussing why write() may be
5171 considered MT-unsafe on Linux.
5172
cc00cece
CD
51732014-10-28 Carlos O'Donell <carlos@redhat.com>
5174
5175 * dl-load.c (local_strdup): Remove.
5176 (expand_dynamic_string_token): Use __strdup.
5177 (decompose_rpath): Likewise.
5178 (_dl_map_object): Likewise.
5179
51e623f2
JM
51802014-10-28 Joseph Myers <joseph@codesourcery.com>
5181
5182 [BZ #14132]
5183 * sysdeps/generic/unwind-dw2-fde.c
5184 (__register_frame_info_bases_internal): Do not declare.
5185 (__register_frame_info_table_bases_internal): Likewise.
5186 (__deregister_frame_info_bases_internal): Likewise.
5187 (__register_frame_info_bases): Declare and use hidden_proto before
5188 definition. Use hidden_def instead of INTDEF.
5189 (__register_frame_info_table_bases): Likewise.
5190 (__deregister_frame_info_bases): Likewise.
5191 (__register_frame_info): Do not use INTUSE.
5192 (__register_frame): Likewise.
5193 (__register_frame_info_table): Likewise.
5194 (__register_frame_table): Likewise.
5195 (__deregister_frame_info): Likewise.
5196 (__deregister_frame): Likewise.
5197
03d41216
GC
51982014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5199
5200 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5201 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5202 not undefine.
5203 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5204 Likewise.
5205 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5206 Likewise.
5207
a4b3624d
JM
52082014-10-27 Joseph Myers <joseph@codesourcery.com>
5209
5210 [BZ #14138]
5211 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5212 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5213 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5214 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5215 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5216 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5217 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5218 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5219 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5220 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5221 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5222 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5223 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5224 syscall.
5225 (setfsuid): Likewise.
5226 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5227 (setfsuid): Likewise.
5228 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5229 (setfsuid): Likewise.
5230 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5231 Likewise.
5232 (setfsuid): Likewise.
5233 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5234 (setfsuid): Likewise.
5235 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5236 Likewise.
5237 (setfsuid): Likewise.
5238
3574f2fd
AS
52392014-10-27 Andreas Schwab <schwab@suse.de>
5240
5241 [BZ #17501]
5242 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5243 check for Slow_SSE4_2 feature bit.
5244 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5245 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5246 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5247 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5248
70996a37
RM
52492014-10-24 Roland McGrath <roland@hack.frob.com>
5250
461a7b1e
RM
5251 * configure.ac: Validate compiler version with a empirical test of
5252 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5253 $CC -v output.
5254 * configure: Regenerated.
5255
70996a37
RM
5256 * inet/htons.c (htons): Prototypify.
5257 * inet/htonl.c (htonl): Likewise.
5258
e80514b5
WD
52592014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5260
5261 * string/strncat.c (strncat): Improve performance by using strlen.
5262
6e46de42
WD
52632014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5264
5265 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5266
6a9ad2fa
WD
52672014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5268
5269 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5270 Call libc_fetestexcept_aarch64.
5271
1c8810ed
WD
52722014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5273
5274 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5275 Call libc_feholdexcept_aarch64.
5276
8b1af712
WD
52772014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5278
5279 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5280 Call get_rounding_mode.
5281
a7b00c11
WD
52822014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5283
5284 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5285 Simplify logic.
5286
3a84f1a6
WD
52872014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5288
5289 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5290 Simplify logic.
5291
48eb7a94
JM
52922014-10-24 Joseph Myers <joseph@codesourcery.com>
5293
c8bc4038
JM
5294 [BZ #14138]
5295 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5296 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5297 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5298 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5299 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5300 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5301 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5302 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5303 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5304 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5305 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5306 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5307 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5308 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5309 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5310 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5311 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5312 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5313 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5314 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5315 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5316 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5317 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5318 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5319 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5320 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5321 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5322 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5323 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5324 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5325 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5326 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5327 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5328 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5329 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5330 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5331 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5332 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5333 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5334 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5335 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5336 syscall.
5337 (geteuid): Likewise.
5338 (getgid): Likewise.
5339 (getuid): Likewise.
5340 (getresgid): Likewise.
5341 (getresuid): Likewise.
5342 (getgroups): Likewise.
5343 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5344 (geteuid): Likewise.
5345 (getgid): Likewise.
5346 (getuid): Likewise.
5347 (getresgid): Likewise.
5348 (getresuid): Likewise.
5349 (getgroups): Likewise.
5350 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5351 (geteuid): Likewise.
5352 (getgid): Likewise.
5353 (getuid): Likewise.
5354 (getresgid): Likewise.
5355 (getresuid): Likewise.
5356 (getgroups): Likewise.
5357 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5358 Likewise.
5359 (geteuid): Likewise.
5360 (getgid): Likewise.
5361 (getuid): Likewise.
5362 (getresgid): Likewise.
5363 (getresuid): Likewise.
5364 (getgroups): Likewise.
5365 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5366 (geteuid): Likewise.
5367 (getgid): Likewise.
5368 (getuid): Likewise.
5369 (getresgid): Likewise.
5370 (getresuid): Likewise.
5371 (getgroups): Likewise.
5372 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5373 Likewise.
5374 (geteuid): Likewise.
5375 (getgid): Likewise.
5376 (getuid): Likewise.
5377 (getgroups): Likewise.
5378
48eb7a94
JM
5379 [BZ #14138]
5380 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5381 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5382 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5383 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5384 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5385 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5386 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5387 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5388 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5389 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5390 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5391 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5392 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5393 __chown.
5394 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5395 (lchown): Likewise.
5396 (fchown): Likewise.
5397 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5398 Likewise.
5399 (lchown): Likewise.
5400 (fchown): Likewise.
5401 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5402 (lchown): Likewise.
5403 (fchown): Likewise.
5404 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5405 Likewise.
5406 (lchown): Likewise.
5407 (fchown): Likewise.
5408
ea9a7c8b
WD
54092014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5410
5411 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5412 Simplify logic.
5413
e226de33
WD
54142014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5415
5416 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5417 Cleanup logic.
5418
6e3d8ed3
WD
54192014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5420
5421 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5422 Remove unused include.
5423
eb04247d
WD
54242014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5425
5426 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5427 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5428 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5429 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5430
13d84554
CD
54312014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5432 Helge Deller <deller@gmx.de>
5433
5434 [BZ #17508]
5435 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5436 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5437 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5438
15f9c5df
JM
54392014-10-23 Joseph Myers <joseph@codesourcery.com>
5440
5441 [BZ #14132]
5442 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5443 Remove macro definition.
5444 (__ashrdi3_v_glibc20): Likewise.
5445 (__lshrdi3_v_glibc20): Likewise.
5446 (__cmpdi2_v_glibc20): Likewise.
5447 (__ucmpdi2_v_glibc20): Likewise.
5448 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5449 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5450 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5451 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5452 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5453 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5454
c6dfed24
RM
54552014-10-22 Roland McGrath <roland@hack.frob.com>
5456
5457 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5458 old GNU extension [0] syntax.
5459 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5460 alloca rather than an array member with variable length.
5461 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5462 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5463 (parse_opt): ... here. Likewise use alloca there.
5464 Validate the -i argument before checking for rootness.
5465 (send_shutdown): New function, broken out of ...
5466 (parse_opt): ... here.
5467
8c2b1ed8
RM
54682014-10-22 Roland McGrath <roland@hack.frob.com>
5469
5470 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5471 macro to get at the _rt_local_ro field.
5472 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5473 ([PIC] case) or _dl_hwcap ([!PIC] case).
5474 * sysdeps/arm/setjmp.S: Likewise.
5475
5476 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5477 * sysdeps/arm/configure.ac: New check to define it.
5478 * sysdeps/arm/configure: Regenerated.
5479 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5480 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5481 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5482 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5483 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5484 Use move/movt pair instead of a load.
5485 (LDST_GLOBAL): Macro removed.
5486 (LDR_GLOBAL): New macro replaces it.
5487 (LDR_HIDDEN): New macro.
5488 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5489 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5490
5491 * setjmp/tst-setjmp-static.c: New file.
5492 * setjmp/Makefile (tests): Add it.
5493 (tests-static): New variable.
5494
b5af9297
MR
54952014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5496
5497 [BZ #17485]
5498 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5499
a13d0d74
JM
55002014-10-21 Joseph Myers <joseph@codesourcery.com>
5501
5502 [BZ #14132]
5503 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5504
f05e73f6
RM
55052014-10-21 Roland McGrath <roland@hack.frob.com>
5506
5507 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5508
6ab1d1ea
RM
55092014-10-20 Roland McGrath <roland@hack.frob.com>
5510
5511 * io/fts.c (dirent_not_directory): New function.
5512 (fts_build): Call it.
5513
ab49e763
RM
55142014-10-20 Roland McGrath <roland@hack.frob.com>
5515
e436eb79
RM
5516 * nptl/version.c (__nptl_main): Use normal __write rather than
5517 INTERNAL_SYSCALL.
5518 (banner): Update copyright years.
5519
6af246cf
RM
5520 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5521 gettimeofday.
5522 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5523 * nptl/pthread_cond_timedwait.c: Likewise.
5524 * nptl/pthread_mutex_timedlock.c: Likewise.
5525 * nptl/sem_timedwait.c: Likewise.
5526
ab49e763
RM
5527 * sysdeps/nptl/bits/libc-lock.h
5528 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5529 (__libc_lock_init_recursive): Return void, not 0.
5530 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5531 (__libc_rwlock_init): Likewise.
5532 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5533
f50277c1
TR
55342014-10-20 Torvald Riegel <triegel@redhat.com>
5535
5536 [BZ #15215]
5537 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5538 (__pthread_once_slow): ... here.
5539 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5540 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5541
63668b70
TR
55422014-10-20 Torvald Riegel <triegel@redhat.com>
5543
5544 [BZ #15215]
5545 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5546 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5547 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5548 * nptl/pthread_once.c (__pthread_once): Likewise.
5549 Update comments.
5550
42b7f5d4
JM
55512014-10-20 Joseph Myers <joseph@codesourcery.com>
5552
5553 [BZ #14138]
5554 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5555 name.
5556 (writev): Use __libc_writev as strong name.
5557 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5558 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5559
b0643088
RM
55602014-10-17 Roland McGrath <roland@hack.frob.com>
5561
114c4e09
RM
5562 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5563
674b8978
RM
5564 * sysdeps/i386/nptl/tls.h
5565 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5566 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5567 New macros.
5568 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5569 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5570 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5571 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5572 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5573 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5574
184ee940
RM
5575 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5576 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5577 on [__NR_futex].
5578 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5579 broken out of ...
5580 (__pthread_mutex_init): ... here. Call it.
5581 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5582 Conditionalize PI cases on [__NR_futex].
5583 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5584 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5585 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5586
327ae257
RM
5587 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5588 conditional on [SIGSETXID].
5589 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5590 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5591 is defined. Likewise for SIGSETXID.
5592 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5593 Conditionalize definitions on [SIGSETXID].
5594 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5595 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5596 unblocking on [SIGCANCEL].
5597
b0643088
RM
5598 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5599 [__NR_set_robust_list].
5600
33cc770b
SP
56012014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5602
5603 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5604 (do_compare): Likewise.
5605
0742aef6
LH
56062014-10-17 Leonhard Holz <leonhard.holz@web.de>
5607
5608 [BZ #15884]
5609 * string/strcoll_l.c: Don't include stdio.h.
5610 (coll_seq): Remove members idxarr and rulearr.
5611 (get_next_seq_cached): Remove function.
5612 (get_next_seq): Likewise.
5613 (get_next_seq_nocache): Rename to get_next_seq.
5614 (do_compare): Remove function.
5615 (do_compare_nocache): Rename to do_compare.
5616 (STRCOLL): Remove weight and rules cache.
5617
ee54ce44
RM
56182014-10-16 Roland McGrath <roland@hack.frob.com>
5619
5620 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5621 * sysdeps/arm/sfp-machine.h: ... to here.
5622 * sysdeps/arm/Implies: Remove arm/soft-fp.
5623
a75d3b02
JM
56242014-10-14 Joseph Myers <joseph@codesourcery.com>
5625
5626 * conform/data/sys/utsname.h-data (*_t): Allow.
5627 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5628 [POSIX] (WEXITED): Do not expect constant.
5629 [POSIX] (WSTOPPED): Likewise.
5630 [POSIX] (WNOHANG): Likewise.
5631 [POSIX] (WNOWAIT): Likewise.
5632 [POSIX] (siginfo_t): Do not expect type or elements.
5633 [POSIX] (pid_t): Do not expect type.
5634 [POSIX] (signal.h): Do not allow header.
5635 [POSIX] (sys/resource.h): Likewise.
5636 [POSIX] (si_*): Do not allow pattern.
5637 [POSIX] (W*): Likewise.
5638 [POSIX] (P_*): Likewise.
5639 [POSIX] (BUS_*): Likewise.
5640 [POSIX] (CLD_*): Likewise.
5641 [POSIX] (FPE_*): Likewise.
5642 [POSIX] (ILL_*): Likewise.
5643 [POSIX] (POLL_*): Likewise.
5644 [POSIX] (SEGV_*): Likewise.
5645 [POSIX] (SI_*): Likewise.
5646 [POSIX] (TRAP_*): Likewise.
5647 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5648 variable.
5649
fda389c8
SP
56502014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5651
5652 [BZ #12926]
5653 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5654 infinite loop when __recvmsg returns 0.
5655
6bc6bd3b
JM
56562014-10-10 Joseph Myers <joseph@codesourcery.com>
5657
fcb32af1
JM
5658 * CANCEL-FCT-WAIVE: Remove file.
5659 * CANCEL-FILE-WAIVE: Likewise.
5660
6bc6bd3b
JM
5661 [BZ #14132]
5662 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5663 instead of INTVARDEF.
5664 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5665 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5666 rtld_hidden_data_def instead of INTVARDEF.
5667 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5668 * elf/dl-deps.c (expand_dst): Likewise.
5669 * elf/dl-load.c (_dl_dst_count): Likewise.
5670 (_dl_dst_substitute): Likewise.
5671 (decompose_rpath): Likewise.
5672 (_dl_init_paths): Likewise.
5673 (open_path): Likewise.
5674 (_dl_map_object): Likewise.
5675 * elf/rtld.c (dl_main): Likewise.
5676 (process_dl_audit): Likewise.
5677 (process_envvars): Likewise.
5678 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5679 Remove declaration.
5680 (__libc_enable_secure): Use rtld_hidden_proto.
5681
b8c80a7e
KS
56822014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5683
5684 * elf/dl-load.c
5685 (add_path): New function broken out of _dl_rtld_di_serinfo.
5686 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5687
ff12c11f
JM
56882014-10-09 Joseph Myers <joseph@codesourcery.com>
5689
5c0508a3
JM
5690 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5691 parentheses around macro arguments.
5692 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5693 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5694 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5695 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5696 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5697 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5698 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5699 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5700 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5701 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5702 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5703 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5704 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5705 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5706 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5707 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5708 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5709 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5710 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5711 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5712 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5713 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5714 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5715 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5716 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5717 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5718 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5719 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5720 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5721 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5722 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5723 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5724 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5725 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5726 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5727 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5728 Likewise.
5729 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5730 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5731 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5732 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5733 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5734 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5735 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5736 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5737 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5738 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5739 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5740 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5741 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5742 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5743 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5744 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5745 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5746 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5747 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5748 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5749 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5750 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5751 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5752 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5753 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5754 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5755 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5756 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5757 (_FP_FRAC_SRS_1): Likewise.
5758 (_FP_FRAC_CLZ_1): Likewise.
5759 (_FP_MUL_MEAT_1_imm): Likewise.
5760 (_FP_MUL_MEAT_1_wide): Likewise.
5761 (_FP_MUL_MEAT_1_hard): Likewise.
5762 (_FP_SQRT_MEAT_1): Likewise.
5763 (_FP_FRAC_ASSEMBLE_1): Likewise.
5764 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5765 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5766 (__FP_CLZ_2): Likewise.
5767 (_FP_MUL_MEAT_2_wide): Likewise.
5768 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5769 (_FP_MUL_MEAT_2_gmp): Likewise.
5770 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5771 (_FP_SQRT_MEAT_2): Likewise.
5772 (_FP_FRAC_ASSEMBLE_2): Likewise.
5773 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5774 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5775 (_FP_FRAC_CLZ_4): Likewise.
5776 (_FP_MUL_MEAT_4_wide): Likewise.
5777 (_FP_MUL_MEAT_4_gmp): Likewise.
5778 (_FP_SQRT_MEAT_4): Likewise.
5779 (_FP_FRAC_ASSEMBLE_4): Likewise.
5780 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5781 * soft-fp/op-common.h (_FP_CMP): Likewise.
5782 (_FP_CMP_EQ): Likewise.
5783 (_FP_CMP_UNORD): Likewise.
5784 (_FP_TO_INT): Likewise.
5785 (_FP_FROM_INT): Likewise.
5786 [!__FP_CLZ] (__FP_CLZ): Likewise.
5787 (_FP_DIV_HELP_imm): Likewise.
5788 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5789 Likewise.
5790 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5791 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5792 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5793 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5794 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5795 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5796 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5797 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5798 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5799 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5800 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5801 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5802 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5803 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5804 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5805 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5806 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5807 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5808 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5809 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5810 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5811 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5812 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5813 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5814 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5815 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5816 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5817 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5818 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5819 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5820 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5821 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5822 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5823 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5824 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5825 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5826 (FP_UNPACK_RAW_SP): Likewise.
5827 (FP_PACK_RAW_S): Likewise.
5828 (FP_PACK_RAW_SP): Likewise.
5829 (FP_UNPACK_S): Likewise.
5830 (FP_UNPACK_SP): Likewise.
5831 (FP_UNPACK_SEMIRAW_S): Likewise.
5832 (FP_UNPACK_SEMIRAW_SP): Likewise.
5833 (FP_PACK_S): Likewise.
5834 (FP_PACK_SP): Likewise.
5835 (FP_PACK_SEMIRAW_S): Likewise.
5836 (FP_PACK_SEMIRAW_SP): Likewise.
5837 (_FP_SQRT_MEAT_S): Likewise.
5838 (FP_CMP_S): Likewise.
5839 (FP_CMP_EQ_S): Likewise.
5840 (FP_CMP_UNORD_S): Likewise.
5841 (FP_TO_INT_S): Likewise.
5842 (FP_FROM_INT_S): Likewise.
5843
a736ec37
JM
5844 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5845
ff12c11f
JM
5846 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5847 (FP_EX_INVALID_IMZ): Likewise.
5848 (FP_EX_INVALID_IMZ_FMA): Likewise.
5849 (FP_EX_INVALID_ISI): Likewise.
5850 (FP_EX_INVALID_ZDZ): Likewise.
5851 (FP_EX_INVALID_IDI): Likewise.
5852 (FP_EX_INVALID_SQRT): Likewise.
5853 (FP_EX_INVALID_CVI): Likewise.
5854 (FP_EX_INVALID_VC): Likewise.
5855 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5856 "invalid" exceptions.
5857 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5858 (_FP_ADD_INTERNAL): Likewise.
5859 (_FP_MUL): Likewise.
5860 (_FP_FMA): Likewise.
5861 (_FP_DIV): Likewise.
5862 (_FP_CMP_CHECK_NAN): Likewise.
5863 (_FP_SQRT): Likewise.
5864 (_FP_TO_INT): Likewise.
5865 (FP_EXTEND): Likewise.
5866
b6dcfe8c
AM
58672014-10-09 Allan McRae <allan@archlinux.org>
5868
5869 * po/fr.po: Update French translation from translation project.
5870
2d6a47ba
JM
58712014-10-09 Joseph Myers <joseph@codesourcery.com>
5872
cb831245
JM
5873 [BZ #14132]
5874 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5875 of INTDEF.
5876 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5877 (__cxa_atexit): Use libc_hidden_proto.
5878 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5879
5deeb190
JM
5880 [BZ #14132]
5881 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5882 declaration.
5883 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5884 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5885 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5886 [!_ISOMAC] (__iswctype_internal): Likewise.
5887 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5888 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5889 alias.
5890 (fcntl): Remove __fcntl_internal alias.
5891 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5892 __connect_internal alias.
5893 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5894 Likewise.
5895
454ac701
JM
5896 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5897 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5898 FP_DENORM_ZERO.
5899 (_FP_CHECK_FLUSH_ZERO): New macro.
5900 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5901 (_FP_CMP): Likewise.
5902 (_FP_CMP_EQ): Likewise.
5903 (_FP_TO_INT): Do not set inexact for subnormal arguments if
5904 FP_DENORM_ZERO.
5905 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5906 (FP_TRUNC): Likewise.
5907
0022e688
JM
5908 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5909 treated as invalid conversion, not as normal exponent.
5910
73e28d9c
JM
5911 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5912 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
5913 (_FP_CMP_EQ): Likewise.
5914 (_FP_CMP_UNORD): Likewise.
5915 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5916 (FP_CMP_EQ_D): Likewise.
5917 (FP_CMP_UNORD_D): Likewise.
5918 * soft-fp/extended.h (FP_CMP_E): Likewise.
5919 (FP_CMP_EQ_E): Likewise.
5920 (FP_CMP_UNORD_E): Likewise.
5921 * soft-fp/quad.h (FP_CMP_Q): Likewise.
5922 (FP_CMP_EQ_Q): Likewise.
5923 (FP_CMP_UNORD_Q): Likewise.
5924 * soft-fp/single.h (FP_CMP_S): Likewise.
5925 (FP_CMP_EQ_S): Likewise.
5926 (FP_CMP_UNORD_S): Likewise.
5927 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5928 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5929 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5930 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5931 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5932 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5933 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5934 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5935 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5936 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5937 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5938 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5939 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5940 to FP_CMP_Q.
5941 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5942 FP_CMP_Q.
5943 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5944 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5945 FP_CMP_EQ_Q.
5946 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5947 FP_CMP_Q.
5948 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5949 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5950 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5951 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5952 FP_CMP_EQ_Q.
5953 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5954 FP_CMP_Q.
5955 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5956 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5957 FP_CMP_EQ_Q.
5958 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5959 FP_CMP_Q.
5960 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5961 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5962 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5963 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5964 FP_CMP_EQ_Q.
5965
43059f42
JM
5966 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5967 a subnormal result, set the underflow exception if trapping on
5968 underflow is enabled.
5969 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5970 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5971 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5972 redefine to 0.
5973 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5974 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5975 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5976 * soft-fp/extendxftf2.c (__extendxftf2): Use
5977 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5978
2d6a47ba
JM
5979 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5980 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5981 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5982 FP_HANDLE_EXCEPTIONS.
5983 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5984 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5985 FP_HANDLE_EXCEPTIONS.
5986 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5987 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5988 FP_HANDLE_EXCEPTIONS.
5989 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5990 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5991 FP_HANDLE_EXCEPTIONS.
5992
620f462e
JM
59932014-10-08 Joseph Myers <joseph@codesourcery.com>
5994
5995 [BZ #14132]
5996 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5997 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5998 use INTUSE.
5999 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6000 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6001 Remove alias.
6002 (__adjtimex): Define using libc_hidden_ver.
6003 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6004 Remove declaration.
6005 (ntp_gettime): Call __adjtimex directly.
6006 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6007 Remove declaration.
6008 (ntp_gettimex): Call __adjtimex directly.
6009 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6010 __adjtimex_internal alias.
6011
c763c5d2
RM
60122014-10-08 Roland McGrath <roland@hack.frob.com>
6013
6014 [BZ #17460]
6015 * nscd/nscd.c (more_help): Rewrite list of tables collection
6016 using xstrdup and asprintf.
6017
6018 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6019
7b8fb2b8
RM
60202014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6021 Roland McGrath <roland@hack.frob.com>
6022
6023 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6024 (do_lookup_unique): ... local function 'enter' here; update callers.
6025
abb280f7
JM
60262014-10-06 Joseph Myers <joseph@codesourcery.com>
6027
f7b42517
JM
6028 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6029 compat_symbol calls on [SHARED].
6030 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6031 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6032 Remove.
6033 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6034 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6035 (oldsetrlimit): Remove.
6036 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6038 (lchown): New syscall entry.
6039 (oldsetrlimit): Remove.
6040 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6041 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6042 (oldsetrlimit): Remove.
6043 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6044
abb280f7
JM
6045 [BZ #14138]
6046 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6047 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6048 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6049 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6050 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6051 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6052 (fchown): Likewise.
6053 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6054 (fchown): Likewise.
6055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6056 Likewise.
6057
47d46237
AZ
60582014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6059
6060 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6061 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6062 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6063 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6064 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6065 Likewise.
6066 (__old_sem_post): Likewise.
6067
60682014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 6069
845a7343
CM
6070 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6071 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6072 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6073 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6074 Use INLINE_VSYSCALL macro.
6075 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6076 __vdso_clock_gettime.
6077 * sysdeps/unix/sysv/linux/tile/init-first.c
6078 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6079 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6080 __vdso_clock_gettime.
6081
83d641ef
CM
6082 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6083 to set up frame more cleanly.
6084
d9cd52e6
CM
6085 * sysdeps/tile/memcmp.c: New file.
6086
4b68ea11
CM
6087 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6088
c86f7b80
CM
6089 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6090 * sysdeps/tile/tilegx/strcasestr.c: New file.
6091 * sysdeps/tile/tilegx/strnlen.c: New file.
6092 * sysdeps/tile/tilegx/strstr.c: New file.
6093
1c4c1a6f
CM
6094 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6095
99d86ea3
AS
60962014-10-06 Arjun Shankar <arjun.is@lostca.se>
6097
6098 * nptl/tst-setuid3.c: Write errors to stdout.
6099
06210a44
KS
61002014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6101
6102 * elf/dl-deps.c
6103 (preload): New functions broken out of _dl_map_object_deps.
6104 (_dl_map_object_deps): Remove a nested function. Update call sites.
6105
6268f532
JM
61062014-10-01 Joseph Myers <joseph@codesourcery.com>
6107
6108 [BZ #14138]
6109 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6110 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6111
b925285f
SE
61122014-10-01 Steve Ellcey <sellcey@mips.com>
6113
6114 * sysdeps/mips/strcmp.S: New.
6115
754a15c6
JM
61162014-09-30 Joseph Myers <joseph@codesourcery.com>
6117
6118 [BZ #14138]
6119 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6120 (linkat): Likewise.
6121 (mkdirat): Likewise.
6122 (readlinkat): Likewise.
6123 (renameat): Likewise.
6124 (symlinkat): Likewise.
6125 (unlinkat): Likewise.
6126 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6127 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6128 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6129 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6130 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6131 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6132 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6133
85bb81c9
WN
61342014-09-30 Will Newton <will.newton@linaro.org>
6135
dc6fe23b
WN
6136 * math/math.h: Define long double math functions if
6137 _LIBC_TEST is defined.
6138 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6139
85bb81c9
WN
6140 * localedata/Makefile: Move assignment to tests-special
6141 into an ifdef testing run-built-tests.
6142 * timezone/Makefile: Likewise.
6143
b7e02da4
JM
61442014-09-29 Joseph Myers <joseph@codesourcery.com>
6145
6146 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6147 with $(BASH) not $(SHELL).
6148
62058ce6
CD
61492014-09-29 Carlos O'Donell <carlos@redhat.com>
6150 Matthew LeGendre <legendre1@llnl.gov>
6151
6152 [BZ #17411]
6153 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6154 l_reloc_result.
6155
8e257a29
KS
61562014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6157
6158 * stdio-common/printf_fp.c
6159 (hack_digit): New function, broken out of ...
6160 (__printf_fp): ... local function here. Update call sites.
6161 hack_digit now takes an additional parameter that is a pointer
6162 to a struct of the referenced locals. Those locals moved inside
6163 the struct and references updated.
6164
f4a58f0d
L
61652014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6166
6167 * aclocal.m4: Require autoconf 2.69.
6168 * configure: Regenerated.
6169 * sysdeps/aarch64/configure: Likewise.
6170 * sysdeps/alpha/configure: Likewise.
6171 * sysdeps/arm/armv7/configure: Likewise.
6172 * sysdeps/arm/configure: Likewise.
6173 * sysdeps/ia64/configure: Likewise.
6174 * sysdeps/mach/configure: Likewise.
6175 * sysdeps/mips/configure: Likewise.
6176 * sysdeps/s390/configure: Likewise.
6177 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6179
6180 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6181 file.
6182 * sysdeps/ia64/configure.ac: Likewise.
6183
93ae1eba
JM
61842014-09-26 Joseph Myers <joseph@codesourcery.com>
6185
1810d3ab
JM
6186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6187 specify symbol version for ld.so. Do not include entry for
6188 libpthread.
6189 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6190 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6191 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6192
93ae1eba
JM
6193 [BZ #14171]
6194 * Makeconfig [$(build-shared) = yes]
6195 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6196 makefiles.
6197 [$(build-shared) = yes && $(soversions.mk-done) = t]
6198 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6199 [$(build-shared) = yes && $(soversions.mk-done) = t]
6200 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6201 to Makerules.
6202 [$(build-shared) = yes && $(soversions.mk-done) = t]
6203 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6204 here.
6205 [$(build-shared) = yes && $(soversions.mk-done) = t]
6206 (common-generated): Don't append gnu/lib-names.h and
6207 gnu/lib-names.stmp here.
6208 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6209 (lib-names-h-abi): New variable.
6210 [$(build-shared) = yes && $(soversions.mk-done) = t]
6211 (lib-names-stmp-abi): Likewise.
6212 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6213 abi-variants] (before-compile): Append
6214 $(common-objpfx)$(lib-names-h-abi).
6215 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6216 abi-variants] (common-generated): Append gnu/lib-names.h.
6217 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6218 abi-variants] (install-others-nosubdir): Depend on
6219 $(inst_includedir)/$(lib-names-h-abi).
6220 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6221 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6222 [$(build-shared) = yes && $(soversions.mk-done) = t]
6223 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6224 [$(build-shared) = yes && $(soversions.mk-done) = t]
6225 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6226 [$(build-shared) = yes && $(soversions.mk-done) = t]
6227 (common-generated): Append $(lib-names-h-abi) and
6228 $(lib-names-stmp-abi).
6229 * scripts/lib-names.awk: Do not handle multi being set.
6230 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6231 Remove variable.
6232 (abi-lp64_be-ld-soname): Likewise.
6233 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6234 Likewise.
6235 (abi-hard-ld-soname): Likewise.
6236 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6237 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6238 Remove variable.
6239 (abi-o32_hard-ld-soname): Likewise.
6240 (abi-o32_soft_2008-ld-soname): Likewise.
6241 (abi-o32_hard_2008-ld-soname): Likewise.
6242 (abi-n32_soft-ld-soname): Likewise.
6243 (abi-n32_hard-ld-soname): Likewise.
6244 (abi-n32_soft_2008-ld-soname): Likewise.
6245 (abi-n32_hard_2008-ld-soname): Likewise.
6246 (abi-n64_soft-ld-soname): Likewise.
6247 (abi-n64_hard-ld-soname): Likewise.
6248 (abi-n64_soft_2008-ld-soname): Likewise.
6249 (abi-n64_hard_2008-ld-soname): Likewise.
6250 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6251 Likewise.
6252 (abi-64-v2-ld-soname): Likewise.
6253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6254 ld.so entries.
6255 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6256 variable.
6257 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6258 entry.
6259 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6260 variable.
6261 (abi-64-ld-soname): Likewise.
6262 (abi-x32-ld-soname): Likewise.
6263 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6264 entry.
6265 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6266
68870f12
JM
62672014-09-23 Joseph Myers <joseph@codesourcery.com>
6268
6269 [BZ #14138]
6270 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6271 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6272 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6273 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6274 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6275 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6276 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6277 syscall entry for GLIBC_2.2 symbol version.
6278 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6279 Likewise.
6280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6281 (setrlimit): Likewise.
6282 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6283 Likewise.
6284
ea58f202
WN
62852014-09-23 Will Newton <will.newton@linaro.org>
6286
6287 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6288 _LINUX_ARM_SYSDEP_H include guard too.
6289 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6290 define.
6291
69eb9a18
RV
62922014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6293
6294 * sysdeps/unix/sysv/linux/eventfd.c:
6295 Make first argument unsigned.
6296 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6297 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6298
20e5a5f7
OB
62992014-09-20 Ondřej Bílka <neleai@seznam.cz>
6300
6301 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6302 * socket/sys/socket.h: Likewise
6303 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6304
d3c827e7
AK
63052014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6306
6307 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6308
fe1cc35a
AS
63092014-09-17 Arjun Shankar <arjun.is@lostca.se>
6310
6311 * time/tst-ftime.c: New test.
6312 * time/Makefile (tests): Add tst-ftime.
6313
4e8afe69
JM
63142014-09-17 Joseph Myers <joseph@codesourcery.com>
6315
c4fe3ea7
JM
6316 * soft-fp/extended.h: Fix comment formatting.
6317 * soft-fp/op-1.h: Likewise.
6318 * soft-fp/op-2.h: Likewise.
6319 * soft-fp/op-4.h: Likewise.
6320 * soft-fp/op-8.h: Likewise.
6321 * soft-fp/op-common.h: Likewise.
6322 * soft-fp/soft-fp.h: Likewise.
6323
4e8afe69
JM
6324 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6325
af296fcd
JM
63262014-09-16 Joseph Myers <joseph@codesourcery.com>
6327
6328 [BZ #6652]
6329 * Makeconfig (soversions-default-setname): Remove variable.
6330 ($(common-objpfx)soversions.i): Don't pass default_setname to
6331 soversions.awk.
6332 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6333 oldest_abi to abi-versions.awk.
6334 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6335 * config.make.in (oldest-abi): Remove variable.
6336 * configure.ac (--enable-oldest-abi): Remove configure option.
6337 * configure: Regenerated.
6338 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6339 text.
6340 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6341 * scripts/soversions.awk: Do not handle default_setname variable.
6342 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6343 variable.
6344 * sysdeps/mach/hurd/configure: Regenerated.
6345 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6346 variable.
6347 * sysdeps/unix/sysv/linux/configure: Regenerated.
6348
545583d6
SP
63492014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6350
d330b980
SP
6351 * elf/Makefile (CFLAGS-interp.c): Remove.
6352 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6353 path string.
6354 * elf/interp.c: Include generated runtime-linker.h
6355
02657da2
SP
6356 * Makerules (lib%.so): Don't include $(+interp) in
6357 prerequisites.
6358 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6359 * dlfcn/eval.c: Remove file.
6360
653b1080
SP
6361 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6362 macros.
6363
602f80ec
SP
6364 [BZ #17266]
6365 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6366 4.2 and newer.
6367
545583d6
SP
6368 [BZ #17370]
6369 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6370
884ddc50
SP
63712014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6372 Jakub Jelinek <jakub@redhat.com>
6373
6374 [BZ #17266]
6375 * libio/stdio.h: Check definition of __fortify_function
6376 instead of __extern_always_inline to include bits/stdio2.h.
6377 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6378 check if __extern_always_inline is defined.
6379 [__USE_MISC || __USE_XOPEN]: Likewise.
6380 [__USE_ISOC99] Likewise.
6381 * misc/sys/cdefs.h (__fortify_function): Define only if
6382 __extern_always_inline is defined.
6383 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6384 __extern_always_inline and __extern_inline only for g++-4.3
6385 and newer or a compatible gcc.
6386
a7b87268
AS
63872014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6388
6389 [BZ #17371]
6390 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6391 last change to handle zero prefix length.
6392
3f41521d
SP
63932014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6394
61fe374a
SP
6395 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6396 _SC_REGEX_VERSION.
6397
3f41521d
SP
6398 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6399 _POSIX_RAW_SOCKETS.
6400
d8f879ee
AM
64012014-09-13 Allan McRae <allan@archlinux.org>
6402
6403 * po/ru.po: Update Russian translation from translation project.
6404
c079afb7
RM
64052014-09-12 Roland McGrath <roland@hack.frob.com>
6406
a62b3c15
RM
6407 * locale/programs/locale.c (show_locale_vars): Inline local function
6408 into its sole call site. Clean up some style nits.
6409 (print_item): New function, broken out of ...
6410 (show_info): ... local function here. Clean up style nits.
6411
d7e49b19
RM
6412 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6413 out of ...
6414 (set_class_defaults): ... local function set_default here.
6415 Define set_default as a macro locally to pass constant parameters.
6416 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6417 rather than a shared local.
6418
c079afb7
RM
6419 * stdlib/rpmatch.c (try): New function, broken out of ...
6420 (rpmatch): ... local function here. Also, prototypify definition.
6421
0bd72468
JM
64222014-09-12 Joseph Myers <joseph@codesourcery.com>
6423
ba90e050
JM
6424 * scripts/soversions.awk: Do not handle configuration names.
6425 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6426 vendor and os variables to soversions.awk.
6427 * configure.ac: Do not modify gnu-* host_os.
6428 * configure: Regenerated
6429 * shlib-versions: Remove first column with configuration names.
6430 * nptl/shlib-versions: Likewise.
6431 * nptl_db/shlib-versions: Likewise.
6432 * sysdeps/hppa/shlib-versions: Likewise.
6433 * sysdeps/m68k/shlib-versions: Likewise.
6434 * sysdeps/mach/hurd/shlib-versions: Likewise.
6435 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6436 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6437 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6438 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6439 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6440 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6441 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6442 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6444 Likewise.
6445 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6446 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6447 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6448 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6449 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6450 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6451 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6452 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6453
73a39112
JM
6454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6455 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6457 Regenerated.
6458 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6460 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6461
c729e7c1
JM
6462 * shlib-versions: Remove OS-specific entries. Moved to files in
6463 sysdeps.
6464 * sysdeps/mach/hurd/shlib-versions: New file.
6465 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6466
dc932a24
JM
6467 * nptl/shlib-versions: Remove architecture-specific entries.
6468 Moved to files in sysdeps.
6469 * shlib-versions: Likewise.
6470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6471 file.
6472 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6473 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6474 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6475 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6476
0bd72468
JM
6477 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6478 (UDP_NO_CHECK6_RX): Likewise.
6479
920238e0
SP
64802014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6481
6482 * sysdeps/posix/sysconf.c (__sysconf): Spell
6483 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6484
ba7b4d29
FW
64852014-08-12 Florian Weimer <fweimer@redhat.com>
6486
6487 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6488 loading.
6489 * iconv/Versions (__gconv_transliterate): Export for use from
6490 gconv modules.
6491 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6492 (struct __gconv_trans_data, __gconv_trans_fct,
6493 __gconv_trans_context_fct, __gconv_trans_query_fct,
6494 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6495 definitions.
6496 (struct __gconv_step_data): Remove __trans member.
6497 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6498 longer hidden. Remove unused trans_data argument.
6499 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6500 (__gconv_translit_find): Remove declaration.
6501 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6502 prototype.
6503 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6504 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6505 trans_data argument. Add hidden definition.
6506 (__gconv_translit_find): Remove.
6507 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6508 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6509 * iconv/skeleton.c: Remove transliteration initialization.
6510 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6511 __gconv_step_data initialization.
6512 * libio/iofwide.c (__libio_translit_): Remove.
6513 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6514 * wcsmbs/btowc.c (__btowc): Likewise.
6515 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6516 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6517 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6518 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6519 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6520 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6521 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6522 * wcsmbs/wctob.c (wctob): Likewise.
6523
5379aebd
SP
65242014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6525
6526 [BZ #16194]
6527 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6528 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6529 register usage.
6530 * sysdeps/x86/Makefile: Adjust.
6531
8c0ab919
RM
65322014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6533 Roland McGrath <roland@hack.frob.com>
6534
6535 * locale/weight.h: Add include guard.
6536 (findidx): Make static rather than auto; take new parameters
6537 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6538 * locale/weightwc.h: Likewise.
6539 * posix/fnmatch_loop.c
6540 (FCT): Change type of EXTRA from int32_t to wint_t.
6541 Don't include either header inside the function.
6542 Call FINDIDX rather than findidx, and pass new arguments.
6543 #undef FINDIDX at the end of the file.
6544 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6545 FINDIDX before including fnmatch_loop.c for the non-wide version.
6546 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6547 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6548 for the wide version.
6549 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6550 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6551 Pass new arguments to findidx.
6552 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6553 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6554 Don't #include it inside the function. Pass new arguments to findidx.
6555 * posix/regex_internal.h
6556 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6557 (re_string_elem_size_at): Don't #include it inside the function.
6558 Pass new arguments to findidx.
6559 * string/strcoll_l.c: #include WEIGHT_H at top level.
6560 (get_next_seq): Don't #include it inside the function.
6561 Pass new arguments to findidx.
6562 (get_next_seq_nocache): Likewise.
6563 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6564 (STRXFRM): Don't #include it inside the function.
6565 Pass new arguments to findidx.
6566
52ffbdf2
FW
65672014-09-11 Florian Weimer <fweimer@redhat.com>
6568
6569 [BZ #17344]
6570 * malloc/malloc.c (unlink): Turn asserts into a call to
6571 malloc_printerr.
6572
984c0ea9
TL
65732014-09-11 Tim Lammens <tim.lammens@gmail.com>
6574
6575 [BZ #17370]
6576 * libio/wfileops (do_ftell_wide): Free OUT.
6577
3daee107
CM
65782014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6579
6580 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6581
58b930ae
SP
65822014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6583
6584 [BZ #17363]
6585 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6586 group if the current group is empty.
6587
3b473fec
AZ
65882014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6589
71ae8647
AZ
6590 * benchtests/bench-memset.c (test_main): Add more test from size
6591 from 32 to 512 bytes.
6592 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6593 Add POWER8 memset object.
6594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6595 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6596 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6597 implementation.
6598 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6599 Likewise.
6600 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6601 multiarch POWER8 memset optimization.
6602 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6603 POWER8 memset optimization.
6604
3b473fec
AZ
6605 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6606 Remove bzero multiarch objects.
6607 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6608 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6609 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6610 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6611 Remove define.
6612 [__bzero]: Redefine to specific name.
6613 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6614 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6615 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6616 define.
6617 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6618 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6619
e6fb9587
FW
66202014-09-10 Florian Weimer <fweimer@redhat.com>
6621
6622 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6623 warnings into errors.
6624
6625 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6626 __cxa_thread_atexit_impl prototype.
6627
9d3a350b
SE
66282014-09-09 Steve Ellcey <sellcey@mips.com>
6629
6630 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6631 Fix capitalization of error message.
6632
0febba23
SE
66332014-09-09 Steve Ellcey <sellcey@mips.com>
6634
6635 * sysdeps/mips/preconfigure: Modify ABI tests.
6636
645a0e9c
CD
66372014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6638
6639 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6640
d83f0734
CD
66412014-09-07 Roland McGrath <roland@hack.frob.com>
6642 Carlos O'Donell <carlos@systemhalted.org>
6643
6644 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6645 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6646 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6647 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6648 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6649 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6650 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6651 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6652 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6653 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6654 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6655 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6656 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6657 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6658 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6659 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6660 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6661 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6662 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6663 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6664 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6665 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6666 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6667 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6668 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6669 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6670 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6671 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6672 Deconditionalize the code that was previously under [RESET_PID].
6673 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6674 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6675 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6676 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6677 include sysdep.h.
6678
21c83793
AM
66792014-09-08 Allan McRae <allan@archlinux.org>
6680
6681 * version.h (RELEASE): Set to "development".
6682 (VERSION): Set to "2.20.90"
6683
1cd9b65c
AM
66842014-09-07 Allan McRae <allan@archlinux.org
6685
b8079dd0
AM
6686 * version.h (RELEASE): Set to "stable".
6687 (VERSION): Set to "2.20"
6688 * include/features.h (__GLIBC_MINOR__): Set to 20.
6689
c46303ef
AM
6690 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6691 Liebler.
6692
1cd9b65c
AM
6693 * po/ko.po: Update Korean translation from translation project.
6694
8622092d
CM
66952014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6696
6697 [BZ #17354]
6698 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6699 macro for handling signed relocations.
6700
41488498
FW
67012014-09-03 Florian Weimer <fweimer@redhat.com>
6702
6703 [BZ #17325]
6704 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6705 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6706 assert.
6707 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6708 * iconvdata/ibm935.c (BODY): Likewise.
6709 * iconvdata/ibm937.c (BODY): Likewise.
6710 * iconvdata/ibm939.c (BODY): Likewise.
6711 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6712 assert.
6713 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6714 script.
6715 * iconvdata/run-iconv-test.sh: New test loop for checking for
6716 decoder crashers.
6717
a78b712d
KR
67182014-09-02 Khem Raj <raj.khem@gmail.com>
6719
6720 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6721 libm_hidden_ver.
6722
cb08abc6
AM
67232014-09-01 Allan McRae <allan@archlinux.org>
6724
2c31e102
AM
6725 * po/eo.po: Update Esperanto translation from translation project.
6726
cb08abc6
AM
6727 * po/ca.po: Update Catalan translation from translation project.
6728
17a62de1
ST
67292014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6730
6731 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6732 __proc_dostop call.
6733
9570bc53
MW
67342014-08-27 Mark Wielaard <mjw@redhat.com>
6735
6736 [BZ #17319]
6737 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6738 to call set_thread_area instead of hand written asm.
6739 (__NR_set_thread_area): Removed define.
6740 (TLS_FLAG_WRITABLE): Likewise.
6741 (__ASSUME_SET_THREAD_AREA): Remove check.
6742 (TLS_EBX_ARG): Remove define.
6743 (TLS_LOAD_EBX): Likewise.
6744
b0f955c9
ST
67452014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6746
6747 Simplify atomicity of socket creation in bind.
6748
6749 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6750 looking up the name after linking the file.
6751
529bf515
AM
67522014-08-27 Allan McRae <allan@archlinux.org>
6753
6754 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6755
a1a6a401
FW
67562014-08-26 Florian Weimer <fweimer@redhat.com>
6757
6758 [BZ #17187]
6759 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6760 trans_compare, open_translit, __gconv_translit_find):
6761 Remove module loading code.
6762
686ab290
AM
67632014-08-26 Allan McRae <allan@archlinux.org>
6764
e4e7cfd2
AM
6765 * po/vi.po: Update Vietnamese translation from translation project.
6766
6aa09f71
AM
6767 * po/uk.po: Update Ukrainian translation from translation project.
6768
edc0660e
AM
6769 * po/fr.po: Update French translation from translation project.
6770
7eea72ac
AM
6771 * po/ru.po: Update Russian translation from translation project.
6772
93c49eff
AM
6773 * po/pl.po: Update Polish translation from translation project.
6774
46acaf63
AM
6775 * po/cs.po: Update Czech translation from translation project.
6776
a9f5ce98
AM
6777 * po/de.po: Update German translation from translation project.
6778
373f2b78
AM
6779 * po/bg.po: Update Bulgarian translation from translation project.
6780
e7548bd8
AM
6781 * po/sv.po: Update Sweedish translation from translation project.
6782
c526bf4d
AM
6783 * po/nl.po: Update Dutch translation from translation project.
6784
686ab290
AM
6785 * po/es.po: Update Spanish translation from translation project.
6786
eb72478a
SP
67872014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6788
dd763fdb
SP
6789 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6790
318c7a58
SP
6791 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6792 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6793 (CPPFLAGS-iconvconfig): Likewise.
6794 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6795
eb72478a
SP
6796 * include/libc-symbols.h: Remove unnecessary check for
6797 NOT_IN_libc.
6798 * nptl/pthreadP.h: Likewise.
6799 * sysdeps/aarch64/setjmp.S: Likewise.
6800 * sysdeps/alpha/setjmp.S: Likewise.
6801 * sysdeps/arm/sysdep.h: Likewise.
6802 * sysdeps/i386/setjmp.S: Likewise.
6803 * sysdeps/m68k/setjmp.c: Likewise.
6804 * sysdeps/posix/getcwd.c: Likewise.
6805 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6806 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6807 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6808 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6809 * sysdeps/sh/sh3/setjmp.S: Likewise.
6810 * sysdeps/sh/sh4/setjmp.S: Likewise.
6811 * sysdeps/unix/alpha/sysdep.h: Likewise.
6812 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6813 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6814 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6815 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6818 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6819 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6820 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6821 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6822 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6823 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6825 * sysdeps/x86_64/setjmp.S: Likewise.
6826
d44a052c
JM
68272014-08-13 Joseph Myers <joseph@codesourcery.com>
6828
6829 [BZ #17263]
6830 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6831 <stdint.h>.
6832 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6833 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6834
508ce3ac
SP
68352014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6836
e44c8b0e
SP
6837 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6838
508ce3ac
SP
6839 [BZ #17262]
6840 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6841 and __x86_64__ when disabling x87 inline functions.
6842
b4acef1f
L
68432014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6844
6845 [BZ #17259]
6846 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6847 asm statement with __cpuid_count.
6848
61b1ef6e
MF
68492014-08-12 Mike Frysinger <vapier@gentoo.org>
6850
6851 * configure.ac: Change __ehdr_start code to dereference the struct.
6852 Run readelf on the output to look for relocations.
6853 * configure: Regenerated.
6854
898c62f4
JM
68552014-08-12 Joseph Myers <joseph@codesourcery.com>
6856
6857 [BZ #17261]
6858 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6859 value to 0.
6860 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6861
9a8a5720
RM
68622014-08-12 Roland McGrath <roland@hack.frob.com>
6863
6864 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6865
4e75751c
BO
68662014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6867
6868 [BZ #16892]
6869 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6870 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6871
bb2ce416
SA
68722014-08-12 Sean Anderson <seanga2@gmail.com>
6873
6874 * malloc/malloc.c: Fix typo in comment.
6875
7950a4ee
AM
68762014-08-09 Allan McRae <allan@archlinux.org>
6877
6878 * Regenerate libc.po.
6879
f469c49f
MF
68802014-08-08 Mike Frysinger <vapier@gentoo.org>
6881
6882 * intl/tst-gettext2.sh: Check every lang file for creation.
6883
656b84c2
WD
68842014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6885
6886 * sysdeps/aarch64/fpu/math_private.h
6887 (libc_feholdsetround_noex_aarch64_ctx): New function.
6888
538e9e45
W
68892014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6890
6891 * sysdeps/arm/armv6/strcpy.S (strcpy):
6892 Fix performance issue in misaligned cases.
6893
d4795e4a
AZ
68942014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6895
6896 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6897 Move definition from termios.h.
6898 (struct termio): Likewise.
6899 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6900 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6901 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6902 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6903 Likewise.
6904 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6905 Move definition to ioctl-types.h
6906 (struct termio): Likewise.
6907 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6908 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6909 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6910 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6911 Likewise.
6912
64accb62
RH
69132014-08-05 Richard Henderson <rth@redhat.com>
6914
27bb6dc0
RH
6915 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6916 exceptions.
6917 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6918 Add fraiseexcpt.
6919 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6920 Use __feraiseexcept.
6921 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6922 Protect libm symbols with IS_IN_libm.
6923
64accb62
RH
6924 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6925
e5292691
BO
69262014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
6927
6928 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6929
5b4bd2d4
WN
69302014-08-04 Will Newton <will.newton@linaro.org>
6931
6932 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6933 file.
6934
fcadaeef
MF
69352014-08-04 Mike Frysinger <vapier@gentoo.org>
6936
6937 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6938 variants for each function.
6939
43a94c64
RM
69402014-08-04 Roland McGrath <roland@hack.frob.com>
6941
6942 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6943 appended ...
6944 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6945 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6946 appended ...
6947 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6948 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6949 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6950 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6951 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6952 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6953 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6954 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6955 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6956 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6957 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6958 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6959 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6960 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6961 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6962 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6963 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6964 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6965 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6966 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6967 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6968 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6969 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6970 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6971 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6972 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6973 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6974 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6975 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6976 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6977 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6978 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6979 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6980 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6981 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6982 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6983 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6984 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6985 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6986 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6987 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6988 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6989 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6990 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6991 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6992 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6993 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6994 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6995 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6996 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6997 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6998 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6999 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7000 Update #include.
7001 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7002 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7003
8f3c1fa4
RM
70042014-08-04 Roland McGrath <roland@hack.frob.com>
7005
7006 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7007 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7008 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7009 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7010 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7011 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7012
ca08746f
RM
70132014-08-04 Roland McGrath <roland@hack.frob.com>
7014
7015 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7016 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7017 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7018 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7019
9c925ff9
RM
70202014-08-04 Roland McGrath <roland@hack.frob.com>
7021
7022 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7023 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7024 (__libc_vfork): Define function under this name.
7025 (__vfork): Define as an alias.
7026 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7027 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7028
e641054c
RM
70292014-08-04 Roland McGrath <roland@hack.frob.com>
7030
7031 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7032 that was previously under [RESET_PID].
7033 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7034
dacdc867
AS
70352014-08-04 Andreas Schwab <schwab@suse.de>
7036
7037 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7038
41f725ff
MF
70392014-08-03 Mike Frysinger <vapier@gentoo.org>
7040
7041 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7042 (main): Likewise.
7043
277cfb31
RM
70442014-08-01 Roland McGrath <roland@hack.frob.com>
7045
7046 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7047
4896f049
RH
70482014-08-01 Richard Henderon <rth@redhat.com>
7049
7050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7051 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7052 typo in exact zero test.
7053 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7054 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7055 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7056
6f64e7d7
RM
70572014-08-01 Roland McGrath <roland@hack.frob.com>
7058
7059 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7060 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7061 * sysdeps/arm/sysdep.h: ... here.
7062 [!__ASSEMBLER__]: Include <stdint.h>.
7063
3f3dd810
SP
70642014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7065
a476ac4b
SP
7066 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7067 (HAVE_WCTYPE_H): Likewise.
7068 (HAVE_ISWCTYPE): Likewise.
7069 (ENABLE_NLS): Likewise.
7070 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7071 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7072
78dd658a
SP
7073 * posix/regex_internal.c: Check if DEBUG is defined and is
7074 set.
7075
3f3dd810
SP
7076 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7077 (HAVE_MBSRTOWCS): Likewise.
7078 * posix/fnmatch.c: Include string.h unconditionally.
7079
95ee7fb1
SL
70802014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7081
7082 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7083 reversal.
7084
23fe486b
RM
70852014-07-31 Roland McGrath <roland@hack.frob.com>
7086
f61a113f
RM
7087 * sysdeps/generic/safe-fatal.h: New file.
7088 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7089 * nptl/forward.c: Include it.
7090 (__pthread_unwind): Use __safe_fatal as default action, rather
7091 than a bogus use of INTERNAL_SYSCALL that could never work.
7092
9fe7e787
RM
7093 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7094 * configure.ac (libc_cv_builtin_trap): New test.
7095 * configure: Regenerated.
7096 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7097 (ABORT_INSTRUCTION): Define using __builtin_trap.
7098
23fe486b
RM
7099 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7100 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7101 * sysdeps/nptl/nptl-signals.h: New file.
7102 * nptl/pthreadP.h: Include <nptl-signals.h>.
7103
f349489e
SL
71042014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7105
7106 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7107 (ONE_DIRECTION): Define.
7108 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7109 (ONE_DIRECTION): Define.
7110 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7111 (ONE_DIRECTION): Define.
7112
2f438e20
SL
71132014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7114
7115 * sysdeps/s390/Makefile: Delete file.
7116 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7117 * sysdeps/s390/__longjmp.c: Delete file.
7118 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7119 Remove fields __flags and __reserved.
7120 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7121 and add versioning.
7122 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7123 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7124 * sysdeps/s390/rtld-setjmp.S: Likewise.
7125 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7126 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7127 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7128 * sysdeps/s390/s390-32/setjmp.S: ... here.
7129 Add versioning.
7130 (__sigsetjmp): Remove setting __flags field.
7131 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7132 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7133 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7134 * sysdeps/s390/s390-64/setjmp.S: ... here.
7135 Add versioning.
7136 (__sigsetjmp): Remove setting __flags field.
7137 * sysdeps/s390/setjmp.S: Delete file.
7138 * sysdeps/s390/sigjmp.c: Likewise.
7139 * sysdeps/s390/v1-longjmp.c: Likewise.
7140 * sysdeps/s390/v1-setjmp.h: Likewise.
7141 * sysdeps/s390/v1-sigjmp.c: Likewise.
7142 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7143 Remove v1-longjmp_chk.
7144 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7145 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7146 Include debug/longjmp_chk.c and add versioning.
7147 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7148 Include nptl/pt-longjmp.c and add versioning.
7149 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7150 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7151 Include __longjmp.c.
7152 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7153 Move to ...
7154 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7155 (__getcontext): Remove setting __flags field.
7156 Add versioning.
7157 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7158 Don't restore upper high grps.
7159 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7160 Likewise.
7161 (__swapcontext): Remove setting uc_flags field.
7162 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7163 Delete file.
7164 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7165 Include __longjmp.c.
7166 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7167 Move to ...
7168 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7169 (__getcontext): Remove setting __flags field.
7170 Add versioning.
7171 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7172 (__swapcontext): Remove setting uc_flags field.
7173 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7174 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7175 Remove fields uc_high_gprs and __reserved.
7176 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7177 New file with reverted content.
7178 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7179 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7180 Regenerated.
7181 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7182 Regenerated.
7183
6c9578a2
AS
71842014-07-31 Andreas Schwab <schwab@suse.de>
7185
7186 * config.h.in (HAVE_IFUNC): Define to 0.
7187 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7188 definedness.
7189
05f3633d
LM
71902014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7191
7192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7193 memmove-avx-unaligned, memcpy-avx-unaligned and
7194 mempcpy-avx-unaligned.
7195 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7196 Add tests for AVX memcpy functions.
7197 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7198 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7199 memcpy_chk.
7200 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7201 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7202 memmove_chk.
7203 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7204 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7205 mempcpy_chk.
7206 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7207 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7208 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7209
a53fbd8e
AZ
72102013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7211
7212 [BZ #17213]
7213 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7214 powerpc64le.
7215
0961f7e1
JL
72162014-07-29 Jeff Layton <jlayton@poochiereds.net>
7217
7218 [BZ #16839]
7219 * manual/llio.texi: Add section about open file description locks.
7220 * manual/examples/ofdlocks.c: Example of open file description
7221 lock usage.
7222 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7223 F_OFD_SETLK, and F_OFD_SETLKW.
7224
cc5fb300
AM
72252014-07-23 Allan McRae <allan@archlinux.org>
7226
7227 * po/es.po: Update Spanish translation from translation project.
7228
23329dca
AS
72292014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7230
7231 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7232
9c82da17
MR
72332014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7234
7235 [BZ #17078]
7236 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7237 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7238 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7239
29c4f53e
JM
72402014-07-17 Joseph Myers <joseph@codesourcery.com>
7241
831b9896
JM
7242 [BZ #17088]
7243 * math/fesetenv.c (__fesetenv)
7244 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7245 * math/feupdateenv.c (__feupdateenv)
7246 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7247
b21c2d50
JM
7248 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7249 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7250 (__ASSUME_SOCKETCALL): Do not define.
7251
067764ef
JM
7252 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7253 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7254 (__ASSUME_SOCKETCALL): Do not define.
7255 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7256 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7257 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7258 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7259 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7260 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7261 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7262 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7263
642530c1
JM
7264 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7265 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7266 (__ASSUME_SOCKETCALL): Do not define.
7267 (__ASSUME_IPC64): Define unconditionally.
7268 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7269 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7270 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7271 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7272 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7273 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7274 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7275 Likewise.
7276
03f77315
JM
7277 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7278 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7279 (__ASSUME_SOCKETCALL): Do not define.
7280 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7281 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7282 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7283 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7284 (__ASSUME_REQUEUE_PI): Define unconditionally.
7285 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7286 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7287 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7288 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7289 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7290 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7291
083b1f7c
JM
7292 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7293 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7294 (__ASSUME_SOCKETCALL): Do not define.
7295 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7296 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7297 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7298 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7299 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7300 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7301
5be44ea6
JM
7302 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7303 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7304 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7305 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7306 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7307 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7308 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7309 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7310 (__ASSUME_GETCPU_SYSCALL): Likewise.
7311
d95ffd4c
JM
7312 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7313 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7314 cases for individual architectures.
7315 * sysdeps/gnu/configure: Regenerated.
7316 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7317 LIBC_SLIBDIR_RTLDDIR.
7318 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7319 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7320 LIBC_SLIBDIR_RTLDDIR.
7321 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7323 LIBC_SLIBDIR_RTLDDIR.
7324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7325 Regenerated.
7326 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7327 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7328 file.
7329 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7330 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7331 file.
7332 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7333 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7334 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7335 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7336
29c4f53e
JM
7337 * sysdeps/aarch64/shlib-versions: Move to ...
7338 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7339 * sysdeps/alpha/shlib-versions: Move to ...
7340 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7341 * sysdeps/arm/shlib-versions: Move to ...
7342 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7343 * sysdeps/hppa/shlib-versions: Move all contents except for
7344 libgcc_s entry to ...
7345 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7346 entry from ...
7347 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7348 * sysdeps/ia64/shlib-versions: Move to ...
7349 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7350 entry from ...
7351 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7352 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7353 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7354 * sysdeps/microblaze/shlib-versions: Move to ...
7355 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7356 * sysdeps/mips/shlib-versions: Move to ...
7357 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7358 entry from ...
7359 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7360 * sysdeps/tile/shlib-versions: Move to ...
7361 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7362 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7363 from ...
7364 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7365 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7366 entry from ...
7367 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7368
32bead5b
WN
73692014-07-17 Will Newton <will.newton@linaro.org>
7370
57977c4b
WN
7371 * sysdeps/arm/bits/atomic.h
7372 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7373 (__arch_compare_and_exchange_bool_16_int): Likewise.
7374 (__arch_compare_and_exchange_bool_64_int): Likewise.
7375
32bead5b
WN
7376 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7377 into an #else block.
7378
37fccd41
RM
73792014-07-16 Roland McGrath <roland@hack.frob.com>
7380
7381 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7382 just Linux configurations. Test empirically that the compiler sets
7383 __ARM_EABI__, rather than using the tuple to decide.
7384 * sysdeps/arm/preconfigure: Regenerated.
7385 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7386 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7387 contents appended ...
7388 * sysdeps/arm/configure.ac: ... here.
7389 * sysdeps/arm/configure: Regenerated.
7390
b365f3ec
RM
73912014-07-15 Roland McGrath <roland@hack.frob.com>
7392
8badf496
RM
7393 * nptl/pthread_kill.c: New file.
7394 * nptl/pthread_sigmask.c: New file.
7395 * nptl/pthread_sigqueue.c: New file.
7396
3df6f22e
RM
7397 * sysdeps/nptl/lowlevellock.h: New file.
7398 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7399 * sysdeps/nptl/lowlevellock-futex.h: New file.
7400
b365f3ec
RM
7401 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7402 Remove dead declarations.
7403
f2fef657
L
74042014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7405
7406 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7407 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7408 config-cflags-avx2.
7409 * sysdeps/x86_64/configure.ac: Likewise.
7410 * sysdeps/i386/configure: Regenerated.
7411 * sysdeps/x86_64/configure: Likewise.
7412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7413 memset-avx2 only if config-cflags-avx2 is yes.
7414 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7415 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7416 defined.
7417 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7418 only if HAVE_AVX2_SUPPORT is defined.
7419 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7420
f6c44d47
AM
74212014-07-14 Alan Modra <amodra@gmail.com>
7422
7423 [BZ #17153]
7424 * elf/elf.h (DT_PPC64_NUM): Correct value.
7425 * NEWS: Add to fixed bug list.
7426
7ee03f00
JM
74272014-07-13 Jim Meyering <meyering@fb.com>
7428
7429 [BZ 17150]
7430 regex: don't deref NULL upon heap allocation failure
7431 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7432 failure in one more place.
7433 To trigger the segfault, configure grep -with-included-regex,
7434 build it, and run these commands:
7435 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7436
9d39d517
AS
74372014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7438
7439 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7440
a75b89b7
RH
74412014-07-11 Richard Henderson <rth@redhat.com>
7442
7443 * sysdeps/aarch64/libm-test-ulps: Update.
7444
771eb141
FW
74452014-07-10 Florian Weimer <fweimer@redhat.com>
7446
7447 [BZ #17135]
7448 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7449 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7450 (__nptl_setxid): Initialize error member. Call
7451 __nptl_setxid_error.
7452 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7453 * nptl/descr.h (struct xid_command): Add error member.
7454 * nptl/tst-setuid3.c: New file.
7455 * nptl/Makefile (tests): Add it.
7456
bc1da176
AZ
74572014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7458
7459 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7460 New define.
7461 (__lll_trylock): Use __lll_base_trylock.
7462 (__lll_cond_trylock): Likewise.
7463
887865fc
RM
74642014-07-10 Roland McGrath <roland@hack.frob.com>
7465
c0c6bac9
RM
7466 * nptl/pthread_create.c (start_thread): Use atomic_or and
7467 lll_futex_wake directly rather than lll_robust_dead.
7468 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7469 (lll_robust_dead): Macro removed.
6a42be57 7470 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
7471 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7472 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7473 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7474 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7475 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7476 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7477 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7478 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7479 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7480 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7481 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7482 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7483 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7484 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7485
887865fc
RM
7486 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7487 Use atomic_compare_and_exchange_val_acq directly rather than
7488 lll_robust_trylock.
7489 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7490 (__lll_robust_trylock, lll_robust_trylock): Removed.
7491 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7492 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7493 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7494 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7495 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7496 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7497 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7498 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7499 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7500 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7501 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7502 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7503 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7504 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7505
58536726
FW
75062014-07-02 Florian Weimer <fweimer@redhat.com>
7507
7508 * manual/locale.texi (Locale Names): New section documenting
7509 locale name syntax. Adjust menu and node chaining accordingly.
7510 (Choosing Locale): Reference Locale Names, Locale Categories.
7511 Mention setting LC_ALL=C. Reflect that name syntax is now
7512 documented.
7513 (Locale Categories): New section title. Reference Locale Names.
7514 LC_ALL is an environment variable, but not a category.
7515 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7516 description, now in Locale Name. Reference that section. Locale
7517 name syntax is now documented.
7518
4e8f95a0
FW
75192014-07-02 Florian Weimer <fweimer@redhat.com>
7520
7521 [BZ #17137]
7522 * locale/findlocale.c (name_present, valid_locale_name): New
7523 functions.
7524 (_nl_find_locale): Use the loc_name variable to store name
7525 candidates. Call name_present and valid_locale_name to check and
7526 validate locale names. Return an error if the locale is invalid.
7527
d1836456
FW
75282014-07-02 Florian Weimer <fweimer@redhat.com>
7529
7530 * locale/setlocale.c (setlocale): Use strdup for allocating
7531 composite name copy.
7532
d69b7f5a
SP
75332014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7534
888c679b
SP
7535 Sync up with gnulib.
7536 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7537 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7538 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7539 and _GL_ARG_NONNULL.
7540 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7541 [!_LIBC]: Include code for Windows and Cygwin.
7542 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7543 Include prototype for int strerror_r.
7544 [!_LIBC] (is_open): New function.
7545 (flush_stdout): New function.
7546 (print_errno_message): Use it.
7547 (error): Likewise.
7548 (error_at_line): Likewise.
7549 (error_tail) Add function attribute macros. Use
7550 __builtin_expect.
7551
180e0e4b
SP
7552 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7553
d22f1fe2
SP
7554 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7555
12f2254b
SP
7556 * io/ftw.c: Include sys/param.h unconditionally.
7557
c3c7c360
SP
7558 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7559
d62aa75a
SP
7560 [BZ #17125]
7561 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7562 libc_freeres_ptr.
7563 (freecache): New function to free CACHE on exit.
7564
d69b7f5a
SP
7565 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7566 initialization.
7567
5efe06a1
DM
75682014-07-09 David S. Miller <davem@davemloft.net>
7569
7570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7571
7000d82e
DM
7572 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7573 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7574 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7575 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7576 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7577 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7578 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7579 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7580 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7581 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7582 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7583 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7584 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7585
c213442d
AS
75862014-07-09 Andreas Schwab <schwab@suse.de>
7587
4a2552c3
AS
7588 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7589 output.
7590 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7591 (do_test): Likewise.
7592
c213442d
AS
7593 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7594
82374e65
WN
75952014-07-09 Will Newton <will.newton@linaro.org>
7596
7597 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7598 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7599 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7600 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7601 * sysdeps/hppa/start.S (_start): Likewise.
7602
6680738a
SP
76032014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7604
6ee3eab4
SP
7605 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7606
6680738a
SP
7607 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7608 defined.
7609
80b5c505
SP
76102014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7611
e35c53e3
SP
7612 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7613 after checking that it is non-NULL.
7614
80b5c505
SP
7615 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7616
91f4b564
AZ
76172014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7618
27b75f56
AZ
7619 * sysdeps/powerpc/memmove.c: Remove file.
7620 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7621 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7622 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7623 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7624 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7625 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7626 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7627 string memmove instead of removed powerpc one.
7628
e7f95bb5
AZ
7629 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7630 [weak_alias]: Fix compiler warning due trailing data.
7631 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7632 [weak_alias]: Likewise.
7633 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7634 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7635
91f4b564
AZ
7636 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7637 (__libc_ifunc_impl_list): Add memmove functions.
7638
7c33f1e5
SP
76392014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7640
7641 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7642 Remove code.
7643 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7644 Likewise
7645 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7646 Likewise
7647 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7648 Likewise
7649 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7650 Likewise
7651 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7652 Likewise
7653 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7654 Likewise
7655 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7656 Likewise
7657 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7658 Likewise
7659 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7660 Likewise
7661 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7662 Likewise
7663 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7664 Likewise
7665 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7666 Likewise
7667 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7668 Likewise
7669 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7670 Likewise
7671 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7672 Likewise
7673 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7674 Likewise
7675
3f17b03b
AZ
76762014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7677
87868c24
AZ
7678 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7679 to avoid alignment traps in non-cacheable memory.
7680 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7681
07aedd78
AZ
7682 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7683 multiarch objects.
7684 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7685 file: multiarch power7 memmove.
7686 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7687 multiarch default memmove.
7688 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7689 multiarch memove for powerpc32/power4.
7690
17762f66
AZ
7691 * string/bcopy.c: Use full path to include memmove.c.
7692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7693 multiarch objects.
7694 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7695 bcopy for powerpc64.
7696 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7697 bcopy for powerpc64.
7698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7699 and memmove implementations.
7700 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7701 optimized multiarch memmove for POWER7/powerpc64.
7702 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7703 default multiarch memmove for powerpc64.
7704 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7705 multiarch for powerpc64.
7706 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7707 for POWER7/powerpc64.
7708 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7709 memmove for POWER7/powerpc64.
7710
d6f68bbe
AZ
7711 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7712 glibc default one.
7713
3f17b03b
AZ
7714 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7715 __ELF_NATIVE_CLASS equal to 64.
7716
08192659
RM
77172014-07-07 Roland McGrath <roland@hack.frob.com>
7718
f4c4021b
RM
7719 * sysdeps/nptl/lowlevellock.h: File removed.
7720
f083450f
RM
7721 * NEWS: NPTL is no longer an add-on!
7722 * nptl/internaltypes.h: Moved ...
7723 * sysdeps/nptl/internaltypes.h: ... here.
7724 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7725 * sysdeps/nptl/fork.c: Likewise.
7726 * sysdeps/nptl/gai_misc.h: Likewise.
7727 * sysdeps/nptl/librt-cancellation.c: Likewise.
7728 * sysdeps/nptl/jmp-unwind.c: Likewise.
7729 * sysdeps/nptl/setxid.h: Likewise.
7730 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7731 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7732 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7733 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7734 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7735 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7736 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7737 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7738 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7739 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7740 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7741 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7742 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7743 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7744 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7745 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7746 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7747 * nptl/Makeconfig: Moved ...
7748 * sysdeps/nptl/Makeconfig: ... here.
7749 * nptl/configure: File removed.
7750 * nptl/ANNOUNCE: File removed.
7751 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7752 * sysdeps/unix/sysv/linux/configure: Regenerated.
7753
08192659
RM
7754 * nptl/Makefile (routines): Add libc_pthread_init,
7755 libc_multiple_threads, register-atfork and unregister-atfork.
7756 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7757 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7758 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7759 pthread-pi-defines.sym, structsem.sym.
7760 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7761 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7762 [$(subdir) = nptl] (tests): Add tst-setgetname.
7763 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7764 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7765 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7766 [!LIBC_SIGACTION]: Remove aliases.
7767 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7768 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7769 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7770 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7771 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7772 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7773 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7774 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7775 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7776 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7777 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7778 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7779 __libc_allocate_rtsig_private.
7780 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7781 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7782 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7783 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7784 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7785 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7786 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7787 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7788 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7789 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7790 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7791 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7792 * nptl/internaltypes.h: ... here.
7793 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7794 * sysdeps/nptl/jmp-unwind.c: ... here.
7795 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7796 * nptl/libc-lowlevellock.c: ... here.
7797 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7798 * nptl/libc_multiple_threads.c: ... here.
7799 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7800 * nptl/libc_pthread_init.c: ... here.
7801 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7802 * nptl/lowlevelbarrier.sym: ... here.
7803 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7804 * nptl/lowlevelcond.sym: ... here.
7805 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7806 * nptl/lowlevellock.c: ... here.
7807 * nptl/lowlevellock.h: Moved ...
7808 * sysdeps/nptl/lowlevellock.h: ... here.
7809 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7810 * nptl/lowlevelrobustlock.c: ... here.
7811 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7812 * nptl/lowlevelrobustlock.sym: ... here.
7813 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7814 * nptl/lowlevelrwlock.sym: ... here.
7815 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7816 * nptl/pt-fork.c: ... here.
7817 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7818 * nptl/pthread-pi-defines.sym: ... here.
7819 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7820 * nptl/pthread_attr_getaffinity.c: ... here.
7821 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7822 * nptl/pthread_attr_setaffinity.c: ... here.
7823 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7824 * nptl/pthread_mutex_cond_lock.c: ... here.
7825 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7826 Update #include.
7827 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7828 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7829 * nptl/pthread_once.c: ... here, replacing old file.
7830 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7831 * nptl/pthread_yield.c: ... here.
7832 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7833 * nptl/register-atfork.c: ... here.
7834 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7835 * nptl/sem_post.c: ... here.
7836 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7837 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7838 * nptl/sem_timedwait.c: ... here.
7839 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7840 * nptl/sem_trywait.c: ... here.
7841 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7842 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7843 * nptl/sem_wait.c: ... here.
7844 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7845 * nptl/structsem.sym: ... here.
7846 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7847 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7848 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7849 * nptl/unregister-atfork.c: ... here.
7850 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7851 * nptl/unwindbuf.sym: ... here.
7852 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7853 * sysdeps/nptl/fork.c: ... here.
7854 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7855 * sysdeps/nptl/fork.h: ... here.
7856 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7857 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7858 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7859 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7860 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7861 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7862 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7863 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7864 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7865 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7866 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7867 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7868 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7869 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7870 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7871 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7872 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7873 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7874 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7875 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7876 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7877 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7878 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7879 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7880 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7881 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7882 * sysdeps/unix/sysv/linux/raise.c: ... here.
7883 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7884 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7885 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7886 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7887 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7888 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7889 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7890 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7891 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7892 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7893 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7894 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7895 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7896 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7897 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7898
96baf6ff
SP
78992014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7900
7901 * sysdeps/generic/memcopy.h: Add comment for
7902 MEMCPY_OK_FOR_FWD_MEMMOVE.
7903
6b7b14b2
WN
79042014-07-04 Will Newton <will.newton@linaro.org>
7905
1570a72b
WN
7906 * string/memchr.c: Merge from gnulib.
7907 [_LIBC]: Remove conditionals.
7908 (__ptr_t): Remove define.
7909 (LONG_MAX_32_BITS): Likewise.
7910 (LONG_MAX): Likewise.
7911 (MEMCHR): Use ANSI prototype and optimize algorithm.
7912
6b7b14b2
WN
7913 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7914
38851324
SP
79152014-07-03 Roland McGrath <roland@hack.frob.com>
7916
3d9eb57c
RM
7917 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7918 (lll_futex_timed_wait_bitset): Fix syscall argument count.
7919
78b984ae
RM
7920 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7921 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7922 in a bare environment with no <stdlib.h> installed.
7923 * sysdeps/nptl/configure: Regenerated.
7924
2d5976a5
RM
7925 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7926
c1f5acd4
RM
7927 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7928 AC_EGREP_CPP for kernel header checks, so they only succeed if
7929 including <linux/version.h> actually works right.
7930 * sysdeps/unix/sysv/linux/configure: Regenerated.
7931
4d614fe5
RM
7932 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7933 value so it's not diagnosed as unused.
7934
38851324
SP
7935 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7936 thing) with "ifeq ($(subdir),rt)".
7937
b3ec00e5
RH
79382014-07-03 Richard Henderson <rth@redhat.com>
7939
69862e25
RH
7940 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7941 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7942 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7943
d5e16ade
RH
7944 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7945 (math_force_eval): New.
7946
ca7b945c
RH
7947 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7948 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7949
cd1175a3
RH
7950 * sysdeps/alpha/fpu/s_round.c: Remove file.
7951 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7952
b3ec00e5
RH
7953 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7954 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7955 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7956 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7957 (_dl_start, print_statistics): Likewise.
7958 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7959 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7960
7961 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7962 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7963 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7964 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7965 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7966 (HP_SMALL_TIMING_AVAIL): Define.
7967 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7968 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7969 (HP_SMALL_TIMING_AVAIL): Define.
7970 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7971 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7972
7973 * sysdeps/aarch64/hp-timing.h: New file.
7974
7975 * sysdeps/generic/hp-timing.h: Remove dead comment.
7976 * sysdeps/generic/hp-timing-common.h: New file.
7977 * sysdeps/alpha/hp-timing.h: Include it.
7978 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7979 * sysdeps/i386/i686/hp-timing.h: Likewise.
7980 * sysdeps/ia64/hp-timing.h: Likewise.
7981 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7982 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7983 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7984 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7985 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7986 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7987 (hp_timing_t): New.
7988
7989 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7990 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7991 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7992 * elf/rtld.c (_dl_start_final): Likewise.
7993 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7994 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7995 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7996 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7997 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7998 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7999 (HP_TIMING_DIFF_INIT): Remove.
8000 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8001 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8002 (HP_TIMING_DIFF_INIT): Remove.
8003 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8004 * sysdeps/i386/i686/hp-timing.c: Remove file.
8005 * sysdeps/x86_64/hp-timing.c: Remove file.
8006 * sysdeps/ia64/hp-timing.c: Remove file.
8007 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8008 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8009 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8010 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8011
8012 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8013 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8014 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8015 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8016 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8017 (HP_TIMING_ACCUM): Remove.
8018 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8019 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8020 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8021
8022 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8023 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8024 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8025 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8026 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8027 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8028 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8029 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8030
8031 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8032
225f410f
MR
80332014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8034
8035 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8036
3247f285
SP
80372014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8038
8039 Sync up with gettext.
8040 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8041 [_MSC_VER]: Include malloc.h
8042 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8043 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8044 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8045 TEMP_FAILURE_RETRY. Cast return of alloca.
8046 [!_LIBC] Call gl_rwlock_init.
8047 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8048
d12704c7
SP
80492014-07-02 Roland McGrath <roland@hack.frob.com>
8050
8051 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8052 before checking its value.
8053
99f8dc92
SP
80542014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8055
05fdac77
SP
8056 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8057
99f8dc92
SP
8058 * debug/memcpy_chk.c: Don't include pagecopy.h.
8059 * debug/mempcpy_chk.c: Likewise.
8060 * string/memcpy.c: Likewise.
8061 * string/memmove.c: Likewise.
8062 * sysdeps/powerpc/memmove.c: Likewise.
8063 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8064 definition of PAGE_COPY_FWD_MAYBE here...
8065 * sysdeps/generic/pagecopy.h: ... from here.
8066 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8067
bc8ea385
VR
80682014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8069 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8070
8071 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8073 optimizations.
8074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8075 (__libc_ifunc_impl_list): Likewise.
8076 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8077 multiarch strcat for PPC64.
8078 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8079 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8080
fe5f34e4
RM
80812014-07-02 Roland McGrath <roland@hack.frob.com>
8082
8083 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8084
256aa665
SP
80852014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8086
d4eb8195
SP
8087 * intl/loadmsgcat.c: Remove declaration of
8088 get_sysdep_segment_value.
8089 (get_sysdep_segment_value): Use ISO C style.
8090 (_nl_load_domain): Use ISO C style. Get rid of redundant
8091 semicolon. Fix typo and formatting in comment.
8092 (_nl_unload_domain): Use ISO C style.
8093
256aa665
SP
8094 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8095
b100f9aa
WN
80962014-07-02 Will Newton <will.newton@linaro.org>
8097
8098 * malloc/obstack.c: Merge from gnulib master.
8099 [HAVE_CONFIG_H]: Remove conditional code.
8100 [!_LIBC]: Include config.h.
8101 [!ELIDE_CODE]: Don't include inttypes.h, include
8102 stdint.h unconditionally.
8103 (print_and_abort): Mark as _Noreturn.
8104 (_obstack_allocated_p): Mark as __attribute_pure__.
8105 (obstack_free): Rename to __obstack_free.
8106 [!__attribute__]: Remove conditional code.
8107 * malloc/obstack.h: Merge from gnulib master.
8108 [__cplusplus]: Move conditional down.
8109 [!__attribute_pure__]: Define __attribute_pure__ here
8110 if it is not already defined.
8111 (_obstack_memory_used): Mark as __attribute_pure__.
8112 [!__obstack_free]: Define as obstack_free.
8113 [__GNUC__]: Remove check for ancient NeXT gcc.
8114
c4c41244
PE
81152014-07-02 Will Newton <will.newton@linaro.org>
8116 Paul Eggert <eggert@cs.ucla.edu>
8117
8118 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8119
e1e041c4
SP
81202014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8121
8122 * resolv/gethnamaddr.c: Add comment warning that the file is
8123 not maintained.
8124
ccf431ff
CD
81252014-07-01 Carlos O'Donell <carlos@redhat.com>
8126
d34570a6
CD
8127 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8128 entries.
8129
ccf431ff
CD
8130 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8131 entry for aio_cancel and aio_cancel64.
8132 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8133 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8134 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8135 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8136 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8137 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8138 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8139 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8140 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8141 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8142 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8143 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8144 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8145
ca06321d
RM
81462014-07-01 Roland McGrath <roland@hack.frob.com>
8147
8148 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8149 * nptl/pthread_mutex_lock.c: Likewise.
8150 * nptl/pthread_mutex_timedlock.c: Likewise.
8151 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8152
a1ac3184
RH
81532014-07-01 Richard henderson <rth@redhat.com>
8154
631021e0
RH
8155 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8156 (__isnan, __isnanl): Remove.
8157 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8158
a1ac3184
RH
8159 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8160
0c1d731f
SL
81612014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8162
8163 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8164
76985d3e
SP
81652014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8166
8167 * resolv/nss_dns/dns-host.c (getanswer_r)
8168 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8169
b0cb3096
JM
81702014-07-01 Joseph Myers <joseph@codesourcery.com>
8171
8172 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8173 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8174 undefine.
8175 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8176 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8177
4d76cb39
RM
81782014-07-01 Roland McGrath <roland@hack.frob.com>
8179
8180 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8181 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8182
8183 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8184 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8185
8186 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8187 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8188 ... here.
8189 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8190 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8191
8192 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8193 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8194 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8195 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8196
8197 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8198 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8199 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8200 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8201 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8202 Moved ...
8203 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8204 ... here.
8205 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8206 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8207 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8208 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8209 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8210 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8211 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8212 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8213 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8214 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8215 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8216 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8217 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8218 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8219 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8220 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8221 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8222 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8223 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8224 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8225 ... here.
8226 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8227 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8228 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8229 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8230 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8231 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8232 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8233 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8234
0cdcad17
DH
82352014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8236
8237 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8238 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8239 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8240 Add sysdep.
8241
9b71d0e3
AZ
82422014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8243
8244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8245
665390c2
JM
82462014-06-30 Joseph Myers <joseph@codesourcery.com>
8247
ae05a9d7
JM
8248 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8249 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8250
a7672a2f
JM
8251 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8252
665390c2
JM
8253 * sysdeps/arm/libm-test-ulps: Regenerated.
8254
d7a05d07
MR
82552014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8256 Roland McGrath <roland@hack.frob.com>
8257
8258 * test-skeleton.c (signal_handler): Kill the whole process group
8259 before killing the child individually.
8260 (main): Report any failure on `setpgid'.
8261
46f1d8a6
RM
82622014-06-30 Roland McGrath <roland@hack.frob.com>
8263
8264 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8265 from _TLS_H to _ARM_NPTL_TLS_H.
8266 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8267 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8268
9c37ec0b
JM
82692014-06-30 Joseph Myers <joseph@codesourcery.com>
8270
ce9c5b3e
JM
8271 [BZ #16539]
8272 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8273 (__expm1l): Return argument unchanged when small but not
8274 subnormal.
8275
3a6e9887
JM
8276 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8277 include macro name.
8278 (_FP_UNPACK_RAW_1_P): Likewise.
8279 (_FP_PACK_RAW_1): Likewise.
8280 (_FP_PACK_RAW_1_P): Likewise.
8281 (_FP_MUL_MEAT_1_wide): Likewise.
8282 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8283 (_FP_MUL_MEAT_1_hard): Likewise.
8284 (_FP_DIV_MEAT_1_imm): Likewise.
8285 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8286 (_FP_DIV_MEAT_1_udiv): Likewise.
8287 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8288 (_FP_UNPACK_RAW_2): Likewise.
8289 (_FP_UNPACK_RAW_2_P): Likewise.
8290 (_FP_PACK_RAW_2): Likewise.
8291 (_FP_PACK_RAW_2_P): Likewise.
8292 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8293 (_FP_MUL_MEAT_2_wide): Likewise.
8294 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8295 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8296 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8297 (_FP_MUL_MEAT_2_gmp): Likewise.
8298 (_FP_DIV_MEAT_2_udiv): Likewise.
8299 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8300 (_FP_FRAC_SRL_4): Likewise.
8301 (_FP_FRAC_SRST_4): Likewise.
8302 (_FP_FRAC_SRS_4): Likewise.
8303 (_FP_UNPACK_RAW_4): Likewise.
8304 (_FP_UNPACK_RAW_4_P): Likewise.
8305 (_FP_PACK_RAW_4): Likewise.
8306 (_FP_PACK_RAW_4_P): Likewise.
8307 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8308 (_FP_MUL_MEAT_4_wide): Likewise.
8309 (_FP_MUL_MEAT_4_gmp): Likewise.
8310 (umul_ppppmnnn): Likewise.
8311 (_FP_DIV_MEAT_4_udiv): Likewise.
8312 (__FP_FRAC_ADD_4): Likewise.
8313 (__FP_FRAC_SUB_3): Likewise.
8314 (__FP_FRAC_SUB_4): Likewise.
8315 (__FP_FRAC_DEC_3): Likewise.
8316 (__FP_FRAC_DEC_4): Likewise.
8317 (__FP_FRAC_ADDI_4): Likewise.
8318 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8319 (_FP_FRAC_SRL_8): Likewise.
8320 (_FP_FRAC_SRS_8): Likewise.
8321
9c37ec0b
JM
8322 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8323 include macro name.
8324 (FP_UNPACK_RAW_EP): Likewise.
8325 (FP_PACK_RAW_E): Likewise.
8326 (FP_PACK_RAW_EP): Likewise.
8327 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8328 (_FP_ISSIGNAN): Likewise.
8329 (_FP_ADD_INTERNAL): Likewise.
8330 (_FP_FMA): Likewise.
8331 (_FP_CMP): Likewise.
8332 (_FP_SQRT): Likewise.
8333 (_FP_TO_INT): Likewise.
8334 (_FP_FROM_INT): Likewise.
8335 (FP_EXTEND): Likewise.
8336 (_FP_DIV_MEAT_N_loop): Likewise.
8337
2125f674
MR
83382014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8339
8340 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8341 throughout.
8342
edea4028
JM
83432014-06-29 Joseph Myers <joseph@codesourcery.com>
8344
8345 [BZ #17097]
8346 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8347 result with correct sign in case of exponents that produce
8348 overflow except for X very close to 1.
8349
dd0ba018
PE
83502014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8351
8352 mktime: merge #if/#ifdef usage from glibc
8353 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8354 as that works with both Glibc's and Gnulib's style.
8355 See thread starting at Siddhesh Poyarekar's bug report at:
8356 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8357
64df73c2
SP
83582014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8359
8360 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8361 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8362 * sysdeps/tile/tilegx/memmove.c: Remove file.
8363
f1eafb41
JM
83642014-06-27 Joseph Myers <joseph@codesourcery.com>
8365
8366 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8367 abi-name definition.
8368 * scripts/soversions.awk: Do not handle or generate ABI lines.
8369 * shlib-versions: Remove ABI entries.
8370 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8371 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8372
58eb0862
RM
83732014-06-27 Roland McGrath <roland@hack.frob.com>
8374
37caf178
RM
8375 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8376 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8377 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8378 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8379 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8380 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8381 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8382 Moved ...
8383 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8384 ... here.
8385 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8386 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8387 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8388 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8389 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8390 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8391 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8392 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8393 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8394 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8395 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8396 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8397 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8398 Moved ...
8399 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8400 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8401 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8402 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8403 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8404 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8405 Moved ...
8406 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8407 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8408 Moved ...
8409 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8410 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8411 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8412 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8413 Moved ...
8414 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8415 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8416 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8417 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8418 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8419 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8420 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8421 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8422 Moved ...
8423 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8424 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8425 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8426 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8427 Moved ...
8428 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8429 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8430 Moved ...
8431 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8432 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8433 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8434 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8435 Moved ...
8436 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8437 ... here.
8438 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8439 Identical file removed.
8440 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8441 Moved ...
8442 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8443 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8444 Identical file removed.
8445 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8446 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8447 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8448 Moved ...
8449 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8450 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8451 Identical file removed.
8452 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8453 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8454 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8455 Identical file removed.
8456 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8457 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8458 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8459 Identical file removed.
8460 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8461 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8462 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8463 Identical file removed.
8464 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8465 Moved ...
8466 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8467 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8468 Identical file removed.
8469 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8470 Moved ...
8471 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8472 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8473 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8474 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8475 Identical file removed.
8476 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8477 Moved ...
8478 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8479 ... here.
8480 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8481 Identical file removed.
8482 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8483 Moved ...
8484 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8485 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8486 Identical file removed.
8487 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8488 Moved ...
8489 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8490 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8491 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8492 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8493 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8494 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8495 Moved ...
8496 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8497 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8498 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8499
58eb0862
RM
8500 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8501 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8502 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8503 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8504 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8505
6f12d062
AS
85062014-06-27 Arjun Shankar <arjun.is@lostca.se>
8507
8508 [BZ #17092]
8509 * nscd/nscd.c (monitor_child): Return exit status of child
8510 instead of return value from wait syscall.
8511
be254932
JM
85122014-06-27 Joseph Myers <joseph@codesourcery.com>
8513
cb403c34
JM
8514 * configure.ac (libc_commonpagesize): Remove variable.
8515 (libc_relro_required): Likewise.
8516 (libc_cv_z_relro): Remove configure test.
8517 * configure: Regenerated.
8518 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8519 variable.
8520 (libc_relro_required): Likewise.
8521 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8522 (libc_relro_required): Likewise.
8523 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8524 (libc_relro_required): Likewise.
8525 * sysdeps/arm/preconfigure: Regenerated.
8526 * sysdeps/ia64/preconfigure: Remove file.
8527 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8528 variable.
8529 (libc_relro_required): Likewise.
8530
be254932
JM
8531 [BZ #16561]
8532 [BZ #16562]
8533 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8534 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8535 recompute overflowing results in original rounding mode.
8536 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8537 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8538 recompute overflowing results in original rounding mode.
8539 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8540 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8541 recompute overflowing results in original rounding mode.
8542 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8543 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8544 recompute overflowing results in original rounding mode.
8545 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8546 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8547 recompute overflowing results in original rounding mode.
8548 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8549 (libc_feholdsetround_ctx): New macro.
8550 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8551 * sysdeps/i386/fpu/libm-test-ulps: Update.
8552 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8553
b351d85a
JM
85542014-06-26 Joseph Myers <joseph@codesourcery.com>
8555
8556 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8557 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8558 corresponding .cpsetup call.
8559
3cb4de47
RM
85602014-06-26 Roland McGrath <roland@hack.frob.com>
8561
8562 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8563 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8564 * sysdeps/arm/Makefile [$(subdir) = csu]
8565 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8566 (static-only-routines): Add aeabi_read_tp here.
8567 (shared-only-routines): Add libc-aeabi_read_tp here.
8568 (CFLAGS-libc-start.c): Add -fexceptions here.
8569 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8570 (sysdep_routines, static-only-routines, shared-only-routines):
8571 Don't add to these here.
8572 (CFLAGS-libc-start.c): Likewise.
8573
8574 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8575 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8576 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8577 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8578 * sysdeps/arm/Makefile [$(subdir) = rt]
8579 (librt-sysdep_routines, librt-shared-only-routines):
8580 Append rt-aeabi_unwind_cpp_pr1 here.
8581 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8582 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8583 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8584 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8585 Append nptl-aeabi_unwind_cpp_pr1 here.
8586 (tests): Filter out tst-cleanupx4 here.
8587 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8588 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8589 Don't do those here.
8590
354426bb
JM
85912014-06-26 Joseph Myers <joseph@codesourcery.com>
8592
8593 * scripts/list-sources.sh: Do not handle ports specially.
8594
28b0a8c9
RM
85952014-06-26 Roland McGrath <roland@hack.frob.com>
8596
a3dd035d
RM
8597 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8598 * sysdeps/arm/feupdateenv.c: Likewise.
8599
28b0a8c9
RM
8600 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8601
e66a8203
JM
86022014-06-26 Joseph Myers <joseph@codesourcery.com>
8603
8604 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8605 trailing whitespace removed.
8606 * scripts/config.guess: Update to version 2014-03-23.
8607 * scripts/config.sub: Update to version 2014-05-01
8608 * scripts/install-sh: Update to version 2013-12-25.23.
8609 * scripts/move-if-change: Update from gnulib.
8610
74171115
SP
86112014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8612
b97c9ce5
SP
8613 * debug/memmove_chk.c: Remove pagecopy.h include.
8614
4000f892
SP
86152014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8616
74171115
SP
8617 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8618 identical to gnulib mktime.
8619
a8779c28
JM
86202014-06-26 Joseph Myers <joseph@codesourcery.com>
8621
e64708de
JM
8622 * configure.ac: Do not test for machine being rs6000. Do not test
8623 for powerpc*-*soft.
8624 * configure: Regenerated.
8625
a8779c28
JM
8626 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8627 test.
8628 * configure: Regenerated.
8629 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8630 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8631 Remove configure test.
8632 * sysdeps/arm/configure: Regenerated.
8633 * sysdeps/nptl/configure.ac: Do not check
8634 libc_cv_asm_cfi_directives.
8635 * sysdeps/nptl/configure: Regenerated.
8636 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8637 * sysdeps/x86_64/nptl/configure: Remove generated file.
8638 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8639 unconditional.
8640 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8641
2aac0a86
SP
86422014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8643
059bf913
SP
8644 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8645 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8646 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8647 it is defined.
8648
4cf5b6d0
SP
8649 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8650 instead of whether it is defined.
8651 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8652 * sysdeps/hppa/dl-machine.h: Likewise.
8653 * sysdeps/ia64/dl-machine.h: Likewise.
8654 * sysdeps/m68k/dl-machine.h: Likewise.
8655 * sysdeps/microblaze/dl-machine.h: Likewise.
8656 * sysdeps/mips/dl-machine.: Likewise.
8657 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8658 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8659 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8660 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8661 * sysdeps/sh/dl-machine.h: Likewise.
8662 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8663 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8664 * sysdeps/tile/dl-machine.h: Likewise.
8665 * sysdeps/x86_64/dl-machine.h: Likewise.
8666
2aac0a86
SP
8667 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8668 code.
8669 (verify_persistent_db): Likewise.
8670
6ad2df0b
RM
86712014-06-26 Roland McGrath <roland@hack.frob.com>
8672
d8a483f3
RM
8673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8674 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8676 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8678 Moved ...
8679 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8680 ... here.
8681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8682 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8684 Identical file removed.
8685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8686 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8688 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8690 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8692 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8694 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8696 Moved ...
8697 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8699 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8701 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8703 Moved ...
8704 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8706 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8708 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8710 Identical file removed.
8711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8712 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8714 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8716 Moved ...
8717 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8718 ... here.
8719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8720 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8722 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8724 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8726 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8728 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8730 Moved ...
8731 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8733 Moved ...
8734 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8736 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8738 Moved ...
8739 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8741 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8742
52ae23b4
RM
8743 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8744 folded into ...
8745 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8746 * sysdeps/unix/sysv/linux/s390/Versions
8747 (libpthread: GLIBC_2.19): New version set.
8748 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8749 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8750 (librt: GLIBC_2.3.3): New version set.
8751 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8752 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8753 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8754 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8755 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8756 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8757 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8758 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8759 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8760 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8761 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8762 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8763 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8764 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8765 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8766 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8767 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8768 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8769 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8770 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8771 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8772 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8773 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8774 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8775 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8776 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8777 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8778 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8779 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8780 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8781 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8782 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8783 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8784 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8785 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8786 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8787 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8788 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8789 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8790 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8791 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8792 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8793 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8794 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8795 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8796
39507e4a
RM
8797 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8798 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8799 (__libc_vfork): Define the function under this name.
8800 [!NOT_IN_libc] (__vfork): Make this an alias.
8801 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8802 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8803 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8804 (__libc_vfork): Define the function under this name.
8805 [!NOT_IN_libc] (__vfork): Make this an alias.
8806 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8807 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8808 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8809 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8810 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8811 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8812
e549ee56
RM
8813 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8814 code that was previously under [RESET_PID].
8815 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8816 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8817 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8818
6ad2df0b
RM
8819 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8820 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8821 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8822 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8823 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8824 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8825 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8826 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8827 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8828 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8829 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8830 Moved ...
8831 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8832 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8833 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8834 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8835 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8836 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8837 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8838 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8839 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8840 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8841 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8842 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8843 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8844 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8845 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8846 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8847 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8848 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8849 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8850 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8851 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8852 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8853 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8854 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8855 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8856 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8857 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8858 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8859 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8860
7c1c1d8e
RM
88612014-06-25 Roland McGrath <roland@hack.frob.com>
8862
8863 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8864 that was previously under [RESET_PID].
8865 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8866
3e239be6
JM
88672014-06-25 Joseph Myers <joseph@codesourcery.com>
8868
74385da5
JM
8869 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8870 not undefine and redefine.
8871 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8872 [O_CLOEXEC]: Make code unconditional.
8873 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8874 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8875 <kernel-features.h>.
8876 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8877 conditional variable definition.
8878 (shm_open) [O_CLOEXEC]: Make code unconditional.
8879 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8880 code.
8881
c2570a0b
JM
8882 * configure.ac (USE_REGPARMS): Don't define here.
8883 * configure: Regenerated.
8884 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8885 * sysdeps/i386/configure: Regenerated.
8886
11b076bb
JM
8887 * nptl/createthread.c: Don't include kernel-features.h.
8888 * nptl/pthread_cancel.c: Likewise.
8889 * nptl/pthread_condattr_setclock.c: Likewise.
8890 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8891 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8892 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8893 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8894 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8895 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8896 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8897 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8898 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8899 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8900 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8901 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8902 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8903 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8904 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8905 * nscd/gai.c: Likewise.
8906 * nss/nss_db/db-open.c: Likewise.
8907 * sysdeps/generic/ldsodefs.h: Likewise.
8908 * sysdeps/sh/nptl/tls.h: Likewise.
8909 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8910 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8911 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8912 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8913 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8914 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8915 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8916 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8917 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8918 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8919 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8920 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8921 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8922 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8923 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8924 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8925 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8926 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8927 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8928 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8929 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8930 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8931 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8932 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8933 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8934 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8935 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8936 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8937 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8938 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8939 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8940 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8941 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8942 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8943 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8944 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8945 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8946 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8947 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8948 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8949 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8950 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8951 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8952 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8953 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8954 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8955 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8956 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8957 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8958 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8959 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8960 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8961 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8962 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8963 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8964 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8965 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8966 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8989 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8990 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8991 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8992 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8993 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8994 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8995 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8996 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8997 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8998 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8999 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9000 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9001 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9002 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9003 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9004 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9005 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9006 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9007 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9008 * sysdeps/unix/sysv/linux/system.c: Likewise.
9009 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9010 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9011 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9012 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9013 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9014 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9015 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9016
92072d57
JM
9017 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9018 * configure: Regenerated.
9019 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9020
3e239be6
JM
9021 * configure.ac (base_machine): Do not set specially for particular
9022 machines here.
9023 * configure: Regenerated.
9024 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9025 settings from configure.ac.
9026 * sysdeps/i386/preconfigure: New file.
9027 * sysdeps/s390/preconfigure: Likewise.
9028 * sysdeps/sh/preconfigure: Likewise.
9029 * sysdeps/sparc/preconfigure: Likewise.
9030
06d50baa
RM
90312014-06-25 Roland McGrath <roland@hack.frob.com>
9032
74836003
RM
9033 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9034 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9035 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9036 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9037 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9038 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9039 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9040 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9041 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9042 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9043 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9044 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9045 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9046 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9047 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9048 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9049 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9050 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9051 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9052
9053 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9054 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9055 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9056 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9057 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9058 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9059 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9060 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9061 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9062 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9063 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9064 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9065 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9066 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9067 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9068 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9069 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9070 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9071 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9072 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9073 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9074 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9075 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9076 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9077 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9078 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9079 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9080 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9081 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9082 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9083 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9084 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9085 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9086 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9087 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9088 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9089 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9090 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9091
06d50baa
RM
9092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9093 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9095 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9097 Moved ...
9098 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9099 ... here.
9100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9101 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9103 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9105 Moved ...
9106 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9108 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9110 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9112 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9114 Moved ...
9115 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9117 Moved ...
9118 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9120 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9122 Moved ...
9123 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9125 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9127 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9129 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9131 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9133 Moved ...
9134 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9135 ... here.
9136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9137 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9139 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9141 Moved ...
9142 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9144 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9146 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9148 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9150 Moved ...
9151 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9153 Moved ...
9154 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9156 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9158 Moved ...
9159 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9161 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9163 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9164
a4ccbc9b
JM
91652014-06-25 Joseph Myers <joseph@codesourcery.com>
9166
0828edbf
JM
9167 * timezone/checktab.awk: Update from tzcode 2014e.
9168 * timezone/private.h: Likewise.
9169 * timezone/tzfile.h: Likewise.
9170 * timezone/zdump.c: Likewise.
9171 * timezone/zic.c: Likewise.
9172
a4ccbc9b
JM
9173 * sysdeps/unix/sysv/linux/kernel-features.h
9174 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9175 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9176 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9177 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9178 Remove conditional code.
9179
9aea0cb8
WN
91802014-06-25 Will Newton <will.newton@linaro.org>
9181
9182 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9183 (_dl_arm_cap_flags): Add HWCAP2 values.
9184 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9185 (_DL_HWCAP_COUNT): Increase to 37.
9186 (_DL_HWCAP_LAST): New define.
9187 (_DL_HWCAP2_LAST): New define.
9188 (_dl_procinfo): Add support for printing
9189 AT_HWCAP2 entries.
9190 (_dl_string_hwcap): Use _dl_hwcap_string.
9191
6eaa65ce
AZ
91922014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9193
9194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9195
0f5b7185
JM
91962014-06-25 Joseph Myers <joseph@codesourcery.com>
9197
cfd2ea50
JM
9198 * README: Do not mention ports directory.
9199
cecf2ed4
JM
9200 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9201 Remove macro.
9202 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9203 <kernel-features.h>.
9204 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9205 conditional variable definition.
9206 (__futimes): Update comment.
9207 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9208 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9209
a638de82
JM
9210 [BZ #16560]
9211 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9212 arguments close to 0.
9213 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9214 Likewise.
9215 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9216 Likewise.
9217 * math/auto-libm-test-in: Add more tests of exp10.
9218 * math/auto-libm-test-out: Regenerated.
9219 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9220
0f5b7185
JM
9221 * sysdeps/unix/sysv/linux/kernel-features.h
9222 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9223 * sysdeps/unix/sysv/linux/readv.c: Do not include
9224 <kernel-features.h>.
9225 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9226 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9227 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9228 unconditional.
9229 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9230 conditional code.
9231 * sysdeps/unix/sysv/linux/writev.c: Do not include
9232 <kernel-features.h>.
9233 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9234 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9235 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9236 unconditional.
9237 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9238 conditional code.
9239
c7aec4be
WN
92402014-06-25 Will Newton <will.newton@linaro.org>
9241
9242 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9243 comment changes throughout the file. Remove checks
9244 for HAVE_*_H definitions that are not required.
9245 (__gen_tempname): Call abort if an unknown kind value is
9246 passed.
9247
c5241f95
AS
92482014-06-25 Andreas Schwab <schwab@suse.de>
9249
9250 [BZ #17086]
9251 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9252 scalbln, scalblnf, scalblnl in libc.
9253
911422da
SP
92542014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9255
9256 [BZ #17086]
9257 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9258 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9259 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9260
0d749bbe
RM
92612014-06-24 Roland McGrath <roland@hack.frob.com>
9262
9263 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9264 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9265 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9266 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9267 Update #include.
9268 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9269 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9270 Update #include.
9271 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9272 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9273 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9274 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9275 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9276 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9277 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9278 * sysdeps/x86/bits/semaphore.h: ... here.
9279 * sysdeps/x86/nptl/elide.h: Moved ...
9280 * sysdeps/x86/elide.h: ... here.
9281 * sysdeps/x86_64/nptl/Implies: File removed.
9282 * sysdeps/i386/nptl/Implies: File removed.
9283
0ea5d373
JM
92842014-06-24 Joseph Myers <joseph@codesourcery.com>
9285
4060283d
JM
9286 [BZ #16539]
9287 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9288 return the argument for normal arguments with exponent below -64.
9289 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9290 Likewise.
9291 * math/auto-libm-test-in: Add another test of expm1.
9292 * math/auto-libm-test-out: Regenerated.
9293
e7dd3c8c
JM
9294 [BZ #16287]
9295 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9296 calling __erfcl for arguments at least 16.
9297 * math/auto-libm-test-in: Add more tests of erf.
9298 * math/auto-libm-test-out: Regenerated.
9299
0ea5d373
JM
9300 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9301 individual architectures.
9302 * sysdeps/unix/sysv/linux/configure: Regenerated.
9303 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9304 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9305 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9306 (ldd_rewrite_script): Define variable.
9307 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9309 file.
9310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9311 generated file.
9312 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9313 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9314 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9315 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9316 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9317 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9318 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9319 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9320
2307e126
SP
93212014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9322
9323 [BZ #17084]
9324 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9325 Rename member __data.d to __data.__elision_data.
9326
c0a4ed77
W
93272014-06-24 Wilco <wdijkstr@arm.com>
9328
9329 * NEWS: Add 16918 to fixed bug list.
9330
b8c00573
W
93312014-06-24 Wilco <wdijkstr@arm.com>
9332
9333 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9334
b5570d92
W
93352014-06-24 Wilco <wdijkstr@arm.com>
9336
9337 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9338 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9339 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9340 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9341 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9342 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9343 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9344 Use _FPU_MASK_RM.
9345
947bdca2
W
93462014-06-24 Wilco <wdijkstr@arm.com>
9347
9348 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9349
00f669ed
W
93502014-06-24 Wilco <wdijkstr@arm.com>
9351
9352 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9353 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9354 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9355 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9356
db59bad3
W
93572014-06-24 Wilco <wdijkstr@arm.com>
9358
9359 [BZ #16918]
9360 * sysdeps/arm/feupdateenv.c (feupdateenv):
9361 Rewrite to reduce FPSCR accesses and fix return value.
9362
001f7b77
W
93632014-06-24 Wilco <wdijkstr@arm.com>
9364
9365 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9366 Optimize to avoid unnecessary FPSCR writes.
9367 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9368 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9369 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9370 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9371
4841e6a6
W
93722014-06-24 Wilco <wdijkstr@arm.com>
9373
9374 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9375 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9376 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9377 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9378 Call libc_fetestexcept_vfp.
9379 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9380 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9381 __SOFTFP__ ifdef so that they can be built for softfp.
9382
0813022c
SP
93832014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9384
08e5862f
SP
9385 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9386 argument type signed char.
9387
0813022c
SP
9388 * Makerules (check-abi): Dump diff of symlist if the test
9389 fails.
9390
3fc7236a
RM
93912014-06-23 Roland McGrath <roland@hack.frob.com>
9392
aba8ef95
RM
9393 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9394 using abort.
9395
3fc7236a
RM
9396 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9397 Remove unused variable ST.
9398
4da6db51
JM
93992014-06-23 Joseph Myers <joseph@codesourcery.com>
9400
4648909d
JM
9401 [BZ #16354]
9402 [BZ #17061]
9403 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9404 small arguments before calling __expm1.
9405 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9406 small arguments before calling __expm1f.
9407 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9408 small arguments before calling __expm1l.
9409 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9410 Likewise.
9411 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9412 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9413 spurious underflow for some cosh tests.
9414 * math/auto-libm-test-out: Regenerated.
9415 * sysdeps/i386/fpu/libm-test-ulps: Update.
9416
46a3d3c7
JM
9417 [BZ #17050]
9418 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9419 (__ieee754_y1): Set errno if return value overflows.
9420 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9421 (__ieee754_y1f): Set errno if return value overflows.
9422 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9423 (__ieee754_y1l): Set errno if return value overflows.
9424 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9425 (__ieee754_y1l): Set errno if return value overflows.
9426 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9427 * math/auto-libm-test-out: Regenerated.
9428
863893ec
JM
9429 * math/gen-auto-libm-tests.c: Document use of
9430 ignore-zero-inf-sign.
9431 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9432 (input_flags): Add ignore-zero-inf-sign.
9433 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9434 * math/gen-libm-test.pl (generate_testfile): Handle
9435 ignore-zero-inf-sign.
9436 * math/auto-libm-test-in: Mark some cpow tests with
9437 ignore-zero-inf-sign and some with xfail-rounding.
9438 * math/auto-libm-test-out: Regenerated.
9439 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9440 * sysdeps/i386/fpu/libm-test-ulps: Update.
9441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9442
4da6db51
JM
9443 [BZ #16315]
9444 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9445 overflowing or underflowing operations take place with sign of
9446 result.
9447 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9448 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9449 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9450 (__ieee754_pow): Recompute overflowing and underflowing results in
9451 original rounding mode.
9452 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9453 (__powl_helper): Allow negative argument X and scale negated value
9454 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9455 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9456 overflowing or underflowing operations take place with sign of
9457 result.
9458 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9459 Include <math.h>.
9460 * math/auto-libm-test-in: Add more tests of pow.
9461 * math/auto-libm-test-out: Regenerated.
9462 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9463 (pow_tonearest_test_data): Remove.
9464 (pow_test_tonearest): Likewise.
9465 (pow_towardzero_test_data): Likewise.
9466 (pow_test_towardzero): Likewise.
9467 (pow_downward_test_data): Likewise.
9468 (pow_test_downward): Likewise.
9469 (pow_upward_test_data): Likewise.
9470 (pow_test_upward): Likewise.
9471 (main): Don't call removed functions.
9472 * sysdeps/i386/fpu/libm-test-ulps: Update.
9473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9474
5686b236
RM
94752014-06-23 Roland McGrath <roland@hack.frob.com>
9476
9477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9478 Moved ...
9479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9481 Moved ...
9482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9484 Moved ...
9485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9487 Moved ...
9488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9490 File removed.
9491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9492 File removed.
9493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9494 File removed.
9495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9496 File removed.
9497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9498 File removed.
9499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9500 File removed.
9501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9502 File removed.
9503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9504 File removed.
9505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9506 File removed.
9507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9508 File removed.
9509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9510 File removed.
9511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9512 File removed.
9513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9514 Moved ...
9515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9517 Moved ...
9518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9519 ... here.
9520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9521 Moved ...
9522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9524 Moved ...
9525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9527 Moved ...
9528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9530 Moved ...
9531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9533 Moved ...
9534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9536 Moved ...
9537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9539 Moved ...
9540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9543 ... here.
9544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9545 Moved ...
9546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9548 Moved ...
9549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9550 ... here.
9551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9552 Moved ...
9553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9554 ... here.
9555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9556 Moved ...
9557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9558 ... here.
9559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9560 Moved ...
9561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9563 Moved ...
9564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9568 Moved ...
9569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9570 ... here.
9571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9572 Moved ...
9573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9574 ... here.
9575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9576 Moved ...
9577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9579 Moved ...
9580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9582 Moved ...
9583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9585 Moved ...
9586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9588 Moved ...
9589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9590 ... here.
9591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9592 Moved ...
9593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9595 Moved ...
9596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9598 Moved ...
9599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9601 Moved ...
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9606 Moved ...
9607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9609 Moved ...
9610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9612 Moved ...
9613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9614 ... here.
9615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9616 Moved ...
9617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9618 ... here.
9619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9620 Moved ...
9621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9622 ... here.
9623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9624 Moved ...
9625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9627 Moved ...
9628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9630 Moved ...
9631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9633 Moved ...
9634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9635 ... here.
9636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9637 Moved ...
9638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9639 ... here.
9640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9641 Moved ...
9642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9643 ... here.
9644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9645 Moved ...
9646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9648 Moved ...
9649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9650
e6d90d67
WD
96512014-06-23 Will Newton <will.newton@linaro.org>
9652 Wilco <wdijkstr@arm.com>
9653
9654 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9655 implementation. Include get-rounding-mode.h.
9656 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9657 [!libc_feholdsetround_noex_ctx]: Define
9658 libc_feholdsetround_noex_ctx.
9659 [!libc_feholdsetround_noexf_ctx]: Define
9660 libc_feholdsetround_noexf_ctx.
9661 [!libc_feholdsetround_noexl_ctx]: Define
9662 libc_feholdsetround_noexl_ctx.
9663 (libc_feholdsetround_ctx): New function.
9664 (libc_feresetround_ctx): New function.
9665 (libc_feholdsetround_noex_ctx): New function.
9666 (libc_feresetround_noex_ctx): New function.
9667
d42df555
RM
96682014-06-23 Roland McGrath <roland@hack.frob.com>
9669
88a46474
RM
9670 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9671 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9672 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9673 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9674 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9675 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9676
15bed472
RM
9677 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9678 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9679 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9680 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9681 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9682 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9683 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9684 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9685 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9686 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9687 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9688 Moved ...
9689 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9690 ... here.
9691 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9692 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9693 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9694 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9695 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9696 Moved ...
9697 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9698 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9699 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9700 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9701 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9702 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9703 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9704 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9705 Moved ...
9706 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9707 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9708 Moved ...
9709 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9710 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9711 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9712 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9713 Moved ...
9714 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9715 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9716 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9717 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9718 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9719 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9720 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9721 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9722 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9723 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9724 Moved ...
9725 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9726 ... here.
9727 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9728 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9729 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9730 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9731 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9732 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9733 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9734 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9735 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9736 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9737 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9738 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9739 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9740 Moved ...
9741 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9742 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9743 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9744 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9745 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9746 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9747 Moved ...
9748 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9749 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9750 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9751 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9752 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9753
d42df555
RM
9754 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9755 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9756 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9757 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9758 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9759 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9760 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9761 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9762 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9763 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9764 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9765 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9766 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9767 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9768 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9769 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9770 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9771 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9772 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9773 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9774 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9775 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9776 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9777 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9778 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9779 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9780 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9781 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9782
76e5216e
JM
97832014-06-23 Joseph Myers <joseph@codesourcery.com>
9784
9785 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9786 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9787 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9788 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9789 (IPV6_PMTUDISC_INTERFACE): Likewise.
9790 (IPV6_PMTUDISC_OMIT): Likewise.
9791
7a81cbcc
AS
97922014-06-23 Andreas Schwab <schwab@suse.de>
9793
9794 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9795 Remove unused errout label.
9796
db224009
AZ
97972014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9798
9799 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9800 macro: hardware supports Vector Crypto instructions.
9801
f393b4aa
WN
98022014-06-23 Will Newton <will.newton@linaro.org>
9803
cc7d0447
WN
9804 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9805 rather than __builtin_expect.
9806
d6d06225
WN
9807 * elf/dl-lookup.c (undefined_msg): Remove variable.
9808 (_dl_lookup_symbol_x): Replace undefined_msg with string
9809 literal.
9810
f393b4aa
WN
9811 * elf/dl-lookup.c (do_lookup_unique): New function.
9812 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9813 to a separate function.
9814
ac60763e
AS
98152014-06-23 Andreas Schwab <schwab@suse.de>
9816
9817 [BZ #17079]
9818 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9819 before reading the next line.
9820
c5c13355
WN
98212014-06-23 Will Newton <will.newton@linaro.org>
9822
9823 * test-skeleton.c (signal_handler): Use printf and %m
9824 rather than perror. Use printf rather than fprintf to
9825 stderr. Use puts rather than fputs to stderr.
9826 (main): Likewise.
9827
bd3675f9
LC
98282014-06-22 Ludovic Courtès <ludo@gnu.org>
9829
9830 * nscd/nscd.c (thread_info_t): Remove typedef.
9831 (thread_info): Remove variable.
9832
d03efb2f
AM
98332014-06-21 Allan McRae <allan@archlinux.org>
9834
9835 * NEWS: Mention CVE-2014-4043.
9836
bc4a86fa
RM
98372014-06-20 Roland McGrath <roland@hack.frob.com>
9838
dc9a54f8
RM
9839 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9840 * nptl/smp.h: ... here.
9841
bd7022c4
RM
9842 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9843
26ffd5e6
RM
9844 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9845 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9846 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9847 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9848
93a6d082
RM
9849 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9850 * nptl/stack-aliasing.h: New file.
9851 * sysdeps/i386/i686/stack-aliasing.h: New file.
9852 * sysdeps/i386/i686/nptl/Makefile: File removed.
9853 * sysdeps/x86_64/stack-aliasing.h: New file.
9854 * sysdeps/x86_64/nptl/Makefile
9855 (CFLAGS-pthread_create.c): Variable removed.
9856
bc4a86fa
RM
9857 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9858 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9859 old file.
9860 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9861 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9862 old file.
9863
2272ffc1
JM
98642014-06-21 Joseph Myers <joseph@codesourcery.com>
9865
9866 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9867 (__ASSUME_SIGFRAME_V2): Remove macro.
9868 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9869 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9870 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9871 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9872 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9873 Declare as function. Remove conditional macro definitions.
9874 (__default_rt_sa_restorer): Likewise.
9875 (__default_sa_restorer_v1): Remove declaration.
9876 (__default_sa_restorer_v2): Likewise.
9877 (__default_rt_sa_restorer_v1): Likewise.
9878 (__default_rt_sa_restorer_v2): Likewise.
9879 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9880 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9881 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9882
4b88139b
RM
98832014-06-20 Roland McGrath <roland@hack.frob.com>
9884
9885 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9886 (libpthread-routines): Add sysdep.
9887 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9888 * sysdeps/unix/sysv/linux/sparc/Versions
9889 (libpthread: GLIBC_2.3.3): New version set.
9890 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9891 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9892 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9893 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9894 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9895 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9896 Moved ...
9897 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9898 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9899 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9900 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9901 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9902 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9903 * sysdeps/sparc/nptl/sem_init.c: ... here.
9904 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9905 * sysdeps/sparc/nptl/sem_post.c: ... here.
9906 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9907 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9908 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9909 * sysdeps/sparc/nptl/sem_wait.c: ... here.
9910 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9911 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9912 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9913 (libpthread-routines): Add cpu_relax.
9914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9915 File removed.
9916 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9917 (librt: GLIBC_2.3.3): New version set.
9918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9919 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9920 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9921 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9923 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9924 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9925 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9926 Moved ...
9927 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9929 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9931 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9933 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9934 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9935 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9936 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9937 Moved ...
9938 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9939 Update #include.
9940 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9941 Moved ...
9942 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9943 Update #include.
9944 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9945 Moved ...
9946 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9947 Update #include.
9948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9949 Moved ...
9950 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9951 Update #include.
9952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9953 Moved ...
9954 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9955 Update #include.
9956 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9957 Moved ...
9958 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9959 Update #include.
9960 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9961 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9962 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9963 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9964 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9965 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9966 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9967 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9968 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9969 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9970 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9971 Moved ...
9972 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9973 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9974 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9975 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9976 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9977
d7109027
JM
99782014-06-20 Joseph Myers <joseph@codesourcery.com>
9979
9bc6103d
JM
9980 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9981 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9982 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9983 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9984 * nscd/nscd.c: Likewise.
9985 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9986 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9987 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9988 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9989
d7109027
JM
9990 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9991 <kernel-features.h>.
9992 (init_mq_netlink): Remove conditional have_sock_cloexec
9993 definitions. Remove code conditional on have_sock_cloexec < 0.
9994 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9995 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9996 * sysdeps/unix/sysv/linux/opensock.c: Do not include
9997 <kernel-features.h>.
9998 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9999 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10000
d92d8f8a
L
100012014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10002
10003 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10004 Add tests for memset_chk and memset.
10005
10006 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10007 with AVX2_Usable.
10008
4e6d2347
MR
100092014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10010
257ce712
MR
10011 [BZ #16046]
10012 * elf/tst-dl-iter-static.c: New file.
10013 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10014
4e6d2347
MR
10015 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10016 error.
10017
a2a76afe
JM
100182014-06-20 Joseph Myers <joseph@codesourcery.com>
10019
7fd00f99
JM
10020 * sysdeps/unix/sysv/linux/kernel-features.h
10021 (__ASSUME_F_GETOWN_EX): Remove macro.
10022 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10023 <kernel-features.h>.
10024 (miss_F_GETOWN_EX): Remove variable or macro.
10025 (do_fcntl): Do not check miss_F_GETOWN_EX.
10026 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10027
4a103975
JM
10028 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10029 Remove macro.
10030 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10031 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10032 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10033
a2a76afe
JM
10034 * sysdeps/unix/sysv/linux/kernel-features.h
10035 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10036 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10037 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10038 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10039
90e5dd48
MR
100402014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10041
10042 [BZ #17075]
10043 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10044 Fix calculation of the symbol's value.
10045 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10046 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10047 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10048 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10049 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10050 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10051 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10052 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10053 (modules-names): Add `tst-armtlsdescmod',
10054 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10055 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10056 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10057 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10058 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10059 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10060 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10061 ($(objpfx)tst-armtlsdescloc): New dependency.
10062 ($(objpfx)tst-armtlsdescextnow): Likewise.
10063 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10064 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10065 TLS scheme support.
10066 * sysdeps/arm/configure: Regenerate.
10067
809fdf0d
JM
100682014-06-20 Joseph Myers <joseph@codesourcery.com>
10069
10070 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10071 (__atfct_seterrno_2): Likewise.
10072 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10073 <kernel-features.h>.
10074 (__ASSUME_ATFCTS): Do not undefine and redefine.
10075 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10076 (__have_atfcts): Remove conditional definition.
10077 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10078 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10079 unreachable if [__ASSUME_ATFCTS].
10080 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10081 not undefine and redefine.
10082 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10083 <kernel-features.h>.
10084 (faccessat) [__NR_faccessat]: Make code unconditional.
10085 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10086 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10087 <kernel-features.h>.
10088 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10089 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10090 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10091 <kernel-features.h>.
10092 (fchownat) [__NR_fchownat]: Make code unconditional.
10093 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10094 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10095 <kernel-features.h>.
10096 (futimesat) [__NR_futimesat]: Make code unconditional.
10097 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10098 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10099 <kernel-features.h>.
10100 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10101 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10102 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10103 <kernel-features.h>.
10104 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10105 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10106 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10107 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10108 <kernel-features.h>.
10109 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10110 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10111 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10112 <kernel-features.h>.
10113 (linkat) [__NR_linkat]: Make code unconditional.
10114 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10115 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10116 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10117 <kernel-features.h>.
10118 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10119 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10120 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10121 <kernel-features.h>.
10122 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10123 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10124 * sysdeps/unix/sysv/linux/openat.c: Do not include
10125 <kernel-features.h>.
10126 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10127 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10128 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10129 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10130 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10131 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10132 <kernel-features.h>.
10133 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10134 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10135 result of INLINE_SYSCALL directly, not via int variable.
10136 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10137 <kernel-features.h>.
10138 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10139 (renameat) [__NR_renameat]: Make code unconditional.
10140 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10141 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10142 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10143 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10144 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10145 (__ASSUME_ATFCTS): Do not undefine and redefine.
10146 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10147 <kernel-features.h>.
10148 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10149 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10150 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10151 <kernel-features.h>.
10152 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10153 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10154 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10155 (__ASSUME_ATFCTS): Do not undefine and redefine.
10156 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10157 <kernel-features.h>.
10158 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10159 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10160 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10161 <kernel-features.h>.
10162 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10163 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10164
224c6c51
L
101652014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10166
10167 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10168
aa6ec754
AS
101692014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10170
10171 [BZ #17069]
10172 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10173 constructed tree before returning error.
10174 * posix/bug-regexp36.c: Expand test case.
10175
d8c2869d
SL
101762014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10177
3ef6b850
SL
10178 [BZ #6803]
10179 * math/libm-test.inc (scalbln_test_date):
10180 Add errno expectations.
10181 * math/w_scalblnf.c: New File.
10182 Add wrapper which checks for setting errno to ERANGE.
10183 Add weak_alias for corresponding scalbln function.
10184 * math/w_scalbln.c: Likewise.
10185 * math/w_scalblnl.c: Likewise.
10186 * math/Makefile (libm-calls): Add w_scalbln.
10187 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10188 Remove weak_alias for corresponding scalbln function.
10189 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10190 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10191 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10192 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10193 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10194 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10195 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10196 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10197 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10198 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10199 Remove long_double_symbol for scalblnl function in libm, libc.
10200 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10201 Add wrapper which checks for setting errno to ERANGE.
10202 Add long_double_symbol for scalblnl function in libm, libc.
10203 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10204 Remove long_double_symbol for scalblnl in libm.
10205 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10206 Add wrapper which checks for setting errno to ERANGE.
10207 Add long_double_symbol for scalblnl function in libm.
10208 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10209 Do not use wrapper because of own implementation.
10210
c8daec5c
L
102112014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10212
10213 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10214 3 bytes for __pad1 for x32.
10215 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10216
5c74e47c
LM
102172014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10218 H.J. Lu <hongjiu.lu@intel.com>
10219
10220 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10221 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10222 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10223 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10224 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10225
4d43ef1e
AS
102262014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10227
10228 [BZ #17069]
10229 * posix/regcomp.c (parse_expression): Deallocate partially
10230 constructed tree before returning error.
10231 * posix/Makefile.c (tests): Add bug-regex36.
10232 (generated): Add bug-regex36.mtrace.
10233 (tests-special): Add $(objpfx)bug-regex36-mem.out
10234 (bug-regex36-ENV): New variable.
10235 ($(objpfx)bug-regex36-mem.out): New rule.
10236 * posix/bug-regex36.c: New file.
10237
51a7380b
WN
102382014-06-19 Will Newton <will.newton@linaro.org>
10239
10240 * malloc/malloc.c (systrim): If extra is zero then return
10241 early.
10242
91b84fe5
SP
102432014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10244
10245 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10246
f940b965
RE
102472014-06-19 Richard Earnshaw <rearnsha@arm.com>
10248
10249 * sysdeps/aarch64/strchr.S: New file.
10250
4ba7a00f
JM
102512014-06-18 Joseph Myers <joseph@codesourcery.com>
10252
10253 [BZ #17022]
10254 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10255 from arguments -2 or below.
10256 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10257 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10258
b3a9f56b
AS
102592014-06-18 Andreas Schwab <schwab@suse.de>
10260
10261 [BZ #17062]
10262 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10263 of a bracket expr not to run off the end of the string.
10264 * posix/Makefile (tests): Add tst-fnmatch3.
10265 * posix/tst-fnmatch3.c: New file.
10266
85d89278
JM
102672014-06-18 Joseph Myers <joseph@codesourcery.com>
10268
10269 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10270 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10271 [$(cross-compiling) = no]: Likewise.
10272 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10273 [$(cross-compiling) = no]: Likewise.
10274
754c5a08
RS
102752014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10276
10277 [BZ #17031]
10278 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10279 double, adjusted for any remainder from the high double.
10280 * math/libm-test.inc (nearbyint): Add tests.
10281 (rint): Likewise.
10282
556f529d
AZ
102832014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10284
10285 * nptl/sysdeps/powerpc/Makefile: Moved ...
10286 * sysdeps/powerpc/nptl/Makefile: ... here.
10287 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10288 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10289 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10290 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10291 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10292 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10293 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10294 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10295 * nptl/sysdeps/powerpc/tls.h: Moved ...
10296 * sysdeps/powerpc/nptl/tls.h: ... here.
10297
91c03c53
JM
102982014-06-16 Joseph Myers <joseph@codesourcery.com>
10299
10300 [BZ #16681]
10301 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10302 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10303 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10304 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10305 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10306 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10307 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10308 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10309 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10310
a76e63c5
AS
103112014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10312
10313 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10314
f2f6d82f
AS
103152014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10316
ea8a15f6
AS
10317 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10318 defined operator.
10319
f2f6d82f
AS
10320 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10321 $TIMEOUTFACTOR.
10322
a7291117
FW
103232014-06-16 Florian Weimer <fweimer@redhat.com>
10324
10325 [BZ #17058]
10326 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10327 non-executed part of the test.
10328
3d7c00e3
AS
103292014-06-16 Andreas Schwab <schwab@suse.de>
10330
10331 * string/bits/string2.h (strdup, strndup): Update feature guard.
10332
6957fb31
DM
103332014-06-14 David S. Miller <davem@davemloft.net>
10334
10335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10336
11b9e55b
AS
103372014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10338
1d2a0492
AS
10339 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10340 that was previously under [RESET_PID].
10341 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10342
11b9e55b
AS
10343 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10344 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10345 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10346 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10347 (__libc_vfork): New strong alias.
10348 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10349
0f6901d0
AK
103502014-06-14 Andi Kleen <ak@linux.intel.com>
10351
10352 * sysdeps/generic/elide.h: New file.
10353
38bbbb9f
SL
103542014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10355
10356 * Makefile (installed-headers): Adjust path of pthread.h header.
10357
45193bb8
RM
103582014-06-13 Roland McGrath <roland@hack.frob.com>
10359
9a25fd1e
RM
10360 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10361 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10362 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10363 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10364
4004f7e4
RM
10365 * nptl/sysdeps/s390/Makefile: Moved ...
10366 * sysdeps/s390/nptl/Makefile: ... here.
10367 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10368 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10369 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10370 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10371 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10372 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10373 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10374 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10375 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10376 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10377 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10378 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10379 * nptl/sysdeps/s390/tls.h: Moved ...
10380 * sysdeps/s390/nptl/tls.h: ... here.
10381
45193bb8
RM
10382 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10383 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10384
f6fdf533
DM
103852014-06-13 David S. Miller <davem@davemloft.net>
10386
10387 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10388 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10389 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10390 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10391 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10392 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10393 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10394 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10395 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10396 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10397 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10398 Remove RESET_PID cpp guards.
10399 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10400 Remove RESET_PID cpp guards.
10401 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10402
f5d71e14
AS
104032014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10404
10405 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10406 __sp to uintptr_t.
10407
b7aa8caa
AK
104082014-06-13 Andi Kleen <ak@linux.intel.com>
10409
4b266200
AZ
10410 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10411 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10412 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10413 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10414 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10415 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10416 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10417 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10418 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10419 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10420 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10421 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10422 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10423 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10424 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10425 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10426 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10427 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10428 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10429 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
10430
10431 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
10432 (pthread_rwlock_rdlock): Add elision.
10433 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10434 (pthread_rwlock_wrlock): Add elision.
10435 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10436 (pthread_rwlock_trywrlock): Add elision.
10437 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10438 (pthread_rwlock_tryrdlock): Add elision.
10439 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10440 (pthread_rwlock_tryrdlock): Add elision unlock.
10441 * nptl/sysdeps/pthread/pthread.h:
10442 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10443 (PTHREAD_RWLOCK_INITIALIZER,
10444 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10445 Handle new elision field.
10446 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10447 * sysdeps/arm/nptl/bits/pthreadtypes.h
10448 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10449 * sysdeps/sh/nptl/bits/pthreadtypes.h
10450 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10451 * sysdeps/tile/nptl/bits/pthreadtypes.h
10452 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10453 * sysdeps/a/nptl/bits/pthreadtypes.h
10454 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10455 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10456 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10457 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10458 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10459 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10460 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10461 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10462 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10463 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10464 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10465 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10466 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10467 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10468 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10469 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10470 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10471 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10472 (elision_init): Set try_xbegin to zero when no RTM.
10473 * sysdeps/x86/nptl/bits/pthreadtypes.h
10474 (pthread_rwlock_t): Change __pad1 to __rwelision.
10475 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 10476
a832bdd3
AK
104772014-06-13 Andi Kleen <ak@linux.intel.com>
10478
10479 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10480 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10481 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10482 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10483
995a46bb
MI
104842014-06-13 Meador Inge <meadori@codesourcery.com>
10485
10486 [BZ #16996]
03ed7738 10487 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
10488 that the cached result has been set before returning it.
10489
45262aee
RM
104902014-06-12 Roland McGrath <roland@hack.frob.com>
10491
febf6cc5
RM
10492 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10493 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10494 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10495 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10496 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10497 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10498
e2682246
RM
10499 * nptl/sysdeps/sparc/Makefile: Moved ...
10500 * sysdeps/sparc/nptl/Makefile: ... here.
10501 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10502 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10503 * nptl/sysdeps/sparc/tls.h: Moved ...
10504 * sysdeps/sparc/nptl/tls.h: ... here.
10505 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10506 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10507 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10508 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10509 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10510 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10511 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10512 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10513 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10514 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10515 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10516 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10517 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10518 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10519 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10520 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10521 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10522 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10523 Update #include.
10524 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10525 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10526 Update #include.
10527 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10528 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10529 Update #include.
10530 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10531 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10532 Update #include.
10533
b0725f43
RM
10534 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10535
b14368b8
RM
10536 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10537 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10538
c5620eb3
RM
10539 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10540 (struct list_links): Type removed.
10541 (struct thread_node, struct timer_node): Replace struct list_links
10542 with struct list_head.
10543 (list_unlink_ip): Likewise.
10544 * sysdeps/pthread/timer_routines.c
10545 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10546 (list_append, list_insbefore): Likewise.
10547 (list_init): Function removed.
10548 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
10549 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10550 * sysdeps/pthread/Makefile: ... here, new file.
10551
10552 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10553 * sysdeps/nptl/Implies: ... here.
10554 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10555 * nptl/sysdeps/pthread/list.h: Moved ...
10556 * include/list.h: ... here.
10557 * nptl/sysdeps/pthread/createthread.c: Moved ...
10558 * nptl/createthread.c: ... here.
10559 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10560 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10561 * nptl/pt-longjmp.c: ... here.
10562 * nptl/sysdeps/pthread/Makefile: Moved ...
10563 * sysdeps/nptl/Makefile: ... here.
10564 * nptl/sysdeps/pthread/Subdirs: Moved ...
10565 * sysdeps/nptl/Subdirs: ... here.
10566 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10567 * sysdeps/nptl/aio_misc.h: ... here.
10568 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10569 * sysdeps/nptl/bits/libc-lock.h: ... here.
10570 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10571 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10572 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10573 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10574 * nptl/sysdeps/pthread/configure: Moved ...
10575 * sysdeps/nptl/configure: ... here.
10576 * nptl/sysdeps/pthread/configure.ac: Moved ...
10577 * sysdeps/nptl/configure.ac: ... here.
10578 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10579 * sysdeps/nptl/gai_misc.h: ... here.
10580 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10581 * sysdeps/nptl/librt-cancellation.c: ... here.
10582 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10583 * sysdeps/nptl/malloc-machine.h: ... here.
10584 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10585 * sysdeps/nptl/pthread-functions.h: ... here.
10586 * nptl/sysdeps/pthread/pthread.h: Moved ...
10587 * sysdeps/nptl/pthread.h: ... here.
10588 * nptl/sysdeps/pthread/setxid.h: Moved ...
10589 * sysdeps/nptl/setxid.h: ... here.
10590 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10591 * sysdeps/nptl/sigfillset.c: ... here.
10592 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10593 * sysdeps/nptl/tcb-offsets.h: ... here.
10594 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10595 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10596 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10597 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10598 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10599 * sysdeps/pthread/allocalim.h: ... here.
10600 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10601 * sysdeps/pthread/bits/sigthread.h: ... here.
10602 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10603 * sysdeps/pthread/flockfile.c: ... here.
10604 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10605 * sysdeps/pthread/ftrylockfile.c: ... here.
10606 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10607 * sysdeps/pthread/funlockfile.c: ... here.
10608 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10609 * sysdeps/pthread/posix-timer.h: ... here.
10610 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10611 * sysdeps/pthread/timer_create.c: ... here.
10612 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10613 * sysdeps/pthread/timer_delete.c: ... here.
10614 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10615 * sysdeps/pthread/timer_getoverr.c: ... here.
10616 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10617 * sysdeps/pthread/timer_gettime.c: ... here.
10618 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10619 * sysdeps/pthread/timer_routines.c: ... here.
10620 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10621 * sysdeps/pthread/timer_settime.c: ... here.
10622 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10623 * sysdeps/pthread/tst-timer.c: ... here.
10624 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10625 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10626
e876b090
RM
10627 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10628 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10629
f6b07b3d
RM
10630 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10631 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10632 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10633 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10634 Update #include target.
10635 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10636 * sysdeps/i386/i686/nptl/Makefile: ... here.
10637 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10638 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10639 Update #include target.
10640 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10641 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10642 * nptl/sysdeps/i386/Makefile: Moved ...
10643 * sysdeps/i386/nptl/Makefile: ... here.
10644 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10645 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10646 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10647 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10648 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10649 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10650 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10651 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10652 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10653 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10654 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10655 * nptl/sysdeps/i386/tls.h: Moved ...
10656 * sysdeps/i386/nptl/tls.h: ... here.
10657
45262aee
RM
10658 * sysdeps/sh/Makefile [$(subdir) = csu]
10659 (gen-as-const-headers): Add tcb-offsets.sym.
10660 * nptl/sysdeps/sh/Makefile: File removed.
10661 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10662 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10663 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10664 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10665 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10666 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10667 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10668 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10669 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10670 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10671 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10672 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10673 * nptl/sysdeps/sh/tls.h: Moved ...
10674 * sysdeps/sh/nptl/tls.h: ... here.
10675 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10676 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10677 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10678 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10679 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10680 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10681 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10682 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10683 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10684 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10685 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10686 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10687 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10688 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10689 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10690 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10691 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10692 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10693 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10694 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10695 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10696 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10697 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10698 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10699 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10700 Moved ...
10701 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10702 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10703 Moved ...
10704 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10705 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10706 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10707 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10708 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10709 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10710 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10711 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10712 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10713 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10714 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10715 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10716 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10717 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10718 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10719 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10720 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10721 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10722 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10723
35a5e3e3
SL
107242014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10725
10726 * posix/spawn_faction_addopen.c: Include string.h.
10727
14642b85
RM
107282014-06-11 Roland McGrath <roland@hack.frob.com>
10729
10730 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10731 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10732 * nptl/sysdeps/x86_64/Makefile: Moved ...
10733 * sysdeps/x86_64/nptl/Makefile: ... here.
10734 * nptl/sysdeps/x86_64/configure: Moved ...
10735 * sysdeps/x86_64/nptl/configure: ... here.
10736 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10737 * sysdeps/x86_64/nptl/configure.ac: ... here.
10738 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10739 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10740 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10741 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10742 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10743 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10744 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10745 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10746 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10747 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10748 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10749 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10750 * nptl/sysdeps/x86_64/tls.h: Moved ...
10751 * sysdeps/x86_64/nptl/tls.h: ... here.
10752 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10753 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10754 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10755 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10756
10757 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10758
31c44fea
AZ
107592014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10760
10761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10762
e81a4f9a
JM
107632014-06-11 Joseph Myers <joseph@codesourcery.com>
10764
10765 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10766 type.
10767 [POSIX] (off_t): Likewise.
10768 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10769 [POSIX] (S_ISBLK): Require macro.
10770 [POSIX] (S_ISCHR): Likewise.
10771 [POSIX] (S_ISDIR): Likewise.
10772 [POSIX] (S_ISFIFO): Likewise.
10773 [POSIX] (S_ISREG): Likewise.
10774 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10775 optional-macro.
10776 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10777 type.
10778 [POSIX] (time_t): Likewise.
10779 [POSIX] (timer_t): Likewise.
10780
89e435f3
FW
107812014-06-11 Florian Weimer <fweimer@redhat.com>
10782
10783 [BZ #17048]
10784 * posix/spawn_int.h (struct __spawn_action): Make the path string
10785 non-const to support deallocation.
10786 * posix/spawn_faction_addopen.c
10787 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10788 * posix/spawn_faction_destroy.c
10789 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10790 path in all spawn_do_open actions.
10791 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10792 posix_spawn_file_actions_addopen.
10793
c3a2ebe1
CM
107942014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10795
10796 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10797 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10798 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10799 conditional code always true.
10800 (__libc_vfork): New alias.
10801
9503784a
RM
108022014-06-11 Roland McGrath <roland@hack.frob.com>
10803
c9cab3d2
RM
10804 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10805 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10806
d3996c79
RM
10807 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10808
ba5ec611
RM
10809 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10810 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10811
f12b4814
RM
10812 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10813 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10814
9503784a
RM
10815 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10816 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10817
e23d3d26
VR
108182014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10819
10820 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10821 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10822 multiarch strcmp for PPC64.
10823 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10824 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10825 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10826 multiarch optimizations.
10827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10828 (__libc_ifunc_impl_list): Likewise.
10829
42b1161e
SP
108302014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10831
10832 * benchtests/scripts/validate_benchout.py: New script.
10833 * benchtests/Makefile (bench-func): Call it.
10834 * benchtests/scripts/benchout.schema.json: New file.
10835
2d0fc4dc
CM
108362014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10837
4a594c34
AZ
10838 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10839 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10840 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10841 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10842 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10843 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10844 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10845 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10846 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10847 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10848 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10849 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10850 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10851 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10852 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10853 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 10855 Moved ...
4a594c34 10856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 10857 ... here.
4a594c34 10858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 10859 Moved ...
4a594c34
AZ
10860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 10862 Moved ...
4a594c34 10863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 10864 ... here.
4a594c34 10865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 10866 Moved ...
4a594c34 10867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 10868 ... here.
4a594c34 10869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 10870 Moved ...
4a594c34
AZ
10871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 10873 Moved ...
4a594c34 10874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 10875 ... here.
4a594c34 10876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 10877 Moved ...
4a594c34 10878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 10879 ... here.
4a594c34 10880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 10881 Moved ...
4a594c34
AZ
10882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 10884 Moved ...
4a594c34 10885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 10886 ... here.
4a594c34 10887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 10888 Moved ...
4a594c34 10889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 10890 ... here.
4a594c34 10891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 10892 Moved ...
4a594c34 10893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 10894 ... here.
4a594c34 10895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 10896 Moved ...
4a594c34
AZ
10897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 10899 Moved ...
4a594c34 10900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 10901 ... here.
4a594c34 10902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 10903 Moved ...
4a594c34 10904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 10905 ... here.
4a594c34 10906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 10907 Moved ...
4a594c34 10908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 10909 ... here.
4a594c34 10910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 10911 Moved ...
4a594c34
AZ
10912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 10914 Moved ...
4a594c34 10915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 10916 ... here.
4a594c34 10917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 10918 Moved ...
4a594c34 10919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 10920 ... here.
4a594c34 10921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 10922 Moved ...
4a594c34
AZ
10923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 10925 Moved ...
4a594c34 10926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 10927 ... here.
4a594c34 10928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 10929 Moved ...
4a594c34
AZ
10930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 10932 Moved ...
4a594c34
AZ
10933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 10935 Moved ...
4a594c34 10936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 10937 ... here.
4a594c34 10938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 10939 Moved ...
4a594c34 10940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 10941 ... here.
4a594c34 10942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 10943 Moved ...
4a594c34 10944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 10945 ... here.
4a594c34 10946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 10947 Moved ...
4a594c34
AZ
10948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 10950 Moved ...
4a594c34 10951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 10952 ... here.
4a594c34 10953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 10954 Moved ...
4a594c34 10955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 10956 ... here.
4a594c34
AZ
10957 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10958 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10959 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10960 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10961 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 10962 Moved ...
4a594c34 10963 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 10964 ... here.
4a594c34
AZ
10965 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10966 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10967 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10968 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10969 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10970 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10971 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10972 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10973 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10974 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10975 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10976 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10977 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 10978 Moved ...
4a594c34
AZ
10979 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10980 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 10981 Moved ...
4a594c34
AZ
10982 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10983 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10984 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10985 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 10986 Moved ...
4a594c34
AZ
10987 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10988 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10989 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10990 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10991 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10992 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10993 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 10994
0570cfed
W
109952014-06-10 Wilco <wdijkstr@arm.com>
10996
10997 * math/test-fenv-return.c: New file.
10998 * math/Makefile: Add new test test-fenv-return.
10999
f8ba1b56
JM
110002014-06-10 Joseph Myers <joseph@codesourcery.com>
11001
11002 [BZ #17042]
11003 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11004 when x - 1 is zero.
11005 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11006 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11007 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11008 0.0L for an argument of 1.0L.
11009 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11010 Likewise.
11011 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11012 value when x - 1 is zero.
11013 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11014 * sysdeps/i386/fpu/libm-test-ulps: Update.
11015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11016
2c3520d9
BO
110172014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11018
11019 [BZ #15119]
11020 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11021
acaa4d24
RM
110222014-06-09 Roland McGrath <roland@hack.frob.com>
11023
11024 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11025 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11026
962b744d
RM
110272014-06-09 Roland McGrath <roland@hack.frob.com>
11028
d752f0cc
RM
11029 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11030 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11031
34eda6d1
RM
11032 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11033 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11034
50f0a637
RM
11035 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11036 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11037
08f41f04
RM
11038 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11039 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11040
962b744d
RM
11041 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11042 if not already defined.
11043 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11044 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11045 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11046 (TLS_INIT_TP): Use it.
11047 (TLS_DEFINE_INIT_TP): New macro.
11048 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11049
09f19b05
JM
110502014-06-09 Joseph Myers <joseph@codesourcery.com>
11051
11052 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11053 constant.
11054 [POSIX] (IXANY): Likewise.
11055 [POSIX] (OLCUC): Likewise.
11056 [POSIX || POSIX2008] (CBAUD): Do not allow.
11057 [POSIX || POSIX2008] (DEFECHO): Likewise.
11058 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11059 [POSIX || POSIX2008] (ECHOKE): Likewise.
11060 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11061 [POSIX || POSIX2008] (EXTA): Likewise.
11062 [POSIX || POSIX2008] (EXTB): Likewise.
11063 [POSIX || POSIX2008] (FLUSHO): Likewise.
11064 [POSIX || POSIX2008] (LOBLK): Likewise.
11065 [POSIX || POSIX2008] (PENDIN): Likewise.
11066 [POSIX || POSIX2008] (SWTCH): Likewise.
11067 [POSIX || POSIX2008] (VDISCARD): Likewise.
11068 [POSIX || POSIX2008] (VDSUSP): Likewise.
11069 [POSIX || POSIX2008] (VLNEXT): Likewise.
11070 [POSIX || POSIX2008] (VREPRINT): Likewise.
11071 [POSIX || POSIX2008] (VSTATUS): Likewise.
11072 [POSIX || POSIX2008] (VWERASE): Likewise.
11073 (B*): Change to B[0123456789]*.
11074 * conform/data/time.h-data [POSIX || UNIX98]
11075 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11076 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11077 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11078 [POSIX] (tm_*): Do not allow.
11079
686554bf
JM
110802014-06-07 Joseph Myers <joseph@codesourcery.com>
11081
11082 * Makefile (install): Don't set LANGUAGE.
11083 * Makefile.in (install): Likewise.
11084 * assert/Makefile (test-assert-ENV): Remove variable.
11085 (test-assert-perr-ENV): Likewise.
11086 * elf/Makefile (neededtest4-ENV): Likewise.
11087 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11088 [$(cross-compiling) = no]: Don't set LANGUAGE.
11089 * io/ftwtest-sh (LANG): Remove variable.
11090 * libio/Makefile (tst-widetext-ENV): Likewise.
11091 * manual/install.texi (Running make install): Don't refer to
11092 environment settings for make install.
11093 * INSTALL: Regenerated.
11094 * nptl/tst-tls6.sh: Don't set LANG.
11095 * posix/globtest.sh (LANG): Remove variable.
11096 * string/Makefile (tester-ENV): Likewise.
11097 (inl-tester-ENV): Likewise.
11098 (noinl-tester-ENV): Likewise.
11099 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11100 [$(cross-compiling) = no]: Don't set LANGUAGE.
11101 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11102 without explicit environment settings.
11103
68e6b6b1
RM
111042014-06-06 Roland McGrath <roland@hack.frob.com>
11105
11106 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11107 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11108 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11109 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11110
4d3ae034
CM
111112014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11112
11113 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11114 other files in the crypt directory.
11115 * crypt/crypt.c: Remove duplicate includes.
11116 * crypt/crypt-entry.c: Likewise.
11117 * crypt/crypt_util.c: Likewise.
11118
8540f6d2
JM
111192014-06-06 Joseph Myers <joseph@codesourcery.com>
11120
11121 * Makeconfig (run-program-env): New variable.
11122 (run-program-prefix-before-env): Likewise.
11123 (run-program-prefix-after-env): Likewise.
11124 (run-program-prefix): Define in terms of new variables.
11125 (built-program-cmd-before-env): New variable.
11126 (built-program-cmd-after-env): Likewise.
11127 (built-program-cmd): Define in terms of new variables.
11128 (test-program-prefix-before-env): New variable.
11129 (test-program-prefix-after-env): Likewise.
11130 (test-program-prefix): Define in terms of new variables.
11131 (test-program-cmd-before-env): New variable.
11132 (test-program-cmd-after-env): Likewise.
11133 (test-program-cmd): Define in terms of new variables.
11134 * Rules (make-test-out): Use $(run-program-env).
11135 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11136 (help): Do not mention environment variables. Mention
11137 --timeoutfactor option.
11138 (timeoutfactor): New variable.
11139 (blacklist_exports): Remove function.
11140 (exports): Remove variable.
11141 (command): Do not include ${exports}.
11142 * manual/install.texi (Configuring and compiling): Do not mention
11143 test wrappers preserving environment variables. Mention that last
11144 assignment to a variable must take precedence.
11145 * INSTALL: Regenerated.
11146 * benchtests/Makefile (run-bench): Use $(run-program-env).
11147 * catgets/Makefile ($(objpfx)test1.cat): Use
11148 $(built-program-cmd-before-env), $(run-program-env) and
11149 $(built-program-cmd-after-env).
11150 ($(objpfx)test2.cat): Do not specify environment variables
11151 explicitly.
11152 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11153 $(run-program-env) and $(built-program-cmd-after-env).
11154 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11155 $(run-program-env) and $(test-program-cmd-after-env).
11156 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11157 explicitly.
11158 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11159 run_program_env and test_program_cmd_after_env arguments.
11160 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11161 * elf/tst-pathopt.sh: Use run_program_env argument.
11162 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11163 $(test-wrapper-env) and $(run-program-env).
11164 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11165 run_program_env arguments.
11166 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11167 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11168 $(test-program-prefix-before-env), $(run-program-env) and
11169 $(test-program-prefix-after-env).
11170 ($(objpfx)tst-gettext2.out): Likewise.
11171 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11172 run_program_env and test_program_prefix_after_env arguments.
11173 * intl/tst-gettext2.sh: Likewise.
11174 * intl/tst-gettext4.sh: Do not set environment variables
11175 explicitly.
11176 * intl/tst-gettext6.sh: Likewise.
11177 * intl/tst-translit.sh: Likewise.
11178 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11179 $(test-program-prefix-before-env), $(run-program-env) and
11180 $(test-program-prefix-after-env).
11181 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11182 run_program_env and test_program_prefix_after_env arguments.
11183 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11184 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11185 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11186 explicitly with each use of ${test_wrapper_env}.
11187 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11188 $(test-program-prefix-before-env), $(run-program-env) and
11189 $(test-program-prefix-after-env).
11190 * posix/tst-getconf.sh: Do not set environment variables
11191 explicitly.
11192 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11193 run_program_env and test_program_prefix_after_env arguments.
11194 * stdio-common/tst-printf.sh: Do not set environment variables
11195 explicitly.
11196 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11197 $(test-program-prefix-before-env), $(run-program-env) and
11198 $(test-program-prefix-after-env).
11199 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11200 run_program_env and test_program_prefix_after_env arguments.
11201 Split $test calls into $test_pre and $test.
11202 * timezone/Makefile (build-testdata): Use
11203 $(built-program-cmd-before-env), $(run-program-env) and
11204 $(built-program-cmd-after-env).
11205
ed36bfa1
AZ
112062014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11207
11208 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11209 strlen for non SHARED builds.
11210
fc75bf46
SP
112112014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11212
11213 * nptl/allocatestack.c (check_list): Inlined function...
11214 (__reclaim_stacks): ... here.
11215
d89b3d80
OB
112162014-06-05 Ondřej Bílka <neleai@seznam.cz>
11217
11218 [BZ #15698]
11219 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11220 memory overrun.
11221
2bf18041
JM
112222014-06-05 Joseph Myers <joseph@codesourcery.com>
11223
11224 * Rules (make-test-out): Include
11225 LOCPATH=$(common-objpfx)localedata in default environment.
11226 * debug/Makefile (tst-chk1-ENV): Remove variable.
11227 (tst-chk2-ENV): Likewise.
11228 (tst-chk3-ENV): Likewise.
11229 (tst-chk4-ENV): Likewise.
11230 (tst-chk5-ENV): Likewise.
11231 (tst-chk6-ENV): Likewise.
11232 (tst-lfschk1-ENV): Likewise.
11233 (tst-lfschk2-ENV): Likewise.
11234 (tst-lfschk3-ENV): Likewise.
11235 (tst-lfschk4-ENV): Likewise.
11236 (tst-lfschk5-ENV): Likewise.
11237 (tst-lfschk6-ENV): Likewise.
11238 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11239 (tst-iconv7-ENV): Likewise.
11240 * intl/Makefile (LOCPATH-ENV): Likewise.
11241 (tst-codeset-ENV): Likewise.
11242 (tst-gettext3-ENV): Likewise.
11243 (tst-gettext5-ENV): Likewise.
11244 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11245 (tst-fopenloc-ENV): Likewise.
11246 (tst-fgetws-ENV): Remove variable.
11247 (tst-ungetwc1-ENV): Likewise.
11248 (tst-ungetwc2-ENV): Likewise.
11249 (bug-ungetwc2-ENV): Likewise.
11250 (tst-swscanf-ENV): Likewise.
11251 (bug-ftell-ENV): Likewise.
11252 (tst-fgetwc-ENV): Likewise.
11253 (tst-fseek-ENV): Likewise.
11254 (tst-ftell-partial-wide-ENV): Likewise.
11255 (tst-ftell-active-handler-ENV): Likewise.
11256 (tst-ftell-append-ENV): Likewise.
11257 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11258 (tst-regexloc-ENV): Likewise.
11259 (bug-regex1-ENV): Likewise.
11260 (tst-regex-ENV): Likewise.
11261 (tst-regex2-ENV): Likewise.
11262 (bug-regex5-ENV): Likewise.
11263 (bug-regex6-ENV): Likewise.
11264 (bug-regex17-ENV): Likewise.
11265 (bug-regex18-ENV): Likewise.
11266 (bug-regex19-ENV): Likewise.
11267 (bug-regex20-ENV): Likewise.
11268 (bug-regex22-ENV): Likewise.
11269 (bug-regex23-ENV): Likewise.
11270 (bug-regex25-ENV): Likewise.
11271 (bug-regex26-ENV): Likewise.
11272 (bug-regex30-ENV): Likewise.
11273 (bug-regex32-ENV): Likewise.
11274 (bug-regex33-ENV): Likewise.
11275 (bug-regex34-ENV): Likewise.
11276 (bug-regex35-ENV): Likewise.
11277 (tst-rxspencer-ENV): Likewise.
11278 (tst-rxspencer-no-utf8-ENV): Likewise.
11279 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11280 (tst-sscanf-ENV): Likewise.
11281 (tst-swprintf-ENV): Likewise.
11282 (tst-swscanf-ENV): Likewise.
11283 (test-vfprintf-ENV): Likewise.
11284 (scanf13-ENV): Likewise.
11285 (bug14-ENV): Likewise.
11286 (tst-grouping-ENV): Likewise.
11287 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11288 (tst-strtod3-ENV): Likewise.
11289 (tst-strtod4-ENV): Likewise.
11290 (tst-strtod5-ENV): Likewise.
11291 (testmb2-ENV): Likewise./
11292 * string/Makefile (tst-strxfrm-ENV): Likewise.
11293 (tst-strxfrm2-ENV): Likewise.
11294 (bug-strcoll1-ENV): Likewise.
11295 (test-strcasecmp-ENV): Likewise.
11296 (test-strncasecmp-ENV): Likewise.
11297 * time/Makefile (tst-strptime-ENV): Likewise.
11298 (tst-ftime_l-ENV): Likewise.
11299 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11300 (tst-mbrtowc-ENV): Likewise.
11301 (tst-wcrtomb-ENV): Likewise.
11302 (tst-mbrtowc2-ENV): Likewise.
11303 (tst-c16c32-1-ENV): Likewise.
11304 (tst-mbsnrtowcs-ENV): Likewise.
11305
cd1fb604
OB
113062014-06-05 Ondřej Bílka <neleai@seznam.cz>
11307
11308 * manual/resource.texi (How to get information about the memory
11309 subsystem?): Fix typo.
11310 Reported by Peon de la Parra Ivan <peon@keba.com>
11311
b42eca7d
GY
113122014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11313
11314 [BZ #16882]
11315 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11316 (pthread_spin_lock): Branch out of spin loop to proper location.
11317 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11318 (pthread_spin_lock): Likewise.
11319
902b71f9
DM
11320 * nptl/tst-spin4.c: New test.
11321 * nptl/Makefile (tests): Add tst-spin4.
11322
f9d2d032
AS
113232014-06-03 Andreas Schwab <schwab@suse.de>
11324
11325 [BZ #15946]
11326 * resolv/res_send.c (send_dg): Reload file descriptor after
11327 calling reopen.
11328
cf7bfd28
SL
113292014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11330
11331 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11332
111cc714
RH
113332014-06-03 Richard Henderson <rth@redhat.com>
11334
89b4bd6b
RH
11335 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11336 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11337 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11338 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11339 in the SAVE_PID block.
11340 (__libc_vfork): New alias.
71840409 11341 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 11342
111cc714
RH
11343 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11344 child in registers, not on the stack. Remove RESET_PID conditionals.
11345 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11346
ccc39911
MS
113472014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11348
11349 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11350
693096cc
W
113512014-06-03 Wilco <wdijkstr@arm.com>
11352
11353 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11354 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11355 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11356 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11357 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11358 Likewise.
11359
0b4366bc
W
113602014-06-03 Wilco <wdijkstr@arm.com>
11361
11362 * sysdeps/aarch64/fpu/math_private.h
11363 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11364 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11365 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11366 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11367 Fix declarations.
11368
8747cd03
KS
113692014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11370
11371 * crypt/crypt-private.h: Include ufc-crypt.h.
11372 (__b64_from_24bit): Declare extern.
11373 * crypt/crypt_util.c(__b64_from_24bit): New function.
11374 (b64t): New static const variable.
11375 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11376 (b64t): Remove variable.
11377 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11378 * crypt/sha256-crypt.c: Include crypt-private.h.
11379 (b64t): Remove variable.
11380 (__sha256_crypt_r): Remove b64_from_24bit and replace
11381 with __b64_from_24bit.
11382 * crypt/sha512-crypt.c: Likewise.
11383
d936d379
RM
113842014-06-02 Roland McGrath <roland@hack.frob.com>
11385
11386 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11387 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11388 Label the code __libc_vfork rather than __vfork.
11389 [!NOT_IN_libc] (vfork): Define as weak alias.
11390 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11391 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11392 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11393
9fa76613
SP
113942014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11395
11396 * malloc/malloc.c (malloc_info): Fix format specifier for
11397 n_mmaps.
11398
a88dadbe
W
113992014-06-02 Wilco <wdijkstr@arm.com>
11400
11401 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11402 FPCR write.
11403
c95b3011
W
114042014-06-02 Wilco <wdijkstr@arm.com>
11405
11406 [BZ #17009]
11407 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11408 Rewrite to reduce FPCR/FPSR accesses.
11409
6b4d7a90
DM
114102014-06-01 David S. Miller <davem@davemloft.net>
11411
11412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11413
30f3d07c
DM
114142014-05-31 David S. Miller <davem@davemloft.net>
11415
11416 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11417 to occur in round to nearest mode when |x| >= 2.0
11418
74f31c18
RH
114192014-05-30 Richard Henderson <rth@twiddle.net>
11420
f0712b54
RH
11421 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11422 (PSEUDO_RET_NOERRNO): Remove.
11423 (ret): Don't redefine.
11424 (ret_NOERRNO): Define in terms of ret.
11425 (ret_ERRVAL): Likewise.
11426
74f31c18
RH
11427 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11428 use of PSEUDO_RET; perform the error check directly.
11429
30477995
MM
114302014-05-30 Marko Myllynen <myllynen@redhat.com>
11431
11432 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11433 with __int128_t.
11434
62a58816
SP
114352014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11436
11437 * malloc/malloc (malloc_info): Fix formatting.
11438
4d653a59
SP
114392014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11440 Roland McGrath <roland@hack.frob.com>
11441
11442 * malloc/malloc (malloc_info): Also print mmapped statistics.
11443
5190c17f
RM
114442014-05-30 Roland McGrath <roland@hack.frob.com>
11445
11446 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11447 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11448
987c0269
OB
114492014-05-30 Ondřej Bílka <neleai@seznam.cz>
11450
11451 * malloc/malloc.c (malloc_info): Inline mi_arena.
11452
af4e8ef9
RH
114532014-05-29 Richard Henderson <rth@twiddle.net>
11454
1670e207
RH
11455 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11456 Remove comma before expanding ASM_ARGS_##nr.
11457 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11458 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11459 of ASM_ARGS_##nr.
11460 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11461 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11462 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11463 (ASM_ARGS_1): Add leading comma.
11464
11a28aee
RH
11465 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11466 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11467 to __errno_location.
11468 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11469 Remove the expected plt for __errno_location.
11470
a17e5ffb 11471 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 11472 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
11473 call to __read_tp.
11474
b5be4597
RH
11475 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11476 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11477 it and break it down.
11478 (DOCARGS_0, DOCARGS_1): Do nothing.
11479 (DOCARGS_2): Update to store into the new stack frame.
11480 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11481 (UNDOCARGS_1): Update to restore from the new stack frame.
11482 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11483 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11484
645d44ab
RH
11485 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11486 (SINGLE_THREAD_P): New parameter for result regno.
11487 (PSEUDO): Update to match; use cbz instead of beq.
11488
a8b4f04a
RH
11489 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11490 Use ENTRY to define the _nocancel entry point. Share the syscall
11491 and syscall error check paths with the cancel path.
11492 (PSEUDO_END): New.
11493
af4e8ef9
RH
11494 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11495 whitespace; tabs before and after asm mnemonics.
11496
26b0d2e1
EW
114972014-05-29 Eric Wong <normalperson@yhbt.net>
11498
11499 [BZ #15132]
11500 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11501 Call fstat64 or stat64 internally, depending on arguments passed.
11502 Replace stat buffer argument with file descriptor argument.
11503 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11504 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11505 Pass fd to __internal_statvfs instead of calling fstat64.
11506 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11507 Pass fd to __internal_statvfs64 instead of calling fstat64.
11508 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11509 Pass -1 to __internal_statvfs instead of calling stat64.
11510 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11511 Pass -1 to __internal_statvfs64 instead of calling stat64.
11512
1efe2bd9
RM
115132014-05-28 Roland McGrath <roland@hack.frob.com>
11514
0d3b7a19
RM
11515 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11516 that was previously under [RESET_PID].
11517 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11518
1efe2bd9
RM
11519 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11520 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11521
a6bea3ca
RM
115222014-05-27 Roland McGrath <roland@hack.frob.com>
11523
30b6629e
RM
11524 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11525
a6bea3ca
RM
11526 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11527 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11528
3dfb9a5c
OB
115292014-05-27 Ondřej Bílka <neleai@seznam.cz>
11530
11531 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11532
774f9285
AS
115332014-05-27 Andreas Schwab <schwab@suse.de>
11534
11535 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11536 TLS_INIT_TP macro.
11537 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11538 * elf/rtld.c (init_tls, dl_main): Likewise.
11539 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11540 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11541 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11542 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11543 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11544 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11545 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11546 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11547 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11548 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11549 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11550 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11551 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11552 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11553 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11554 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11555 * sysdeps/generic/tls.h: Update description.
11556
36ffe739
WN
115572014-05-27 Will Newton <will.newton@linaro.org>
11558
11559 [BZ #16990]
11560 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11561 and restore r2 rather than just restoring.
11562
2482ae43
SP
115632014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11564
11565 [BZ #16724]
11566 * libio/tst-ftell-append.c: New test case.
11567 * libio/Makefile (tests): Add test case.
11568 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11569 append mode.
11570 * libio/wfileops.c (do_ftell_wide): Likewise.
11571
3d1024e8
AZ
115722014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11573
bab90016
AZ
11574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11575
c7a8d667
AZ
11576 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11577 ...
11578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11580 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11581 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11582 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11583 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11584 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11585 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11586 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11587 Moved ...
11588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11589 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11590 Moved ...
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11592 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11593 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11594 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11595 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11596 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11597 ...
11598 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11599 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11600 Moved ...
11601 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11602 here.
11603 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11604 ...
11605 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11606 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11607 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11608
daee7851
AZ
11609 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11610 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11611 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11612 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11613
50a40819
AZ
11614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11615 merge into ...
11616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11617 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11618 ...
11619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11620 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11621 ...
11622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11624 Moved ...
11625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11626 here.
11627 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11628 Moved ...
11629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11630 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11631 Moved ...
11632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11633
8464c2a1
AZ
11634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11635 conditional [RESET_PID].
11636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11637 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11638 removed.
11639 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11640 removed.
11641
3d1024e8
AZ
11642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11643 <tcb-offsets.h>.
11644 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11645 (__libc_vfork): New strong alias.
11646 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11647 removed.
11648 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11649 Removed.
11650
11651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11652 <tcb-offsets.h>.
11653 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11654 (__libc_vfork): New strong alias.
11655 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11656 removed.
11657 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11658 removed.
11659
fdfd175d
CD
116602014-05-26 Carlos O'Donell <carlos@redhat.com>
11661
11662 * malloc/malloc.c (mi_arena): New function.
11663 (malloc_info): Remove nested function mi_arena. Call non-nosted
11664 function mi_arena.
11665
d298c416
AZ
116662014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11667
11668 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11669 by insrwi.
11670 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11671 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11672 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11673 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11674 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11675 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11676 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11677
b60ea6ff
AS
116782014-05-26 Andreas Schwab <schwab@suse.de>
11679
11680 [BZ #16984]
11681 * locale/programs/repertoire.c (repertoire_read): Add slash
11682 between I18NPATH element and file name.
11683 * locale/programs/locfile.c (locfile_read): Likewise.
11684
67365926
SL
116852014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11686
11687 * nptl/pthread_mutexattr_settype.c
11688 (__pthread_mutexattr_settype):
11689 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11690
f8bdf1f0
SL
116912014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11692
11693 * nptl/tst-mutex5 (do_test):
11694 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11695
15eaf6ff
SP
116962014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11697
11698 * benchtests/README: Document 'init' directive.
11699 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11700 BENCH_INIT.
11701 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11702 (parse_file): Recognize 'init' directive.
11703
75f11331
KM
117042014-05-26 Kyle McMartin <kyle@redhat.com>
11705
11706 [BZ #16796]
11707 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11708 alignment of struct pthread.
11709
c3ec475c
SP
117102014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11711
11712 [BZ #16878]
11713 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11714 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11715 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11716 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11717
82aab97c
RH
117182014-05-25 Richard Henderson <rth@twiddle.net>
11719
aa2f176d
RH
11720 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11721 (SINGLE_THREAD_P_PIC): Remove.
11722 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11723 (SINGLE_THREAD_P_PIC): Remove.
11724
ca3cfa40
RH
11725 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11726 branch to syscall error ...
11727 (PSEUDO): ... here.
11728 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11729 from __local_syscall_error to .Lsyscall_error.
11730 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11731 (SYSCALL_ERROR): Update label name.
11732
6e6c2d01
RH
11733 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11734 Do not use DOARGS/UNDOARGS.
11735 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11736 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11737 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11738 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11739 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11740
c69abcee
RH
11741 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11742 block comment.
11743
82aab97c
RH
11744 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11745 define if !NOT_IN_libc.
11746 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11747 define with non-default symbol versions.
11748
8820e3ac
RH
117492014-05-23 Richard Henderson <rth@twiddle.net>
11750
900e445f
RH
11751 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11752 (vfork, __vfork): Define via compat_symbol.
11753
8820e3ac
RH
11754 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11755 [!HAVE_IFUNC] (vfork_compat): Remove.
11756 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11757
e59252a5
JM
117582014-05-23 Joseph Myers <joseph@codesourcery.com>
11759
11760 [BZ #16978]
11761 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11762 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11763 variable.
11764
132c7f5f
RH
117652014-05-23 Richard Henderson <rth@twiddle.net>
11766
bc89e962
RH
11767 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11768 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11769 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11770 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11771
11772 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11773 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11774 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11775 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11776 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11777 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11778 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11779 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11780 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11781 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11782 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11783 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11784 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11785 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11786 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11787 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11788 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11789 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11790 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11791 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11792 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11793 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11794 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11795 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11796 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11797 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11798 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11799 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11800 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11801 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11802 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11803 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11804 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11805 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11806 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11807 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11808 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11809 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11810 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11811 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11812 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11813 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11814 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11815 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11816 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11817 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11818 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11819 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11820 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11821 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11822 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11823 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11824 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11825 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11826 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11827 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11828
e2fa4bc2
RH
11829 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11830 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11831 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11832 before exiting on error.
11833 (__libc_vfork): New strong alias.
11834 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11835 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11836
279b24e2
RH
11837 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11838 that was previously under [RESET_PID].
11839 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11840
132c7f5f
RH
11841 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11842
b72592e7
JM
118432014-05-23 Joseph Myers <joseph@codesourcery.com>
11844
11845 [BZ #16977]
11846 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11847 value when x - 1 is zero.
11848 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11849 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11850 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11851 0.0L for an argument of 1.0L.
11852 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11853 Likewise.
11854 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11855 value when x - 1 is zero.
11856 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11857 * sysdeps/i386/fpu/libm-test-ulps: Update.
11858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11859
2302d679
RV
118602014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11861
11862 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11863 alphasort and versionsort.
11864
32999d63
AZ
118652014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11866
11867 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11868 macro.
11869 [copysignf]: Likewise.
11870
019324d0
SP
118712014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11872
11873 * crypt/md5-crypt.c: Fix formatting.
11874
34fff5c2
KS
118752014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11876
11877 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11878 (b64_from_24bit): New function.
11879
3d2badac
AZ
118802014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11881
11882 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11883 libc_hidden_builtin_def to ifunc.
11884 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11885 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11886
f7bb179f 118872014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
11888
11889 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11890 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11891
4134b50d
JM
118922014-05-21 Joseph Myers <joseph@codesourcery.com>
11893
bb7d0337
JM
11894 * nscd/Depend (linuxthreads): Remove.
11895 (nptl): Add.
11896 * resolv/Depend (linuxthreads): Remove.
11897 * rt/Depend (linuxthreads): Remove.
11898
4134b50d
JM
11899 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11900 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11901 $(common-objpfx)elf/.
11902 (link-libc-before-gnulib): Likewise.
11903 (elfobjdir): Remove variable.
11904 * Makefile (install): Use $(elf-objpfx) instead of
11905 $(common-objpfx)elf/.
11906 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11907 $(elfobjdir)/.
11908 (link-libc-deps): Likewise.
11909 ($(common-objpfx)libc.so): Likewise.
11910 ($(common-objpfx)linkobj/libc.so): Likewise.
11911 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11912 instead of $(common-objpfx)elf/.
11913 (symbolic-link-list): Likewise.
11914 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11915 [$(cross-compiling) = no]: Likewise.
11916 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11917 $(elfobjdir)/.
11918 (static-gnulib-arch): Likewise.
11919 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11920 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11921 $(common-objpfx)elf/.
11922
3612eb8f
RH
119232014-05-21 Richard Henderson <rth@redhat.com>
11924
a6b3657b
RH
11925 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11926 (SINGLE_THREAD_P): Use the correct width load. Fold
11927 into the ldr offset.
11928
3612eb8f
RH
11929 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11930 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11931
175cef41
JM
119322014-05-20 Joseph Myers <joseph@codesourcery.com>
11933
11934 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11935 (libgcc_s_resume): Use __attribute_used__.
11936 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11937 Likewise.
11938
e13bccd3
AZ
119392014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11940
11941 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11942 optimization when used with float constants.
11943
7c112a38
AZ
11944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11945
ae75a883
AJ
119462014-05-20 Aurelien Jarno <aurelien@aurel32.net>
11947
11948 [BZ #16915]
11949 * locale/nl_langinfo_l.c: Make direct reference to every
11950 _nl_current_CATEGORY symbol.
11951 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11952 (tests-static): Add tst-langinfo-static.
11953 (tests-special): Add tst-langinfo-static.out.
11954 ($(objpfx)tst-langinfo.out): Redirect output.
11955 ($(objpfx)tst-langinfo-static.out): New.
11956 * localedata/tst-langinfo.sh: Send output to stdout.
11957 * localedata/tst-langinfo-static.c: New file.
11958
4406c41c
AJ
11959 [BZ #16965]
11960 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11961 when the shift amount is modulo the limb size.
11962
4c0a1e63
RH
119632014-05-20 Richard Henderson <rth@redhat.com>
11964
de9d8f20
RH
11965 [BZ #16967]
11966 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11967 Change type of sa_flags from unsigned int to int.
11968
4c0a1e63
RH
11969 [BZ #16966]
11970 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
11971
11972 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11973
a60339aa
WN
119742014-05-20 Will Newton <will.newton@linaro.org>
11975
11976 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11977 Test the return value of the system call in the nocancel case.
11978
7d05a816
YR
119792014-05-20 Will Newton <will.newton@linaro.org>
11980 Yvan Roux <yvan.roux@linaro.org>
11981
11982 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11983 #include of asm/ptrace.h.
11984 (PTRACE_GET_THREAD_AREA): Remove #undef.
11985 (PTRACE_GETHBPREGS): Likewise.
11986 (PTRACE_SETHBPREGS): Likewise.
11987 (struct user_regs_struct): New structure.
11988 (struct user_fpsimd_struct): New structure.
11989 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11990 #include of asm/ptrace.h and second #include of sys/user.h.
11991 (PTRACE_GET_THREAD_AREA): Remove #undef.
11992 (PTRACE_GETHBPREGS): Likewise.
11993 (PTRACE_SETHBPREGS): Likewise.
11994 (ELF_NGREG): Use new struct user_regs_struct.
11995 (elf_fpregset_t): Use new struct user_fpsimd_struct.
11996
af121e37
AZ
119972014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11998
11999 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12000 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12001
834caf06
JM
120022014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12003
12004 [BZ #16958]
12005 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12006 membar to avoid block loads/stores to overlap previous stores.
12007
e184a918
RH
120082014-05-17 Richard Henderson <rth@redhat.com>
12009
12010 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12011 Create the __##syscall_name##_nocancel entry point.
12012 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12013 Remove; let the sysdep-cancel.h code create it.
12014
f56c7a6a
DM
120152014-05-17 David S. Miller <davem@davemloft.net>
12016
12017 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12018 Protect with __USE_GNU.
12019 (TIOCSET_TEMPT): Likewise.
12020 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12021 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12022 these are already provided in bits/ioctl-types.h
12023
f75616b2
RM
120242014-05-16 Roland McGrath <roland@hack.frob.com>
12025
3edeca86
RM
12026 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12027 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12028
f75616b2
RM
12029 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12030 Use wait4 regardless of [__NR_waitpid].
12031
deb0f7f6
MR
120322014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12033
12034 PR libgcc/60166
12035 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12036 (_FP_NANSIGN_Q): Set the quiet bit.
12037
79520f4b
JM
120382014-05-16 Joseph Myers <joseph@codesourcery.com>
12039
12040 * benchtests/Makefile
12041 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12042 not $(common-objpfx)math/libm.so.
12043 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12044 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12045 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12046 $(common-objpfx)dlfcn/libdl.so.
12047 ($(objpfx)tst-audit8): Depend on $(libm), not
12048 $(common-objpfx)math/libm.so.
12049 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12050 not $(common-objpfx)dlfcn/libdl.so.
12051 * math/Makefile
12052 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12053 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12054 [$(build-shared) = yes].
12055 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12056 $(common-objpfx)nptl/libpthread.so.
12057 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12058 $(common-objpfx)math/libm.so$(libm.so-version) or
12059 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12060 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12061 $(common-objpfx)dlfcn/libdl.so.
12062 * setjmp/Makefile (link-libm): Remove variable.
12063 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12064 * stdio-common/Makefile (link-libm): Remove variable.
12065 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12066 * stdlib/Makefile (link-libm): Remove variable.
12067 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12068 ($(objpfx)tst-strtod-round): Likewise.
12069 ($(objpfx)tst-tininess): Likewise.
12070 ($(objpfx)tst-strtod-underflow): Likewise.
12071 ($(objpfx)tst-strtod6): Likewise.
12072 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12073 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12074 $(common-objpfx)dlfcn/libdl.so.
12075
026b0fe4
AZ
120762014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12077
12078 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12079 BSD terminal modes definitions.
12080
def4bcb2
RM
120812014-05-16 Roland McGrath <roland@hack.frob.com>
12082
fe39b021
RM
12083 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12084 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12085
1d1fc46e 12086 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
12087 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12088 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12089 Don't do #include_next.
12090 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12091 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12092 Don't do #include_next.
12093 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12094 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12095 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12096 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12097
c72399fb
AM
120982014-05-16 Allan McRae <allan@archlinux.org>
12099
d51d659d
AM
12100 * po/sv.po: Update Swedish translation from translation project.
12101
c72399fb
AM
12102 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12103 in sed expression.
12104
d0583c40
AJ
121052014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12106
12107 [BZ #16917]
12108 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12109 errno if the TIOCGPTN ioctl fails with an error different than
12110 EINVAL.
12111 * login/tst-ptsname.c: New file.
12112 * login/Makefile (tests): Add tst-ptsname.
12113
d16e6ec7
AJ
12114 [BZ #16943]
12115 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12116 and prlimit64.
12117
cf26a0cb
SP
121182014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12119
12120 [BZ #16849]
12121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12122 herrno to return EAI_AGAIN.
12123
5675da1e
RM
121242014-05-14 Roland McGrath <roland@hack.frob.com>
12125
a5d87b3d
RM
12126 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12127 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12128 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12129 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12130 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12131 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12132 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12133 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12134 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12135 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12136 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12137 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12138 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12139 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12140 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12141 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12142 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12143 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12144 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12145 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12146 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12147 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12148 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12149 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12150 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12151 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12152 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12153 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12154 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12155 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12157 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12159 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12161 Moved ...
12162 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12164 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12166 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12168 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12170 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12172 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12174 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12176 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12178 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12180 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12182 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12184 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12186 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12188 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12190 Moved ...
12191 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12193 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12195 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12197 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12199 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12201 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12203 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12205 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12207 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12209 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12211 Moved ...
12212 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12214 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12215
039890a6
RM
12216 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12217 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12218 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12219 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12220 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12221 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12222 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12223 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12224 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12225 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12226 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12227 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12228 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12229 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12230 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12231 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12232 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12233 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12234 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12235 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12236 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12237 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12238 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12239 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12240 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12241 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12242 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12243 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12244 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12245 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12246 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12247
65c89320
RM
12248 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12249 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12250
348f8e8c
RM
12251 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12252 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12253 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12254 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12255 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12256 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12257 Moved ...
12258 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12259 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12260 Moved ...
12261 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12262 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12263 Moved ...
12264 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12265 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12266 Moved ...
12267 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12268 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12269 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12270 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12271 Moved ...
12272 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12273 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12274 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12275 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12276 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12277 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12278 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12279 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12280 Moved ...
12281 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12282 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12283 Moved ...
12284 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12285 ... here.
12286 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12287 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12288 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12289 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12290 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12291 Moved ...
12292 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12293 ... here.
12294 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12295 Moved ...
12296 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12297 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12298 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12299 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12300 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12301 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12302 Moved ...
12303 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12304 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12305 Moved ...
12306 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12307 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12308 Moved ...
12309 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12310 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12311 Moved ...
12312 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12313 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12314 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12315 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12316 Moved ...
12317 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12318 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12319 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12320 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12321 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12322 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12323 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12324 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12325 Moved ...
12326 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12327 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12328 Moved ...
12329 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12330 ... here.
12331 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12332 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12333 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12334 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12335 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12336 Moved ...
12337 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12338 ... here.
12339 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12340 Moved ...
12341 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12342 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12343 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12344 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12345 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12346 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12347 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12348 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12349 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12350 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12351 Moved ...
12352 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12353 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12354 Moved ...
12355 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12356 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12357 Moved ...
12358 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12359 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12360 Moved ...
12361 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12362 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12363 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12364 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12365 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12366 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12367 Moved ...
12368 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12369 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12370 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12371 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12372 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12373 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12374 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12375 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12376 Moved ...
12377 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12378 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12379 Moved ...
12380 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12381 ... here.
12382 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12383 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12384 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12385 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12386 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12387 Moved ...
12388 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12389 ... here.
12390 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12391 Moved ...
12392 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12393 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12394 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12395 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12396 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12397 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12398 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12399 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12400 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12401 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12402 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12403
5085af05
RM
12404 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12405 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12406
708f0813
RM
12407 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12408 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12409
c96067bc
RM
12410 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12411 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12412 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12413 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12414 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12415 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12416 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12417 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12418 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12419 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12420 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12421 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12422 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12423 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12424 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12425 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12426 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12427 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12428 Moved ...
12429 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12430 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12431 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12432 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12433 Moved ...
12434 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12435 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12436 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12437 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12438 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12439 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12440 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12441 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12442 Moved ...
12443 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12444 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12445 Moved ...
12446 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12447 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12448 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12449 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12450 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12451 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12452 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12453 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12454 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12455 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12456 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12457 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12458 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12459 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12460 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12461 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12462 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12463
ec136444
RM
12464 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12465 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12466 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12467 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12468 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12469
2fbdf533
RM
12470 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12471 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12472 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12473 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12474 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12475 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12476 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12477 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12478 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12479 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12480
4c68138b
RM
12481 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12482 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12483
4eaae765
RM
12484 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12485 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
12486 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12487 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12488 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12489 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12490 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12491 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12492 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12493 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12494 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12495 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12496 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12497 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12498 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12499 Update #include.
12500 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12501 Likewise.
12502 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12503 Likewise.
12504 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12505 Likewise.
12506 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12507 Likewise.
12508 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12509 Likewise.
12510 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12511 Likewise.
12512 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12513 Likewise.
12514 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12515 Likewise.
12516 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12517 Likewise.
4ef6befa
RM
12518 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12519 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12520 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12521 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12522 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
12523 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12524 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12525 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12526 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12527 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12528 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12529 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12530 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12531 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12532 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 12533
941d7dfd
RM
12534 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12535 that was previously under [RESET_PID].
12536 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12537 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12538 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12539
1b731c35
RM
12540 * sysdeps/i386/nptl/Implies: New file.
12541 * sysdeps/x86_64/nptl/Implies: New file.
12542 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12543 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12544 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12545 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12546
e2787137
RM
12547 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12548 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12549 (__libc_vfork): New strong alias.
12550 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12551 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12552
12553 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12554 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12555 (__libc_vfork): New strong alias.
12556 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12557 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12558
5675da1e
RM
12559 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12560 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12561 (__libc_vfork): New strong alias.
12562 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12563 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12564 * nptl/pt-vfork.c: New file.
12565 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12566 (libpthread: GLIBC_2.20): New version set (empty).
12567
4f02e2b8
WN
125682014-05-14 Will Newton <will.newton@linaro.org>
12569
12570 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12571 rather than #if.
12572
0bf061d3
JM
125732014-05-14 Joseph Myers <joseph@codesourcery.com>
12574
1a84c3d6
JM
12575 [BZ #16564]
12576 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12577 arguments with exponent 65 or above.
12578 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12579 arguments 0x1p113L or above.
12580 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12581 to arguments 0x1p107L or above.
12582 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12583 positive arguments with exponent 65 or above.
12584 * math/auto-libm-test-in: Add more tests of log1p.
12585 * math/auto-libm-test-out: Regenerated.
12586
01dbacd2
JM
12587 [BZ #16928]
12588 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12589 non-finite arguments is +0.
12590 * math/s_cacosf.c (__cacosf): Likewise.
12591 * math/s_cacosl.c (__cacosl): Likewise.
12592 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12593 * sysdeps/i386/fpu/libm-test-ulps: Update.
12594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12595
913d03c8
JM
12596 [BZ #16927]
12597 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12598 value.
12599 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12600 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12601 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12602 for explicit high bit of mantissa when testing for argument equal
12603 to 1.
12604 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12605 * sysdeps/i386/fpu/libm-test-ulps: Update.
12606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12607
0bf061d3
JM
12608 [BZ #16516]
12609 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12610 (__erf): Scale by 16 instead of 8 in potentially underflowing
12611 case. Ensure exception if result actually underflows.
12612 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12613 (__erff): Scale by 16 instead of 8 in potentially underflowing
12614 case. Ensure exception if result actually underflows.
12615 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12616 (efx8): Remove variable.
12617 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12618 case. Ensure exception if result actually underflows.
12619 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12620 (efx8): Remove variable.
12621 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12622 case. Ensure exception if result actually underflows.
12623 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12624 (efx8): Remove variable.
12625 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12626 case. Ensure exception if result actually underflows.
12627 * math/auto-libm-test-in: Add more tests of erf.
12628 * math/auto-libm-test-out: Regenerated.
12629
73ba67cb
AS
126302014-05-14 Andreas Schwab <schwab@suse.de>
12631
3d8c8bff
AS
12632 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12633 Remove code conditionalized on USE___THREAD.
12634
73ba67cb
AS
12635 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12636 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12637 not definedness.
12638
5c521ecd
JM
126392014-05-14 Joseph Myers <joseph@codesourcery.com>
12640
5e7698c6
JM
12641 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12642 Define unconditionally.
12643 (__ASSUME_O_CLOEXEC): Likewise.
12644 (__ASSUME_SOCK_CLOEXEC): Likewise.
12645 (__ASSUME_IN_NONBLOCK): Likewise.
12646 (__ASSUME_PIPE2): Likewise.
12647 (__ASSUME_EVENTFD2): Likewise.
12648 (__ASSUME_SIGNALFD4): Likewise.
12649 (__ASSUME_DUP3): Likewise.
12650 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12651 (__ASSUME_DUP3): Do not define.
12652 (__ASSUME_EVENTFD2): Likewise.
12653 (__ASSUME_IN_NONBLOCK): Likewise.
12654 (__ASSUME_O_CLOEXEC): Likewise.
12655 (__ASSUME_PIPE2): Likewise.
12656 (__ASSUME_SIGNALFD4): Likewise.
12657 (__ASSUME_SOCK_CLOEXEC): Likewise.
12658 (__ASSUME_UTIMES): Undefine.
12659 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12660 (__ASSUME_UTIMES): Do not define.
12661 (__ASSUME_O_CLOEXEC): Likewise.
12662 (__ASSUME_SOCK_CLOEXEC): Likewise.
12663 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12664 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12665 0x020621].
12666 (__ASSUME_PIPE2): Likewise.
12667 (__ASSUME_EVENTFD2): Likewise.
12668 (__ASSUME_SIGNALFD4): Likewise.
12669 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12670 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12671 Do not define.
12672 (__ASSUME_EVENTFD2): Likewise.
12673 (__ASSUME_SIGNALFD4): Likewise.
12674 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12675 (__ASSUME_32BITUIDS): Likewise.
12676 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12677 (__ASSUME_IPC64): Likewise.
12678 (__ASSUME_ST_INO_64_BIT): Likewise.
12679 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12680 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12681 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12682 (__ASSUME_UTIMES): Do not define.
12683 (__ASSUME_PSELECT): Likewise.
12684 (__ASSUME_PPOLL): Likewise.
12685 (__ASSUME_O_CLOEXEC): Likewise.
12686 (__ASSUME_SOCK_CLOEXEC): Likewise.
12687 (__ASSUME_IN_NONBLOCK): Likewise.
12688 (__ASSUME_PIPE2): Likewise.
12689 (__ASSUME_EVENTFD2): Likewise.
12690 (__ASSUME_SIGNALFD4): Likewise.
12691 (__ASSUME_DUP3): Likewise.
12692 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12693 (__ASSUME_UTIMES): Likewise.
12694 (__ASSUME_O_CLOEXEC): Likewise.
12695 (__ASSUME_SOCK_CLOEXEC): Likewise.
12696 (__ASSUME_IN_NONBLOCK): Likewise.
12697 (__ASSUME_PIPE2): Likewise.
12698 (__ASSUME_EVENTFD2): Likewise.
12699 (__ASSUME_SIGNALFD4): Likewise.
12700 (__ASSUME_DUP3): Likewise.
12701 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12702 (__ASSUME_UTIMES): Likewise.
12703 (__ASSUME_O_CLOEXEC): Likewise.
12704 (__ASSUME_SOCK_CLOEXEC): Likewise.
12705 (__ASSUME_IN_NONBLOCK): Likewise.
12706 (__ASSUME_PIPE2): Likewise.
12707 (__ASSUME_EVENTFD2): Likewise.
12708 (__ASSUME_SIGNALFD4): Likewise.
12709 (__ASSUME_DUP3): Likewise.
12710 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12711 Likewise.
12712 (__ASSUME_UTIMES): Likewise.
12713 (__ASSUME_EVENTFD2): Likewise.
12714 (__ASSUME_SIGNALFD4): Likewise.
12715 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12716 (__ASSUME_O_CLOEXEC): Likewise.
12717 (__ASSUME_SOCK_CLOEXEC): Likewise.
12718 (__ASSUME_IN_NONBLOCK): Likewise.
12719 (__ASSUME_PIPE2): Likewise.
12720 (__ASSUME_EVENTFD2): Likewise.
12721 (__ASSUME_SIGNALFD4): Likewise.
12722 (__ASSUME_DUP3): Likewise.
12723 (__ASSUME_UTIMES): Undefine.
12724
5c521ecd
JM
12725 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12726 feclearexcept. Remove symbol versioning code.
12727 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12728 symbol versioning code.
12729 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12730 symbol versioning code.
12731 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12732 feupdateenv. Remove symbol versioning code.
12733 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12734 fegetexceptflag. Remove symbol versioning code.
12735 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12736 fesetexceptflag. Remove symbol versioning code.
12737 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12738 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12739 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12740 (__posix_fadvise64_l32): Remove prototype.
12741 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12742 code.
12743
5da9dfad
RM
127442014-05-13 Roland McGrath <roland@hack.frob.com>
12745
12746 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12747 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12748 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12749 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12750
893b4f37
SK
127512014-05-13 Sami Kerola <kerolasa@iki.fi>
12752
12753 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12754 current working directory
12755
e0db6517
RM
127562014-05-13 Roland McGrath <roland@hack.frob.com>
12757
58aa195d
RM
12758 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12759 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12760 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12761 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12762 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12763 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12764 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12765 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12766 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12767 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12768 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12769 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12770 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12771 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12772 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12773 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12774 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12775 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12776 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12777 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12778 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12779 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12780 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12781 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12782 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12783 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12784 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12785 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12786 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12787 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12788 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12789 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12790 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12791 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12792 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12793 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12794 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12795 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12796 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12797 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12798 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12799 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12800
8c6d01f0
RM
12801 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12802 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12803
12804 * sysdeps/unix/sysv/linux/arm/Makefile
12805 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12806 Add rt-aeabi_unwind_cpp_pr1.
12807 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12808 Add nptl-aeabi_unwind_cpp_pr1.
12809 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12810 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12811 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12812 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12813 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12814 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12815
12816 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12817 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12818 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12819 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12820
bba6da4e
RM
12821 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12822 Deconditionalize the code that was previously under [RESET_PID].
12823 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12824
e0db6517
RM
12825 * sysdeps/generic/exit-thread.h: New file.
12826 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12827 * include/unistd.h (__exit_thread): Remove declaration.
12828 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12829 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12830 * csu/libc-start.c: Include <exit-thread.h>.
12831 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12832 * nptl/pthread_create.c: Include <exit-thread.h>.
12833 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12834 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12835 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12836 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12837 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12838 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12839 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12840 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12841 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12842 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12843 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12844 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12845 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12846 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12847 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12848 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12849 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12850
01eb16fd
AS
128512014-05-13 Andreas Schwab <schwab@suse.de>
12852
12853 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12854
637461d9
JM
128552014-05-12 Joseph Myers <joseph@codesourcery.com>
12856
12857 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12858 (__ASSUME_UTIMES): Do not condition on kernel version.
12859 (__ASSUME_PSELECT): Define unconditionally.
12860 (__ASSUME_PPOLL): Likewise.
12861 (__ASSUME_ATFCTS): Likewise.
12862 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12863 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12864 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12865 (__ASSUME_UTIMENSAT): Define unconditionally.
12866 (__ASSUME_PRIVATE_FUTEX): Likewise.
12867 (__ASSUME_FALLOCATE): Likewise.
12868 (__ASSUME_O_CLOEXEC): Likewise.
12869 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12870 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12871 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12872 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12873 (__ASSUME_IN_NONBLOCK): Likewise.
12874 (__ASSUME_PIPE2): Likewise.
12875 (__ASSUME_EVENTFD2): Likewise.
12876 (__ASSUME_SIGNALFD4): Likewise.
12877 (__ASSUME_DUP3): Likewise.
12878 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12879 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12880 (__ASSUME_AT_RANDOM): Likewise.
12881 (__ASSUME_PREADV): Likewise.
12882 (__ASSUME_PWRITEV): Likewise.
12883 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12884 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12885 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12886 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12887 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12888 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12889 (__ASSUME_O_CLOEXEC): Define unconditionally.
12890 (__ASSUME_PSELECT): Do not undefine conditionally.
12891 (__ASSUME_PPOLL): Likewise.
12892 (__ASSUME_ATFCTS): Likewise.
12893 (__ASSUME_SET_ROBUST_LIST): Likewise.
12894 (__ASSUME_UTIMENSAT): Likewise.
12895 (__ASSUME_FDATASYNC): Define unconditionally.
12896 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12897 (__ASSUME_SIGFRAME_V2): Likewise.
12898 )__ASSUME_EVENTFD2): Likewise.
12899 (__ASSUME_SIGNALFD4): Likewise.
12900 (__ASSUME_PSELECT): Do not undefine conditionally.
12901 (__ASSUME_PPOLL): Likewise.
12902 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12903 (__ASSUME_PSELECT): Define unconditionally.
12904 (__ASSUME_PPOLL): Likewise.
12905 (__ASSUME_O_CLOEXEC): Likewise.
12906 (__ASSUME_SOCK_CLOEXEC): Likewise.
12907 (__ASSUME_IN_NONBLOCK): Likewise.
12908 (__ASSUME_PIPE2): Likewise.
12909 (__ASSUME_EVENTFD2): Likewise.
12910 (__ASSUME_SIGNALFD4): Likewise.
12911 (__ASSUME_DUP3): Likewise.
12912 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12913 (__ASSUME_O_CLOEXEC): Likewise.
12914 (__ASSUME_SOCK_CLOEXEC): Likewise.
12915 (__ASSUME_IN_NONBLOCK): Likewise.
12916 (__ASSUME_PIPE2): Likewise.
12917 (__ASSUME_EVENTFD2): Likewise.
12918 (__ASSUME_SIGNALFD4): Likewise.
12919 (__ASSUME_DUP3): Likewise.
12920 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12921 (__ASSUME_EVENTFD2): Likewise.
12922 (__ASSUME_SIGNALFD4): Likewise.
12923 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12924
315eb1d8
AS
129252014-05-12 Andreas Schwab <schwab@suse.de>
12926
12927 [BZ #16932]
12928 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12929 (_nss_nis_gethostbyname4_r): Return error if item length is larger
12930 than maximum RPC packet size.
12931 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12932 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12933 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12934 (_nss_nis_getservbyport_r): Likewise.
12935
91df99f7
WN
129362014-05-12 Will Newton <will.newton@linaro.org>
12937
12938 * malloc/Makefile (tests): Add tst-mallopt.
12939 * malloc/tst-mallopt.c: New file.
12940
0a982a29
RM
129412014-05-09 Roland McGrath <roland@hack.frob.com>
12942
12943 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12944 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12945
0ded08a5
AZ
129462014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12947
12948 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12949 (tst-tlsmod6.so): Likewise.
12950
55d4d550
RM
129512014-05-09 Roland McGrath <roland@hack.frob.com>
12952
12953 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12954
77d08aca
JM
129552014-05-09 Joseph Myers <joseph@codesourcery.com>
12956
12957 [BZ #16064]
12958 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12959 and <dl-procinfo.h>.
12960 (__fegetenv): Save SSE state in envp->__eip if supported.
12961 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12962 envp->__eip if supported.
12963 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12964 and <dl-procinfo.h>.
12965 (__fesetenv): Always set __eip, __cs_selector, __opcode,
12966 __data_offset and __data_selector in environment to 0. Set SSE
12967 state if supported.
12968 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12969 test-fenv-sse.
12970 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12971 -mfpmath=sse.
12972 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12973
28162f4d
WN
129742014-05-09 Will Newton <will.newton@linaro.org>
12975
12976 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12977 and libc_relro_required for ARM.
12978 * sysdeps/arm/preconfigure: Regenerate.
12979
5a414ff7
DV
129802014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
12981 Stefan Liebler <stli@linux.vnet.ibm.com>
12982
12983 * config.make.in (enable-lock-elision): New Makefile variable.
12984 * configure.ac: Likewise.
12985 * configure: Regenerate.
12986 * sysdeps/s390/configure.ac:
12987 Add check for gcc transactions support.
12988 * sysdeps/s390/configure: Regenerate.
12989 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12990 Build elision files if enabled.
12991 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12992 Add lock elision support for s390.
12993 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12994 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12995 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12996 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12997 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12998 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12999 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13000 Likewise.
13001 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13002 Likewise.
13003 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13004 Likewise.
13005 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13006 Likewise.
13007 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13008 (__lll_timedlock_elision, __lll_lock_elision)
13009 (__lll_unlock_elision, __lll_trylock_elision)
13010 (lll_timedlock_elision, lll_lock_elision)
13011 (lll_unlock_elision, lll_trylock_elision): Add.
13012 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13013 (pthread_mutex_t): Add lock elision support for s390.
13014
1a2f40e5
W
130152014-05-14 Wilco <wdijkstr@arm.com>
13016
13017 * sysdeps/arm/fclrexcpt.c: Cleanup.
13018 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13019 * sysdeps/arm/feenablxcpt.c: Cleanup.
13020 * sysdeps/arm/fegetenv.c: Cleanup.
13021 * sysdeps/arm/fegetexcept.c: Cleanup.
13022 * sysdeps/arm/fegetround.c: Cleanup.
13023 * sysdeps/arm/feholdexcpt.c: Cleanup.
13024 * sysdeps/arm/fesetenv.c: Cleanup.
13025 * sysdeps/arm/fesetround.c: Cleanup.
13026 * sysdeps/arm/feupdateenv.c: Cleanup.
13027 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13028 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13029 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13030 * sysdeps/arm/ftestexcept.c: Cleanup.
13031 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13032 * sysdeps/arm/setfpucw.c: Cleanup.
13033
f63c86fe
WN
130342014-05-09 Will Newton <will.newton@linaro.org>
13035
13036 * sysdeps/arm/armv7/strcmp.S: New file.
13037 * NEWS: Mention addition of ARMv7 optimized strcmp.
13038
7a1a51b5
RM
130392014-05-08 Roland McGrath <roland@hack.frob.com>
13040
95afbbe5
RM
13041 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13042 look for %.ac rather than %.in.
13043
13044 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13045 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13046 * sysdeps/mach/hurd/configure: Regenerated.
13047 * sysdeps/unix/sysv/linux/configure: Regenerated.
13048
7a1a51b5
RM
13049 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13050
5057ad3b
SE
130512014-05-07 Steve Ellcey <sellcey@mips.com>
13052
13053 [BZ# 16922]
13054 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13055 (LONG_SUB): Ditto.
13056 (PTR_SUB): Ditto.
13057
8dc97517
AS
130582014-05-07 Andreas Schwab <schwab@suse.de>
13059
13060 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13061 when skipping over non-matching result from nscd.
13062
ce0c5b8f
OB
130632014-05-07 Ondřej Bílka <neleai@seznam.cz>
13064
13065 [BZ #16876]
13066 * nptl/sockperf.c (client): Check socket return value.
8dc97517 13067
a1189263
OB
13068 [BZ #16877]
13069 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13070 nscd security class.
ce0c5b8f 13071
0f58d252
RM
130722014-05-06 Roland McGrath <roland@hack.frob.com>
13073
13074 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13075 * sysdeps/arm/unwind.h: ... here.
13076
83df9ad0
AJ
130772014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13078
ce0c5b8f
OB
13079 [BZ# 16916]
13080 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13081 Define.
83df9ad0 13082
f360f94a
VR
130832014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13084
13085 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13086 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13087 multiarch strncpy for PPC64.
13088 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13089 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13090 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13091 multiarch optimizations.
13092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13093 (__libc_ifunc_impl_list): Likewise.
13094 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13095 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13096 multiarch stpncpy for PPC64.
13097 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13098 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13099
978a41c3
AS
131002014-05-06 Andreas Schwab <schwab@suse.de>
13101
13102 [BZ #16912]
13103 * gmon/mcount.c (_MCOUNT_DECL): Use
13104 atomic_compare_and_exchange_bool_acq instead of
13105 catomic_compare_and_exchange_bool_acq.
13106
eb1ed03d
RM
131072014-05-05 Roland McGrath <roland@hack.frob.com>
13108
fe658845
RM
13109 * elf/Makefile (others, install-bin): Remove pldd.
13110 (pldd-modules): Variable removed.
13111 ($(objpfx)pldd): Target removed.
13112 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13113 (others, install-bin): Append pldd here.
13114 ($(objpfx)pldd): New target.
13115
eb1ed03d
RM
13116 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13117 to 0, so the first #if test emitted later doesn't see it undefined.
13118 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13119 * sysdeps/gnu/errlist.c: Regenerated.
13120
19c4bec0
AZ
131212014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13122
13123 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13124 [libc_hidden_builtin_def]: Define to empty value.
13125 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13126 [libc_hidden_builtin_def]: Likewise.
13127 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13128 [libc_hidden_builtin_def]: Likewise.
13129 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13130 [libc_hidden_builtin_def]: Likewise.
13131 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13132 __redirect_memcpy and define ifunc as default hidden symbol.
13133 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13134 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13135
7776e669
AC
131362014-05-04 Adam Conrad <adconrad@0c3.net>
13137
13138 * locale/iso-4217.def: Reintroduce XDR currency.
13139
d69aeb12
AM
131402014-05-04 Allan McRae <allan@archlinux.org>
13141
13142 * po/eo.po: Update Esperanto translation from translation project.
13143
8f1df5cf
CD
131442014-05-02 Carlos O'Donell <carlos@redhat.com>
13145
13146 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13147 and FEATURE_INDEX_MAX to 1.
13148 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13149
13e402e7
SE
131502014-05-01 Steve Ellcey <sellcey@mips.com>
13151
13152 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13153 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13154 * iconvdata/big5.c (ONE_DIRECTION): Define.
13155 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13156 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13157 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13158 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13159 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13160 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13161 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13162 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13163 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13164 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13165 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13166 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13167 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13168 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13169 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13170 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13171 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13172 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13173 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13174 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13175 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13176 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13177 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13178 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13179 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13180 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13181 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13182 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13183 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13184 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13185 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13186 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13187 * iconvdata/johab.c (ONE_DIRECTION): Define.
13188 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13189 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13190 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13191 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13192 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13193 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13194 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13195 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13196 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13197 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13198
c727f032
RM
131992014-05-01 Roland McGrath <roland@hack.frob.com>
13200
8f2f08d0
RM
13201 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13202 (_IO_JUMPS_OFFSET): Define to 0.
13203
c727f032
RM
13204 * nptl/sysdeps/pthread/bits/libc-lock.h
13205 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13206 (__libc_lock_define_initialized_recursive): Always define using
13207 initializer. Modern compilers treat uninitialized (implicit zero) and
13208 explicit zero initializers the same (i.e. put the datum in bss).
13209
a849e800
AS
132102014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13211
13212 * nscd/nscd-client.h: Include <string.h>.
13213
5331255b
DM
132142014-05-01 David S. Miller <davem@davemloft.net>
13215
13216 [BZ #16885]
13217 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13218 multiple zero bytes exist at the end of a string.
13219 Reported by Aurelien Jarno <aurelien@aurel32.net>
13220
13221 * string/test-strcmp.c (check): Add explicit test for situations where
13222 there are multiple zero bytes after the first.
13223
4fdfe821
AS
132242014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13225
13226 [BZ #16890]
13227 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13228 when compiling wprintf.
13229 * stdio-common/tstdiomisc.c (t3): New function.
13230 (main): Call it.
13231
0cdddc25
SE
132322014-05-01 Steve Ellcey <sellcey@mips.com>
13233
13234 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13235 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13236 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13237 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13238
6426d77e
SE
132392014-05-01 Steve Ellcey <sellcey@mips.com>
13240
13241 * stdlib/longlong.h: Updated from GCC.
13242
6d96f5e4
WN
132432014-05-01 Will Newton <will.newton@linaro.org>
13244 Bernard Ogden <bernie.ogden@linaro.org>
13245
7470db0c
WN
13246 * NEWS: Update fixed bug list.
13247
6d96f5e4
WN
13248 [BZ #15119]
13249 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13250
211d653c
DM
132512014-04-30 David S. Miller <davem@davemloft.net>
13252
4fa262fa
DM
13253 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13254 (libc_feholdexcept_setround_sparc_ctx): New function.
13255 (libc_fesetenv_sparc_ctx): Likewise.
13256 (libc_feupdateenv_sparc_ctx): Likewise.
13257 (libc_feholdsetround_sparc_ctx): Likewise.
13258 (libc_feholdexcept_setround_ctx): Define.
13259 (libc_feholdexcept_setroundf_ctx): Likewise.
13260 (libc_feholdexcept_setroundl_ctx): Likewise.
13261 (libc_fesetenv_ctx): Likewise.
13262 (libc_fesetenvf_ctx): Likewise.
13263 (libc_fesetenvl_ctx): Likewise.
13264 (libc_feupdateenv_ctx): Likewise.
13265 (libc_feupdateenvf_ctx): Likewise.
13266 (libc_feupdateenvl_ctx): Likewise.
13267 (libc_feresetround_ctx): Likewise.
13268 (libc_feresetroundf_ctx): Likewise.
13269 (libc_feresetroundl_ctx): Likewise.
13270 (libc_feholdsetround_ctx): Likewise.
13271 (libc_feholdsetroundf_ctx): Likewise.
13272 (libc_feholdsetroundl_ctx): Likewise.
13273
1d3d93ef
DM
13274 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13275 with __USE_GNU instead of XOPEN cpp guards.
13276
8aa583c3
DM
13277 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13278 0.
13279
211d653c
DM
13280 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13281 with XOPEN cpp guards.
13282
60c8f1f6
JB
132832014-04-30 Julian Brown <julian@codesourcery.com>
13284
13285 [BZ #16888]
13286 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13287 handling.
13288
9a461d46
JM
132892014-04-30 Joseph Myers <joseph@codesourcery.com>
13290
d0f5b3f8
JM
13291 [BZ #9894]
13292 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13293 Change to 2.6.32.
13294 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13295 * sysdeps/unix/sysv/linux/configure: Regenerated.
13296 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13297 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13298 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13299 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13300 * README: Update reference to required Linux kernel version.
13301 * manual/install.texi (Linux): Update reference to required Linux
13302 kernel headers version.
13303 * INSTALL: Regenerated.
13304
9a461d46
JM
13305 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13306 header inclusion.
13307 [POSIX] (limits.h): Likewise.
13308 [POSIX] (math.h): Likewise.
13309 [POSIX] (sys/wait.h): Likewise.
13310 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13311 function.
13312 [POSIX] (stddef.h): Do not allow header inclusion.
13313
1775babf
AZ
133142014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13315
57f41c40 13316 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 13317
8f630cca
YY
133182014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13319
13320 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13321 Return immediately after lll_futex_wake.
13322
1cdeb237
SP
133232014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13324
bc8f194c
SP
13325 [BZ #16791]
13326 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13327 structure.
13328 (datahead_init_pos): Call datahead_init_common early.
13329 (datahead_init_neg): Likewise.
13330
1cdeb237
SP
13331 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13332 datahead_init_neg): New functions.
13333 * nscd/aicache.c (addhstaiX): Use them.
13334 * nscd/grpcache.c (cache_addgr): Likewise.
13335 * nscd/hstcache.c (cache_addhst): Likewise.
13336 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13337 * nscd/netgroupcache.c (do_notfound): Likewise.
13338 (addgetnetgrentX): Likewise.
13339 (addinnetgrX): Likewise.
13340 * nscd/pwdcache.c (cache_addpw): Likewise.
13341 * nscd/servicescache.c (cache_addserv): Likewise.
13342
16b293a7
SP
133432014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13344 Atsushi Onoe <atsushi@onoe.org>
13345
13346 [BZ #14308]
13347 [BZ #12994]
13348 [BZ #13651]
13349 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13350 one response is valid.
13351 * resolv/res_send.c (send_dg): Check for validity of other
13352 response if the current response is a referral.
13353
a28a9b94
SE
133542014-04-29 Steve Ellcey <sellcey@mips.com>
13355
13356 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13357
2ca180e9
SL
133582014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13359
13360 [BZ #16823]
13361 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13362 Always divide by positive zero when computing -Inf result.
13363 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13364 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13365
18f2945a
AZ
133662014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13367
13368 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13369 FPSCR if value do not change.
13370 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13371 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13372 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13373 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13374 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13375 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13376 function.
13377
5abebba4
CD
133782014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13379
13380 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13381 * sysdeps/unix/sysv/linux/hppa: Move directory from
13382 ports/systeps/unix/sysv/linux/hppa.
13383 * README: Update listing for hppa-*-linux-gnu.
13384
f7ed60c2
OB
133852014-04-28 Ondřej Bílka <neleai@seznam.cz>
13386
fff763a5
OB
13387 [BZ #16754]
13388 * manual/stdio.texi (Hook functions): Fix types of stream hook
13389 functions.
f7ed60c2
OB
13390 [BZ #16854]
13391 * socket/sys/socket.h: Fix typo in comment.
13392
df639d73
WD
133932014-04-28 Wilco <wdijkstr@arm.com>
13394
f7ed60c2 13395 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
13396 * sysdeps/arm/math_private.h: New file.
13397 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13398
48332d82
L
133992014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13400
13401 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13402 with __int128_t.
13403 (La_x86_64_retval): Likewise.
13404
e5e0d9a4
IB
134052014-04-24 Ian Bolton <ian.bolton@arm.com>
13406
13407 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13408 fpsr if value didn't change.
13409 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13410 to fpcr if value didn't change.
13411 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13412 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13413 fpsr or fpcr if value didn't change.
13414 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13415 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13416 fpcr if value didn't change.
13417 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13418 to fpsr if value didn't change.
13419
bacc75f7
SP
134202014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13421
13422 * nptl/tst-sem3.c: Use test-skeleton.c
13423 (main): Rename to do_test. Use return instead of
13424 exit.
13425 * nptl/tst-sem4.c: Use test-skeleton.c
13426 (main): Rename to do_test.
13427
a059d359
DM
134282014-04-22 David S. Miller <davem@davemloft.net>
13429
13430 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13431 (struct sigaction): New struct member __glibc_reserved0, change
13432 type of sa_flags to int.
13433
ea6c92f3
YZ
134342014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13435
13436 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13437 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13438
766c4a36
SP
134392014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13440
13441 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13442 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13443
140cc7ab
VK
134442014-04-22 Will Newton <will.newton@linaro.org>
13445 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13446
13447 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13448 (__longjmp): Add longjmp and longjmp_target SystemTap
13449 probes.
13450 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13451 (__sigsetjmp): Add setjmp SystemTap probe.
13452
c54e5cf7
CD
134532014-04-17 Carlos O'Donell <carlos@redhat.com>
13454
13455 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13456 match manual order.
13457
75ffb047
AZ
134582014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13459
13460 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13461
2cd925f7
AZ
13462 * sysdeps/powerpc/fpu/fenv_private.h
13463 (libc_feholdexcept_setroundl_ctx): Define to
13464 libc_feholdexcept_setround_ppc_ctx.
13465 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13466 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13467 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13468 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13469
39e6cd8d
IB
134702014-04-17 Ian Bolton <ian.bolton@arm.com>
13471
13472 * sysdeps/aarch64/math-tests.h: New file.
13473
f9281df9
SY
134742014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13475
13476 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13477 New.
13478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13479 Check and set bit_AVX2_Usable.
13480 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13481 macro.
13482 (bit_AVX2): Likewise.
13483 (index_AVX2_Usable): Likewise.
13484 (CPUID_AVX2): Likewise.
13485 (HAS_AVX2): Likewise.
13486
37d35007
WN
134872014-04-17 Will Newton <will.newton@linaro.org>
13488
7c677662
WN
13489 * manual/setjmp.texi (System V contexts): Add note that
13490 calling setcontext on a context created by a call to a
13491 signal handler is undefined. Update text to note that
13492 setcontext from a signal handler is possible but not
13493 recommended.
13494
37d35007 13495 [BZ #16629]
e04a4e9d
WN
13496 * stdlib/tst-setcontext.c: Include signal.h.
13497 (main): Check that the signal stack before and
13498 after swapcontext is the same.
13499
37d35007
WN
13500 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13501 Re-implement to restore registers in user code and avoid
13502 rt_sigreturn system call.
13503
423a7160
W
135042014-04-17 Wilco <wdijkstr@arm.com>
13505
13506 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13507 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13508 * math/test-fenv.c: Skip exception trap tests on targets which only
13509 support non-stop mode.
13510
bc93ab29
IB
135112014-04-17 Ian Bolton <ian.bolton@arm.com>
13512 Wilco Dijkstra <wilco.dijkstra@arm.com>
13513
13514 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13515 (libc_feholdsetround_aarch64_ctx)
13516 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13517 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13518 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13519 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13520 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13521 (libc_feresetround_noexl_ctx): Define.
13522
95fc5fa3
RH
135232014-04-16 Richard Henderson <rth@redhat.com>
13524
ddb04724
RH
13525 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13526
d77c0899
RH
13527 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13528 unwind tables.
13529
a3df56fc
RH
13530 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13531 const from the non-libc, non-ldso copy.
13532
95fc5fa3
RH
13533 * sysdeps/alpha/libm-test-ulps: Regenerate.
13534
7e0b6763
IB
135352014-04-16 Ian Bolton <ian.bolton@arm.com>
13536 Wilco Dijkstra <wilco.dijkstra@arm.com>
13537
13538 * sysdeps/aarch64/fpu/math_private.h: New file.
13539
a9ea2e0c
MS
135402014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13541
13542 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13543
ea8ba7cd
IZ
135442014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13545
7e54fd04 13546 [BZ #16275]
ea8ba7cd
IZ
13547 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13548 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13549 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13550 Intel MPX bound registers before _dl_profile_fixup.
13551 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13552 registers after _dl_profile_fixup. Save and restore bound
13553 registers bnd0/bnd1 when calling _dl_call_pltexit.
13554 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13555 (LR_BND_OFFSET): Likewise.
13556 (LRV_BND0_OFFSET): Likewise.
13557 (LRV_BND1_OFFSET): Likewise.
13558
9f2a4fbc
ST
135592014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13560
13561 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13562 to...
13563 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
13564 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13565 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13566 fields.
9f2a4fbc 13567
fd15a59b
ST
135682014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13569
13570 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13571
f19dfa0a
SL
135722014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13573
13574 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13575
4fa8bc3b
SL
135762014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13577
13578 [BZ #14770]
13579 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13580 * sysdeps/s390/configure: Regenerate.
13581
8ea587db
SL
13582 [BZ #16824]
13583 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13584 Set round-to-nearest internally to reduce error accumulation.
13585
aa5f0ff1
AM
135862014-04-16 Alan Modra <amodra@gmail.com>
13587
13588 [BZ #16740]
13589 [BZ #16619]
13590 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13591 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 13592 * NEWS: Update fixed bug list.
aa5f0ff1 13593
bb9c256f
SP
135942014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13595
13596 * benchtests/Makefile: Depend on libraries in build directory.
13597 (bench-math): Separate out math tests.
13598 (bench-pthread): Separate out pthread tests.
13599 (bench): Include math and pthread tests.
13600
f737dfd0
CD
136012014-04-14 Carlos O'Donell <carlos@redhat.com>
13602
13603 [BZ #16831]
13604 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13605 _dl_debug_initialize.
13606
0699f766
CD
13607 * configure.ac: Remove SELinux header check.
13608 * configure: Regenerate.
13609 * nscd/selinux.c (perms): Array of const char* to permission names.
13610 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13611 default policy. Call string_to_security_class and string_to_av_perm to
13612 translate strings. Enforce default policy and call avs_has_perm with
13613 results of translated strings.
13614
809bd45f
DM
136152014-04-13 David S. Miller <davem@davemloft.net>
13616
13617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13618
89e691f2
AM
136192014-04-12 Allan McRae <allan@archlinux.org>
13620
13621 [BZ #16838]
13622 * manual/string.texi (Collation Functions): Fix qsort argument
13623 order in example.
13624 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13625
9c9daaeb
CM
136262014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13627
13628 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13629 Make the test a no-op if there are no exceptions defined.
13630
95561fb9
PP
136312014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13632
fe8d072c 13633 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
13634 enable-hardcoded-path-in-tests
13635
970c602a
WN
136362014-04-11 Will Newton <will.newton@linaro.org>
13637
13638 * benchtests/Makefile (extra-objs): Add json-lib.o.
13639 (bench-func): Tidy up JSON output.
13640 * benchtests/bench-skeleton.c: Include json-lib.h.
13641 (main): Use JSON library functions to do output of
13642 benchmark results.
13643 * benchtests/bench-timing-type.c (main): Output the
13644 timing type simply, leaving formatting to the user.
13645 * benchtests/json-lib.c: New file.
13646 * benchtests/json-lib.h: Likewise.
13647
36875b06
TR
136482014-04-11 Torvald Riegel <triegel@redhat.com>
13649
13650 [BZ #15215]
13651 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13652 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13653 memory barriers. Add comments.
13654 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13655 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13656 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13657 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13658 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13659 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13660
579db35a
SL
136612014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13662
13663 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13664 * sysdeps/s390/s390-64/configure.ac: ... this ...
13665 * sysdeps/s390/configure.ac: ... to here.
13666 * sysdeps/s390/s390-32/configure: Delete file.
13667 * sysdeps/s390/s390-64/configure: Delete file.
13668 * sysdeps/s390/configure: Regenerate.
13669
c12e9f37
JAPH
136702014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13671
13672 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13673
439bda32
WN
136742014-04-11 Will Newton <will.newton@linaro.org>
13675
13676 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13677 to zero if it is not defined elsewhere. (mtrim): Test
13678 the value of MALLOC_DEBUG with #if rather than #ifdef.
13679
6a5d6ea1
TR
136802014-04-10 Torvald Riegel <triegel@redhat.com>
13681
13682 * benchtests/pthread_once-inputs: New file.
13683 * benchtests/pthread_once-source.c: New file.
13684 * benchtests/README: Update documentation.
13685
a4c75cfd
IZ
136862014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13687 H.J. Lu <hongjiu.lu@intel.com>
13688
7e54fd04 13689 [BZ #16275]
a4c75cfd
IZ
13690 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13691 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13692 * sysdeps/x86_64/configure: Regenerated.
13693 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13694 macro.
13695 (REGISTER_SAVE_RAX): Likewise.
13696 (REGISTER_SAVE_RCX): Likewise.
13697 (REGISTER_SAVE_RDX): Likewise.
13698 (REGISTER_SAVE_RSI): Likewise.
13699 (REGISTER_SAVE_RDI): Likewise.
13700 (REGISTER_SAVE_R8): Likewise.
13701 (REGISTER_SAVE_R9): Likewise.
13702 (REGISTER_SAVE_BND0): Likewise.
13703 (REGISTER_SAVE_BND1): Likewise.
13704 (REGISTER_SAVE_BND2): Likewise.
13705 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13706 bound registers when calling _dl_fixup.
13707
27822ce6
AZ
137082014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13709
13710 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
13711 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13712 of its definition.
27822ce6
AZ
13713 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13714 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13715 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13716 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13717 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13718 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13719 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13720
a88ddc90
PTB
137212014-04-09 Peter Brett <peter@peter-b.co.uk>
13722
13723 [BZ #15514]
13724 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13725 pathconf(_PC_NAME_MAX).
13726
01f8eac2
AZ
137272014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13728
13729 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13730 Remove macro usage.
13731 (__PTHREAD_SPINS): Move definition to ...
13732 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13733 (__PTHREAD_SPINS): ... here.
13734 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13735 (__PTHREAD_SPIN): Likewise.
13736 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13737 (__PTHREAD_SPIN): Likewise.
13738 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13739 (__PTHREAD_SPIN): Likewise.
13740 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13741 (__PTHREAD_SPIN): Likewise.
13742 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13743 (__PTHREAD_SPIN): Likewise.
13744 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13745 (__PTHREAD_SPIN): Likewise.
13746 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13747 (__PTHREAD_SPIN): Likewise.
13748 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13749 (__PTHREAD_SPIN): Likewise.
13750 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13751 (__PTHREAD_SPIN): Likewise.
13752 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13753 (__PTHREAD_SPIN): Likewise.
13754 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13755 (__PTHREAD_SPIN): Likewise.
13756 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13757 (__PTHREAD_SPIN): Likewise.
13758
de21c33c
AZ
13759 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13760 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13761 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13762 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13763 imply folder.
13764 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13765 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13766 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13767 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13768 correct imply path.
13769 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13770 strlen symbol for non multi-arch builds.
13771 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13772 missing hidden_def and weak_alias.
13773
862c472e
CD
137742014-04-08 Carlos O'Donell <carlos@redhat.com>
13775
13776 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13777
8667f90e
WN
137782014-04-07 Will Newton <will.newton@linaro.org>
13779
13780 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13781 and contents. [!_LIBC] Remove #ifndef and contents.
13782 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13783 * string/memccpy.c (__memccpy): Use ANSI prototype.
13784 * string/memfrob.c (memfrob): Likewise.
13785 * string/strcoll.c (STRCOLL): Likewise.
13786 * string/strlen.c (strlen): Likewise.
13787 * string/strtok.c (STRTOK): Likewise.
13788 * string/strcat.c: Remove unused #include of memcopy.h.
13789 (strcat): Use ANSI prototype.
13790 * string/strchr.c: Remove unused #include of memcopy.h.
13791 (strchr): Use ANSI prototype.
13792 * string/strcmp.c: Remove unused #include of memcopy.h.
13793 (strcmp): Use ANSI prototype.
13794 * string/strcpy.c: Remove unused #include of memcopy.h.
13795 (strcpy): Use ANSI prototype.
13796
7ffa9423
AZ
137972014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13798
13799 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13800 * config.make.in (config-extra-cppflags): Set it from
13801 libc_extra_cppflags.
13802 * configure.ac (libc_extra_cflags): Make it accumulate over
13803 configure fragments.
13804 (libc_extra_cppflags): New flag.
13805 * configure. Regenerate.
13806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
13807 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13808 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
13809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13810
8bd70862
AZ
13811 [BZ #16815]
13812 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13813 result for FE_DOWNWARD rounding mode.
13814 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13815 Likewise.
13816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13817
d42f3448
CM
138182014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13819
13820 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13821 in function argument name.
13822
1c21d115
DS
138232014-04-03 David Svoboda <svoboda@cert.org>
13824
13825 [BZ #5666]
13826 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13827 explicitly.
13828
fcccd512
RM
138292014-04-03 Roland McGrath <roland@hack.frob.com>
13830
13831 * elf/dl-unmap-segments.h: New file.
13832 * sysdeps/generic/ldsodefs.h
13833 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13834 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13835 * elf/dl-fptr.c: Likewise.
13836 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13837 * sysdeps/aarch64/tlsdesc.c: Likewise.
13838 * sysdeps/arm/tlsdesc.c: Likewise.
13839 * sysdeps/i386/tlsdesc.c: Likewise.
13840 * sysdeps/tile/dl-runtime.c: Likewise.
13841 * sysdeps/x86_64/tlsdesc.c: Likewise.
13842 * elf/dl-load.h: New file.
13843 * elf/dl-load.c: Include it.
13844 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13845 Macros moved to dl-load.h.
13846 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13847 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13848 Use _dl_unmap_segments in place of __munmap.
13849 Break out segment-mapping loop into ...
13850 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13851
f6488e2b
WN
138522014-04-03 Will Newton <will.newton@linaro.org>
13853
13854 * elf/dl-lookup.c (do_lookup_x): Remove comment
13855 referring to nested function and move variable
13856 declarations down to before first use.
13857
6f05bafe
JM
138582014-04-02 Joseph Myers <joseph@codesourcery.com>
13859
a84e78c8
JM
13860 [BZ #16799]
13861 [BZ #16800]
13862 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13863 with 0 numerator.
13864 * math/s_catanf.c (__catanf): Likewise.
13865 * math/s_catanh.c (__catanh): Likewise.
13866 * math/s_catanhf.c (__catanhf): Likewise.
13867 * math/s_catanhl.c (__catanhl): Likewise.
13868 * math/s_catanl.c (__catanl): Likewise.
13869 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13870 by positive zero when computing -Inf result.
13871 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13872 (catanh_test): Likewise.
13873 * sysdeps/i386/fpu/libm-test-ulps: Update.
13874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13875
6f05bafe
JM
13876 [BZ #16789]
13877 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13878 instead of using underflowing value in computing result.
13879 * math/s_clog10.c (__clog10): Likewise.
13880 * math/s_clog10f.c (__clog10f): Likewise.
13881 * math/s_clog10l.c (__clog10l): Likewise.
13882 * math/s_clogf.c (__clogf): Likewise.
13883 * math/s_clogl.c (__clogl): Likewise.
13884 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13885 (clog10_test): Likewise.
13886 * sysdeps/i386/fpu/libm-test-ulps: Update.
13887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13888
b0abbc21
AM
138892014-04-02 Alan Modra <amodra@gmail.com>
13890
13891 [BZ #16739]
13892 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13893 output when value is near a power of two. Use int64_t for lx and
13894 remove casts. Use decimal rather than hex exponent constants.
13895 Don't use long double multiplication when double will suffice.
13896 * math/libm-test.inc (nextafter_test_data): Add tests.
13897 * NEWS: Add 16739 and 16786 to bug list.
13898
af6b1797
AM
13899 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13900
483818d7
AM
13901 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13902
f6c55796
WN
139032014-04-01 Will Newton <will.newton@linaro.org>
13904
13905 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13906 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
13907
13f7fe35
FW
139082014-04-01 Florian Weimer <fweimer@redhat.com>
13909
13910 [BZ #13347]
13911 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13912 * nptl/tst-setuid2.c: New file.
13913 * nptl/Makefile (xtests): Add tst-setuid2.
13914
c859b32e
AM
139152014-04-01 Alan Modra <amodra@gmail.com>
13916
13917 [BZ #16786]
13918 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13919
54fa2475
JM
139202014-03-31 Joseph Myers <joseph@codesourcery.com>
13921
8795b4a4
JM
13922 [BZ #6803]
13923 [BZ #6804]
13924 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13925 set errno as appropriate.
13926 * math/w_scalbf.c (__scalbf): Likewise.
13927 * math/w_scalbl.c (__scalbl): Likewise.
13928 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13929 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13930 * math/libm-test.inc (scalb_test_data): Add errno expectations.
13931 Add more NaN tests.
13932
54fa2475
JM
13933 [BZ #16349]
13934 * math/w_atan2.c: Include <errno.h>.
13935 (__atan2): Set errno for result underflowing to zero.
13936 * math/w_atan2f.c: Include <errno.h>.
13937 (__atan2f): Set errno for result underflowing to zero.
13938 * math/w_atan2l.c: Include <errno.h>.
13939 (__atan2l): Set errno for result underflowing to zero.
13940 * math/auto-libm-test-in: Don't allow missing errno for some atan2
13941 tests.
13942 * math/auto-libm-test-out: Regenerated.
13943
757d9dd5
AZ
139442014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13945
13946 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13947 Encode instruction correctly in little endian.
13948 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13949 Likewise.
13950 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13951 Likewise.
13952 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13953 Likewise.
13954 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13955 Likewise.
13956
d7a68734
JM
139572014-03-31 Joseph Myers <joseph@codesourcery.com>
13958
47c5adeb
JM
13959 [BZ #9894]
13960 * sysdeps/unix/sysv/linux/kernel-features.h
13961 [__sparc__ && !__arch64__ && !__sparc_v9__]
13962 (__ASSUME_SET_ROBUST_LIST): Do not define.
13963 [__sparc__ && !__arch64__ && !__sparc_v9__]
13964 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13965 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13966 Likewise.
13967 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13968 (__ASSUME_FUTEX_LOCK_PI): Undefine.
13969 (__ASSUME_REQUEUE_PI): Likewise.
13970 (__ASSUME_SET_ROBUST_LIST): Likewise.
13971 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13972 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13973 Undefine.
13974 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13975 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13976 Likewise.
13977 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13978 Likewise.
13979 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13980 Likewise.
13981 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13982 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13983 Undefine.
13984 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13985 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13986 Likewise.
13987
d7a68734
JM
13988 [BZ #16648]
13989 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13990 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13991 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13992
c760f5c2
WN
139932014-03-31 Will Newton <will.newton@linaro.org>
13994
13995 * benchtests/Makefile (bench): Add ffs and ffsll to list
13996 of tests.
13997 * benchtests/ffs-inputs: New file.
13998 * benchtests/ffsll-inputs: Likewise.
13999
ea6029b1
JM
140002014-03-29 Joseph Myers <joseph@codesourcery.com>
14001
14002 [BZ #16770]
14003 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14004 too large before casting to int.
14005 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14006 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14007 * math/libm-test.inc (scalb_test_data): Add more tests.
14008
cf806aff
SP
140092014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14010
56737508
SP
14011 * benchtests/Makefile (DETAILED_OPT): New make option.
14012 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14013 set.
14014 * benchtests/bench-skeleton.c: Include stdbool.h.
14015 (main): Store and print timings per input.
14016 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14017 member to each argument value.
14018 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14019 (_print_arg_data): Initialize per-input timing to 0.
14020
cb5e4aad
SP
14021 * benchtests/Makefile (timing-type): New binary.
14022 (bench-clean): Also remove bench-timing-type.
14023 (bench): New target for timing-type.
14024 (bench-func): Print output in JSON format.
14025 * benchtests/bench-skeleton.c (main): Print output in JSON
14026 format.
14027 * benchtests/bench-timing-type.c: New file.
14028 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14029 (TIMING_PRINT_STATS): Remove.
14030 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14031 name separately.
14032
cf806aff
SP
14033 * benchtests/bench-modf.c: Remove.
14034 * benchtests/modf-inputs: New inputs file.
14035
289e0779
JM
140362014-03-28 Joseph Myers <joseph@codesourcery.com>
14037
14038 [BZ #16362]
14039 * math/s_clog10.c (M_PI_LOG10E): New macro.
14040 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14041 imaginary parts are 0.
14042 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14043 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14044 imaginary parts are 0.
14045 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14046 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14047 imaginary parts are 0.
14048 * math/libm-test.inc (clog10_test_data): Update expected results
14049 for when real and imaginary parts are 0.
14050
277ae3f1
PP
140512014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14052
14053 * elf/dl-load.c: Finish conversion of __builtin_expect into
14054 __glibc_{un}likely.
14055
03a7091f
JM
140562014-03-27 Joseph Myers <joseph@codesourcery.com>
14057
14058 [BZ #16348]
14059 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14060 1+x for argument with exponent below -67.
14061 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14062 Likewise.
14063 * math/auto-libm-test-in: Add more tests of exp.
14064 * math/auto-libm-test-out: Regenerated.
14065
ea7d8b95
SP
140662014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14067
dd3022d7
SP
14068 [BZ #16759]
14069 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14070 (nscd_getnetgrent): Use it.
14071
ea7d8b95
SP
14072 [BZ #16760]
14073 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14074 of stpcpy.
14075
df5b85da
AK
140762014-03-27 Andi Kleen <ak@linux.intel.com>
14077
57f41c40
AS
14078 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14079 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14080 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14081 (lll_robust_unlock): Remove out of line section. Use cfi
14082 intrinsics.
df5b85da 14083 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
14084 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14085 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14086 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14087 (lll_robust_unlock): Remove out of line section. Use cfi
14088 intrinsics.
df5b85da
AK
14089 (LLL_STUB_UNWIND_INFO*): Remove.
14090
fbd6b5a4
SP
140912014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14092
14093 [BZ #16758]
14094 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14095 blank values.
14096
1b26b855
PP
140972014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14098
14099 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14100
9be36fb8
JM
141012014-03-26 Joseph Myers <joseph@codesourcery.com>
14102
14103 [BZ #16198]
14104 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14105 fnstenv.
14106 * math/test-fenv-preserve.c: New file.
14107 * math/Makefile (tests): Add test-fenv-preserve.
14108
60a2f3c1
WN
141092014-03-26 Will Newton <will.newton@linaro.org>
14110
14111 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14112
a5e5f1e2
RM
141132014-03-25 Roland McGrath <roland@hack.frob.com>
14114
14115 * scripts/versionlist.awk: Partition the version sets and emit all
14116 GLIBC_* (sorted) before all others (sorted).
14117
00f4012a
JM
141182014-03-25 Joseph Myers <joseph@codesourcery.com>
14119
14120 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14121 GLIBC_2.2.5 version.
14122
7bc5a741
AZ
141232014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14124
14125 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14126 calls.
14127
7578473b
AZ
14128 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14129 previous change.
14130
f3f1dab3
AZ
14131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14132
6da36183
AS
141332014-03-25 Andreas Schwab <schwab@suse.de>
14134
14135 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14136 label to be used after in6ailist is initialized.
14137
f3f1dab3 141382014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 14139
7578473b 14140 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
14141 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14142
046651c1
JM
141432014-03-25 Joseph Myers <joseph@codesourcery.com>
14144
14145 [BZ #16357]
14146 [BZ #16599]
14147 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14148 min_plus_half.
14149 (fp_formats): Update initializers.
14150 (init_fp_formats): Initialize new field.
14151 (output_for_one_input_case): Allow underflow for results up to
14152 min_plus_half.
14153 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14154 * math/auto-libm-test-in: Don't mark some underflows from asin and
14155 atanh as spurious.
14156 * math/auto-libm-test-out: Regenerated.
14157 * sysdeps/i386/fpu/libm-test-ulps: Update.
14158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14159
003e49ed
AS
141602014-03-25 Andreas Schwab <schwab@suse.de>
14161
14162 * libio/Makefile (tst-ftell-partial-wide-ENV)
14163 (tst-ftell-active-handler-ENV): Define.
14164
de031874
SL
141652014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14166
14167 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14168
55a81e3b
PP
141692014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14170
14171 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14172
f3426898
JM
141732014-03-24 Joseph Myers <joseph@codesourcery.com>
14174
14175 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14176 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14177 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14178
a42faf59
PP
141792014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14180
14181 [BZ #16634]
a42faf59 14182 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
14183 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14184 (open_path): Change from boolean 'secure' to complete flag 'mode'
14185 (_dl_map_object): Adjust.
a42faf59
PP
14186 * elf/Makefile (tests): Add tst-dlopen-aout.
14187 * elf/tst-dlopen-aout.c: New test.
14188
50936127
SL
141892014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14190
14191 [BZ #16714]
14192 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14193 (struct stat): Rename member pad0 to __glibc_reserved0.
14194
26011b5c
SL
14195 [BZ #16712]
14196 * sysdeps/s390/s390-32/bits/wordsize.h
14197 (__WORDSIZE32_SIZE_ULONG): New define.
14198 * sysdeps/s390/s390-64/bits/wordsize.h
14199 (__WORDSIZE32_SIZE_ULONG): Likewise.
14200 * sysdeps/generic/stdint.h (SIZE_MAX):
14201 Define as UL if __WORDSIZE32_SIZE_ULONG.
14202
a2d86bf1
SL
14203 [BZ #16713]
14204 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14205 (__glibc_reserved0): New variable.
14206 (sa_flags): Change type to int.
14207
78b6eebc
SL
14208 * posix/Makefile (before-compile): Use += before-compile instead
14209 of a :=.
14210
f1399b5a
SL
14211 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14212 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14213
a071766e
AS
142142014-03-20 Andreas Schwab <schwab@suse.de>
14215
14216 [BZ #16743]
14217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14218 non-matching result from nscd.
14219
27c673b8
SP
142202014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14221
14222 * scripts/bench.py: Moved to ...
14223 * benchtests/scripts/bench.py: ... here.
14224 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14225
44152e4b
AS
142262014-03-24 Andreas Schwab <schwab@suse.de>
14227
14228 [BZ #16002]
14229 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14230 alloca_account and account alloca use for struct in6ailist.
14231
b376a11a
JM
142322014-03-24 Joseph Myers <joseph@codesourcery.com>
14233
14234 [BZ #16284]
14235 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14236 rounding mode to recompute results that overflow to infinity or
14237 underflow to zero.
14238 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14239 bug 16284.
14240 * math/auto-libm-test-out: Regenerated.
14241 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14242 (ccosh_test): Likewise.
14243 (csin_test_data): Use plus_oflow.
14244 (csin_test): Use ALL_RM_TEST.
14245 (csinh_test_data): Use plus_oflow.
14246 (csinh_test): Use ALL_RM_TEST.
14247 * sysdeps/i386/fpu/libm-test-ulps: Update.
14248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14249
f7be7376
JM
142502014-03-21 Joseph Myers <joseph@codesourcery.com>
14251
1ca2d03e
JM
14252 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14253 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14254 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14255
f7be7376
JM
14256 [BZ #16731]
14257 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14258 when x - 1 is zero.
14259 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14260 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14261 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14262 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14263 argument is 1.
14264 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14265 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14266 zero.
14267 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14268 * sysdeps/i386/fpu/libm-test-ulps: Update.
14269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14270
fdf4534d
SP
142712014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14272
df26ea53
SP
14273 * scripts/bench.pl: Remove file.
14274 * scripts/bench.py: New benchmark script.
14275 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14276 * benchtests/README: Mention python dependency.
14277 * scripts/pylintrc: New file.
14278 * scripts/pylint: New file.
14279
fdf4534d
SP
14280 * bits/mathdef.h: Use #ifdef instead of #if.
14281 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14282 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14283 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14284 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14285 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14286 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14287
6f23d093
AZ
142882014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14289 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14290
14291 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14293 and strpbrk-ppc64 objects.
14294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14295 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14296 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14297 multiarch strpbrk for POWER7.
14298 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14299 multiarch strpbrk for PPC64.
14300 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14301 ifunc selector.
14302 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14303 strpbrk for POWER7.
14304
8c92dfff
JM
143052014-03-20 Joseph Myers <joseph@codesourcery.com>
14306
14307 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14308 (atan_test): Likewise.
14309 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14310 (atanh_test): Use ALL_RM_TEST.
14311 (atan2_test_data): Likewise.
14312 (cabs_test): Likewise.
14313 (cacosh_test): Likewise.
14314 (carg_test): Likewise.
14315 (casin_test): Likewise.
14316 (casinh_test): Likewise.
14317 (cbrt_test): Likewise.
14318 (csqrt_test): Likewise.
14319 (erf_test): Likewise.
14320 (erfc_test): Likewise.
14321 (pow10_test): Likewise.
14322 (exp2_test): Likewise.
14323 (hypot_test): Likewise.
14324 (j0_test): Likewise.
14325 (j1_test): Likewise.
14326 (lgamma_test): Likewise.
14327 (gamma_test): Likewise.
14328 (sincos_test): Likewise.
14329 (tanh_test): Likewise.
14330 (y0_test): Likewise.
14331 (y1_test): Likewise.
14332 * sysdeps/i386/fpu/libm-test-ulps: Update.
14333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14334
6eaf95cb
AZ
143352014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14336
a387428c
SP
14337 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
14339 and strcspn-ppc64 objects.
14340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14341 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14342 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14343 multiarch strcspn for POWER7.
14344 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14345 multiarch strcspn for PPC64.
14346 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14347 ifunc selector.
14348 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14349 strcspn for POWER7.
14350
ae3a5dff
JM
143512014-03-20 Joseph Myers <joseph@codesourcery.com>
14352
14353 * math/gen-libm-test.pl (generate_testfile): Expect only function
14354 name as argument to AUTO_TESTS_* and pass results for all rounding
14355 modes to parse_args.
14356 (parse_auto_input): Separate inputs of automatic tests from
14357 outputs before storing in %auto_tests.
14358 * math/libm-test.inc (acos_test_data): Update call to
14359 AUTO_TESTS_f_f.
14360 (acos_test): Use ALL_RM_TEST.
14361 (acos_tonearest_test_data): Remove.
14362 (acos_test_tonearest): Likewise.
14363 (acos_towardzero_test_data): Likewise.
14364 (acos_test_towardzero): Likewise.
14365 (acos_downward_test_data): Likewise.
14366 (acos_test_downward): Likewise.
14367 (acos_upward_test_data): Likewise.
14368 (acos_test_upward): Likewise.
14369 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14370 (asin_test_data): Likewise.
14371 (asin_test): Use ALL_RM_TEST.
14372 (asin_tonearest_test_data): Remove.
14373 (asin_test_tonearest): Likewise.
14374 (asin_towardzero_test_data): Likewise.
14375 (asin_test_towardzero): Likewise.
14376 (asin_downward_test_data): Likewise.
14377 (asin_test_downward): Likewise.
14378 (asin_upward_test_data): Likewise.
14379 (asin_test_upward): Likewise.
14380 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14381 (atan_test_data): Likewise.
14382 (atanh_test_data): Likewise.
14383 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14384 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14385 (carg_test_data): Likewise.
14386 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14387 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14388 (ccosh_test_data): Likewise.
14389 (cexp_test_data): Likewise.
14390 (clog_test_data): Likewise.
14391 (clog10_test_data): Likewise.
14392 (cos_test_data): Update call to AUTO_TESTS_f_f.
14393 (cos_test): Use ALL_RM_TEST.
14394 (cos_tonearest_test_data): Remove.
14395 (cos_test_tonearest): Likewise.
14396 (cos_towardzero_test_data): Likewise.
14397 (cos_test_towardzero): Likewise.
14398 (cos_downward_test_data): Likewise.
14399 (cos_test_downward): Likewise.
14400 (cos_upward_test_data): Likewise.
14401 (cos_test_upward): Likewise.
14402 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14403 (cosh_test): Use ALL_RM_TEST.
14404 (cosh_tonearest_test_data): Remove.
14405 (cosh_test_tonearest): Likewise.
14406 (cosh_towardzero_test_data): Likewise.
14407 (cosh_test_towardzero): Likewise.
14408 (cosh_downward_test_data): Likewise.
14409 (cosh_test_downward): Likewise.
14410 (cosh_upward_test_data): Likewise.
14411 (cosh_test_upward): Likewise.
14412 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14413 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14414 (ctan_test_data): Likewise.
14415 (ctan_test): Use ALL_RM_TEST.
14416 (ctan_tonearest_test_data): Remove.
14417 (ctan_test_tonearest): Likewise.
14418 (ctan_towardzero_test_data): Likewise.
14419 (ctan_test_towardzero): Likewise.
14420 (ctan_downward_test_data): Likewise.
14421 (ctan_test_downward): Likewise.
14422 (ctan_upward_test_data): Likewise.
14423 (ctan_test_upward): Likewise.
14424 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14425 (ctanh_test): Use ALL_RM_TEST.
14426 (ctanh_tonearest_test_data): Remove.
14427 (ctanh_test_tonearest): Likewise.
14428 (ctanh_towardzero_test_data): Likewise.
14429 (ctanh_test_towardzero): Likewise.
14430 (ctanh_downward_test_data): Likewise.
14431 (ctanh_test_downward): Likewise.
14432 (ctanh_upward_test_data): Likewise.
14433 (ctanh_test_upward): Likewise.
14434 (erf_test_data): Update call to AUTO_TESTS_f_f.
14435 (erfc_test_data): Likewise.
14436 (exp_test_data): Likewise.
14437 (exp_test): Use ALL_RM_TEST.
14438 (exp_tonearest_test_data): Remove.
14439 (exp_test_tonearest): Likewise.
14440 (exp_towardzero_test_data): Likewise.
14441 (exp_test_towardzero): Likewise.
14442 (exp_downward_test_data): Likewise.
14443 (exp_test_downward): Likewise.
14444 (exp_upward_test_data): Likewise.
14445 (exp_test_upward): Likewise.
14446 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14447 (exp10_test): Use ALL_RM_TEST.
14448 (exp10_tonearest_test_data): Remove.
14449 (exp10_test_tonearest): Likewise.
14450 (exp10_towardzero_test_data): Likewise.
14451 (exp10_test_towardzero): Likewise.
14452 (exp10_downward_test_data): Likewise.
14453 (exp10_test_downward): Likewise.
14454 (exp10_upward_test_data): Likewise.
14455 (exp10_test_upward): Likewise.
14456 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14457 (expm1_test_data): Likewise.
14458 (expm1_test): Use ALL_RM_TEST.
14459 (expm1_tonearest_test_data): Remove.
14460 (expm1_test_tonearest): Likewise.
14461 (expm1_towardzero_test_data): Likewise.
14462 (expm1_test_towardzero): Likewise.
14463 (expm1_downward_test_data): Likewise.
14464 (expm1_test_downward): Likewise.
14465 (expm1_upward_test_data): Likewise.
14466 (expm1_test_upward): Likewise.
14467 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14468 (fma_test): Use ALL_RM_TEST.
14469 (fma_towardzero_test_data): Remove.
14470 (fma_test_towardzero): Likewise.
14471 (fma_downward_test_data): Likewise.
14472 (fma_test_downward): Likewise.
14473 (fma_upward_test_data): Likewise.
14474 (fma_test_upward): Likewise.
14475 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14476 (j0_test_data): Update call to AUTO_TESTS_f_f.
14477 (j1_test_data): Likewise.
14478 (jn_test_data): Update call to AUTO_TESTS_if_f.
14479 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14480 (log_test_data): Update call to AUTO_TESTS_f_f.
14481 (log10_test_data): Likewise.
14482 (log1p_test_data): Likewise.
14483 (log2_test_data): Likewise.
14484 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14485 (pow_tonearest_test_data): Likewise.
14486 (sin_test_data): Update call to AUTO_TESTS_f_f.
14487 (sin_test): Use ALL_RM_TEST.
14488 (sin_tonearest_test_data): Remove.
14489 (sin_test_tonearest): Likewise.
14490 (sin_towardzero_test_data): Likewise.
14491 (sin_test_towardzero): Likewise.
14492 (sin_downward_test_data): Likewise.
14493 (sin_test_downward): Likewise.
14494 (sin_upward_test_data): Likewise.
14495 (sin_test_upward): Likewise.
14496 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14497 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14498 (sinh_test): Use ALL_RM_TEST.
14499 (sinh_tonearest_test_data): Remove.
14500 (sinh_test_tonearest): Likewise.
14501 (sinh_towardzero_test_data): Likewise.
14502 (sinh_test_towardzero): Likewise.
14503 (sinh_downward_test_data): Likewise.
14504 (sinh_test_downward): Likewise.
14505 (sinh_upward_test_data): Likewise.
14506 (sinh_test_upward): Likewise.
14507 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14508 (sqrt_test): Use ALL_RM_TEST.
14509 (sqrt_tonearest_test_data): Remove.
14510 (sqrt_test_tonearest): Likewise.
14511 (sqrt_towardzero_test_data): Likewise.
14512 (sqrt_test_towardzero): Likewise.
14513 (sqrt_downward_test_data): Likewise.
14514 (sqrt_test_downward): Likewise.
14515 (sqrt_upward_test_data): Likewise.
14516 (sqrt_test_upward): Likewise.
14517 (tan_test_data): Update call to AUTO_TESTS_f_f.
14518 (tan_test): Use ALL_RM_TEST.
14519 (tan_tonearest_test_data): Remove.
14520 (tan_test_tonearest): Likewise.
14521 (tan_towardzero_test_data): Likewise.
14522 (tan_test_towardzero): Likewise.
14523 (tan_downward_test_data): Likewise.
14524 (tan_test_downward): Likewise.
14525 (tan_upward_test_data): Likewise.
14526 (tan_test_upward): Likewise.
14527 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14528 (tgamma_test_data): Likewise.
14529 (y0_test_data): Likewise.
14530 (y1_test_data): Likewise.
14531 (yn_test_data): Update call to AUTO_TESTS_if_f.
14532 (main): Do not call removed functions.
14533
d71aeee8
JM
145342014-03-19 Joseph Myers <joseph@codesourcery.com>
14535
14536 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14537 (ldexp_test_data): Remove.
14538 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14539 scalbn_test_data.
14540 (scalb_test): Use ALL_RM_TEST.
14541
baaf1ded
AS
145422014-03-19 Andreas Schwab <schwab@suse.de>
14543
14544 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14545
b1115e91
JM
145462014-03-19 Joseph Myers <joseph@codesourcery.com>
14547
14548 [BZ #16649]
14549 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14550 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14551 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14552 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14553 (__ASSUME_PREADV): Undefine.
14554 (__ASSUME_PWRITEV): Likewise.
14555
0283ecca
RM
145562014-03-18 Roland McGrath <roland@hack.frob.com>
14557
7d375303
RM
14558 * bits/mman-linux.h: Add comment about non-Linux use.
14559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14560 bits/mman-linux.h resting place.
14561
0283ecca
RM
14562 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14563 * bits/mman-linux.h: ... here.
14564
aebe1003
AZ
145652014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14566
14567 * conform/conformtest.pl: Add standard definition when calling C
14568 preprocessor on data files.
14569 (checknamespace): Remove unused variable.
14570
b29b6bb8
JM
145712014-03-18 Joseph Myers <joseph@codesourcery.com>
14572
14573 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14574 minus_oflow, plus_uflow and minus_uflow in expected results.
14575 * math/libm-test.inc (scalbn_test_data): Add more tests of
14576 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14577 minus_uflow.
14578 (scalbn_test): Use ALL_RM_TEST.
14579 (scalbln_test_data): Add more tests of negative arguments. Use
14580 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14581 (scalbln_test): Use ALL_RM_TEST.
14582
c8f8fa15
RM
145832014-03-18 Roland McGrath <roland@hack.frob.com>
14584
14585 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14586
fede7a5f
WN
145872014-03-18 Will Newton <will.newton@linaro.org>
14588
14589 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14590 inaccurate comment.
14591
80cf0a58
JM
145922014-03-18 Joseph Myers <joseph@codesourcery.com>
14593
14594 * Makerules [!subdir] (check-abi): Exit with error status if a
14595 test failed.
14596
b3620862
JM
145972014-03-17 Joseph Myers <joseph@codesourcery.com>
14598
14599 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14600 for rint. Include results for all rounding modes.
14601 (nearbyint_test): Use ALL_RM_TEST.
14602 (rint_test_data): Include all tests used for nearbyint.
14603
788bba36
WN
146042014-03-17 Will Newton <will.newton@linaro.org>
14605
04ec140a
WN
14606 * nptl/sysdeps/pthread/pthread.h: Revert previous
14607 change.
14608
7579d8d5
WN
14609 * sysdeps/generic/ldsodefs.h: Revert previous
14610 change.
14611
c15cf13a
WN
14612 * libio/genops.c: Revert previous change.
14613 * libio/libioP.h: Likewise.
14614 * stdio-common/vfprintf.c: Likewise.
14615
d0ac1324
WN
14616 * sysdeps/generic/math_private.h: Revert previous
14617 change.
14618
9290130a
WN
14619 * sysdeps/generic/math_private.h: Check whether
14620 HAVE_RM_CTX is defined with #ifdef rather
14621 than #if.
14622
afb466fc
WN
14623 * argp/argp-fmtstream.h: Check whether
14624 __STRICT_ANSI__ is defined with #ifdef rather
14625 than #if.
14626 * argp/argp.h: Likewise.
14627
f7efd7c3
WN
14628 * libio/genops.c: Check whether
14629 _IO_JUMPS_OFFSET is defined with #ifdef rather
14630 than #if.
14631 * libio/libioP.h: Likewise.
14632 * stdio-common/vfprintf.c: Likewise.
14633
53f1bed3
WN
14634 * sysdeps/generic/ldsodefs.h: Check whether
14635 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14636 than #if.
14637
788bba36
WN
14638 * nptl/sysdeps/pthread/pthread.h: Check
14639 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14640 its value.
14641
fcd89ebe
SP
146422014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14643
ae42bbc5
SP
14644 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14645 setting O_APPEND.
14646 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14647 test case.
14648
ea33158c
SP
14649 [BZ #16680]
14650 * libio/fileops.c (_IO_file_open): Seek to end of file but
14651 don't cache the offset.
14652 (get_file_offset): Remove function.
14653 (do_ftell): Use cached offset when available.
14654 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14655 don't cache the offset.
14656 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14657 case.
14658 (do_one_test): Call it.
14659 (do_ftell_test): Fix up expected old offset for a+ mode.
14660 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14661 available.
14662
b1dbb426
SP
14663 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14664 up test status with function return status.
14665 (do_write_test): Likewise.
14666 (do_append_test): Likewise.
14667
fcd89ebe
SP
14668 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14669 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14670 Remove.
14671
9962a2d3
JM
146722014-03-17 Joseph Myers <joseph@codesourcery.com>
14673
14674 * math/gen-libm-test.pl (parse_args): Handle results specified for
14675 each rounding mode separately.
14676 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14677 tests and results from lrint_tonearest_test_data,
14678 lrint_towardzero_test_data, lrint_downward_test_data and
14679 lrint_upward_test_data.
14680 (lrint_test): Use ALL_RM_TEST.
14681 (lrint_tonearest_test_data): Remove.
14682 (lrint_test_tonearest): Likewise.
14683 (lrint_towardzero_test_data): Likewise.
14684 (lrint_test_towardzero): Likewise.
14685 (lrint_downward_test_data): Likewise.
14686 (lrint_test_downward): Likewise.
14687 (lrint_upward_test_data): Likewise.
14688 (lrint_test_upward): Likewise.
14689 (llrint_test_data): Merge in per-rounding-mode tests and results
14690 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14691 llrint_downward_test_data and llrint_upward_test_data.
14692 (llrint_test): Use ALL_RM_TEST.
14693 (llrint_tonearest_test_data): Remove.
14694 (llrint_test_tonearest): Likewise.
14695 (llrint_towardzero_test_data): Likewise.
14696 (llrint_test_towardzero): Likewise.
14697 (llrint_downward_test_data): Likewise.
14698 (llrint_test_downward): Likewise.
14699 (llrint_upward_test_data): Likewise.
14700 (llrint_test_upward): Likewise.
14701 (rint_test_data): Merge in per-rounding-mode tests and results
14702 from rint_tonearest_test_data, rint_towardzero_test_data,
14703 rint_downward_test_data and rint_upward_test_data. Add
14704 per-rounding-mode results for tests not in those arrays.
14705 (rint_test): Use ALL_RM_TEST.
14706 (rint_tonearest_test_data): Remove.
14707 (rint_test_tonearest): Likewise.
14708 (rint_towardzero_test_data): Likewise.
14709 (rint_test_towardzero): Likewise.
14710 (rint_downward_test_data): Likewise.
14711 (rint_test_downward): Likewise.
14712 (rint_upward_test_data): Likewise.
14713 (rint_test_upward): Likewise.
14714 (main): Don't call removed functions.
14715
5006148e
RM
147162014-03-14 Roland McGrath <roland@hack.frob.com>
14717
14718 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14719 "Compiled on ..." crapola. It is anti-useful.
14720
d6fe5e58
JM
147212014-03-14 Joseph Myers <joseph@codesourcery.com>
14722
14723 * scripts/evaluate-test.sh: Handle fourth argument to determine
14724 whether test run should stop on failure.
14725 * Makeconfig (stop-on-test-failure): New variable.
14726 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14727 $(stop-on-test-failure).
14728 * Makefile (tests): Give a summary of results from testing and
14729 exit with failure status if they include an ERROR or FAIL.
14730 (xtests): Likewise.
14731 * manual/install.texi (Configuring and compiling): Mention
14732 stop-on-test-failure=y.
14733 * INSTALL: Regenerated.
14734
498a2233
RM
147352014-03-14 Roland McGrath <roland@hack.frob.com>
14736
22dbc19d
RM
14737 * scripts/versionlist.awk: New file.
14738 * Makerules [$(build-shared) = yes]
14739 (postclean-generated): Add Versions.def, not Versions.def.v and
14740 Versions.def.v.i.
14741 ($(common-objpfx)Versions.def.v.i): Target removed.
14742 ($(common-objpfx)Versions.def): New target.
14743 ($(common-objpfx)Versions.all): Depend on that rather that
14744 $(common-objpfx)Versions.def.v.
14745 * Versions.def: File removed.
14746
498a2233
RM
14747 * Makeconfig (+gccwarn): Add -Wundef.
14748 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14749 a dl-sysdep.h breaking its contract.
14750 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14751 * include/stackinfo.h: New file.
14752 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14753 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14754 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14755 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14756 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14757 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14758 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14759 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14760 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14761 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14762 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14763 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14764 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14765 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14766 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14767
c7de5025
AZ
147682014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14769
14770 [BZ #16707]
14771 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14772 implementation.
14773 * math/libm-test.inc (round_test_data): Add more tests.
14774
98fb27a3
AZ
14775 [BZ #16706]
14776 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14777 implementation.
14778 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14779
374f7f61
AZ
14780 [BZ #16701]
14781 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14782 implementation.
14783 * math/libm-test.inc (ceil_test_data): Add more tests.
14784
4655c291
AZ
14785 * math/libm-test.inc (trunc_test_data): Add more tests related to
14786 BZ#16414.
14787
d7329d4b
RM
147882014-03-14 Roland McGrath <roland@hack.frob.com>
14789
14790 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14791 with #if rather than #ifdef.
14792 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14793
aa4de9ce
L
147942014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14795
14796 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14797 first. Disable AVX-512 GCC support if assembler doesn't support
14798 it.
14799 * sysdeps/x86_64/configure: Regenerated.
14800
2e03fae7
CD
148012014-03-13 Carlos O'Donell <carlos@redhat.com>
14802
14803 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14804 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14805 (__old_pthread_attr_setstack): Likewise.
14806 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14807 [!_STACK_GROWS_DOWN]: Likewise.
14808
43ca83ec
MF
148092014-03-13 Mike Frysinger <vapier@gentoo.org>
14810
14811 * config.make.in (have-bash2): Delete.
14812 * configure.ac (libc_cv_have_bash2): Delete.
14813 * configure: Regenerate.
14814 * elf/Makefile (common-ldd-rewrite): Rename to ...
14815 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14816 (sh-ldd-rewrite): Delete.
14817 (bash-ldd-rewrite): Delete.
14818 (have-bash2): Delete checks.
57f41c40
AS
14819 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14820 ldd-rewrite.
c66e48b4
MF
14821
14822 * config.make.in (have-ksh): Delete.
14823 (KSH): Delete.
14824 * configure.ac (libc_cv_have_ksh): Delete.
14825 * configure: Regenerate.
14826
b93834ef
MF
14827 * elf/Makefile: Delete $(have-ksh) check.
14828 ($(objpfx)sotruss): Change KSH to BASH.
14829 * elf/sotruss.ksh: Rename to ...
14830 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14831 function style to match POSIX. Drop ksh vim mode setting.
14832
f3a4632a
MF
14833 * manual/time.texi (Specifying the Time Zone with TZ): Change
14834 Tuesday to Thursday.
14835
5896c8bd
MF
14836 * debug/tst-longjmp_chk2.c: Update header comment.
14837 (stackoverflow_handler): Add comment. Call assert on pass value.
14838
2d63a517
IZ
148392014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14840
7e54fd04 14841 [BZ #16194]
2d63a517
IZ
14842 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14843 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14844 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14845 (La_x86_64_vector): Add zmm.
14846 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14847 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14848 ($(objpfx)tst-audit10): New target.
14849 ($(objpfx)tst-audit10.out): Likewise.
14850 (tst-audit10-ENV): New.
14851 (AVX512-CFLAGS): Likewise.
14852 (CFLAGS-tst-audit10.c): Likewise.
14853 (CFLAGS-tst-auditmod10a.c): Likewise.
14854 (CFLAGS-tst-auditmod10b.c): Likewise.
14855 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14856 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14857 * sysdeps/x86_64/configure: Regenerated.
14858 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14859 AVX-512 zmm register support.
14860 (_dl_x86_64_save_sse): Likewise.
14861 (_dl_x86_64_restore_sse): Likewise.
14862 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14863 size vector registers.
14864 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14865 (ZMM_SIZE): Likewise.
14866 * sysdeps/x86_64/tst-audit10.c: New file.
14867 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14868 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14869
44c4e5d5
RM
148702014-03-13 Roland McGrath <roland@hack.frob.com>
14871
14872 * configure.ac (HAVE_EHDR_START): New check.
14873 * configure: Regenerated.
14874 * config.h.in (HAVE_EHDR_START): New #undef.
14875 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14876 assuming the lowest-addressed segment maps the start of the file.
14877
acd6e389
JM
148782014-03-13 Joseph Myers <joseph@codesourcery.com>
14879
14880 * INSTALL: Regenerated.
14881
6f918f36
WN
148822014-03-13 Will Newton <will.newton@linaro.org>
14883
14884 * manual/setjmp.texi (System V contexts): Improve
14885 clarity and grammar of documentation.
14886
798212a0
PP
148872014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14888
14889 [BZ #16381]
798212a0 14890 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 14891 (tests-pie): Add tst-pie2.
798212a0
PP
14892 * elf/tst-pie2.c: New file.
14893 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14894 for ET_EXEC.
14895 * elf/rtld.c (map_doit): Load executable as lt_executable.
14896 (dl_main): Likewise.
14897
abe6d90c
JM
148982014-03-12 Joseph Myers <joseph@codesourcery.com>
14899
14900 [BZ #16642]
14901 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14902 (__ASSUME_PSELECT): Undefine.
14903
dd3946c6
AZ
149042014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14905
14906 [BZ #16689]
14907 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14908 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14909 static build.
14910 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14911 selector for static builds.
14912
c44496df
SP
149132014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14914
14915 [BZ #16695]
14916 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14917 key in the buffer.
14918
27c7220a
AZ
149192014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14920
57f41c40
AS
14921 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14922 IFUNC selector for static builds.
27c7220a 14923
600fa361
JM
149242014-03-11 Joseph Myers <joseph@codesourcery.com>
14925
76c96cf7
JM
14926 * sysdeps/mips/math_private.h [__mips_hard_float]
14927 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14928 libc_feresetround_mips_ctx.
14929 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14930 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14931 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14932
600fa361
JM
14933 [BZ #16677]
14934 * math/s_nextafter.c (__nextafter): Do not return value from
14935 overflowing computation.
14936 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14937 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14938 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14939 Likewise.
14940 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14941 Likewise.
14942 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14943 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14944
d7706c32
RM
149452014-03-11 Roland McGrath <roland@hack.frob.com>
14946
14947 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14948 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14949 Move sfi_sp use from the load-multiple (that no longer sets sp) to
14950 the new mov targetting sp.
14951
4facea47
AZ
149522014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14953
14954 [BZ #16683]
14955 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14956 Define it for static builds as well.
14957 (NO_BZERO_IMPL): Likewise.
14958
e65caf1f
VR
149592014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14960
14961 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14962 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14963 multiarch strspn for PPC64.
14964 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14965 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14967 (__libc_ifunc_impl_list): Likewise.
14968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14969 multiarch optimizations
14970 * string/strspn.c (strspn): Using macro to redefine symbol name.
14971
ba9cc071
AZ
149722014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14973 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14974
14975 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14976 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14977 multiarch strncat for PPC64.
14978 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14979 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14981 (__libc_ifunc_impl_list): Likewise.
14982 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14983 multiarch optimizations
14984
8b4ff974
SP
149852014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14986
14987 [BZ #16639]
14988 * nscd/nscd.service: Make service type forking.
14989
54b46a4b
AZ
149902014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14991
14992 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14993 sign in non default rounding modes.
14994 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14995
e9996ef7
JM
149962014-03-08 Joseph Myers <joseph@codesourcery.com>
14997
14998 * math/libm-test.inc (ALL_RM_TEST): New macro.
14999 (ceil_test): Use ALL_RM_TEST.
15000 (cimag_test): Likewise.
15001 (conj_test): Likewise.
15002 (copysign_test): Likewise.
15003 (cproj_test): Likewise.
15004 (creal_test): Likewise.
15005 (fabs_test): Likewise.
15006 (floor_test): Likewise.
15007 (fmax_test): Likewise.
15008 (fmin_test): Likewise.
15009 (fmod_test): Likewise.
15010 (fpclassify_test): Likewise.
15011 (frexp_test): Likewise.
15012 (ilogb_test): Likewise.
15013 (isfinite_test): Likewise.
15014 (finite_test): Likewise.
15015 (isgreater_test): Likewise.
15016 (isgreaterequal_test): Likewise.
15017 (isinf_test): Likewise.
15018 (isless_test): Likewise.
15019 (islessequal_test): Likewise.
15020 (islessgreater_test): Likewise.
15021 (isnan_test): Likewise.
15022 (isnormal_test): Likewise.
15023 (issignaling_test): Likewise.
15024 (isunordered_test): Likewise.
15025 (logb_test): Likewise.
15026 (logb_downward_test_data): Remove.
15027 (logb_test_downward): Likewise.
15028 (lround_test): Use ALL_RM_TEST.
15029 (llround_test): Likewise.
15030 (modf_test): Likewise.
15031 (nexttoward_test): Likewise.
15032 (remainder_test): Likewise.
15033 (drem_test): Likewise.
15034 (remainder_tonearest_test_data): Likewise.
15035 (remainder_test_tonearest): Likewise.
15036 (drem_test_tonearest): Likewise.
15037 (remainder_towardzero_test_data): Likewise.
15038 (remainder_test_towardzero): Likewise.
15039 (drem_test_towardzero): Likewise.
15040 (remainder_downward_test_data): Likewise.
15041 (remainder_test_downward): Likewise.
15042 (drem_test_downward): Likewise.
15043 (remainder_upward_test_data): Likewise.
15044 (remainder_test_upward): Likewise.
15045 (drem_test_upward): Likewise.
15046 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15047 (round_test): Use ALL_RM_TEST.
15048 (signbit_test): Likewise.
15049 (trunc_test): Likewise.
15050 (significand_test): Likewise.
15051 (main): Don't call removed functions.
15052
bc61d27c
JM
150532014-03-07 Joseph Myers <joseph@codesourcery.com>
15054
5c780849
JM
15055 [BZ #16674]
15056 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15057 || __USE_XOPEN2K8].
15058 (ILL_ILLOPN): Likewise.
15059 (ILL_ILLADR): Likewise.
15060 (ILL_ILLTRP): Likewise.
15061 (ILL_PRVOPC): Likewise.
15062 (ILL_PRVREG): Likewise.
15063 (ILL_COPROC): Likewise.
15064 (ILL_BADSTK): Likewise.
15065 (FPE_INTDIV): Likewise.
15066 (FPE_INTOVF): Likewise.
15067 (FPE_FLTDIV): Likewise.
15068 (FPE_FLTOVF): Likewise.
15069 (FPE_FLTUND): Likewise.
15070 (FPE_FLTRES): Likewise.
15071 (FPE_FLTINV): Likewise.
15072 (FPE_FLTSUB): Likewise.
15073 (SEGV_MAPERR): Likewise.
15074 (SEGV_ACCERR): Likewise.
15075 (BUS_ADRALN): Likewise.
15076 (BUS_ADRERR): Likewise.
15077 (BUS_OBJERR): Likewise.
15078 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15079 (TRAP_TRACE): Likewise.
15080 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15081 __USE_XOPEN2K8].
15082 (CLD_KILLED): Likewise.
15083 (CLD_DUMPED): Likewise.
15084 (CLD_TRAPPED): Likewise.
15085 (CLD_STOPPED): Likewise.
15086 (CLD_CONTINUED): Likewise.
15087 (POLL_IN): Likewise.
15088 (POLL_OUT): Likewise.
15089 (POLL_MSG): Likewise.
15090 (POLL_ERR): Likewise.
15091 (POLL_PRI): Likewise.
15092 (POLL_HUP): Likewise.
15093 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15094 Likewise.
15095 (ILL_ILLOPN): Likewise.
15096 (ILL_ILLADR): Likewise.
15097 (ILL_ILLTRP): Likewise.
15098 (ILL_PRVOPC): Likewise.
15099 (ILL_PRVREG): Likewise.
15100 (ILL_COPROC): Likewise.
15101 (ILL_BADSTK): Likewise.
15102 (FPE_INTDIV): Likewise.
15103 (FPE_INTOVF): Likewise.
15104 (FPE_FLTDIV): Likewise.
15105 (FPE_FLTOVF): Likewise.
15106 (FPE_FLTUND): Likewise.
15107 (FPE_FLTRES): Likewise.
15108 (FPE_FLTINV): Likewise.
15109 (FPE_FLTSUB): Likewise.
15110 (SEGV_MAPERR): Likewise.
15111 (SEGV_ACCERR): Likewise.
15112 (BUS_ADRALN): Likewise.
15113 (BUS_ADRERR): Likewise.
15114 (BUS_OBJERR): Likewise.
15115 (BUS_MCEERR_AR): Likewise.
15116 (BUS_MCEERR_AO): Likewise.
15117 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15118 (TRAP_TRACE): Likewise.
15119 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15120 __USE_XOPEN2K8].
15121 (CLD_KILLED): Likewise.
15122 (CLD_DUMPED): Likewise.
15123 (CLD_TRAPPED): Likewise.
15124 (CLD_STOPPED): Likewise.
15125 (CLD_CONTINUED): Likewise.
15126 (POLL_IN): Likewise.
15127 (POLL_OUT): Likewise.
15128 (POLL_MSG): Likewise.
15129 (POLL_ERR): Likewise.
15130 (POLL_PRI): Likewise.
15131 (POLL_HUP): Likewise.
15132 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15133 (ILL_ILLOPN): Likewise.
15134 (ILL_ILLADR): Likewise.
15135 (ILL_ILLTRP): Likewise.
15136 (ILL_PRVOPC): Likewise.
15137 (ILL_PRVREG): Likewise.
15138 (ILL_COPROC): Likewise.
15139 (ILL_BADSTK): Likewise.
15140 (FPE_INTDIV): Likewise.
15141 (FPE_INTOVF): Likewise.
15142 (FPE_FLTDIV): Likewise.
15143 (FPE_FLTOVF): Likewise.
15144 (FPE_FLTUND): Likewise.
15145 (FPE_FLTRES): Likewise.
15146 (FPE_FLTINV): Likewise.
15147 (FPE_FLTSUB): Likewise.
15148 (SEGV_MAPERR): Likewise.
15149 (SEGV_ACCERR): Likewise.
15150 (BUS_ADRALN): Likewise.
15151 (BUS_ADRERR): Likewise.
15152 (BUS_OBJERR): Likewise.
15153 (BUS_MCEERR_AR): Likewise.
15154 (BUS_MCEERR_AO): Likewise.
15155 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15156 (TRAP_TRACE): Likewise.
15157 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15158 __USE_XOPEN2K8].
15159 (CLD_KILLED): Likewise.
15160 (CLD_DUMPED): Likewise.
15161 (CLD_TRAPPED): Likewise.
15162 (CLD_STOPPED): Likewise.
15163 (CLD_CONTINUED): Likewise.
15164 (POLL_IN): Likewise.
15165 (POLL_OUT): Likewise.
15166 (POLL_MSG): Likewise.
15167 (POLL_ERR): Likewise.
15168 (POLL_PRI): Likewise.
15169 (POLL_HUP): Likewise.
15170 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15171 Likewise.
15172 (ILL_ILLOPN): Likewise.
15173 (ILL_ILLADR): Likewise.
15174 (ILL_ILLTRP): Likewise.
15175 (ILL_PRVOPC): Likewise.
15176 (ILL_PRVREG): Likewise.
15177 (ILL_COPROC): Likewise.
15178 (ILL_BADSTK): Likewise.
15179 (ILL_BADIADDR): Likewise.
15180 (ILL_BREAK): Likewise.
15181 (FPE_INTDIV): Likewise.
15182 (FPE_INTOVF): Likewise.
15183 (FPE_FLTDIV): Likewise.
15184 (FPE_FLTOVF): Likewise.
15185 (FPE_FLTUND): Likewise.
15186 (FPE_FLTRES): Likewise.
15187 (FPE_FLTINV): Likewise.
15188 (FPE_FLTSUB): Likewise.
15189 (FPE_DECOVF): Likewise.
15190 (FPE_DECDIV): Likewise.
15191 (FPE_DECERR): Likewise.
15192 (FPE_INVASC): Likewise.
15193 (FPE_INVDEC): Likewise.
15194 (SEGV_MAPERR): Likewise.
15195 (SEGV_ACCERR): Likewise.
15196 (SEGV_PSTKOVF): Likewise.
15197 (BUS_ADRALN): Likewise.
15198 (BUS_ADRERR): Likewise.
15199 (BUS_OBJERR): Likewise.
15200 (BUS_MCEERR_AR): Likewise.
15201 (BUS_MCEERR_AO): Likewise.
15202 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15203 (TRAP_TRACE): Likewise.
15204 (TRAP_BRANCH): Likewise.
15205 (TRAP_HWBKPT): Likewise.
15206 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15207 __USE_XOPEN2K8].
15208 (CLD_KILLED): Likewise.
15209 (CLD_DUMPED): Likewise.
15210 (CLD_TRAPPED): Likewise.
15211 (CLD_STOPPED): Likewise.
15212 (CLD_CONTINUED): Likewise.
15213 (POLL_IN): Likewise.
15214 (POLL_OUT): Likewise.
15215 (POLL_MSG): Likewise.
15216 (POLL_ERR): Likewise.
15217 (POLL_PRI): Likewise.
15218 (POLL_HUP): Likewise.
15219 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15220 (ILL_ILLOPN): Likewise.
15221 (ILL_ILLADR): Likewise.
15222 (ILL_ILLTRP): Likewise.
15223 (ILL_PRVOPC): Likewise.
15224 (ILL_PRVREG): Likewise.
15225 (ILL_COPROC): Likewise.
15226 (ILL_BADSTK): Likewise.
15227 (FPE_INTDIV): Likewise.
15228 (FPE_INTOVF): Likewise.
15229 (FPE_FLTDIV): Likewise.
15230 (FPE_FLTOVF): Likewise.
15231 (FPE_FLTUND): Likewise.
15232 (FPE_FLTRES): Likewise.
15233 (FPE_FLTINV): Likewise.
15234 (FPE_FLTSUB): Likewise.
15235 (SEGV_MAPERR): Likewise.
15236 (SEGV_ACCERR): Likewise.
15237 (BUS_ADRALN): Likewise.
15238 (BUS_ADRERR): Likewise.
15239 (BUS_OBJERR): Likewise.
15240 (BUS_MCEERR_AR): Likewise.
15241 (BUS_MCEERR_AO): Likewise.
15242 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15243 (TRAP_TRACE): Likewise.
15244 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15245 __USE_XOPEN2K8].
15246 (CLD_KILLED): Likewise.
15247 (CLD_DUMPED): Likewise.
15248 (CLD_TRAPPED): Likewise.
15249 (CLD_STOPPED): Likewise.
15250 (CLD_CONTINUED): Likewise.
15251 (POLL_IN): Likewise.
15252 (POLL_OUT): Likewise.
15253 (POLL_MSG): Likewise.
15254 (POLL_ERR): Likewise.
15255 (POLL_PRI): Likewise.
15256 (POLL_HUP): Likewise.
15257 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15258 (ILL_ILLOPN): Likewise.
15259 (ILL_ILLADR): Likewise.
15260 (ILL_ILLTRP): Likewise.
15261 (ILL_PRVOPC): Likewise.
15262 (ILL_PRVREG): Likewise.
15263 (ILL_COPROC): Likewise.
15264 (ILL_BADSTK): Likewise.
15265 (FPE_INTDIV): Likewise.
15266 (FPE_INTOVF): Likewise.
15267 (FPE_FLTDIV): Likewise.
15268 (FPE_FLTOVF): Likewise.
15269 (FPE_FLTUND): Likewise.
15270 (FPE_FLTRES): Likewise.
15271 (FPE_FLTINV): Likewise.
15272 (FPE_FLTSUB): Likewise.
15273 (SEGV_MAPERR): Likewise.
15274 (SEGV_ACCERR): Likewise.
15275 (BUS_ADRALN): Likewise.
15276 (BUS_ADRERR): Likewise.
15277 (BUS_OBJERR): Likewise.
15278 (BUS_MCEERR_AR): Likewise.
15279 (BUS_MCEERR_AO): Likewise.
15280 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15281 (TRAP_TRACE): Likewise.
15282 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15283 __USE_XOPEN2K8].
15284 (CLD_KILLED): Likewise.
15285 (CLD_DUMPED): Likewise.
15286 (CLD_TRAPPED): Likewise.
15287 (CLD_STOPPED): Likewise.
15288 (CLD_CONTINUED): Likewise.
15289 (POLL_IN): Likewise.
15290 (POLL_OUT): Likewise.
15291 (POLL_MSG): Likewise.
15292 (POLL_ERR): Likewise.
15293 (POLL_PRI): Likewise.
15294 (POLL_HUP): Likewise.
15295 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15296 (ILL_ILLOPN): Likewise.
15297 (ILL_ILLADR): Likewise.
15298 (ILL_ILLTRP): Likewise.
15299 (ILL_PRVOPC): Likewise.
15300 (ILL_PRVREG): Likewise.
15301 (ILL_COPROC): Likewise.
15302 (ILL_BADSTK): Likewise.
15303 (FPE_INTDIV): Likewise.
15304 (FPE_INTOVF): Likewise.
15305 (FPE_FLTDIV): Likewise.
15306 (FPE_FLTOVF): Likewise.
15307 (FPE_FLTUND): Likewise.
15308 (FPE_FLTRES): Likewise.
15309 (FPE_FLTINV): Likewise.
15310 (FPE_FLTSUB): Likewise.
15311 (SEGV_MAPERR): Likewise.
15312 (SEGV_ACCERR): Likewise.
15313 (BUS_ADRALN): Likewise.
15314 (BUS_ADRERR): Likewise.
15315 (BUS_OBJERR): Likewise.
15316 (BUS_MCEERR_AR): Likewise.
15317 (BUS_MCEERR_AO): Likewise.
15318 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15319 (TRAP_TRACE): Likewise.
15320 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15321 __USE_XOPEN2K8].
15322 (CLD_KILLED): Likewise.
15323 (CLD_DUMPED): Likewise.
15324 (CLD_TRAPPED): Likewise.
15325 (CLD_STOPPED): Likewise.
15326 (CLD_CONTINUED): Likewise.
15327 (POLL_IN): Likewise.
15328 (POLL_OUT): Likewise.
15329 (POLL_MSG): Likewise.
15330 (POLL_ERR): Likewise.
15331 (POLL_PRI): Likewise.
15332 (POLL_HUP): Likewise.
15333 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15334 (ILL_ILLOPN): Likewise.
15335 (ILL_ILLADR): Likewise.
15336 (ILL_ILLTRP): Likewise.
15337 (ILL_PRVOPC): Likewise.
15338 (ILL_PRVREG): Likewise.
15339 (ILL_COPROC): Likewise.
15340 (ILL_BADSTK): Likewise.
15341 (ILL_DBLFLT): Likewise.
15342 (ILL_HARDWALL): Likewise.
15343 (FPE_INTDIV): Likewise.
15344 (FPE_INTOVF): Likewise.
15345 (FPE_FLTDIV): Likewise.
15346 (FPE_FLTOVF): Likewise.
15347 (FPE_FLTUND): Likewise.
15348 (FPE_FLTRES): Likewise.
15349 (FPE_FLTINV): Likewise.
15350 (FPE_FLTSUB): Likewise.
15351 (SEGV_MAPERR): Likewise.
15352 (SEGV_ACCERR): Likewise.
15353 (BUS_ADRALN): Likewise.
15354 (BUS_ADRERR): Likewise.
15355 (BUS_OBJERR): Likewise.
15356 (BUS_MCEERR_AR): Likewise.
15357 (BUS_MCEERR_AO): Likewise.
15358 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15359 (TRAP_TRACE): Likewise.
15360 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15361 __USE_XOPEN2K8].
15362 (CLD_KILLED): Likewise.
15363 (CLD_DUMPED): Likewise.
15364 (CLD_TRAPPED): Likewise.
15365 (CLD_STOPPED): Likewise.
15366 (CLD_CONTINUED): Likewise.
15367 (POLL_IN): Likewise.
15368 (POLL_OUT): Likewise.
15369 (POLL_MSG): Likewise.
15370 (POLL_ERR): Likewise.
15371 (POLL_PRI): Likewise.
15372 (POLL_HUP): Likewise.
15373 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15374 (ILL_ILLOPN): Likewise.
15375 (ILL_ILLADR): Likewise.
15376 (ILL_ILLTRP): Likewise.
15377 (ILL_PRVOPC): Likewise.
15378 (ILL_PRVREG): Likewise.
15379 (ILL_COPROC): Likewise.
15380 (ILL_BADSTK): Likewise.
15381 (FPE_INTDIV): Likewise.
15382 (FPE_INTOVF): Likewise.
15383 (FPE_FLTDIV): Likewise.
15384 (FPE_FLTOVF): Likewise.
15385 (FPE_FLTUND): Likewise.
15386 (FPE_FLTRES): Likewise.
15387 (FPE_FLTINV): Likewise.
15388 (FPE_FLTSUB): Likewise.
15389 (SEGV_MAPERR): Likewise.
15390 (SEGV_ACCERR): Likewise.
15391 (BUS_ADRALN): Likewise.
15392 (BUS_ADRERR): Likewise.
15393 (BUS_OBJERR): Likewise.
15394 (BUS_MCEERR_AR): Likewise.
15395 (BUS_MCEERR_AO): Likewise.
15396 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15397 (TRAP_TRACE): Likewise.
15398 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15399 __USE_XOPEN2K8].
15400 (CLD_KILLED): Likewise.
15401 (CLD_DUMPED): Likewise.
15402 (CLD_TRAPPED): Likewise.
15403 (CLD_STOPPED): Likewise.
15404 (CLD_CONTINUED): Likewise.
15405 (POLL_IN): Likewise.
15406 (POLL_OUT): Likewise.
15407 (POLL_MSG): Likewise.
15408 (POLL_ERR): Likewise.
15409 (POLL_PRI): Likewise.
15410 (POLL_HUP): Likewise.
15411 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15412 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15413
bc61d27c
JM
15414 [BZ #16670]
15415 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15416 before #include of <time.h>.
15417 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15418 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15419 (test-xfail-UNIX98/sched.h/conform): Likewise.
15420
302949e2
MS
154212014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15422
15423 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15424 error absence of trapping exception support.
15425 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15426
a00f522a
JM
154272014-03-07 Joseph Myers <joseph@codesourcery.com>
15428
6f99f280
JM
15429 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15430 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15431 * timezone/Makefile (testdata): Move definition above include of
15432 Rules.
15433 (test-zones): New variable.
15434 (tests-special): Add zone files.
15435 (build-testdata): Use $(evaluate-test).
15436
0b20a9e8
JM
15437 * elf/Makefile (tests-special): Rename tests to end with .out.
15438 ($(objpfx)noload-mem): Likewise.
15439 ($(objpfx)tst-leaks1-mem): Likewise.
15440 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15441 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15442 $(objpfx)test-iconvconfig.out.
15443 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15444 set -e inside subshell and redirect output to file.
15445 * iconvdata/Makefile (generated): Rename tests to end with .out.
15446 Correct type.
15447 (tests-special): Rename tests to end with .out.
15448 ($(objpfx)mtrace-tst-loading): Likewise.
15449 * intl/Makefile (generated): Likewise.
15450 (tests-special): Likewise.
15451 ($(objpfx)mtrace-tst-gettext): Likewise.
15452 * misc/Makefile (generated): Likewise.
15453 (tests-special): Likewise.
15454 ($(objpfx)tst-error1-mem): Likewise.
15455 * nptl/Makefile (tests-special): Likewise.
15456 ($(objpfx)tst-stack3-mem): Likewise.
15457 (generated): Likewise.
15458 * posix/Makefile (generated): Likewise.
15459 (tests-special): Likewise.
15460 (xtests-special): Likewise.
15461 ($(objpfx)tst-fnmatch-mem): Likewise.
15462 ($(objpfx)bug-regex2-mem): Likewise.
15463 ($(objpfx)bug-regex14-mem): Likewise.
15464 ($(objpfx)bug-regex21-mem): Likewise.
15465 ($(objpfx)bug-regex31-mem): Likewise.
15466 ($(objpfx)tst-vfork3-mem): Likewise.
15467 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15468 ($(objpfx)tst-pcre-mem): Likewise.
15469 ($(objpfx)tst-boost-mem): Likewise.
15470 ($(objpfx)bug-ga2-mem): Likewise.
15471 ($(objpfx)bug-glob2-mem): Likewise.
15472 * resolv/Makefile (generate): Likewise.
15473 (tests-special): Likewise.
15474 (xtests-special): Likewise.
15475 (generated): Likewise.
15476 ($(objpfx)mtrace-tst-leaks): Likewise.
15477 ($(objpfx)mtrace-tst-leaks2): Likewise.
15478
265d52ab
JM
15479 * scripts/merge-test-results.sh: New file.
15480 * Makefile (tests-special-notdir): New variable.
15481 (tests): Run merge-test-results.sh.
15482 (xtests): Likewise.
15483 * Rules (tests-special-notdir): New variable.
15484 (xtests-special-notdir): Likewise.
15485 (tests): Run merge-test-results.sh
15486 (xtests): Likewise.
15487
54ee292d
JM
15488 * Makeconfig (test-xfail-name): New variable.
15489 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15490 compute variable name for expected failures.
15491 * conform/Makefile (conformtest-headers-data): New variable.
15492 (conformtest-standards): Likewise.
15493 (conformtest-headers-ISO): Likewise.
15494 (conformtest-headers-ISO99): Likewise.
15495 (conformtest-headers-ISO11): Likewise.
15496 (conformtest-headers-POSIX): Likewise.
15497 (conformtest-headers-XPG3): Likewise.
15498 (conformtest-headers-XPG4): Likewise.
15499 (conformtest-headers-UNIX98): Likewise.
15500 (conformtest-headers-XOPEN2K): Likewise.
15501 (conformtest-headers-POSIX2008): Likewise.
15502 (conformtest-headers-XOPEN2K8): Likewise.
15503 (conformtest-header-list-base): Likewise.
15504 (conformtest-header-list-tests): Likewise.
15505 (conformtest-header-base): Likewise.
15506 (conformtest-header-tests): Likewise.
15507 (tests-special): Add $(conformtest-header-list-tests). If
15508 [$(fast-check) && !$(cross-compiling)], add
15509 $(conformtest-header-tests) instead of
15510 $(objpfx)run-conformtest.out.
15511 (generated): Add $(conformtest-header-list-base). If
15512 [$(fast-check) && !$(cross-compiling)], add
15513 $(conformtest-header-base). Remove previous setting.
15514 ($(conformtest-header-list-tests)): New target.
15515 (test-xfail-run-conformtest): Remove variable.
15516 ($(objpfx)run-conformtest.out): Remove target.
15517 (test-xfail-ISO11/complex.h/conform): New variable.
15518 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15519 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15520 (test-xfail-XPG3/varargs.h/conform): Likewise.
15521 (test-xfail-XPG4/varargs.h/conform): Likewise.
15522 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15523 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15524 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15525 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15526 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15527 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15528 (test-xfail-XPG3/ftw.h/conform): Likewise.
15529 (test-xfail-XPG3/grp.h/conform): Likewise.
15530 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15531 (test-xfail-XPG3/limits.h/conform): Likewise.
15532 (test-xfail-XPG3/pwd.h/conform): Likewise.
15533 (test-xfail-XPG3/search.h/conform): Likewise.
15534 (test-xfail-XPG3/signal.h/conform): Likewise.
15535 (test-xfail-XPG3/stdio.h/conform): Likewise.
15536 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15537 (test-xfail-XPG3/string.h/conform): Likewise.
15538 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15539 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15540 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15541 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15542 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15543 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15544 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15545 (test-xfail-XPG3/termios.h/conform): Likewise.
15546 (test-xfail-XPG3/time.h/conform): Likewise.
15547 (test-xfail-XPG3/unistd.h/conform): Likewise.
15548 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15549 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15550 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15551 (test-xfail-XPG4/netdb.h/conform): Likewise.
15552 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15553 (test-xfail-XPG4/signal.h/conform): Likewise.
15554 (test-xfail-XPG4/stdio.h/conform): Likewise.
15555 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15556 (test-xfail-XPG4/stropts.h/conform): Likewise.
15557 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15558 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15559 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15560 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15561 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15562 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15563 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15564 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15565 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15566 (test-xfail-XPG4/termios.h/conform): Likewise.
15567 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15568 (test-xfail-XPG4/unistd.h/conform): Likewise.
15569 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15570 (test-xfail-POSIX/sched.h/conform): Likewise.
15571 (test-xfail-POSIX/signal.h/conform): Likewise.
15572 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15573 (test-xfail-POSIX/tar.h/conform): Likewise.
15574 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15575 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15576 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15577 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15578 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15579 (test-xfail-UNIX98/sched.h/conform): Likewise.
15580 (test-xfail-UNIX98/signal.h/conform): Likewise.
15581 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15582 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15583 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15584 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15585 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15586 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15587 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15588 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15589 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15590 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15591 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15592 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15593 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15594 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15595 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15596 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15597 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15598 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15599 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15600 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15601 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15602 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15603 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15604 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15605 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15606 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15607 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15608 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15609 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15610 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15611 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15612 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15613 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15614 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15615 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15616 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15617 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15618 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15619 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15620 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15621 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15622 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15623 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15624 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15625 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15626 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15627 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15628 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15629 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15630 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15631 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15632 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15633 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15634 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15635 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15636 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15637 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15638 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15639 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15640 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15641 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15642 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15643 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15644 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15645 (conformtest-cc-flags): Likewise.
15646 ($(conformtest-header-tests): New target.
15647 * conform/check-header-lists.sh: New file.
15648 * conform/run-conformtest.sh: Remove.
15649
a00f522a
JM
15650 * conform/conformtest.pl: Allow ' and \ in values given for
15651 constants.
15652 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15653 inclusion.
15654 [POSIX] (sys/types.h): Likewise.
15655 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15656 inclusion.
15657 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15658 inclusion.
15659 * conform/data/signal.h-data (SIGIO): Remove expectation.
15660 [XPG3] (SIGBUS): Do not expect.
15661 [POSIX || XPG3] (SIGPOLL): Likewise.
15662 [POSIX || XPG3] (SIGPROF): Likewise.
15663 [POSIX || XPG3] (SIGSYS): Likewise.
15664 [XPG3] (SIGTRAP): Likewise.
15665 [POSIX || XPG3] (SIGURG): Likewise.
15666 [POSIX || XPG3] (SIGVTALRM): Likewise.
15667 [POSIX || XPG3] (SIGXCPU): Likewise.
15668 [POSIX || XPG3] (SIGXFSZ): Likewise.
15669 [POSIX] (SA_SIGINFO): Expect.
15670 [XPG3] (siginfo_t): Do not expect type or contents.
15671 [POSIX] (si_pid): Do not expect element.
15672 [POSIX] (si_uid): Likewise.
15673 [POSIX] (si_addr): Likewise.
15674 [POSIX] (si_status): Likewise.
15675 [POSIX] (si_band): Likewise.
15676 [XPG4] (si_value): Likewise.
15677 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15678 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15679 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15680 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15681 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15682 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15683 [POSIX || XPG3] (ILL_COPROC): Likewise.
15684 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15685 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15686 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15687 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15688 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15689 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15690 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15691 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15692 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15693 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15694 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15695 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15696 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15697 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15698 [POSIX || XPG3] (CLD_EXITED): Likewise.
15699 [POSIX || XPG3] (CLD_KILLED): Likewise.
15700 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15701 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15702 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15703 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15704 [POSIX || XPG3] (POLL_IN): Likewise.
15705 [POSIX || XPG3] (POLL_OUT): Likewise.
15706 [POSIX || XPG3] (POLL_MSG): Likewise.
15707 [POSIX || XPG3] (POLL_ERR): Likewise.
15708 [POSIX || XPG3] (POLL_PRI): Likewise.
15709 [POSIX || XPG3] (POLL_HUP): Likewise.
15710 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15711 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15712 (SIG*): Do not allow.
15713 [XPG3] (si_*): Likewise.
15714 [XPG3] (SI_*): Likewise.
15715 [XPG3 || XPG4] (sigev_*): Likewise.
15716 [XPG3 || XPG4] (SIGEV_*): Likewise.
15717 [XPG3 || XPG4] (sival_*): Likewise.
15718 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15719 [POSIX || XPG3] (BUS_*): Likewise.
15720 [POSIX || XPG3] (CLD_*): Likewise.
15721 [POSIX || XPG3] (FPE_*): Likewise.
15722 [POSIX || XPG3] (ILL_*): Likewise.
15723 [POSIX || XPG3] (POLL_*): Likewise.
15724 [POSIX || XPG3] (SEGV_*): Likewise.
15725 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15726 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15727 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15728 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15729 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15730 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15731 Specify type and value.
15732 (TVERSLEN): Likewise.
15733 (REGTYPE): Likewise.
15734 (AREGTYPE): Likewise.
15735 (LNKTYPE): Likewise.
15736 (SYMTYPE): Likewise.
15737 (CHRTYPE): Likewise.
15738 (BLKTYPE): Likewise.
15739 (DIRTYPE): Likewise.
15740 (FIFOTYPE): Likewise.
15741 (CONTTYPE): Likewise.
15742 (TSUID): Likewise.
15743 (TSGID): Likewise.
15744 (TSVTX): Likewise.
15745 (TUREAD): Likewise.
15746 (TUWRITE): Likewise.
15747 (TUEXEC): Likewise.
15748 (TGREAD): Likewise.
15749 (TGWRITE): Likewise.
15750 (TGEXEC): Likewise.
15751 (TOREAD): Likewise.
15752 (TOWRITE): Likewise.
15753 (TOEXEC): Likewise.
15754 [POSIX] (TSVTX): Expect constant.
15755
aa97dee1
JM
157562014-03-06 Joseph Myers <joseph@codesourcery.com>
15757
f214606a
JM
15758 * Makefile (tests): Change dependencies to ....
15759 (tests-special): ... additions to this variable.
15760 (tests): Depend on $(tests-special).
15761 * Makerules (check-abi-list): New variable.
15762 (check-abi): Depend on $(check-abi-list).
15763 [$(subdir) = elf] (tests-special): Add
15764 $(objpfx)check-abi-libc.out.
15765 [$(build-shared) = yes && subdir] (tests-special): Add
15766 $(check-abi-list).
15767 [$(build-shared) = yes && subdir] (tests): Do not depend on
15768 check-abi.
15769 * Rules (tests): Depend on $(tests-special).
15770 (xtests): Depend on $(xtests-special).
15771 * catgets/Makefile (tests): Change dependencies to ....
15772 (tests-special): ... additions to this variable.
15773 * conform/Makefile (tests): Change dependencies to ....
15774 (tests-special): ... additions to this variable.
15775 * elf/Makefile (tests): Change dependencies to ....
15776 (tests-special): ... additions to this variable.
15777 * grp/Makefile (tests): Change dependencies to ....
15778 (tests-special): ... additions to this variable.
15779 * iconv/Makefile (xtests): Change dependencies to ....
15780 (xtests-special): ... additions to this variable.
15781 * iconvdata/Makefile (tests): Change dependencies to ....
15782 (tests-special): ... additions to this variable.
15783 * intl/Makefile (tests): Change dependencies to ....
15784 (tests-special): ... additions to this variable. Also add
15785 $(objpfx)tst-gettext.out.
15786 * io/Makefile (tests): Change dependencies to ....
15787 (tests-special): ... additions to this variable.
15788 * libio/Makefile (tests): Change dependencies to ....
15789 (tests-special): ... additions to this variable.
15790 * malloc/Makefile (tests): Change dependencies to ....
15791 (tests-special): ... additions to this variable.
15792 * misc/Makefile (tests): Change dependencies to ....
15793 (tests-special): ... additions to this variable.
15794 * nptl/Makefile (tests): Change dependencies to ....
15795 (tests-special): ... additions to this variable.
15796 * nptl_db/Makefile (tests): Change dependencies to ....
15797 (tests-special): ... additions to this variable.
15798 * posix/Makefile (tests): Change dependencies to ....
15799 (tests-special): ... additions to this variable.
15800 (xtests): Change dependencies to ....
15801 (xtests-special): ... additions to this variable.
15802 * resolv/Makefile (tests): Change dependencies to ....
15803 (tests-special): ... additions to this variable.
15804 (xtests): Change dependencies to ....
15805 (xtests-special): ... additions to this variable.
15806 * stdio-common/Makefile (tests): Change dependencies to ....
15807 (tests-special): ... additions to this variable.
15808 (do-tst-unbputc): Remove target.
15809 (do-tst-printf): Likewise.
15810 * stdlib/Makefile (tests): Change dependencies to ....
15811 (tests-special): ... additions to this variable.
15812 * string/Makefile (tests): Change dependencies to ....
15813 (tests-special): ... additions to this variable.
15814 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15815 (tests-special): ... additions to this variable.
15816
81700b53
JM
15817 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15818 whole file.
15819 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15820 whole file.
15821 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15822 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15823
2ea18461
JM
15824 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15825 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15826 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15827 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15828 * conform/data/libgen.h-data [XPG3]: Likewise.
15829 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15830 * conform/data/ndbm.h-data [XPG3]: Likewise.
15831 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15832 * conform/data/netdb.h-data [XPG3]: Likewise.
15833 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15834 * conform/data/poll.h-data [XPG3]: Likewise.
15835 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15836 * conform/data/strings.h-data [XPG3]: Likewise.
15837 * conform/data/stropts.h-data [XPG3]: Likewise.
15838 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15839 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15840 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15841 Likewise.
15842 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15843 * conform/data/sys/time.h-data [XPG3]: Likewise.
15844 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15845 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15846 * conform/data/sys/un.h-data [XPG3]: Likewise.
15847 * conform/data/syslog.h-data [XPG3]: Likewise.
15848 * conform/data/ucontext.h-data [XPG3]: Likewise.
15849 * conform/data/utmpx.h-data [XPG3]: Likewise.
15850 * conform/data/varargs.h-data [UNIX98]: Enable file.
15851
355bc986
JM
15852 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15853
215db402
JM
15854 * math/libm-test.inc (struct test_f_f_data): Move expected results
15855 into structure for each rounding mode.
15856 (struct test_ff_f_data): Likewise.
15857 (struct test_ff_f_data_nexttoward): Likewise.
15858 (struct test_fi_f_data): Likewise.
15859 (struct test_fl_f_data): Likewise.
15860 (struct test_if_f_data): Likewise.
15861 (struct test_fff_f_data): Likewise.
15862 (struct test_c_f_data): Likewise.
15863 (struct test_f_f1_data): Likewise.
15864 (struct test_fF_f1_data): Likewise.
15865 (struct test_ffI_f1_data): Likewise.
15866 (struct test_c_c_data): Likewise.
15867 (struct test_cc_c_data): Likewise.
15868 (struct test_f_i_data): Likewise.
15869 (struct test_ff_i_data): Likewise.
15870 (struct test_f_l_data): Likewise.
15871 (struct test_f_L_data): Likewise.
15872 (struct test_fFF_11_data): Likewise.
15873 (RM_): New macro.
15874 (RM_FE_DOWNWARD): Likewise.
15875 (RM_FE_TONEAREST): Likewise.
15876 (RM_FE_TOWARDZERO): Likewise.
15877 (RM_FE_UPWARD): Likewise.
15878 (RUN_TEST_LOOP_f_f): Update references to expected results.
15879 (RUN_TEST_LOOP_2_f): Likewise.
15880 (RUN_TEST_LOOP_fff_f): Likewise.
15881 (RUN_TEST_LOOP_c_f): Likewise.
15882 (RUN_TEST_LOOP_f_f1): Likewise.
15883 (RUN_TEST_LOOP_fF_f1): Likewise.
15884 (RUN_TEST_LOOP_fI_f1): Likewise.
15885 (RUN_TEST_LOOP_ffI_f1): Likewise.
15886 (RUN_TEST_LOOP_c_c): Likewise.
15887 (RUN_TEST_LOOP_cc_c): Likewise.
15888 (RUN_TEST_LOOP_f_i): Likewise.
15889 (RUN_TEST_LOOP_f_i_tg): Likewise.
15890 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15891 (RUN_TEST_LOOP_f_b): Likewise.
15892 (RUN_TEST_LOOP_f_b_tg): Likewise.
15893 (RUN_TEST_LOOP_f_l): Likewise.
15894 (RUN_TEST_LOOP_f_L): Likewise.
15895 (RUN_TEST_LOOP_fFF_11): Likewise.
15896 * math/gen-libm-test.pl (parse_args): Output four copies of
15897 expected results for each test.
15898
67737b8f
JM
15899 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15900 (__ASSUME_UTIMES): Remove.
15901 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15902 (__ASSUME_UTIMES): Likewise.
15903
aa97dee1
JM
15904 * math/gen-auto-libm-tests.c: Update comment on output format.
15905 (output_for_one_input_case): Generate before-rounding and
15906 after-rounding information as conditions on output flags not
15907 floating-point format.
15908 * math/auto-libm-test-out: Regenerated.
15909 * math/gen-libm-test.pl (cond_value): New function.
15910 (or_cond_value): Use cond_value.
15911 (generate_testfile): Handle conditional exceptions.
15912
e6b6a857
JM
159132014-03-05 Joseph Myers <joseph@codesourcery.com>
15914
2f0a0f44
JM
15915 * math/libm-test.inc (max_valid_error): New variable.
15916 (init_max_error): Take new argument specifying whether function
15917 results are exactly determined. Set max_valid_error and bound
15918 other variables for errors based on this argument.
15919 (set_max_error): Do not record results above max_valid_error.
15920 (check_float_internal): Only accept errors of up to 0.5ulps if
15921 also at most max_valid_error.
15922 (START): Take new argument EXACT and pass it to init_max_error.
15923 (acos_test): Update call to START.
15924 (acos_test_tonearest): Likewise.
15925 (acos_test_towardzero): Likewise.
15926 (acos_test_downward): Likewise.
15927 (acos_test_upward): Likewise.
15928 (acosh_test): Likewise.
15929 (asin_test): Likewise.
15930 (asin_test_tonearest): Likewise.
15931 (asin_test_towardzero): Likewise.
15932 (asin_test_downward): Likewise.
15933 (asin_test_upward): Likewise.
15934 (asinh_test): Likewise.
15935 (atan_test): Likewise.
15936 (atanh_test): Likewise.
15937 (atan2_test): Likewise.
15938 (cabs_test): Likewise.
15939 (cacos_test): Likewise.
15940 (cacosh_test): Likewise.
15941 (carg_test): Likewise.
15942 (casin_test): Likewise.
15943 (casinh_test): Likewise.
15944 (catan_test): Likewise.
15945 (catanh_test): Likewise.
15946 (cbrt_test): Likewise.
15947 (ccos_test): Likewise.
15948 (ccosh_test): Likewise.
15949 (ceil_test): Likewise.
15950 (cexp_test): Likewise.
15951 (cimag_test): Likewise.
15952 (clog_test): Likewise.
15953 (clog10_test): Likewise.
15954 (conj_test): Likewise.
15955 (copysign_test): Likewise.
15956 (cos_test): Likewise.
15957 (cos_test_tonearest): Likewise.
15958 (cos_test_towardzero): Likewise.
15959 (cos_test_downward): Likewise.
15960 (cos_test_upward): Likewise.
15961 (cosh_test): Likewise.
15962 (cosh_test_tonearest): Likewise.
15963 (cosh_test_towardzero): Likewise.
15964 (cosh_test_downward): Likewise.
15965 (cosh_test_upward): Likewise.
15966 (cpow_test): Likewise.
15967 (cproj_test): Likewise.
15968 (creal_test): Likewise.
15969 (csin_test): Likewise.
15970 (csinh_test): Likewise.
15971 (csqrt_test): Likewise.
15972 (ctan_test): Likewise.
15973 (ctan_test_tonearest): Likewise.
15974 (ctan_test_towardzero): Likewise.
15975 (ctan_test_downward): Likewise.
15976 (ctan_test_upward): Likewise.
15977 (ctanh_test): Likewise.
15978 (ctanh_test_tonearest): Likewise.
15979 (ctanh_test_towardzero): Likewise.
15980 (ctanh_test_downward): Likewise.
15981 (ctanh_test_upward): Likewise.
15982 (erf_test): Likewise.
15983 (erfc_test): Likewise.
15984 (exp_test): Likewise.
15985 (exp_test_tonearest): Likewise.
15986 (exp_test_towardzero): Likewise.
15987 (exp_test_downward): Likewise.
15988 (exp_test_upward): Likewise.
15989 (exp10_test): Likewise.
15990 (exp10_test_tonearest): Likewise.
15991 (exp10_test_towardzero): Likewise.
15992 (exp10_test_downward): Likewise.
15993 (exp10_test_upward): Likewise.
15994 (pow10_test): Likewise.
15995 (exp2_test): Likewise.
15996 (expm1_test): Likewise.
15997 (expm1_test_tonearest): Likewise.
15998 (expm1_test_towardzero): Likewise.
15999 (expm1_test_downward): Likewise.
16000 (expm1_test_upward): Likewise.
16001 (fabs_test): Likewise.
16002 (fdim_test): Likewise.
16003 (floor_test): Likewise.
16004 (fma_test): Likewise.
16005 (fma_test_towardzero): Likewise.
16006 (fma_test_downward): Likewise.
16007 (fma_test_upward): Likewise.
16008 (fmax_test): Likewise.
16009 (fmin_test): Likewise.
16010 (fmod_test): Likewise.
16011 (fpclassify_test): Likewise.
16012 (frexp_test): Likewise.
16013 (hypot_test): Likewise.
16014 (ilogb_test): Likewise.
16015 (isfinite_test): Likewise.
16016 (finite_test): Likewise.
16017 (isgreater_test): Likewise.
16018 (isgreaterequal_test): Likewise.
16019 (isinf_test): Likewise.
16020 (isless_test): Likewise.
16021 (islessequal_test): Likewise.
16022 (islessgreater_test): Likewise.
16023 (isnan_test): Likewise.
16024 (isnormal_test): Likewise.
16025 (issignaling_test): Likewise.
16026 (isunordered_test): Likewise.
16027 (j0_test): Likewise.
16028 (j1_test): Likewise.
16029 (jn_test): Likewise.
16030 (ldexp_test): Likewise.
16031 (lgamma_test): Likewise.
16032 (gamma_test): Likewise.
16033 (lrint_test): Likewise.
16034 (lrint_test_tonearest): Likewise.
16035 (lrint_test_towardzero): Likewise.
16036 (lrint_test_downward): Likewise.
16037 (lrint_test_upward): Likewise.
16038 (llrint_test): Likewise.
16039 (llrint_test_tonearest): Likewise.
16040 (llrint_test_towardzero): Likewise.
16041 (llrint_test_downward): Likewise.
16042 (llrint_test_upward): Likewise.
16043 (log_test): Likewise.
16044 (log10_test): Likewise.
16045 (log1p_test): Likewise.
16046 (log2_test): Likewise.
16047 (logb_test): Likewise.
16048 (logb_test_downward): Likewise.
16049 (lround_test): Likewise.
16050 (llround_test): Likewise.
16051 (modf_test): Likewise.
16052 (nearbyint_test): Likewise.
16053 (nextafter_test): Likewise.
16054 (nexttoward_test): Likewise.
16055 (pow_test): Likewise.
16056 (pow_test_tonearest): Likewise.
16057 (pow_test_towardzero): Likewise.
16058 (pow_test_downward): Likewise.
16059 (pow_test_upward): Likewise.
16060 (remainder_test): Likewise.
16061 (drem_test): Likewise.
16062 (remainder_test_tonearest): Likewise.
16063 (drem_test_tonearest): Likewise.
16064 (remainder_test_towardzero): Likewise.
16065 (drem_test_towardzero): Likewise.
16066 (remainder_test_downward): Likewise.
16067 (drem_test_downward): Likewise.
16068 (remainder_test_upward): Likewise.
16069 (drem_test_upward): Likewise.
16070 (remquo_test): Likewise.
16071 (rint_test): Likewise.
16072 (rint_test_tonearest): Likewise.
16073 (rint_test_towardzero): Likewise.
16074 (rint_test_downward): Likewise.
16075 (rint_test_upward): Likewise.
16076 (round_test): Likewise.
16077 (scalb_test): Likewise.
16078 (scalbn_test): Likewise.
16079 (scalbln_test): Likewise.
16080 (signbit_test): Likewise.
16081 (sin_test): Likewise.
16082 (sin_test_tonearest): Likewise.
16083 (sin_test_towardzero): Likewise.
16084 (sin_test_downward): Likewise.
16085 (sin_test_upward): Likewise.
16086 (sincos_test): Likewise.
16087 (sinh_test): Likewise.
16088 (sinh_test_tonearest): Likewise.
16089 (sinh_test_towardzero): Likewise.
16090 (sinh_test_downward): Likewise.
16091 (sinh_test_upward): Likewise.
16092 (sqrt_test): Likewise.
16093 (sqrt_test_tonearest): Likewise.
16094 (sqrt_test_towardzero): Likewise.
16095 (sqrt_test_downward): Likewise.
16096 (sqrt_test_upward): Likewise.
16097 (tan_test): Likewise.
16098 (tan_test_tonearest): Likewise.
16099 (tan_test_towardzero): Likewise.
16100 (tan_test_downward): Likewise.
16101 (tan_test_upward): Likewise.
16102 (tanh_test): Likewise.
16103 (tgamma_test): Likewise.
16104 (trunc_test): Likewise.
16105 (y0_test): Likewise.
16106 (y1_test): Likewise.
16107 (yn_test): Likewise.
16108 (significand_test): Likewise.
16109
e6b6a857
JM
16110 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16111 individual tests in comment.
16112 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16113 (prev_max_error): New variable.
16114 (prev_real_max_error): Likewise.
16115 (prev_imag_max_error): Likewise.
16116 (compare_ulp_data): Don't refer to test names in comment.
16117 (find_test_ulps): Remove function.
16118 (find_function_ulps): Likewise.
16119 (find_complex_function_ulps): Likewise.
16120 (init_max_error): Take function name as argument. Look up ulps
16121 for that function.
16122 (print_ulps): Remove function.
16123 (print_max_error): Use prev_max_error instead of calling
16124 find_function_ulps.
16125 (print_complex_max_error): Use prev_real_max_error and
16126 prev_imag_max_error instead of calling find_complex_function_ulps.
16127 (check_float_internal): Take max_ulp parameter instead of calling
16128 find_test_ulps. Don't call print_ulps.
16129 (check_float): Update call to check_float_internal.
16130 (check_complex): Update calls to check_float_internal.
16131 (START): Pass argument to init_max_error.
16132 * math/gen-libm-test.pl (%results): Don't include "kind"
16133 information.
16134 (parse_ulps): Don't handle ulps of individual tests.
16135 (print_ulps_file): Likewise.
16136 (output_ulps): Likewise.
16137 * math/README.libm-test: Update.
16138 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16139 individual tests.
16140 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16141 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16142 * sysdeps/arm/libm-test-ulps: Likewise.
16143 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16144 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16145 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16146 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16147 * sysdeps/microblaze/libm-test-ulps: Likewise.
16148 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16149 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16150 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16151 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16152 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16153 * sysdeps/sh/libm-test-ulps: Likewise.
16154 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16155 * sysdeps/tile/libm-test-ulps: Likewise.
16156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16157
45adef3c
JM
161582014-03-04 Joseph Myers <joseph@codesourcery.com>
16159
16160 * math/libm-test.inc (print_complex_max_error): Check separately
16161 whether real and imaginary errors are within allowed range and
16162 pass 0 to print_complex_function_ulps instead of value within
16163 allowed range.
16164
000232b9
SP
161652014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16166
d4b17258
SP
16167 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16168 formatting.
16169 (get_handles_fopen): Likewise.
16170 (do_write_test): Likewise.
16171
091eff71
SP
16172 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16173
fa3cd248
SP
16174 * libio/fileops.c (do_ftell): Use cached offset when
16175 available.
16176 * libio/iofwide.c (do_ftell_wide): Likewise.
16177 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16178 _IO_file_attach.
16179 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16180
000232b9
SP
16181 [BZ #16532]
16182 * libio/libioP.h (get_file_offset): New function.
16183 * libio/fileops.c (get_file_offset): Likewise.
16184 (do_ftell): Likewise.
16185 (_IO_new_file_seekoff): Split out ftell logic.
16186 * libio/wfileops.c (do_ftell_wide): Likewise.
16187 (_IO_wfile_seekoff): Split out ftell logic.
16188 * libio/tst-ftell-active-handler.c: New test case.
16189 * libio/Makefile (tests): Add it.
16190
116f4d1a
RM
161912014-03-03 Roland McGrath <roland@hack.frob.com>
16192
16193 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16194 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16195
532a6035
SP
161962014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16197
16198 [BZ #16639]
16199 * nscd/connections.c (nscd_init): Call do_exit.
16200 (start_threads): Call do_exit and notify_parent.
16201 (begin_drop_privileges): Call do_exit.
16202 (finish_drop_privileges): Likewise.
16203 * nscd/selinux.c (preserve_capabilities): Likewise.
16204 (install_real_capabilities): Likewise.
16205 (nscd_selinux_enabled): Likewise.
16206 (avc_create_thread): Likewise.
16207 (avc_alloc_lock): Likewise.
16208 (nscd_avc_init): Likewise.
16209 * nscd/nscd.c (parent_fd): New static variable.
16210 (main): Create a pipe between parent and child processes.
16211 Skip closing parent_fd.
16212 (monitor_child): New function.
16213 (do_exit): Likewise.
16214 (notify_parent): Likewise.
16215 * nscd/nscd.h (notify_parent): Likewise.
16216 (do_exit): Likewise.
16217
d6285c9f
CD
162182014-03-03 Carlos O'Donell <carlos@redhat.com>
16219
16220 * malloc/malloc.c (__libc_calloc): Revert last change.
16221
2b85d2a0
AZ
162222014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16223
16224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16225
c7debbdf
RS
162262014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16227
16228 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16230 implementation.
16231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16232 (__libc_ifunc_impl_list): Likewise.
16233 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16234 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16235 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16236 * string/strrchr.c: Define STRRCHR.
16237
235eed86
OB
162382014-02-28 Ondřej Bílka <neleai@seznam.cz>
16239
16240 * benchtest/bench-strtok.c (simple_strtok): Delete.
16241 (strtok_string): Use as benchmark.
16242 * string/strtok (STRTOK): New macro.
16243
8e25d1e7
CD
162442014-02-28 Carlos O'Donell <carlos@redhat.com>
16245
ef563f92
CD
16246 * manual/threads.texi: Add header and standard comments to all
16247 functions.
16248
8e25d1e7
CD
16249 * elf/dl-lookup.c (check_match): New function.
16250 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16251 (do_lookup_x): Remove nested function check_match. Use non-nested
16252 function check_match.
16253
ff71cc37
RM
162542014-02-28 Roland McGrath <roland@hack.frob.com>
16255
f08e9a26
RM
16256 * csu/Makefile (generated, before-compile): Use += rather than =.
16257 * catgets/Makefile (generated, generated-dirs): Likewise.
16258 * debug/Makefile (generated): Likewise.
16259 * dlfcn/Makefile (generated): Likewise.
16260 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16261 * iconvdata/Makefile (before-compile, generated): Likewise.
16262 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16263 * libio/Makefile (generated): Likewise.
16264 * malloc/Makefile (generated): Likewise.
16265 * manual/Makefile (generated, generated-dirs): Likewise.
16266 * misc/Makefile (generated): Likewise.
16267 * posix/Makefile (generated): Likewise.
16268 * resolv/Makefile (generated): Likewise.
16269 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16270 * timezone/Makefile (generated, generated-dirs): Likewise.
16271
ff71cc37
RM
16272 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16273
fe13a20c
AZ
162742014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16275
57f41c40
AS
16276 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16277 power8 implementation.
16278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16279 file: POWER8 llround ifunc implementation.
16280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16281 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
16282 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16283 POWER8 llround implementation.
16284
57f41c40
AS
16285 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16286 power8 implementation.
16287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16288 file: POWER8 llrint ifunc implementation.
16289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16290 Add POWER8 implementation.
1ad8950a
AZ
16291 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16292 POWER8 llrint implementation.
16293
57f41c40
AS
16294 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16295 power8 implementation.
16296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16297 file: POWER8 finite ifunc implementation.
16298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16299 Add POWER8 implementation.
cac626d6
AZ
16300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16301 Likewise.
16302 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16303 POWER8 finite implementation.
16304 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16305
57f41c40
AS
16306 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16307 power8 implementation.
16308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16309 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
16310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16311 POWER8 implementation.
16312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16313 Likewise.
57f41c40
AS
16314 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16315 isinf implementation.
4393fc11
AZ
16316 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16317
57f41c40
AS
16318 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16319 (INIT_ARCH): Add hwcap2 initialization.
16320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16321 power8 implementation.
16322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16323 file: POWER8 isnan ifunc implementation.
487972ae
AZ
16324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16325 POWER8 implementation.
16326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16327 Likewise.
57f41c40
AS
16328 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16329 isnan implementation.
487972ae
AZ
16330 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16331
7d92b787
JY
163322014-02-27 Joey Ye <joey.ye@arm.com>
16333
16334 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16335 (_FP_NANFRAC_Q): Set to zero.
16336
1cadc858
SP
163372014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16338
16339 [BZ #16623]
16340 * math/auto-libm-test-in: New test inputs.
16341 * math/auto-libm-test-out: Regenerate.
16342 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16343 and DA.
16344 (__cos): Likewise.
16345 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16346
f8c17e79
JM
163472014-02-27 Joseph Myers <joseph@codesourcery.com>
16348
16349 * scripts/evaluate-test.sh: Take new argument indicating whether
16350 failure is expected.
16351 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16352 indicating whether failure is expected.
16353 * conform/Makefile (test-xfail-run-conformtest): New variable.
16354 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16355 level.
16356 * posix/Makefile (test-xfail-annexc): New variable.
16357 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16358
a5f891ac
JM
163592014-02-26 Joseph Myers <joseph@codesourcery.com>
16360
16361 * argp/Makefile: Include Makeconfig immediately after defining
16362 subdir.
16363 * assert/Makefile: Likewise.
16364 * benchtests/Makefile: Likewise.
16365 * catgets/Makefile: Likewise.
16366 * conform/Makefile: Likewise.
16367 * crypt/Makefile: Likewise.
16368 * csu/Makefile: Likewise.
16369 (all): Remove target.
16370 * ctype/Makefile: Include Makeconfig immediately after defining
16371 subdir.
16372 * debug/Makefile: Likewise.
16373 * dirent/Makefile: Likewise.
16374 * dlfcn/Makefile: Likewise.
16375 * gmon/Makefile: Likewise.
16376 * gnulib/Makefile: Likewise.
16377 * grp/Makefile: Likewise.
16378 * gshadow/Makefile: Likewise.
16379 * hesiod/Makefile: Likewise.
16380 * hurd/Makefile: Likewise.
16381 (all): Remove target.
16382 * iconvdata/Makefile: Include Makeconfig immediately after
16383 defining subdir.
16384 * inet/Makefile: Likewise.
16385 * intl/Makefile: Likewise.
16386 * io/Makefile: Likewise.
16387 * libio/Makefile: Likewise.
16388 (all): Remove target.
16389 * locale/Makefile: Include Makeconfig immediately after defining
16390 subdir.
16391 * login/Makefile: Likewise.
16392 * mach/Makefile: Likewise.
16393 (all): Remove target.
16394 * malloc/Makefile: Include Makeconfig immediately after defining
16395 subdir.
16396 (all): Remove target.
16397 * manual/Makefile: Include Makeconfig immediately after defining
16398 subdir.
16399 * math/Makefile: Likewise.
16400 * misc/Makefile: Likewise.
16401 * nis/Makefile: Likewise.
16402 * nss/Makefile: Likewise.
16403 * po/Makefile: Likewise.
16404 (all): Remove target.
16405 * posix/Makefile: Include Makeconfig immediately after defining
16406 subdir.
16407 * pwd/Makefile: Likewise.
16408 * resolv/Makefile: Likewise.
16409 * resource/Makefile: Likewise.
16410 * rt/Makefile: Likewise.
16411 * setjmp/Makefile: Likewise.
16412 * shadow/Makefile: Likewise.
16413 * signal/Makefile: Likewise.
16414 * socket/Makefile: Likewise.
16415 * soft-fp/Makefile: Likewise.
16416 * stdio-common/Makefile: Likewise.
16417 * stdlib/Makefile: Likewise.
16418 * streams/Makefile: Likewise.
16419 * string/Makefile: Likewise.
16420 * sunrpc/Makefile: Likewise.
16421 (all): Remove target.
16422 * sysvipc/Makefile: Include Makeconfig immediately after defining
16423 subdir.
16424 * termios/Makefile: Likewise.
16425 * time/Makefile: Likewise.
16426 * timezone/Makefile: Likewise.
16427 (all): Remove target.
16428 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16429 subdir.
16430 * wctype/Makefile: Likewise.
16431
5b456e9d
SE
164322014-02-26 Steve Ellcey <sellcey@mips.com>
16433
16434 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16435 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16436 (libc_feholdexcept_setround_mips): Ditto.
16437 (libc_feholdsetround): New.
16438 (libc_feholdsetroundf): New.
16439 (libc_feholdsetroundl): New.
16440 (libc_feupdateenv_test_mips): New.
16441 (libc_feupdateenv_test): New.
16442 (libc_feupdateenv_testf): New.
16443 (libc_feupdateenv_testl): New.
16444 (libc_feresetround): New.
16445 (libc_feresetroundf): New.
16446 (libc_feresetroundl): New.
16447 (libc_fetestexcept_mips): New.
16448 (libc_fetestexcept): New.
16449 (libc_fetestexceptf): New.
16450 (libc_fetestexceptl): New.
16451 (HAVE_RM_CTX): New.
16452 (libc_feholdexcept_setround_mips_ctx): New.
16453 (libc_feholdexcept_setround_ctx): New.
16454 (libc_feholdexcept_setroundf_ctx): New.
16455 (libc_feholdexcept_setroundl_ctx): New.
16456 (libc_fesetenv_mips_ctx): New.
16457 (libc_fesetenv_ctx): New.
16458 (libc_fesetenv_ctxf): New.
16459 (libc_fesetenv_ctxl): New.
16460 (libc_feupdateenv_mips_ctx): New.
16461 (libc_feupdateenv_ctx): New.
16462 (libc_feupdateenvf_ctx): New.
16463 (libc_feupdateenvl_ctx): New.
16464 (libc_feholdsetround_mips_ctx): New.
16465 (libc_feholdsetround_ctx): New.
16466 (libc_feholdsetroundf_ctx): New.
16467 (libc_feholdsetroundl_ctx): New.
16468 (libc_feresetround_mips_ctx): New.
16469 (libc_feresetround_ctx): New.
16470 (libc_feresetroundf_ctx): New.
16471 (libc_feresetroundl_ctx): New.
16472
085d0e35
CD
164732014-02-26 Carlos O'Donell <carlos@redhat.com>
16474
f067bf1f
CD
16475 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16476
085d0e35
CD
16477 * manual/ipc.texi: New file.
16478 * manual/Makefile (chapters): Add ipc.
16479 * manual/job.texi: Add "Inter-Process Communication" to next.
16480 * manual/process.texi: Add "Inter-Process Communication" to prev.
16481
86e58c08
AZ
164822014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16483
16484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16485
4248f0da
OB
164862014-02-26 Ondřej Bílka <neleai@seznam.cz>
16487
16488 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16489
cf822e3c
OB
16490 * manual/arith.texi: Fix spaces after sentences.
16491 * manual/charset.texi: Likewise.
16492 * manual/errno.texi: Likewise.
16493 * manual/install.texi: Likewise.
16494 * manual/llio.texi: Likewise.
16495 * manual/locale.texi: Likewise.
16496 * manual/maint.texi: Likewise.
16497 * manual/math.texi: Likewise.
16498 * manual/memory.texi: Likewise.
16499 * manual/message.texi: Likewise.
16500 * manual/probes.texi: Likewise.
16501 * manual/resource.texi: Likewise.
16502 * manual/signal.texi: Likewise.
16503 * manual/socket.texi: Likewise.
16504 * manual/stdio.texi: Likewise.
16505 * manual/string.texi: Likewise.
16506 * manual/time.texi: Likewise.
16507 * manual/users.texi: Likewise.
16508
ade40b10
CD
165092014-02-25 Carlos O'Donell <carlos@redhat.com>
16510
16511 [BZ #16632]
16512 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16513 _DEFAULT_SOURCE is defined.
16514
d0503676
CD
165152014-02-25 Ulrich Drepper <drepper@gmail.com>
16516 Carlos O'Donell <carlos@redhat.com>
16517
16518 [BZ #16613]
16519 * elf/dl-tls.c (_dl_count_modids): New function.
16520 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16521 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16522 audit library and increment generation counter.
16523 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16524 * elf/tst-audit9.c: New file.
16525 * elf/tst-auditmod9a.c: New file.
16526 * elf/tst-auditmod9b.c: New file.
16527 * elf/Makefile: Add rules to build and run tst-audit9.
16528
4cbf380c
FW
165292014-02-25 Florian Weimer <fweimer@redhat.com>
16530
16531 [BZ #15347]
16532 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16533
80a56cc3
WN
165342014-02-25 Will Newton <will.newton@linaro.org>
16535
16536 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16537 (__longjmp): Restore sp and lr before restoring callee
16538 saved registers. Add longjmp and longjmp_target
16539 SystemTap probe point.
16540 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16541 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16542 Define to zero to match jmpbuf layout.
16543 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16544 (__sigsetjmp): Save sp and lr before saving callee
16545 saved registers. Add setjmp SystemTap probe point.
16546
3ea0f74e
SL
165472014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16548
16549 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16550
b04acb26
AS
165512014-02-24 Andreas Schwab <schwab@suse.de>
16552
16553 [BZ #15804]
16554 * elf/pldd.c (wait_for_ptrace_stop): New function.
16555 (main): Call it after attaching.
16556
098ad55c
RM
165572014-02-22 Roland McGrath <roland@hack.frob.com>
16558
d4ec6ae1
RM
16559 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16560 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16561 Versions files is now verboten.
16562 * hurd/Versions (libc: GLIBC_2.0):
16563 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16564 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16565 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16566 * mach/Versions: Likewise.
16567
098ad55c
RM
16568 * csu/Versions: Remove unused %include.
16569 * resolv/Versions: Likewise.
16570
acd7f096
JM
165712014-02-21 Joseph Myers <joseph@codesourcery.com>
16572
f0881698
JM
16573 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16574 ($(objpfx)check-local-headers.out): Likewise.
16575 ($(objpfx)begin-end-check.out): Likewise.
16576 * Makerules (check-abi-%.out): Likewise.
16577 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16578 ($(objpfx)test2.cat): Likewise.
16579 ($(objpfx)de/libc.cat): Likewise.
16580 ($(objpfx)test-gencat.out): Likewise.
16581 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16582 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16583 ($(objpfx)noload-mem): Likewise.
16584 ($(objpfx)tst-pathopt.out): Likewise.
16585 ($(objpfx)tst-rtld-load-self.out): Likewise.
16586 ($(objpfx)tst-array1-cmp.out): Likewise.
16587 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16588 ($(objpfx)tst-array2-cmp.out): Likewise.
16589 ($(objpfx)tst-array3-cmp.out): Likewise.
16590 ($(objpfx)tst-array4-cmp.out): Likewise.
16591 ($(objpfx)tst-array5-cmp.out): Likewise.
16592 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16593 ($(objpfx)check-textrel.out): Likewise.
16594 ($(objpfx)check-execstack.out): Likewise.
16595 ($(objpfx)check-localplt.out): Likewise.
16596 ($(objpfx)order2-cmp.out): Likewise.
16597 ($(objpfx)tst-leaks1-mem): Likewise.
16598 ($(objpfx)tst-leaks1-static-mem): Likewise.
16599 ($(objpfx)tst-initorder-cmp.out): Likewise.
16600 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16601 ($(objpfx)tst-unused-dep.out): Likewise.
16602 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16603 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16604 * iconv/Makefile (test-iconvconfig): Likewise.
16605 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16606 ($(objpfx)iconv-test.out): Likewise.
16607 ($(objpfx)tst-tables.out): Likewise.
16608 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16609 ($(objpfx)tst-gettext.out): Likewise.
16610 ($(objpfx)tst-translit.out): Likewise.
16611 ($(objpfx)tst-gettext2.out): Likewise.
16612 ($(objpfx)tst-gettext4.out): Likewise.
16613 ($(objpfx)tst-gettext6.out): Likewise.
16614 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16615 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16616 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16617 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16618 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16619 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16620 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16621 ($(objpfx)wordexp-tst.out): Likewise.
16622 ($(objpfx)annexc.out): Likewise.
16623 ($(objpfx)tst-fnmatch-mem): Likewise.
16624 ($(objpfx)bug-regex2-mem): Likewise.
16625 ($(objpfx)bug-regex14-mem): Likewise.
16626 ($(objpfx)bug-regex21-mem): Likewise.
16627 ($(objpfx)bug-regex31-mem): Likewise.
16628 ($(objpfx)tst-vfork3-mem): Likewise.
16629 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16630 ($(objpfx)tst-pcre-mem): Likewise.
16631 ($(objpfx)tst-boost-mem): Likewise.
16632 ($(objpfx)tst-getconf.out): Likewise.
16633 ($(objpfx)bug-ga2-mem): Likewise.
16634 ($(objpfx)bug-glob2-mem): Likewise.
16635 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16636 ($(objpfx)mtrace-tst-leaks2): Likewise.
16637 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16638 ($(objpfx)tst-printf.out): Likewise.
16639 ($(objpfx)tst-setvbuf1.out): Likewise.
16640 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16641 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16642 ($(objpfx)tst-fmtmsg.out): Likewise.
16643 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16644 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16645
acd7f096
JM
16646 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16647 * bits/sigaction.h [__USE_MISC]: Likewise.
16648 * bits/waitstatus.h: Update #endif comments.
16649 * ctype/ctype.h: Likewise.
16650 * dirent/dirent.h: Likewise.
16651 [__USE_MISC]: Remove redundant conditionals.
16652 * grp/grp.h: Update #endif comments.
16653 [__USE_GNU]: Remove redundant conditionals.
16654 [__USE_MISC]: Likewise.
16655 * inet/netinet/in.h [__USE_GNU]: Likewise.
16656 * io/sys/stat.h [__USE_MISC]: Likewise.
16657 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16658 * libio/bits/stdio.h: Update #endif comments.
16659 [__USE_MISC]: Remove redundant conditionals.
16660 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16661 * libio/stdio.h: Update #endif comments.
16662 [__USE_MISC]: Remove redundant conditionals.
16663 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16664 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16665 * math/math.h: Update #else and #endif comments.
16666 [__USE_MISC]: Remove redundant conditionals.
16667 * misc/sys/uio.h: Update #endif comments.
16668 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16669 * posix/glob.h [__USE_MISC]: Likewise.
16670 * posix/sys/types.h: Update #endif comments.
16671 [__USE_MISC]: Remove redundant conditionals.
16672 * posix/sys/wait.h: Update #endif comments.
16673 [__USE_MISC]: Remove redundant conditionals.
16674 * posix/unistd.h: Update #endif comments.
16675 [__USE_MISC]: Remove redundant conditionals.
16676 * pwd/pwd.h [__USE_GNU]: Likewise.
16677 [__USE_MISC]: Likewise.
16678 * resolv/netdb.h [__USE_GNU]: Likewise.
16679 * signal/signal.h: Update #endif comments.
16680 [__USE_MISC]: Remove redundant conditionals.
16681 * stdlib/stdlib.h: Update #else and #endif comments.
16682 [__USE_MISC]: Remove redundant conditionals.
16683 [__USE_GNU]: Likewise.
16684 * string/bits/string2.h [__USE_MISC]: Likewise.
16685 * string/string.h: Update #endif comments.
16686 [__USE_MISC]: Remove redundant conditionals.
16687 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16688 Likewise.
16689 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16690 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16691 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16692 Likewise.
16693 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16694 Likewise.
16695 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16696 comments.
16697 [__USE_MISC]: Remove redundant conditionals.
16698 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16699 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16700 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16701 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16702 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16703 Likewise.
16704 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16705 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16706 Likewise.
16707 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16708 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16709 Likewise.
16710 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16711 Likewise.
16712 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16713 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16714 Likewise.
16715 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16716 Likewise.
16717 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16718 * sysdeps/x86/bits/string.h: Update #endif comments.
16719 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16720 conditionals.
16721 * time/sys/time.h: Update #endif comments.
16722 * time/time.h: Likewise.
16723 [__USE_MISC]: Remove redundant conditionals.
16724
a5d82e4e
YG
167252014-02-21 Yury Gribov <y.gribov@samsung.com>
16726
16727 [BZ #16600]
16728 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16729
9a80491d
AS
167302014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16731
16732 * Versions.def (librt): Add GLIBC_2.17.
16733
105fa381
AC
167342014-02-21 Adam Conrad <adconrad@0c3.net>
16735
16736 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16737 synonym for _SYS_AUXV_H to allow direct inclusion.
16738 * sysdeps/sparc/bits/hwcap.h: Likewise.
16739 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16740 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16741 * sysdeps/sparc/sysdep.h: Likewise.
16742
b8cd1c4e
SP
167432014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16744
16745 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16746
bd939d23
RS
167472014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16748
16749 * benchtests/bench-strrchr.c: Print length instead of position.
16750
5d7b57ca
JM
167512014-02-20 Joseph Myers <joseph@codesourcery.com>
16752
bc688c10
JM
16753 [BZ #16611]
16754 * sysdeps/unix/sysv/linux/kernel-features.h
16755 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16756 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16757 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16758 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16759 Likewise.
16760 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16761 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16762 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16763 (__ASSUME_SENDMMSG): Define instead of using previous
16764 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16765 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16766 (__ASSUME_SENDMMSG_SYSCALL): Define.
16767 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16768 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16769 Likewise.
16770 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16771 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16772 Likewise.
16773 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16774 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16775 Likewise.
16776 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16777 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16778 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16779 [__ASSUME_SENDMMSG]: Change conditionals to
16780 [__ASSUME_SENDMMSG_SOCKETCALL].
16781 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16782 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16783 Define.
16784 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16785 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16786 Likewise.
16787 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16788 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16789 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16790 [!__ASSUME_SENDMMSG]: Change conditional to
16791 [!__ASSUME_SENDMMSG_SOCKETCALL].
16792 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16793 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16794 Define.
16795
0e31b18c
JM
16796 [BZ #16610]
16797 * sysdeps/unix/sysv/linux/kernel-features.h
16798 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16799 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16800 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16801 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16802 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16803 [__i386__ || __sparc__]
16804 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16805 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16806 (__ASSUME_RECVMMSG): Define instead of using previous
16807 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16808 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16809 (__ASSUME_RECVMMSG_SYSCALL): Define.
16810 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16811 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16812 Likewise.
16813 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16814 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16815 Likewise.
16816 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16817 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16818 Likewise.
16819 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16820 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16821 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16822 [__ASSUME_RECVMMSG]: Change condition to
16823 [__ASSUME_RECVMMSG_SOCKETCALL].
16824 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16825 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16826 Define.
16827 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16828 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16829 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16830 Likewise.
16831 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16832 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16833 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16834 [!__ASSUME_RECVMMSG]: Change condition to
16835 [!__ASSUME_RECVMMSG_SOCKETCALL].
16836 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16837 (__ASSUME_RECVMMSG_SYSCALL): Define.
16838
dd481ccf
JM
16839 [BZ #16609]
16840 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16841 __powerpc__ || __s390__ || __sh__ || __sparc__]
16842 (__ASSUME_SOCKETCALL): Define.
16843 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16844 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16845 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16846 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16847 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16848 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16849 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16850 (__ASSUME_ACCEPT4): Define instead of using previous
16851 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16852 __powerpc__ || __sparc__ || __s390__)] condition.
16853 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16854 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16855 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16856 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16857 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16858 [!__ASSUME_ACCEPT4]: Change condition to
16859 [!__ASSUME_ACCEPT4_SOCKETCALL].
16860 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16861 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16862 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16863 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16864 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16865 __ASSUME_ACCEPT4_SYSCALL.
16866 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16867 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16868 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16869 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16870 __ASSUME_ACCEPT4_SYSCALL.
16871 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16872 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16873 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16874 [__ASSUME_ACCEPT4]: Change condition to
16875 [__ASSUME_ACCEPT4_SOCKETCALL].
16876 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16877 (__ASSUME_SOCKETCALL): Define.
16878 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16879 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16880 (__ASSUME_SOCKETCALL): Define.
16881 (__ASSUME_ACCEPT4): Remove.
16882 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16883 Define.
16884 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16885 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16886 Likewise.
16887 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16888 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16889
5d7b57ca
JM
16890 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16891 macro.
16892 (HWCAP_ARM_LPAE): Likewise.
16893 (HWCAP_ARM_EVTSTRM): Likewise.
16894 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16895 Add vpfd32, lpae and evtstrm.
16896 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16897 Increase to 22.
16898
63689d61
JM
168992014-02-19 Joseph Myers <joseph@codesourcery.com>
16900
16901 * math/auto-libm-test-in: Add tests of clog10.
16902 * math/auto-libm-test-out: Regenerated.
16903 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16904 * sysdeps/i386/fpu/libm-test-ulps: Update.
16905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16906
ab09bf61
AS
169072014-02-18 Andreas Schwab <schwab@suse.de>
16908
16909 [BZ #16574]
16910 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16911 Store non-zero if the second buffer was newly allocated.
16912 (send_dg): Likewise.
16913 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16914 to send_vc and send_dg.
16915 (res_nsend): Pass NULL for ansp2_malloced.
16916 * resolv/res_query.c (__libc_res_nquery): Add parameter
16917 answerp2_malloced and pass it down to __libc_res_nsend.
16918 (res_nquery): Pass additional NULL to __libc_res_nquery.
16919 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16920 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
16921 second answer buffer if answerp2_malloced was set.
16922 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16923 (__libc_res_nquerydomain): Add parameter
16924 answerp2_malloced and pass it down to __libc_res_nquery.
16925 (res_nquerydomain): Pass additional NULL to
16926 __libc_res_nquerydomain.
16927 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16928 additional NULL to __libc_res_nsend and __libc_res_nquery.
16929 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16930 additional NULL to __libc_res_nsearch.
16931 (_nss_dns_gethostbyname4_r): Revert last change. Use new
16932 parameter of __libc_res_nsearch to check for separately allocated
16933 second buffer.
16934 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16935 __libc_res_nquery.
16936 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16937 additional NULL to __libc_res_nquery.
16938 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16939 __libc_res_nsearch.
16940 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16941 * include/resolv.h: Update prototypes of __libc_res_nquery,
16942 __libc_res_nsearch, __libc_res_nsend.
16943
a4fb7861
JM
169442014-02-18 Joseph Myers <joseph@codesourcery.com>
16945
c6af2d89
JM
16946 * math/auto-libm-test-in: Add tests of fma.
16947 * math/auto-libm-test-out: Regenerated.
16948 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16949 (fma_towardzero_test_data): Likewise.
16950 (fma_downward_test_data): Likewise.
16951 (fma_upward_test_data): Likewise.
16952 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16953 mpc_mode.
16954 (rounding_modes): Add values for new field.
16955 (func_calc_method): Add value mpfr_fff_f.
16956 (func_calc_desc): Add mpfr_fff_f union field.
16957 (test_function): Add field exact_args.
16958 (FUNC): Add macro argument EXACT_ARGS.
16959 (FUNC_mpfr_f_f): Update call to FUNC.
16960 (FUNC_mpfr_f_f): Likewise.
16961 (FUNC_mpfr_ff_f): Likewise.
16962 (FUNC_mpfr_if_f): Likewise.
16963 (FUNC_mpc_c_f): Likewise.
16964 (FUNC_mpc_c_c): Likewise.
16965 (test_functions): Add fma. Update calls to FUNC.
16966 (handle_input_arg): Add argument exact_args.
16967 (add_test): Update call to handle_input_arg.
16968 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
16969 (output_for_one_input_case): Update call to calc_generic_results.
16970 Recalculate exact zero results in each rounding mode.
16971
a4fb7861
JM
16972 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16973 non-negative before setting low bit.
16974 * math/auto-libm-test-in: Mark one asin test possibly having
16975 spurious underflow.
16976 * math/auto-libm-test-out: Regenerated.
16977 * sysdeps/i386/fpu/libm-test-ulps: Update.
16978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16979
ef114eaf
DH
169802014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
16981
2b7f4f2c
SP
16982 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16983 * sysdeps/unix/sysv/linux/microblaze: Move directory from
16984 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
16985 * README: Add missing listing for microblaze*-*-linux-gnu.
16986
8125aedc
AM
169872014-02-16 Ondřej Bílka <neleai@seznam.cz>
16988
16989 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16990 duplicate code
16991
c70a4b1d
MF
169922014-02-16 Mike Frysinger <vapier@gentoo.org>
16993
16994 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16995 * sysdeps/unix/sysv/linux/ia64: Move directory from
16996 ports/sysdeps/unix/sysv/linux/ia64.
16997 * README: Update listing for ia64-*-linux-gnu.
16998
591aeaf7
TD
169992014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17000 Joseph Myers <joseph@codesourcery.com>
17001
17002 * Makeconfig (test-name): New variable.
17003 (evaluate-test): Likewise.
17004 * Makerules (do-test-clean): Remove .test-result files.
17005 (common-mostlyclean): Likewise.
17006 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17007 * scripts/evaluate-test.sh: New file.
17008
6e89caf1
JM
170092014-02-14 Joseph Myers <joseph@codesourcery.com>
17010
7f98f180
JM
17011 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17012 separate $(objpfx)tst-fopenloc-cmp.out and
17013 $(objpfx)tst-fopenloc-mem.out targets.
17014 (tests): Update dependencies.
17015 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17016 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17017 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17018 (tst-rxspencer-no-utf8-ARGS): New variable.
17019 (tst-rxspencer-no-utf8-ENV): Likewise.
17020 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17021 instead of $(objpfx)tst-rxspencer-mem.
17022 ($(objpfx)tst-rxspencer-mem): Change target to
17023 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17024 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17025 * posix/tst-rxspencer-no-utf8.c: New file.
17026
6e89caf1
JM
17027 * elf/Makefile ($(objpfx)order.out): Remove rule.
17028 [$(run-built-tests) = yes] (tests): Depend on
17029 $(objpfx)order-cmp.out.
17030 ($(objpfx)order-cmp.out): New rule.
17031 [$(run-built-tests) = yes] (tests): Depend on
17032 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17033 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17034 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17035 $(objpfx)tst-array5-static-cmp.out.
17036 ($(objpfx)tst-array1.out): Remove rule.
17037 ($(objpfx)tst-array1-cmp.out): New rule.
17038 ($(objpfx)tst-array1-static.out): Remove rule.
17039 ($(objpfx)tst-array1-static-cmp.out): New rule.
17040 ($(objpfx)tst-array2.out): Remove rule.
17041 ($(objpfx)tst-array2-cmp.out): New rule.
17042 ($(objpfx)tst-array3.out): Remove rule.
17043 ($(objpfx)tst-array3-cmp.out): New rule.
17044 ($(objpfx)tst-array4.out): Remove rule.
17045 ($(objpfx)tst-array4-cmp.out): New rule.
17046 ($(objpfx)tst-array5.out): Remove rule.
17047 ($(objpfx)tst-array5-cmp.out): New rule.
17048 ($(objpfx)tst-array5-static.out): Remove rule.
17049 ($(objpfx)tst-array5-static-cmp.out): New rule.
17050 [$(run-built-tests) = yes] (tests): Depend on
17051 $(objpfx)order2-cmp.out.
17052 ($(objpfx)order2.out): Remove rule.
17053 ($(objpfx)order2-cmp.out): New rule.
17054 ($(objpfx)tst-initorder.out): Remove rule.
17055 [$(run-built-tests) = yes] (tests): Depend on
17056 $(objpfx)tst-initorder-cmp.out.
17057 ($(objpfx)tst-initorder-cmp.out): New rule.
17058 ($(objpfx)tst-initorder2.out): Remove rule.
17059 [$(run-built-tests) = yes] (tests): Depend on
17060 $(objpfx)tst-initorder2-cmp.out.
17061 ($(objpfx)tst-initorder2-cmp.out): New rule.
17062 [$(run-built-tests) = yes] (tests): Depend on
17063 $(objpfx)tst-unused-dep-cmp.out.
17064 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17065 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17066 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17067 on $(objpfx)tst-setvbuf1-cmp.out.
17068 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17069 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17070 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17071 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17072 ($(objpfx)tst-svc.out): Remove rule.
17073 ($(objpfx)tst-svc-cmp.out): New rule.
17074
ed9a38e2
JM
170752014-02-13 Joseph Myers <joseph@codesourcery.com>
17076
17077 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17078 * ctype/ctype.h [__USE_MISC]: Likewise.
17079 * dirent/dirent.h [__USE_MISC]: Likewise.
17080 * grp/grp.h [__USE_MISC]: Likewise.
17081 * io/fcntl.h [__USE_MISC]: Likewise.
17082 * io/sys/stat.h [__USE_MISC]: Likewise.
17083 * libio/stdio.h [__USE_MISC]: Likewise.
17084 * posix/unistd.h [__USE_MISC]: Likewise.
17085 * pwd/pwd.h [__USE_MISC]: Likewise.
17086 * stdlib.h [__USE_MISC]: Likewise.
17087 * string/bits/string2.h [__USE_MISC]: Likewise.
17088 * string/string.h [__USE_MISC]: Likewise.
17089 * time/time.h [__USE_MISC]: Likewise.
17090
d6680619
AS
170912014-02-13 Andreas Schwab <schwab@suse.de>
17092
17093 [BZ #16574]
17094 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17095 second answer buffer if it was separately allocated.
17096
ace614b8
JM
170972014-02-12 Joseph Myers <joseph@codesourcery.com>
17098
743151ae
JM
17099 * sysdeps/mips/math-tests.h: Include <features.h>.
17100 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17101 (ROUNDING_TESTS_long_double): Do not define.
17102 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17103 (EXCEPTION_TESTS_long_double): Likewise.
17104 * sysdeps/mips/mips64/libm-test-ulps: Update.
17105
498afc54
JM
17106 * include/features.h (__USE_BSD): Remove macro definitions.
17107 (__USE_SVID): Likewise.
17108 (_BSD_SOURCE): Likewise.
17109 (_SVID_SOURCE): Likewise.
17110 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17111 from definition of _DEFAULT_SOURCE.
17112 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17113 [_DEFAULT_SOURCE].
17114 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17115 * bits/mman.h [__USE_BSD]: Likewise.
17116 * bits/termios.h [__USE_BSD]: Likewise.
17117 * bits/waitstatus.h [__USE_BSD]: Likewise.
17118 * ctype/ctype.h [__USE_SVID]: Likewise.
17119 * dirent/dirent.h [__USE_BSD]: Likewise.
17120 * grp/grp.h [__USE_SVID]: Likewise.
17121 [__USE_BSD]: Likewise.
17122 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17123 * io/fcntl.h [__USE_BSD]: Likewise.
17124 * io/ftw.h [__USE_BSD]: Likewise.
17125 * io/sys/stat.h [__USE_BSD]: Likewise.
17126 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17127 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17128 * libio/stdio.h [__USE_SVID]: Likewise.
17129 [__USE_BSD]: Likewise.
17130 * math/math.h [__USE_SVID]: Likewise.
17131 [__USE_BSD]: Likewise.
17132 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17133 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17134 * misc/search.h [__USE_SVID]: Likewise.
17135 * misc/sys/mman.h [__USE_BSD]: Likewise.
17136 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17137 * misc/sys/uio.h [__USE_BSD]: Likewise.
17138 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17139 * posix/glob.h [__USE_BSD]: Likewise.
17140 * posix/regex.h [__USE_BSD]: Likewise.
17141 * posix/sys/types.h [__USE_BSD]: Likewise.
17142 [__USE_SVID]: Likewise.
17143 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17144 * posix/sys/wait.h [__USE_BSD]: Likewise.
17145 [__USE_SVID]: Likewise.
17146 * posix/unistd.h [__USE_BSD]: Likewise.
17147 [__USE_SVID]: Likewise.
17148 * pwd/pwd.h [__USE_SVID]: Likewise.
17149 * resolv/netdb.h [__USE_BSD]: Likewise.
17150 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17151 * signal/signal.h [__USE_BSD]: Likewise.
17152 [__USE_SVID]: Likewise.
17153 * socket/sys/socket.h [__USE_BSD]: Likewise.
17154 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17155 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17156 [__USE_SVID]: Likewise.
17157 * string/bits/string2.h [__USE_BSD]: Likewise.
17158 [__USE_SVID]: Likewise.
17159 * string/bits/string3.h [__USE_BSD]: Likewise.
17160 * string/endian.h [__USE_BSD]: Likewise.
17161 * string/string.h [__USE_SVID]: Likewise.
17162 [__USE_BSD]: Likewise.
17163 * string/strings.h [__USE_BSD]: Likewise.
17164 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17165 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17166 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17167 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17168 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17169 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17170 Likewise.
17171 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17172 Likewise.
17173 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17174 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17175 Likewise.
17176 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17177 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17178 Likewise.
17179 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17180 Likewise.
17181 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17182 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17183 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17184 Likewise.
17185 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17186 Likewise.
17187 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17188 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17189 * termios/termios.h [__USE_BSD]: Likewise.
17190 * time/sys/time.h [__USE_BSD]: Likewise.
17191 * time/time.h [__USE_BSD]: Likewise.
17192 [__USE_SVID]: Likewise.
17193
dd7b064c
JM
17194 * Makefile (subdir_targets): Remove subdir_lint.out.
17195
a2c4c199
JM
17196 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17197 (do-tst-printf): Likewise.
17198 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17199 $(objpfx)tst-printf.out.
17200
8756f740
JM
17201 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17202
1b6dd3f1
JM
17203 * Makerules (check-abi-%): Change target to
17204 $(objpfx)check-abi-%.out.
17205 (check-abi target): Update dependencies.
17206 (check-abi-pattern variable): Redirect output of diff to $@.
17207 (check-abi variable): Likewise.
17208 * elf/Makefile (check-abi): Update dependencies.
17209
ace614b8
JM
17210 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17211 unused.
17212 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17213 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17214 subnormal range.
17215 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17216 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17217 value has largest subnormal exponent.
17218 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17219 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17220 * sysdeps/aarch64/soft-fp/sfp-machine.h
17221 (_FP_TININESS_AFTER_ROUNDING): New macro.
17222 * sysdeps/alpha/soft-fp/sfp-machine.h
17223 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17224 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17225 Likewise.
17226 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17227 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17228 * sysdeps/mips/soft-fp/sfp-machine.h
17229 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17230 * sysdeps/powerpc/soft-fp/sfp-machine.h
17231 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17232 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17233 Likewise.
17234 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17235 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17236 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17237 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17238 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17239 Likewise.
17240
fbfdf9cb
DAS
172412014-02-12 Dylan Alex Simon <dylan@dylex.net>
17242
17243 [BZ #16545]
17244 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17245 model 1.
17246
68b7efaa
RH
172472014-02-12 Richard Henderson <rth@redhat.com>
17248
c70a4b1d 17249 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
17250 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17251 * sysdeps/unix/sysv/linux/alpha: Move directory from
17252 ports/sysdeps/unix/sysv/linux/alpha.
17253 * README: Update listing for alpha-*-linux-gnu.
17254
cb4a2928
JM
172552014-02-11 Joseph Myers <joseph@codesourcery.com>
17256
c941736c
JM
17257 * include/features.h: Update comment documenting feature test
17258 macros.
17259 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17260 _DEFAULT_SOURCE.
17261 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17262 (_SVID_SOURCE): Likewise.
17263 (_DEFAULT_SOURCE): Update description of default features.
17264 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17265 with _GNU_SOURCE.
17266 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17267 (S_ISVTX): Likewise.
17268 * manual/math.texi (Mathematical Constants): Likewise.
17269 * manual/signal.texi (Interrupted Primitives): Likewise.
17270 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17271 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17272 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17273 Don't refer to _SVID_SOURCE in warning text.
17274
e8d8d7ec
JM
17275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17276
cb4a2928
JM
17277 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17278 already defined.
17279 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17280 * sysdeps/mips/dl-lookup.c: Remove.
17281 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17282
7e6424e3
AK
172832014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17284
17285 [BZ #16447]
17286 * math/auto-libm-test-in: Add testcase for expl.
17287 * math/auto-libm-test-out: Regenerate.
17288 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17289 calculation of unsafe.
17290 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17291
75eff3fe
MS
172922014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17293
17294 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17295 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17296 ports/sysdeps/unix/sysv/linux/aarch64.
17297 * README: Update listing for aarch64*-*-linux-gnu.
17298
d35f1e80
WN
172992014-02-11 Will Newton <will.newton@linaro.org>
17300
17301 * manual/probes.texi (Mathematical Function Probes): Use
17302 "triggered" instead of "hit".
17303
7b3436d4
WN
17304 * manual/probes.texi (Internal Probes): Add documentation
17305 of setjmp, longjmp and longjmp_target probes.
17306
b4f12ca3
WN
17307 * include/stap-probe.h: Add comment about probe argument
17308 format.
17309
c13a72b7
WN
17310 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17311 definition. (tr_where, tr_freehook, tr_mallochook,
17312 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17313
195b8165
DM
173142014-02-11 David S. Miller <davem@davemloft.net>
17315
17316 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17317 processing int_tests.
17318
2ad7600b
JM
173192014-02-10 Joseph Myers <joseph@codesourcery.com>
17320
17321 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17322 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17323 * sysdeps/unix/sysv/linux/mips: Move directory from
17324 ports/sysdeps/unix/sysv/linux/mips.
17325 * README: Update listing for mips-*-linux-gnu and
17326 mips64-*-linux-gnu.
17327
73588a72
AS
173282014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17329
17330 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17331 * sysdeps/unix/sysv/linux/m68k: Move directory from
17332 ports/sysdeps/unix/sysv/linux/m68k.
17333 * README: Update listing for m68k-*-linux-gnu.
17334
4372980f
CM
173352014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17336
17337 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17338 * sysdeps/unix/sysv/linux/generic: Move directory from
17339 ports/sysdeps/unix/sysv/linux/generic.
17340 * sysdeps/unix/sysv/linux/tile: Move directory from
17341 ports/sysdeps/unix/sysv/linux/tile.
17342 * README: Update listing for tile*-*-linux-gnu.
17343
a1ffb40e
OB
173442014-02-10 Ondřej Bílka <neleai@seznam.cz>
17345
57f41c40
AS
17346 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17347 __builtin_expect.
a1ffb40e
OB
17348 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17349 * catgets/open_catalog.c (__open_catalog): Likewise.
17350 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17351 * debug/confstr_chk.c: Likewise.
17352 * debug/fread_chk.c (__fread_chk): Likewise.
17353 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17354 * debug/getgroups_chk.c: Likewise.
17355 * debug/mbsnrtowcs_chk.c: Likewise.
17356 * debug/mbsrtowcs_chk.c: Likewise.
17357 * debug/mbstowcs_chk.c: Likewise.
17358 * debug/memcpy_chk.c: Likewise.
17359 * debug/memmove_chk.c: Likewise.
17360 * debug/mempcpy_chk.c: Likewise.
17361 * debug/memset_chk.c: Likewise.
17362 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17363 * debug/strcat_chk.c (__strcat_chk): Likewise.
17364 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17365 * debug/strncat_chk.c (__strncat_chk): Likewise.
17366 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17367 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17368 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17369 * debug/wcpncpy_chk.c: Likewise.
17370 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17371 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17372 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17373 * debug/wcsncpy_chk.c: Likewise.
17374 * debug/wcsnrtombs_chk.c: Likewise.
17375 * debug/wcsrtombs_chk.c: Likewise.
17376 * debug/wcstombs_chk.c: Likewise.
17377 * debug/wmemcpy_chk.c: Likewise.
17378 * debug/wmemmove_chk.c: Likewise.
17379 * debug/wmempcpy_chk.c: Likewise.
17380 * debug/wmemset_chk.c: Likewise.
17381 * dirent/scandirat.c (SCANDIRAT): Likewise.
17382 * dlfcn/dladdr1.c (dladdr1): Likewise.
17383 * dlfcn/dladdr.c (dladdr): Likewise.
17384 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17385 * dlfcn/dlerror.c (__dlerror): Likewise.
17386 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17387 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17388 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17389 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17390 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17391 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17392 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17393 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17394 Likewise.
17395 * elf/dl-conflict.c: Likewise.
17396 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17397 * elf/dl-dst.h: Likewise.
17398 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17399 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17400 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17401 * elf/dl-init.c (call_init, _dl_init): Likewise.
17402 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
17403 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17404 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17405 Likewise.
a1ffb40e
OB
17406 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17407 Likewise.
17408 * elf/dl-minimal.c (__libc_memalign): Likewise.
17409 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17410 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17411 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17412 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
17413 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17414 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
17415 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17416 * elf/dl-writev.h (_dl_writev): Likewise.
17417 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
17418 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17419 (dl_main): Likewise.
a1ffb40e
OB
17420 * elf/setup-vdso.h (setup_vdso): Likewise.
17421 * grp/compat-initgroups.c (compat_call): Likewise.
17422 * grp/fgetgrent.c (fgetgrent): Likewise.
17423 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17424 * grp/putgrent.c (putgrent): Likewise.
17425 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17426 Likewise.
17427 * hurd/hurdinit.c: Likewise.
17428 * iconvdata/8bit-gap.c (struct): Likewise.
17429 * iconvdata/ansi_x3.110.c : Likewise.
17430 * iconvdata/big5.c : Likewise.
17431 * iconvdata/big5hkscs.c : Likewise.
17432 * iconvdata/cp1255.c: Likewise.
17433 * iconvdata/cp1258.c : Likewise.
17434 * iconvdata/cp932.c : Likewise.
17435 * iconvdata/euc-cn.c: Likewise.
17436 * iconvdata/euc-jisx0213.c : Likewise.
17437 * iconvdata/euc-jp.c: Likewise.
17438 * iconvdata/euc-jp-ms.c : Likewise.
17439 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17440 * iconvdata/gb18030.c : Likewise.
17441 * iconvdata/gbbig5.c (const): Likewise.
17442 * iconvdata/gbgbk.c: Likewise.
17443 * iconvdata/gbk.c : Likewise.
17444 * iconvdata/ibm1364.c : Likewise.
17445 * iconvdata/ibm930.c : Likewise.
17446 * iconvdata/ibm932.c: Likewise.
17447 * iconvdata/ibm933.c : Likewise.
17448 * iconvdata/ibm935.c : Likewise.
17449 * iconvdata/ibm937.c : Likewise.
17450 * iconvdata/ibm939.c : Likewise.
17451 * iconvdata/ibm943.c: Likewise.
17452 * iconvdata/iso_11548-1.c: Likewise.
17453 * iconvdata/iso-2022-cn.c : Likewise.
17454 * iconvdata/iso-2022-cn-ext.c : Likewise.
17455 * iconvdata/iso-2022-jp-3.c: Likewise.
17456 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17457 * iconvdata/iso-2022-kr.c : Likewise.
17458 * iconvdata/iso646.c (gconv_end): Likewise.
17459 * iconvdata/iso_6937-2.c : Likewise.
17460 * iconvdata/iso_6937.c : Likewise.
17461 * iconvdata/iso8859-1.c: Likewise.
17462 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17463 * iconvdata/shift_jisx0213.c : Likewise.
17464 * iconvdata/sjis.c : Likewise.
17465 * iconvdata/t.61.c : Likewise.
17466 * iconvdata/tcvn5712-1.c : Likewise.
17467 * iconvdata/tscii.c: Likewise.
17468 * iconvdata/uhc.c : Likewise.
17469 * iconvdata/unicode.c (gconv_end): Likewise.
17470 * iconvdata/utf-16.c (gconv_end): Likewise.
17471 * iconvdata/utf-32.c (gconv_end): Likewise.
17472 * iconvdata/utf-7.c (base64): Likewise.
17473 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17474 * iconv/gconv_close.c (__gconv_close): Likewise.
17475 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
17476 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17477 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17478 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17479 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17480 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
17481 * iconv/iconv.c (iconv): Likewise.
17482 * iconv/iconv_close.c: Likewise.
17483 * iconv/loop.c (SINGLE): Likewise.
17484 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17485 * include/atomic.h: Likewise.
17486 * inet/inet6_option.c (option_alloc): Likewise.
17487 * intl/bindtextdom.c (set_binding_values): Likewise.
17488 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17489 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17490 * intl/localealias.c (read_alias_file): Likewise.
17491 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
17492 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17493 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
17494 * libio/fmemopen.c (fmemopen): Likewise.
17495 * libio/iofgets.c (_IO_fgets): Likewise.
17496 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17497 * libio/iofgetws.c (fgetws): Likewise.
17498 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17499 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
17500 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17501 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
17502 * locale/findlocale.c (_nl_find_locale): Likewise.
17503 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17504 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17505 Likewise.
17506 * locale/setlocale.c (setlocale): Likewise.
17507 * login/programs/pt_chown.c (main): Likewise.
17508 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17509 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
17510 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17511 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
17512 * math/e_exp2l.c: Likewise.
17513 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17514 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17515 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17516 * math/s_catan.c (__catan): Likewise.
17517 * math/s_catanf.c (__catanf): Likewise.
17518 * math/s_catanh.c (__catanh): Likewise.
17519 * math/s_catanhf.c (__catanhf): Likewise.
17520 * math/s_catanhl.c (__catanhl): Likewise.
17521 * math/s_catanl.c (__catanl): Likewise.
17522 * math/s_ccosh.c (__ccosh): Likewise.
17523 * math/s_ccoshf.c (__ccoshf): Likewise.
17524 * math/s_ccoshl.c (__ccoshl): Likewise.
17525 * math/s_cexp.c (__cexp): Likewise.
17526 * math/s_cexpf.c (__cexpf): Likewise.
17527 * math/s_cexpl.c (__cexpl): Likewise.
17528 * math/s_clog10.c (__clog10): Likewise.
17529 * math/s_clog10f.c (__clog10f): Likewise.
17530 * math/s_clog10l.c (__clog10l): Likewise.
17531 * math/s_clog.c (__clog): Likewise.
17532 * math/s_clogf.c (__clogf): Likewise.
17533 * math/s_clogl.c (__clogl): Likewise.
17534 * math/s_csin.c (__csin): Likewise.
17535 * math/s_csinf.c (__csinf): Likewise.
17536 * math/s_csinh.c (__csinh): Likewise.
17537 * math/s_csinhf.c (__csinhf): Likewise.
17538 * math/s_csinhl.c (__csinhl): Likewise.
17539 * math/s_csinl.c (__csinl): Likewise.
17540 * math/s_csqrt.c (__csqrt): Likewise.
17541 * math/s_csqrtf.c (__csqrtf): Likewise.
17542 * math/s_csqrtl.c (__csqrtl): Likewise.
17543 * math/s_ctan.c (__ctan): Likewise.
17544 * math/s_ctanf.c (__ctanf): Likewise.
17545 * math/s_ctanh.c (__ctanh): Likewise.
17546 * math/s_ctanhf.c (__ctanhf): Likewise.
17547 * math/s_ctanhl.c (__ctanhl): Likewise.
17548 * math/s_ctanl.c (__ctanl): Likewise.
17549 * math/w_pow.c: Likewise.
17550 * math/w_powf.c: Likewise.
17551 * math/w_powl.c: Likewise.
17552 * math/w_scalb.c (sysv_scalb): Likewise.
17553 * math/w_scalbf.c (sysv_scalbf): Likewise.
17554 * math/w_scalbl.c (sysv_scalbl): Likewise.
17555 * misc/error.c (error_tail): Likewise.
17556 * misc/pselect.c (__pselect): Likewise.
17557 * nis/nis_callback.c (__nis_create_callback): Likewise.
17558 * nis/nis_call.c (__nisfind_server): Likewise.
17559 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17560 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17561 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17562 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17563 * nis/nis_lookup.c (nis_lookup): Likewise.
17564 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
17565 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17566 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 17567 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
17568 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17569 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17570 * nis/nss_compat/compat-initgroups.c (add_group)
17571 (internal_getgrent_r): Likewise.
17572 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17573 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17574 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17575 (internal_getspnam_r): Likewise.
17576 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17577 (_nss_nis_getaliasbyname_r): Likewise.
17578 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17579 (_nss_nis_getntohost_r): Likewise.
17580 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17581 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17582 (_nss_nis_getgrgid_r): Likewise.
17583 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17584 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17585 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17586 (_nss_nis_gethostbyname4_r): Likewise.
17587 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17588 (initgroups_netid): Likewise.
a1ffb40e 17589 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
17590 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17591 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17592 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17593 (_nss_nis_getprotobynumber_r): Likewise.
17594 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17595 (_nss_nis_getsecretkey): Likewise.
17596 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17597 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17598 (_nss_nis_getpwuid_r): Likewise.
17599 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17600 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17601 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17602 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17603 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17604 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
17605 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17606 Likewise.
57f41c40
AS
17607 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17608 (_nss_nisplus_getntohost_r): Likewise.
17609 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17610 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17611 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17612 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 17613 Likewise.
57f41c40
AS
17614 * nis/nss_nisplus/nisplus-initgroups.c
17615 (_nss_nisplus_initgroups_dyn): Likewise.
17616 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17617 (_nss_nisplus_getnetbyaddr_r): Likewise.
17618 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17619 (_nss_nisplus_getprotobynumber_r): Likewise.
17620 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17621 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
17622 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17623 Likewise.
57f41c40
AS
17624 * nis/nss_nisplus/nisplus-service.c
17625 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17626 (_nss_nisplus_getservbyport_r): Likewise.
17627 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17628 (_nss_nisplus_getspnam_r): Likewise.
17629 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17630 Likewise.
a1ffb40e
OB
17631 * nscd/aicache.c (addhstaiX): Likewise.
17632 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
17633 * nscd/connections.c (register_traced_file, send_ro_fd)
17634 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17635 (main_loop_epoll): Likewise.
a1ffb40e
OB
17636 * nscd/grpcache.c (addgrbyX): Likewise.
17637 * nscd/hstcache.c (addhstbyX): Likewise.
17638 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17639 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
17640 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17641 (addinnetgrX): Likewise.
17642 * nscd/nscd-client.h (__nscd_acquire_maplock)
17643 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
17644 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17645 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17646 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17647 Likewise.
17648 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17649 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
17650 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17651 (__nscd_get_map_ref): Likewise.
a1ffb40e 17652 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
17653 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17654 Likewise.
a1ffb40e
OB
17655 * nscd/pwdcache.c (addpwbyX): Likewise.
17656 * nscd/selinux.c (preserve_capabilities): Likewise.
17657 * nscd/servicescache.c (addservbyX): Likewise.
17658 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17659 * posix/fnmatch.c (fnmatch): Likewise.
17660 * posix/getopt.c (_getopt_internal_r): Likewise.
17661 * posix/glob.c (glob, glob_in_dir): Likewise.
17662 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
17663 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17664 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
17665 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17666 * resolv/res_init.c: Likewise.
17667 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17668 * resolv/res_query.c (__libc_res_nquery): Likewise.
17669 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17670 Likewise.
17671 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17672 * stdio-common/perror.c (perror): Likewise.
17673 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17674 * stdio-common/tmpnam.c (tmpnam): Likewise.
17675 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17676 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
17677 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17678 Likewise.
a1ffb40e
OB
17679 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17680 * stdlib/putenv.c (putenv): Likewise.
17681 * stdlib/setenv.c (__add_to_environ): Likewise.
17682 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17683 * stdlib/strtol_l.c (INTERNAL): Likewise.
17684 * string/memmem.c (memmem): Likewise.
17685 * string/strerror.c (strerror): Likewise.
17686 * string/strnlen.c (__strnlen): Likewise.
17687 * string/test-memmem.c (simple_memmem): Likewise.
17688 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17689 * sunrpc/pm_getport.c (__get_socket): Likewise.
17690 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17691 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
17692 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17693 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
17694 Likewise.
17695 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17696 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17697 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17698 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17699 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
17700 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17701 Likewise.
17702 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17703 Likewise.
a1ffb40e
OB
17704 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17705 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17706 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17707 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17708 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17710 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17711 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17712 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17713 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17714 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17715 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17716 Likewise.
17717 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17718 Likewise.
17719 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17720 Likewise.
17721 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17722 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17723 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17724 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17725 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17726 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17727 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17728 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17729 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17730 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17731 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17732 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17733 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17734 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17735 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
17736 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17737 Likewise.
a1ffb40e
OB
17738 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17739 Likewise.
17740 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17741 Likewise.
17742 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17743 Likewise.
17744 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17745 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17746 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17747 Likewise.
17748 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17749 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17750 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17751 * sysdeps/posix/sleep.c: Likewise.
17752 * sysdeps/posix/tempname.c: Likewise.
17753 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17754 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17755 Likewise.
57f41c40
AS
17756 * sysdeps/powerpc/powerpc32/dl-machine.h
17757 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
17758 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17759 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17760 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17761 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17762 Likewise.
17763 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17764 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17765 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17766 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17767 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17768 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17769 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17770 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17771 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17772 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17773 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17774 (elf_machine_lazy_rel): Likewise.
a1ffb40e 17775 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17776 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17777 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17778 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17779 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17780 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17781 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17782 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17783 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17784 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17785 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17786 Likewise.
17787 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17788 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17789 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17790 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17791 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17792 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17793 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17794 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17795 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17796 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17797 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17798 Likewise.
17799 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17800 (__posix_fallocate64_l64): Likewise.
17801 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17802 (posix_fallocate): Likewise.
57f41c40
AS
17803 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17804 Likewise.
a1ffb40e 17805 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
17806 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17807 (getifaddrs_internal): Likewise.
a1ffb40e
OB
17808 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17809 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17810 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17811 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17812 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17813 (__posix_fallocate64_l64): Likewise.
17814 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17815 Likewise.
17816 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
17817 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17818 (__get_clockfreq): Likewise.
a1ffb40e
OB
17819 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17820 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17821 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17822 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17823 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17824 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17825 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17826 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17827 Likewise.
17828 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17829 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17830 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17831 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17832 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17833 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17834 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17835 Likewise.
17836 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17837 (posix_fallocate): Likewise.
17838 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17839 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17840 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17841 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17842 (elf_machine_rela, elf_machine_rela_relative)
17843 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17844 * time/asctime.c (asctime_internal): Likewise.
17845 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17846 * time/tzset.c (__tzset_parse_tz): Likewise.
17847 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17848 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17849 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17850 * wcsmbs/wcsmbsload.h: Likewise.
17851
f3d338c9
OB
17852 [BZ #15894]
17853 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17854
57f41c40
AS
17855 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17856 (arena_get2): Remove THREAD_STATS conditionals.
17857 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17858 (__malloc_stats, int): Likewise.
bdfe308a 17859
d674667c
MF
178602014-02-08 Mike Frysinger <vapier@gentoo.org>
17861
17862 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17863 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17864
6349768c
MF
17865 * manual/setjmp.texi: Fix typos/grammar errors.
17866
0b7c7473
MF
17867 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17868 Only return early when n is <= 0. Delete unused return statement.
17869
ac8cc9e3
MF
17870 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17871 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17872 * debug/tst-longjmp_chk3.c: New file.
17873
c5bb8e23
MF
17874 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17875 (test_main): Replace code with set_fortify_handler call.
17876 * debug/test-strcpy_chk.c: Likewise.
17877 * debug/tst-chk1.c: Likewise.
17878 * debug/tst-longjmp_chk.c: Likewise.
17879 * test-skeleton.c: Include fcntl.h & paths.h
17880 (set_fortify_handler): Define.
17881
10444e42
MF
17882 * debug/tst-longjmp_chk.c: Add header comment and include
17883 ../test-skeleton.c.
17884 (do_test): Mark static.
17885 (TEST_FUNCTION): Define.
17886
1e805e8d
MF
17887 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17888 (IP_PMTUDISC_INTERFACE): Likewise.
17889 (IP_MULTICAST_IF): Likewise.
17890 (IP_MULTICAST_TTL): Likewise.
17891 (IP_MULTICAST_LOOP): Likewise.
17892 (IP_ADD_MEMBERSHIP): Likewise.
17893 (IP_DROP_MEMBERSHIP): Likewise.
17894 (IP_UNBLOCK_SOURCE): Likewise.
17895 (IP_BLOCK_SOURCE): Likewise.
17896 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17897 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17898 (IP_MSFILTER): Likewise.
17899 (MCAST_JOIN_GROUP): Likewise.
17900 (MCAST_BLOCK_SOURCE): Likewise.
17901 (MCAST_UNBLOCK_SOURCE): Likewise.
17902 (MCAST_LEAVE_GROUP): Likewise.
17903 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17904 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17905 (MCAST_MSFILTER): Likewise.
17906 (IP_MULTICAST_ALL): Likewise.
17907 (IP_UNICAST_IF): Likewise.
17908
73f79bb7
MF
17909 * timezone/Makefile: Delete $(have-ksh) check.
17910 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17911 * timezone/tzselect.ksh: Add +x mode bits.
17912
8da79b60
MF
17913 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17914 (ANON_INODE_FS_MAGIC): Likewise.
17915 (BDEVFS_MAGIC): Likewise.
17916 (BINFMTFS_MAGIC): Likewise.
17917 (BTRFS_TEST_MAGIC): Likewise.
17918 (CRAMFS_MAGIC_WEND): Likewise.
17919 (DEBUGFS_MAGIC): Likewise.
17920 (ECRYPTFS_SUPER_MAGIC): Likewise.
17921 (EXT3_SUPER_MAGIC): Likewise.
17922 (EXT4_SUPER_MAGIC): Likewise.
17923 (FUTEXFS_SUPER_MAGIC): Likewise.
17924 (HOSTFS_SUPER_MAGIC): Likewise.
17925 (HUGETLBFS_MAGIC): Likewise.
17926 (MINIX3_SUPER_MAGIC): Likewise.
17927 (MTD_INODE_FS_MAGIC): Likewise.
17928 (NILFS_SUPER_MAGIC): Likewise.
17929 (OPENPROM_SUPER_MAGIC): Likewise.
17930 (PIPEFS_MAGIC): Likewise.
17931 (PSTOREFS_MAGIC): Likewise.
17932 (QNX6_SUPER_MAGIC): Likewise.
17933 (RAMFS_MAGIC): Likewise.
17934 (REISERFS_SUPER_MAGIC_STRING): Likewise.
17935 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17936 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17937 (SECURITYFS_MAGIC): Likewise.
17938 (SELINUX_MAGIC): Likewise.
17939 (SMACK_MAGIC): Likewise.
17940 (SOCKFS_MAGIC): Likewise.
17941 (SQUASHFS_MAGIC): Likewise.
17942 (STACK_END_MAGIC): Likewise.
17943 (TMPFS_MAGIC): Likewise.
17944 (USBDEVICE_SUPER_MAGIC): Likewise.
17945 (V9FS_MAGIC): Likewise.
17946 (XENFS_SUPER_MAGIC): Likewise.
17947 (CRAMFS_MAGIC): Fix typo in comment.
17948 (EXT2_SUPER_MAGIC): Update comment.
17949 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17950
464263cc
JM
179512014-02-08 Joseph Myers <joseph@codesourcery.com>
17952
c6bfe5c4
JM
17953 * sysdeps/arm: Move directory from ports/sysdeps/arm.
17954 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17955 * sysdeps/unix/sysv/linux/arm: Move directory from
17956 ports/sysdeps/unix/sysv/linux/arm.
17957 * README: Update listing for arm-*-linux-gnueabi.
17958
464263cc
JM
17959 * README: Remove mention of am33.
17960
32749f6c
RM
179612014-02-07 Roland McGrath <roland@hack.frob.com>
17962
17963 * bits/sigset.h (__sigemptyset): Use a statement expression rather
17964 than the comma operator, to avoid "rhs of comma has no effect"
17965 compiler warnings.
17966 (__sigfillset, __sigandset, __sigorset): Likewise.
17967 * include/signal.h (__sigemptyset): Likewise.
17968 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17969
d5b396c1
AM
179702014-02-07 Allan McRae <allan@archlinux.org>
17971
17972 * version.h (RELEASE): Set to "development".
17973 (VERSION): Set to "2.19.90"
17974 * NEWS: Add 2.20 section.
17975
3bfff2ed
CD
179762014-02-06 Carlos O'Donell <carlos@redhat.com>
17977
17978 [BZ #16529]
17979 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17980
ee7cc385
SP
179812014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17982
17983 * manual/contrib.texi: Update entry for Carlos O'Donell,
17984 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17985
f877c4f2
CD
179862014-02-05 Carlos O'Donell <carlos@rehdat.com>
17987
27e839f6
CD
17988 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17989
f877c4f2
CD
17990 * sysdeps/unix/sysv/linux/kernel-features.h
17991 [__LINUX_KERNEL_VERSION >= 0x020621]
17992 (__ASSUME_PROC_PID_TASK_COMM): Define.
17993
68159946
SP
179942014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17995
ba17cdbd
SP
17996 [BZ #16398]
17997 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17998 conversion when destination buffer does not have enough space.
17999 * libio/tst-ftell-partial-wide.c: New test case.
18000 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18001
68159946
SP
18002 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18003 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18004 Leonard and Allan McRae.
18005
2b528732
DM
180062014-02-04 David S. Miller <davem@davemloft.net>
18007
18008 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18009 32-bit.
18010
0ff82463
AZ
180112014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18012
57f41c40
AS
18013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18014 New file
c01603f7
AZ
18015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18016 New file
57f41c40
AS
18017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18018 New file.
18019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18020 New file.
c01603f7
AZ
18021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18022 New file.
57f41c40
AS
18023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18024 New file.
18025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18026 New file.
c01603f7
AZ
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18028 New file.
18029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18030 New file.
18031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18032 New file.
18033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18034 New file.
18035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18036 New file.
18037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18038 New file.
18039
180402014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18041
0ff82463
AZ
18042 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18043 * shlib-versions: Likewise.
18044
1695c773
AZ
180452014-02-04 Roland McGrath <roland@hack.frob.com>
18046 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18047
18048 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18049 (abilist-pattern): New variable, set to %-le.abilist.
18050
18051 * Makerules (abilist-pattern): New variable.
18052 (vpath): Use $(abilist-pattern) in place of %.abilist.
18053 (check-abi-% pattern rule): Likewise.
18054 (check-abi, update-abi): Likewise.
18055
6c0ce4b4
EW
180562014-02-04 Eric Wong <normalperson@yhbt.net>
18057
18058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18059
481e3524
CD
180602014-02-03 Carlos O'Donell <carlos@redhat.com>
18061
18062 * manual/startup.texi: Add next, previous, and top entries for
18063 the `Program Arguments' and `Environment Variables' nodes.
18064
375592d3
AO
180652014-02-03 Alexandre Oliva <aoliva@redhat.com>
18066
18067 * manual/macros.texi: Add comments before MTASC-safety macros.
18068
f54838ba
AO
18069 * manual/users.texi: Document MTASC-safety properties.
18070
57f41c40
AS
18071 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18072 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
18073 @deftypefun, and add @safety note.
18074 * manual/signal.texi: Move comments that analyze the above
18075 functions to their home place.
18076
fd3daba4
AM
180772014-02-03 Allan McRae <allan@archlinux.org>
18078
18079 * po/sl.po: Update Slovenian translation from translation project.
18080
597636d7
AO
180812014-02-02 Alexandre Oliva <aoliva@redhat.com>
18082
18083 * manual/time.texi (timegm): Add missing blank after @c.
18084 Reported by Joseph Myers <joseph@codesourcery.com>.
18085
ee196e3c
AO
180862014-02-01 Alexandre Oliva <aoliva@redhat.com>
18087
18088 * manual/check-safety.sh: New.
18089 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18090
f8d529d5
AO
18091 * manual/terminal.texi: Document MTASC-safety properties.
18092
de55fdf4
AO
18093 * manual/filesys.texi: Document MTASC-safety properties.
18094
c3299c08
AO
18095 * manual/errno.texi: Document MTASC-safety properties.
18096
06e90b14
AO
18097 * manual/intro.texi: Document safety identifiers and
18098 conditionals.
18099
1acd4371
AO
18100 * manual/string.texi (wcstok): Fix prototype.
18101 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18102
23e5b8cb
AO
18103 * manual/time.texi: Document MTASC-safety properties.
18104
11087373
AO
18105 * manual/string.texi: Document MTASC-safety properties.
18106
5da2c93d
AO
18107 * manual/threads.texi: Document MTASC-safety properties.
18108
171e9210
AO
18109 * manual/stdio.texi: Document MTASC-safety properties.
18110
d9e02532
AO
18111 * manual/syslog.texi: Document MTASC-safety properties.
18112
6af8bab7
AO
18113 * manual/sysinfo.texi: Document MTASC-safety properties.
18114
663b02d7
AO
18115 * manual/startup.texi: Document MTASC-safety properties.
18116
973f180b
AO
18117 * manual/socket.texi: Document MTASC-safety properties.
18118
8f3c25c8
AO
18119 * manual/signal.texi: Document MTASC-safety properties.
18120
542210fb
AO
181212014-01-31 Alexandre Oliva <aoliva@redhat.com>
18122
18123 * manual/setjmp.texi: Document MTASC-safety properties.
18124
433c45a2
AO
18125 * manual/search.texi: Document MTASC-safety properties.
18126
c8ce789c
AO
18127 * manual/resource.texi: Document MTASC-safety properties.
18128
19f5d29c
AO
18129 * manual/process.texi: Document MTASC-safety properties.
18130
e2dfb7f4
AO
18131 * manual/platform.texi: Document MTASC-safety properties.
18132
8c1413f5
AO
18133 * manual/pipe.texi: Document MTASC-safety properties.
18134
03483ada
AO
18135 * manual/pattern.texi: Document MTASC-safety properties.
18136
29e7e2df
AO
18137 * manual/message.texi: Document MTASC-safety properties.
18138
9f529d7c
AO
18139 [BZ #12751]
18140 * manual/memory.texi: Document MTASC-safety properties.
18141
27aaa791
AO
18142 * manual/math.texi: Document MTASC-safety properties.
18143
f2d58726
AO
18144 * manual/locale.texi: Document MTASC-safety properties.
18145
2cc3615c
AO
18146 * manual/llio.texi: Document MTASC-safety properties.
18147
d9f0ec97
AO
18148 * manual/libdl.texi: New.
18149
e7c4409a
AO
18150 * manual/lang.texi: Document MTASC-safety properties.
18151
27bdc63c
AO
18152 * manual/job.texi: Document MTASC-safety properties.
18153
a7b90ea9
AO
18154 * manual/getopt.texi: Document MTASC-safety properties.
18155
c49130e3
AO
18156 * manual/ctype.texi: Document MTASC-safety properties.
18157
0d23a5c1
MR
181582014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18159
18160 [BZ #16046]
18161 * csu/libc-tls.c (static_map): Remove variable.
18162 (__libc_setup_tls): Use main executable's link map for TLS data.
18163 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18164 casing for LM_ID_BASE and GL(dl_nns).
18165 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18166 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18167 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18168 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18169 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18170 member.
18171 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18172 l_phnum members.
18173
0037bb60
AO
181742014-01-30 Alexandre Oliva <aoliva@redhat.com>
18175
18176 * manual/debug.texi: Document MTASC-safety properties.
18177
409e00bd
L
181782014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18179
18180 [BZ #16510]
18181 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18182 of __x86_64__ when disabling x87 inline functions.
18183
86e60666
AO
181842014-01-29 Alexandre Oliva <aoliva@redhat.com>
18185
18186 * manual/charset.texi: Document MTASC-safety properties.
18187
76167637
AO
18188 * manual/crypt.texi: Document MTASC-safety properties.
18189
e567f2a0
AO
18190 * manual/conf.texi: Document MTASC-safety properties.
18191
b719dafd
AO
18192 * manual/arith.texi: Document MTASC-safety properties.
18193
4a16c662
AO
18194 * manual/argp.texi: Document MTASC-safety properties.
18195
0a57b83e
AO
18196 * manual/macros.texi: Introduce macros to document multi
18197 thread, asynchronous signal and asynchronous cancellation
18198 safety properties.
18199 * manual/intro.texi: Introduce the properties themselves.
18200
feab2397
KK
182012014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18202
18203 * sysdeps/sh/sh4/Makefile: New file.
18204
1c0d11bc
AS
182052014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18206
18207 * math/gen-libm-test.pl ($srcdir): New variable.
18208 ($auto_input): Use it.
18209
af37a8a3
SP
182102014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18211
d7b00f98
SP
18212 [BZ #16506]
18213 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18214 access beyond array bounds when parsing netgroups file.
18215
af37a8a3
SP
18216 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18217 the old buffer before realloc.
18218
0c00f062
AM
182192014-01-27 Allan McRae <allan@archlinux.org>
18220
18221 * po/fr.po: Update French translation from translation project.
18222
7d69a1b0
KK
182232014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18224
18225 * sysdeps/sh/libm-test-ulps: Regenerate.
18226
6e697ff7
DM
182272014-01-24 David S. Miller <davem@davemloft.net>
18228
18229 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18230
9cadb35c
KK
182312014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18232
18233 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18234 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18235
5d41dadf
SP
182362013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18237
18238 [BZ #16474]
18239 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18240 string pointers after reallocation.
18241
0bad441c
KK
182422014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18243
18244 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18245 __SH4A__ instead of __SH_FPU_ANY__.
18246
7007c661
KK
182472014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18248
18249 * sysdeps/sh/fpu_control.h: New file.
18250 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18251 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18252 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18253 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18254 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18255 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18256 * sysdeps/sh/sys/ucontext.h: Remove.
18257 * sysdeps/sh/sys: Remove directory.
18258
0f0c35e4
AK
182592014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18260
18261 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18262 s390/sys/ucontext.h.
18263 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18264 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18265
4959e284
L
182662014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18267
18268 [BZ #15605]
18269 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18270
d98720e0
AZ
182712014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18272
18273 [BZ#16431]
18274 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18275 Adjust the vDSO correctly for internal calls.
18276 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18277
91cbd0bc
AM
182782014-01-20 Allan McRae <allan@archlinux.org>
18279
18280 * po/ca.po: Update Catalan translation from translation project.
18281
7a02cfad
MF
182822014-01-16 Mike Frysinger <vapier@gentoo.org>
18283
18284 * sysdeps/s390/sotruss-lib.c: New file.
18285
736c304a
AZ
182862014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18287
18288 [BZ#16430]
6e077ee5 18289 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
18290 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18291 local calls issues by not having a PLT stub required for IFUNC calls.
18292 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18293
94d0cea0
JM
182942014-01-16 Joseph Myers <joseph@codesourcery.com>
18295
18296 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18297 * math/test-fpucw-static.c: Likewise.
18298
980cb518
SP
182992013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18300
18301 [BZ #16453]
18302 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18303
2393fc01
AZ
183042014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18305
18306 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18307 implementation for powerpc.
18308
d359bcc2
OB
183092014-01-15 Ondřej Bílka <neleai@seznam.cz>
18310
18311 [BZ #14782]
18312 * sysdeps/posix/system.c (__libc_system): Do not enable
18313 asynchronous cancellation.
18314
7beb48cb
AK
183152014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18316
18317 [BZ #16427]
18318 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18319 handling only for numbers special also in the IEEE case.
18320
c20d5bf5
AK
183212014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18322
18323 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18324
e83bd4ee
AM
183252014-01-11 Allan McRae <allan@archlinux.org>
18326
76d0ea69
AM
18327 * po/bg.po: Update Bulgarian translation from translation project.
18328
e83bd4ee
AM
18329 * po/de.po: Update German translation from translation project.
18330
bc2ba20a
RM
183312014-01-10 Roland McGrath <roland@hack.frob.com>
18332
18333 * sysdeps/generic/gcc-compat.h: New file.
18334
649ecea2
SP
183352014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18336
18337 * benchtests/asin-inputs: Correct slow inputs.
18338 * benchtests/acos-inputs: Likewise.
18339
1b19c006
AM
183402014-01-10 Allan McRae <allan@archlinux.org>
18341
a46dab08
AM
18342 * po:sv.po: Update Swedish translation from translation project.
18343
421df74a
AM
18344 * po/vi.po: Update Vietnamese translation from translation project.
18345
d61c51a7
AM
18346 * po/eo.po: Update Esperanto translation from translation project.
18347
0339a319
AM
18348 * po/cs.po: Update Czech translation from translation project.
18349
94ad3e99
AM
18350 * po/nl.po: Update Dutch translation from translation project.
18351
e349ca71
AM
18352 * po/pl.po: Update Polish translation from translation project.
18353
ddf930c1
AM
18354 * po/ru.po: Update Russian translation from translation project.
18355
1b19c006
AM
18356 * po/uk.po: Update Ukrainian translation from translation project.
18357
9f236c49
BM
183582014-01-08 Brooks Moses <bmoses@google.com>
18359
18360 * elf/dl-load.c: Fix comment typo.
18361
cd6701cf
CD
183622014-01-08 Carlos O'Donell <carlos@redhat.com>
18363
18364 * po/header.pot: Rename to...
18365 * po/pot.header: ... this.
18366 * po/Makefile: Use pot.header.
18367
66671c84
YK
183682014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18369 Maxim Kuvyrkov <maxim@kugelworks.com>
18370
18371 [BZ #16394]
cd6701cf
CD
18372 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18373 SRC and DEST against LEN.
66671c84 18374
38f34581
AZ
183752014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18376
18377 [BZ #16414]
18378 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18379 implementation.
18380 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18381
183822014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
18383
18384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18385
4c327f2a
JM
183862014-01-08 Joseph Myers <joseph@codesourcery.com>
18387
18388 [BZ #16408]
18389 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18390 for large positive arguments.
18391
b821f414
JM
183922014-01-07 Joseph Myers <joseph@codesourcery.com>
18393
1f0f2067
JM
18394 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18395
a5a326f6
JM
18396 * math/auto-libm-test-in: Mark various tests with
18397 xfail-rounding:ldbl-128ibm.
18398 * math/auto-libm-test-out: Regenerated.
18399
b821f414
JM
18400 [BZ #16407]
18401 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18402 Increase overflow threshold.
18403
94c8a4bc
OB
184042014-01-07 Ondřej Bílka <neleai@seznam.cz>
18405
18406 [BZ #14286]
18407 * stdio-common/vfprintf.c: Check for integer overflow.
18408
87ded0c3
AK
184092014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18410
18411 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18412 the first argument and return value of __tls_get_addr_internal.
18413
c5eebdd0
AK
184142014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18415
18416 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18417 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18418
05d138ef
AK
184192014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18420
18421 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18422 * sysdeps/s390/rtld-global-offsets.sym: New file.
18423 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18424 GLIBC_2.19 symbol.
18425 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18426 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18427 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18428 ... this.
18429 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18430 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18431 ... this.
18432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18433 Regenerate.
18434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18435 Regenerate.
18436 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18437 halfs of GPRs for high_gprs contexts.
18438 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18439 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18440 field.
18441 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18442 uc_flags field.
18443 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18444 64 bit versions:
18445 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18446 for high GPRs (uc_high_gprs) and for future extensions
18447 (__reserved).
18448 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18449 for future extensions (__reserved).
18450 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18451 64 bit versions:
18452 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18453 SC_HIGHGPRS offset definition.
18454 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18455 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18456
93a45ff1
AK
18457 * Versions.def: Add GLIBC_2.19 for libpthread.
18458 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18459 siglongjmp for libpthread with GLIBC_2.19 symver.
18460 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18461 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18462 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18463 * sysdeps/s390/__longjmp.c: New file.
18464 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18465 * sysdeps/s390/longjmp.c: New file.
18466 * sysdeps/s390/setjmp.S: New file.
18467 * sysdeps/s390/sigjmp.S: New file.
18468 * sysdeps/s390/v1-longjmp.c: New file.
18469 * sysdeps/s390/v1-setjmp.h: New file.
18470 * sysdeps/s390/v1-sigjmp.c: New file.
18471 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18472 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18473 GLIBC_2.19 version.
18474 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18475 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18476 versioned symbols for ____longjmp_chk.
18477 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18478 Likewise.
18479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18480 Regenerate.
18481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18482 Regenerate.
18483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18484 Regenerate.
18485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18486 Regenerate.
18487 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18488 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18489 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18490 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18491 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18492 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18493 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18494 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18495 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18496 * sysdeps/s390/rtld-__longjmp.c: New file.
18497 * sysdeps/s390/rtld-setjmp.S: New file.
18498
eb3fc44b
JM
184992014-01-06 Joseph Myers <joseph@codesourcery.com>
18500
18501 [BZ #16400]
18502 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18503 Return -__logl (x) for small positive arguments without evaluating
18504 a polynomial.
18505
9341dde4
MF
185062014-01-06 Mike Frysinger <vapier@gentoo.org>
18507
18508 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18509 Rename to ...
18510 (__ptrace_peeksiginfo_args): ... this.
18511 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18512 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18513 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18514
4cff0293
AM
185152014-01-06 Allan McRae <allan@archlinux.org>
18516
18517 * inet/netinet/in.h: Fix typo in comment.
18518
75595dcf
AJ
185192014-01-05 Andreas Jaeger <aj@suse.de>
18520
18521 * sysdeps/i386/fpu/libm-test-ulps: Update.
18522
79c1e109
AM
185232014-01-05 Allan McRae <allan@archlinux.org>
18524
dd804818
AM
18525 * po/libc.pot: Regenerated.
18526
79c1e109
AM
18527 * malloc/memusagestat.c: Fix gettext call formatting.
18528
0c813d1f
SK
185292014-01-04 Sami Kerola <kerolasa@iki.fi>
18530
18531 * nscd/nscd.c: Improve usage() output.
18532
20f4a8d9
MF
185332014-01-04 Mike Frysinger <vapier@gentoo.org>
18534
18535 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18536 * sysdeps/unix/sysv/linux/configure: Regenerated.
18537 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18538 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18539
22562bb2
JM
185402014-01-03 Joseph Myers <joseph@codesourcery.com>
18541
18542 [BZ #16390]
18543 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18544 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18545
d7ad2d9b
AZ
185462014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18547
18548 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18549 extra tokens at end of #undef directive.
18550 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18551 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18552 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18553
7dd009d8
JM
185542014-01-03 Joseph Myers <joseph@codesourcery.com>
18555
24db925a
JM
18556 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18557
7dd009d8
JM
18558 * math/auto-libm-test-in: Mark various tests with
18559 xfail-rounding:ldbl-128ibm.
18560 * math/auto-libm-test-out: Regenerated.
18561
396e3ecf
JM
185622014-01-02 Joseph Myers <joseph@codesourcery.com>
18563
819e5d50
JM
18564 [BZ #16386]
18565 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18566 numbers with subnormal high part when calculating exponent.
18567
90b6a1e5
JM
18568 [BZ #16385]
18569 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18570 fabs.
18571
396e3ecf
JM
18572 [BZ #16384]
18573 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18574 M_LN2l.
18575 (__ieee754_acoshl): Use __log1pl not __log1p.
18576
6c8dbf00
OB
185772013-01-02 Ondřej Bílka <neleai@seznam.cz>
18578
57f41c40
AS
18579 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18580 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18581 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18582 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18583 (reused_arena, arena_get2): Convert to GNU style.
18584 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18585 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18586 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 18587 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
18588 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18589 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18590 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18591 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18592 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18593 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 18594 * malloc/malloc.h: Likewise.
57f41c40
AS
18595 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18596 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 18597 * malloc/mcheck.h: Likewise.
57f41c40
AS
18598 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18599 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
18600 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18601 * malloc/morecore.c (__default_morecore): Likewise.
18602 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
18603 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18604 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18605 (print_and_abort): Likewise.
6c8dbf00
OB
18606 * malloc/obstack.h: Likewise.
18607 * malloc/set-freeres.c (__libc_freeres): Likewise.
18608 * malloc/tst-mallocstate.c (main): Likewise.
18609 * malloc/tst-mtrace.c (main): Likewise.
18610 * malloc/tst-realloc.c (do_test): Likewise.
18611
d4124212
SP
186122013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18613
9a3c6a6f
SP
18614 [BZ #16366]
18615 * nscd/netgroupcache.c (do_notfound): New function.
18616 (addgetnetgrentX): Use it.
18617
d4124212
SP
18618 [BZ # 16365]
18619 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18620 NSS_STATUS_NOTFOUND.
18621
97b9a009
JM
186222014-01-01 Joseph Myers <joseph@codesourcery.com>
18623
18624 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18626
d4697bc9
AM
186272014-01-01 Allan McRae <allan@archlinux.org>
18628
ddb3687f
AM
18629 * scripts/update-copyrights: Update configure input file suffix.
18630
88726d48
AM
18631 * NEWS: Update copyright year.
18632 * catgets/gencat.c: Likewise.
18633 * csu/version.c: Likewise.
18634 * debug/catchsegv.sh: Likewise.
18635 * debug/pcprofiledump.c: Likewise.
18636 * debug/xtrace.sh: Likewise.
18637 * elf/ldconfig.c: Likewise.
18638 * elf/ldd.bash.in: Likewise.
18639 * elf/pldd.c: Likewise.
18640 * elf/sotruss.ksh: Likewise.
18641 * elf/sprof.c: Likewise.
18642 * iconv/iconv_prog.c: Likewise.
18643 * iconv/iconvconfig.c: Likewise.
18644 * locale/programs/locale.c: Likewise.
18645 * locale/programs/localedef.c: Likewise.
18646 * login/programs/pt_chown.c: Likewise.
18647 * malloc/memusage.sh: Likewise.
18648 * malloc/memusagestat.c: Likewise.
18649 * malloc/mtrace.pl: Likewise.
18650 * manual/libc.texinfo: Likewise.
18651 * nscd/nscd.c: Likewise.
18652 * nss/getent.c: Likewise.
18653 * nss/makedb.c: Likewise.
18654 * posix/getconf.c: Likewise.
18655 * scripts/test-installation.pl: Likewise.
18656
d4697bc9
AM
18657 * All files with FSF copyright notices: Update copyright dates
18658 using scripts/update-copyrights.
18659 * intl/plural.c: Regenerated.
18660 * locale/programs/charmap-kw.h: Likewise.
18661 * locale/programs/locfile-kw.h: Likewise.
18662
c8590f9d
MF
186632013-12-31 Mike Frysinger <vapier@gentoo.org>
18664
18665 * sysdeps/unix/sysv/linux/configure: Regenerated.
18666 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18667 the linux/fanotify.h header.
18668 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18669 HAVE_LINUX_FANOTIFY_H is defined.
18670
b19221b9
SP
186712013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18672
dd1d85e5
SP
18673 * benchtests/cos-inputs: New inputs.
18674 * benchtests/sin-inputs: Likewise.
18675
1acbb90f
SP
18676 * benchtests/atan-inputs: New inputs. Fix name of multiple
18677 precision fallback inputs.
18678
4c012ed3
SP
18679 * benchtests/atanh-inputs: New inputs.
18680 * benchtests/tanh-inputs: Likewise.
18681
eff98324
SP
18682 * benchtests/acosh-inputs: New inputs.
18683 * benchtests/asinh-inputs: Likewise.
18684
ce641152
SP
18685 * benchtests/cosh-inputs: New inputs.
18686 * benchtests/sinh-inputs: Likewise.
18687
b19221b9
SP
18688 * benchtests/acos-inputs: Add more inputs.
18689 * benchtests/asin-inputs: Likewise.
18690
030a4976 186912013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 18692
030a4976 18693 [BZ #16375]
9dcc8f11
VS
18694 * manual/arith.texi: Fix spelling.
18695 * manual/charset.texi: Likewise.
18696 * manual/errno.texi: Likewise.
18697 * manual/filesys.texi: Likewise.
18698 * manual/lang.texi: Likewise.
18699 * manual/llio.texi: Likewise.
18700 * manual/locale.texi: Likewise.
18701 * manual/message.texi: Likewise.
18702 * manual/resource.texi: Likewise.
18703 * manual/search.texi: Likewise.
18704 * manual/setjmp.texi: Likewise.
18705 * manual/stdio.texi: Likewise.
18706 * manual/string.texi: Likewise.
18707 * manual/sysinfo.texi: Likewise.
18708 * manual/time.texi: Likewise.
18709
11520a57
CD
187102013-12-27 Carlos O'Donell <carlos@redhat.com>
18711
18712 * po/sl.po: New file.
18713
471103ae
MF
187142013-12-27 Mike Frysinger <vapier@gentoo.org>
18715
18716 * .gitignore: Add core/.gdbinit/.gdb_history.
18717
6c9642ed
AM
187182013-12-27 Allan McRae <allan@archlinux.org>
18719
18720 [BZ #16369]
18721 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18722 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18723
3f637079
BM
187242013-12-24 Brooks Moses <bmoses@google.com>
18725
18726 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18727 all compilers that claim C++98 compliance, not just GCC.
18728 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18729 Likewise.
18730
abc26e99
MK
187312013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18732
18733 * NEWS: Restore accidentally deleted bug-fix entries.
18734
362b47fe
MK
187352013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18736 Ondřej Bílka <neleai@seznam.cz>
18737
18738 [BZ #15073]
18739 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 18740 have_lock.
362b47fe 18741
b9bcbbcb
OB
187422013-12-23 Ondřej Bílka <neleai@seznam.cz>
18743
18744 [BZ #12986]
18745 * manual/stdio.texi (String Input Conversions): Clarify that character
18746 classes are not supported.
18747
fb55fcd2
AZ
187482013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18749
18750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18751
ef7344f0
JM
187522013-12-22 Joseph Myers <joseph@codesourcery.com>
18753
4f40e4b3
JM
18754 [BZ #16337]
18755 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18756 Calculate results for small negative arguments directly rather
18757 than using reflection formula with special underflow handling.
18758
ef7344f0
JM
18759 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18760 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18761 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18762 (fchflags): Likewise.
18763 (revoke): Likewise.
18764 (setlogin): Likewise.
18765 (sigaltstack): Likewise.
18766 (wait4): Likewise.
18767 (sigblock): Remove.
18768 (sigsetmask): Likewise.
18769 (wait3): Likewise.
18770 (waitpid): Likewise.
18771 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18772 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18773 file.
18774 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18775 * sysdeps/unix/bsd/Makefile: ... here.
18776 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18777 * sysdeps/unix/bsd/Versions: ... here.
18778 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18779 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18780 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18781 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18782 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18783 * sysdeps/unix/bsd/sigblock.c: ... here.
18784 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18785 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18786 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18787 * sysdeps/unix/bsd/sigvec.c: ... here.
18788 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18789 * sysdeps/unix/bsd/tcdrain.c: ... here.
18790 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18791 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18792 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18793 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18794 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18795 * sysdeps/unix/bsd/wait.c: ... here.
18796 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18797 * sysdeps/unix/bsd/wait3.c: ... here.
18798 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18799 * sysdeps/unix/bsd/waitpid.c: ... here.
18800
5b0626b9
JM
188012013-12-21 Joseph Myers <joseph@codesourcery.com>
18802
18803 [BZ #16356]
18804 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18805 round-to-nearest for [!USE_AS_EXPM1L].
18806 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18807 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18808 more tests of exp and exp10. Expect some exp10 tests to miss
18809 exceptions or fail in directed rounding modes.
18810 * math/auto-libm-test-out: Regenerated.
18811 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18812 (exp10_test_tonearest): New function.
18813 (exp10_towardzero_test_data): New array.
18814 (exp10_test_towardzero): New function.
18815 (exp10_downward_test_data): New array.
18816 (exp10_test_downward): New function.
18817 (exp10_upward_test_data): New array.
18818 (exp10_test_upward): New function.
18819 (main): Call the new functions.
18820 * sysdeps/i386/fpu/libm-test-ulps: Update.
18821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18822
7fda5682
JM
188232013-12-20 Joseph Myers <joseph@codesourcery.com>
18824
31e3a405
JM
18825 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18826 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18827 * math/auto-libm-test-out: Regenerated.
18828 * math/libm-test.inc (acosh_test_data): Add more tests.
18829 (atanh_test_data): Likewise.
18830 (ceil_test_data): Likewise.
18831 (copysign_test_data): Likewise.
18832 * sysdeps/i386/fpu/libm-test-ulps: Update.
18833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18834
85bff96a
JM
18835 * timezone/checktab.awk: Update from tzcode 2013i.
18836 * timezone/private.h: Likewise.
18837 * timezone/scheck.c: Likewise.
18838 * timezone/tzfile.h: Likewise.
18839 * timezone/tzselect.ksh: Likewise.
18840 * timezone/zdump.c: Likewise.
18841 * timezone/zic.c: Likewise.
18842
b7867a3b
JM
18843 * math/auto-libm-test-in: Add tests of cpow.
18844 * math/auto-libm-test-out: Regenerated.
18845 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 18846 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
18847 mpc_cc_c.
18848 (func_calc_desc): Add mpc_cc_c union field.
18849 (test_functions): Add cpow.
18850 (special_fill_2pi): New function.
18851 (special_real_inputs): Add 2pi.
18852 (calc_generic_results): Handle mpc_cc_c.
18853 * sysdeps/i386/fpu/libm-test-ulps: Update.
18854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18855
7fda5682
JM
18856 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18857 csqrt, ctan and ctanh.
18858 * math/auto-libm-test-out: Regenerated.
18859 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18860 (TEST_COND_x86): Likewise.
18861 (ccos_test_data): Use AUTO_TESTS_c_c.
18862 (ccosh_test_data): Likewise.
18863 (cexp_test_data): Likewise.
18864 (clog_test_data): Likewise.
18865 (csqrt_test_data): Likewise.
18866 (ctan_test_data): Likewise.
18867 (ctan_tonearest_test_data): Likewise.
18868 (ctan_towardzero_test_data): Likewise.
18869 (ctan_downward_test_data): Likewise.
18870 (ctan_upward_test_data): Likewise.
18871 (ctanh_test_data): Likewise.
18872 (ctanh_tonearest_test_data): Likewise.
18873 (ctanh_towardzero_test_data): Likewise.
18874 (ctanh_downward_test_data): Likewise.
18875 (ctanh_upward_test_data): Likewise.
18876 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18877 mpc_c_c.
18878 (func_calc_desc): Add mpc_c_c union field.
18879 (FUNC_mpc_c_c): New macro.
18880 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18881 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18882 ctanh.
18883 (special_fill_min_subnorm_p120): New function.
18884 (special_real_inputs): Add min_subnorm_p120.
18885 (calc_generic_results): Handle mpc_c_c.
18886 * sysdeps/i386/fpu/libm-test-ulps: Update.
18887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18888
5ff8d60e
SP
188892013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18890
57f41c40
AS
18891 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18892 (do_sin_slow): New functions.
18893 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18894 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 18895
84ba214c
SP
18896 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18897 Use M to change sign of result instead of X. Assume X is
18898 positive.
18899 (csloww1): Likewise.
18900 (__sin): Adjust.
18901 (__cos): Adjust.
18902
975195e4
SP
18903 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18904 arguments A and DA.
18905 (__sin): Adjust.
18906 (__cos): Likewise.
18907
5ff8d60e
SP
18908 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18909 (__cos): Likewise.
18910 (sloww1): Don't adjust sign of DX.
18911 (csloww1): Likewise.
18912 (sloww2): Use X directly and don't adjust sign of DX.
18913 (csloww2): Likewise.
18914
eb983568
JM
189152013-12-19 Joseph Myers <joseph@codesourcery.com>
18916
64a17f1a
JM
18917 * math/auto-libm-test-in: Add tests of cabs and carg.
18918 * math/auto-libm-test-out: Regenerated.
18919 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18920 (carg_test_data): Likewise.
18921 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18922 mpc_c_f.
18923 (func_calc_desc): Add mpc_c_f union field.
18924 (test_functions): Add cabs and carg.
18925 (calc_generic_results): Handle mpc_c_f.
18926
eb983568
JM
18927 * sysdeps/powerpc/powerpc32/libgcc-compat.S
18928 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18929 as a macro and a compat symbol.
18930 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18931 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18932 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18933 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18934 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18935 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18936 not use .hidden.
18937 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18938 Likewise.
18939 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18940 Likewise.
18941 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18942 Likewise.
18943 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18944 Likewise.
18945 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18946 Likewise.
18947 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18948 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18949 from GLIBC_2.3.2.
18950
6eeb678a
AZ
189512013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18952
18953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18954
6f6fc482
JM
189552013-12-19 Joseph Myers <joseph@codesourcery.com>
18956
21fea2e2
JM
18957 * manual/texinfo.tex: Update to version 2013-11-26.10 with
18958 trailing whitespace removed.
18959 * scripts/config.guess: Update to version 2013-11-29.
18960 * scripts/config.sub: Update to version 2013-10-01.
18961
6f6fc482
JM
18962 * math/auto-libm-test-in: Add tests of sincos.
18963 * math/auto-libm-test-out: Regenerated.
18964 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18965 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18966 mpfr_f_11.
18967 (func_calc_desc): Add mpfr_f_11 union field.
18968 (test_functions): Add sincos.
18969 (calc_generic_results): Handle mpfr_f_11.
18970 * sysdeps/i386/fpu/libm-test-ulps: Update.
18971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18972
83f5c32d
AS
189732013-12-19 Andreas Schwab <schwab@suse.de>
18974
18975 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18976 CALL_MCOUNT.
18977 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18978 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18979 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18980
c688b419
JM
189812013-12-19 Joseph Myers <joseph@codesourcery.com>
18982
335ee092
JM
18983 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18984 * sysdeps/i386/fpu/libm-test-ulps: Update.
18985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18986
f88acd39
JM
18987 [BZ #16293]
18988 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18989 round-to-nearest mode when using frndint.
18990 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18991 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18992 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18993 Likewise.
18994 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
18995 sinh test to fail.
18996 * math/auto-libm-test-out: Regenerated.
18997 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18998 (TEST_COND_x86): Likewise.
18999 (expm1_tonearest_test_data): New array.
19000 (expm1_test_tonearest): New function.
19001 (expm1_towardzero_test_data): New array.
19002 (expm1_test_towardzero): New function.
19003 (expm1_downward_test_data): New array.
19004 (expm1_test_downward): New function.
19005 (expm1_upward_test_data): New array.
19006 (expm1_test_upward): New function.
19007 (main): Run the new test functions.
19008 * sysdeps/i386/fpu/libm-test-ulps: Update.
19009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19010
c688b419
JM
19011 * include/features.h: Update comment documenting feature test
19012 macros. Mention _DEFAULT_SOURCE in comment.
19013 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19014 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19015 _BSD_SOURCE and _SVID_SOURCE.
19016 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19017 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19018 !_SVID_SOURCE]: Likewise.
19019 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19020 (__USE_POSIX_IMPLICITLY): Define.
19021 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19022 (_POSIX_SOURCE): Undefine and redefine.
19023 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19024 (_POSIX_C_SOURCE): Likewise.
19025 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19026 (Feature Test Macros): Update documentation of default features.
19027
9f6e964c
RS
190282013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19029
19030 * benchtests/Makefile: Add bench-strtok.
19031 * benchtests/bench-strtok.c: New file: strtok benchtest.
19032
ee0a148a
AM
190332013-12-19 Allan McRae <allan@archlinux.org>
19034
19035 * manual/install.texi: Suppress menu for plain text output.
19036 * INSTALL: Regenerated.
19037
b9ab448f
BM
190382013-12-18 Brooks Moses <bmoses@google.com>
19039
19040 [BZ #15846]
19041 * misc/getauxval.c: Include errno.h.
19042 (__getauxval): Set errno to ENOENT if the requested type is not
19043 found.
19044 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19045 don't declare with __attribute_const__.
19046 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19047 * manual/startup.texi: Document that getauxval sets errno.
19048
23776487
JM
190492013-12-18 Joseph Myers <joseph@codesourcery.com>
19050
f889953b
JM
19051 * math/auto-libm-test-in: Add tests of jn and yn.
19052 * math/auto-libm-test-out: Regenerated.
19053 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19054 (yn_test_data): Likewise.
19055 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19056 mpfr_if_f.
19057 (func_calc_desc): Add mpfr_if_f union field.
19058 (FUNC_mpfr_if_f): New macro.
19059 (test_functions): Add jn and yn.
19060 (calc_generic_results): Assert type of second input for
19061 mpfr_ff_f. Handle mpfr_if_f.
19062 (output_for_one_input_case): Disable all checking for arguments
19063 fitting floating-point types in case of an integer argument.
19064 * sysdeps/i386/fpu/libm-test-ulps: Update.
19065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19066
23776487
JM
19067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19068 Don't expect fegetround reference in libm.so.
19069
cb756c6d
MS
190702013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19071
19072 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19073 $(config-cflags-nofma).
19074
2dec468f
JM
190752013-12-18 Joseph Myers <joseph@codesourcery.com>
19076
5953eb3a
JM
19077 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19078 * math/auto-libm-test-out: Regenerated.
19079
2dec468f
JM
19080 [BZ #16338]
19081 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19082 to determine exponent and adjust argument to have exponent of -1.
19083 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19084 log2.
19085 * math/auto-libm-test-out: Regenerated.
19086 * sysdeps/i386/fpu/libm-test-ulps: Update.
19087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19088
4d84e6ad
OB
190892013-12-18 Ondřej Bílka <neleai@seznam.cz>
19090
19091 * manual/probes.texi: Remove cases when per-thread arenas are
19092 disabled.
19093
1818483b
AS
190942013-12-18 Andreas Schwab <schwab@suse.de>
19095
19096 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19097 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19098 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19099 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19100 * sysdeps/i386/i686/multiarch/Makefile: Update.
19101 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19102
25de95bf
JM
191032013-12-17 Joseph Myers <joseph@codesourcery.com>
19104
19105 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19106 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19107
674762d9
PE
191082013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19109
ed27ed83 19110 [BZ #15968]
0748546f
PE
19111 Support TZ transition times < 00:00:00.
19112 This is needed for version-3 tz-format files; it supports time
19113 stamps past 2037 for America/Godthab (the only entry in the tz
19114 database for which this change is relevant).
19115 * manual/time.texi (TZ Variable): Document transition times
19116 from -167:59:59 through -00:00:01.
19117 * time/tzset.c (tz_rule): Time of day is now signed.
19118 (__tzset_parse_tz): Parse negative time of day.
19119
4480e934
PE
19120 Document TZ transition times >= 25:00:00.
19121 * manual/time.texi (TZ Variable): Document transition times from
19122 25:00:00 through 167:59:59. These are already supported, and this
19123 support will help with version-3 tz-format files.
19124
69947401
PE
19125 * manual/time.texi (TZ Variable): Modernize North America example
19126 to reflect current (i.e., 2007-and-later) daylight saving rules.
19127
674762d9
PE
19128 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19129
7011c262
JM
191302013-12-17 Joseph Myers <joseph@codesourcery.com>
19131
2fc6557e
JM
19132 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19133 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19134 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19135 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19136 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19137 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19138 * sysdeps/unix/bsd/clock.c: Likewise.
19139 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19140 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19141 * sysdeps/unix/bsd/init-posix.c: Likewise.
19142 * sysdeps/unix/bsd/poll.c: Likewise.
19143 * sysdeps/unix/bsd/ptsname.c: Likewise.
19144 * sysdeps/unix/bsd/seekdir.c: Likewise.
19145 * sysdeps/unix/bsd/setegid.c: Likewise.
19146 * sysdeps/unix/bsd/seteuid.c: Likewise.
19147 * sysdeps/unix/bsd/setgid.c: Likewise.
19148 * sysdeps/unix/bsd/setrgid.c: Likewise.
19149 * sysdeps/unix/bsd/setruid.c: Likewise.
19150 * sysdeps/unix/bsd/setsid.c: Likewise.
19151 * sysdeps/unix/bsd/setuid.c: Likewise.
19152 * sysdeps/unix/bsd/sigaction.c: Likewise.
19153 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19154 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19155 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19156 * sysdeps/unix/bsd/telldir.c: Likewise.
19157 * sysdeps/unix/bsd/times.c: Likewise.
19158 * sysdeps/unix/bsd/usleep.c: Likewise.
19159
029c7b25
JM
19160 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19161 ($(objpfx)libbsd-compat.a): Remove rule.
19162
7011c262
JM
19163 * include/features.h (__FAVOR_BSD): Do not define.
19164 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19165 features conflicting with POSIX.
19166 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19167 (_BSD_SOURCE): Remove description of not being a subset of other
19168 feature test macros.
19169 * manual/job.texi (getpgrp): Do not document BSD version.
19170 (getpgid): Do not document by reference to BSD getpgrp.
19171 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19172 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19173 * signal/signal.h [__FAVOR_BSD]: Likewise.
19174 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19175 instead of making contents conditional on [__FAVOR_BSD].
19176 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19177
affb6f78
AZ
191782013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19179
19180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19181
c88769dd
JM
191822013-12-17 Joseph Myers <joseph@codesourcery.com>
19183
6432a540
JM
19184 [BZ #16314]
19185 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19186 values below 2**-450, not 2**-500.
19187 * math/auto-libm-test-in: Don't allow spurious underflow from
19188 hypot.
19189 * math/auto-libm-test-out: Regenerated.
19190
c88769dd
JM
19191 [BZ #16316]
19192 [BZ #16330]
19193 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19194 values of ha and hb and sort them after adjusting subnormal
19195 arguments.
19196 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19197 Likewise.
19198 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19199 values of ea and eb and sort them after adjusting subnormal
19200 arguments.
19201 * math/auto-libm-test-in: Do not expect some hypot tests of
19202 subnormals to fail. Add more hypot tests.
19203 * math/auto-libm-test-out: Regenerated.
19204
29618f6b
KK
192052013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19206
19207 [BZ #13304]
19208 * sysdeps/sh/s_fma.c: New file.
19209 * sysdeps/sh/s_fmaf.c: New file.
19210 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19211 version.
19212 * sysdeps/sh/Implies: Add sh/soft-fp.
19213
eacfdfbf
RM
192142013-12-16 Roland McGrath <roland@hack.frob.com>
19215
19216 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19217 level of indirection to members `objname', `errstring', `malloced'.
19218 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19219 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19220 it as the __longjmp argument (just pass 1 instead).
19221 (_dl_catch_error): Initialize C with argument pointers and address of
19222 volatile local ERRCODE rather than copying values out of C at return.
19223
ff362e5b
JM
192242013-12-16 Joseph Myers <joseph@codesourcery.com>
19225
19226 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19227 * math/auto-libm-test-out: Regenerated.
19228 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19229 (hypot_test_data): Likewise.
19230 (pow_test_data): Likewise.
19231 (pow_tonearest_test_data): Likewise.
19232 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19233 mpfr_ff_f.
19234 (func_calc_desc): Add mpfr_ff_f union field.
19235 (FUNC_mpfr_ff_f): New macro.
19236 (test_functions): Add atan2, hypot and pow.
19237 (special_fill_min): New function.
19238 (special_fill_minus_min): Likewise.
19239 (special_fill_min_subnorm): Likewise.
19240 (special_fill_minus_min_subnorm): Likewise.
19241 (special_real_inputs): Add min, -min, min_subnorm and
19242 -min_subnorm.
19243 (calc_generic_results): Handle mpfr_ff_f.
19244 * sysdeps/i386/fpu/libm-test-ulps: Update.
19245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19246
5764c27f
WN
192472013-12-16 Will Newton <will.newton@linaro.org>
19248
19249 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19250 (Aligned Memory Blocks): Add documentation for aligned_alloc
19251 and suggest it as an alternative to posix_memalign.
19252 (Hooks for Malloc): Document __memalign_hook is also called
19253 for aligned_alloc. (Summary of Malloc): Add summary for
19254 aligned alloc. Document __memalign_hook is also called
19255 for aligned_alloc.
19256
0a096e44
WN
192572013-12-16 Will Newton <will.newton@linaro.org>
19258
19259 * manual/memory.texi (Malloc Examples): Clarify default
19260 alignment documentation. Suggest posix_memalign rather
19261 than memalign or valloc.
19262 (Aligned Memory Blocks): Remove suggestion to use memalign
19263 or valloc. Remove obsolete comment about BSD.
19264 Document memalign errno values and mark the function obsolete.
19265 Document posix_memalign returned error codes. Mark valloc
19266 as obsolete. (Hooks for Malloc): __memalign_hook is also
19267 called for posix_memalign and valloc.
19268 (Summary of Malloc): Add posix_memalign to function summary.
19269 __memalign_hook is also called for posix_memalign and valloc.
19270
8d561986
SP
192712013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19272
19273 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19274 TAYLOR_SIN.
19275 (__sin): Adjust.
19276 (__cos): Likewise.
19277 (sloww): Use mynumber union. Expand ternary operator into
19278 if-else statements.
19279 (cslow): use mynumber union.
19280
73616a74
AM
192812013-12-16 Allan McRae <allan@archlinux.org>
19282
9e8ac24b
AM
19283 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19284 * configure: Regenerated.
19285
6f8e37eb
AM
19286 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19287
8894bad3
AM
19288 [BZ #14120]
19289 * configure.ac: Added --enable-maintainer-mode. Check for
19290 autoconf when enabled.
19291 * configure: Regenerated.
19292
73616a74
AM
19293 * nscd/nscd.service: New file.
19294 * nscd/nscd.tmpfiles: New file.
19295
584b18eb
OB
192962013-12-14 Ondřej Bílka <neleai@seznam.cz>
19297
19298 [BZ #12100]
19299 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19300 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19301 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19302 (strstr): Add __strstr_sse2_unaligned ifunc.
19303 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19304 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19305 (strcasestr): Remove __strcasestr_sse42 ifunc.
19306 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19307 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19309
8a5c7897
KK
193102013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19311
19312 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19313 * sysdeps/sh/bits/fenv.h: ... here.
19314 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19315
fd712ef3
AZ
193162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19317
19318 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19319
42fcb46c
AZ
19320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19321 hypotf multiarch implementations.
19322 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19323 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19324 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19325 multiarch hypot for PPC64.
19326 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19327 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19328 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19329 multiarch hypotf for PPC64.
19330
83efded4
AZ
19331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19332 modff multiarch implementations.
19333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19336 multiarch modf for PPC64.
19337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19340 multiarch modff for PPC64.
19341
43e246d2
AZ
19342 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19343 and logl multiarch implementations.
19344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19347 multiarch logb for PPC64.
19348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19351 multiarch logb for PPC64.
19352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19355 multiarch logb for PPC64.
19356
8fdad123
AZ
19357 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19358 isinff multiarch implementation.
19359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19360 file.
19361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19363 multiarch isinf for PPC64.
19364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19365 file.
19366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19367 multiarch isinff for PPC64.
19368
1481d706
AZ
19369 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19370 finitef multiarch implementation.
19371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19372 file.
19373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19375 multiarch finite for PPC64.
19376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19377 file.
19378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19379 multiarch finitef for PPC64.
19380
5ccd5fc8
AZ
19381 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19382 lrint multiarch implementation.
19383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19384 file.
19385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19387 multiarch llrint for PPC64.
19388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19389 multiarch lrint for PPC64.
19390
2568f3fa
AZ
19391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19392 copysignf multiarch implementation.
19393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19394 file.
19395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19396 file.
19397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19398 multiarch copysign for PPC64.
19399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19400 multiarch copysignf for PPC64.
19401
1cb341fd
AZ
19402 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19403 multiarch implementation.
19404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19405 file.
19406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19407 file.
19408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19409 file.
19410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19411 file.
19412 multiarch llround for PPC64.
19413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19414 multiarch trunc for PPC64.
19415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19416 multiarch truncf for PPC64.
19417
59a3e194
AZ
19418 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19419 multiarch implementation.
19420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19421 file.
19422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19423 file.
19424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19425 file.
19426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19427 file.
19428 multiarch llround for PPC64.
19429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19430 multiarch round for PPC64.
19431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19432 multiarch roundf for PPC64.
19433
357fd3b4
AZ
19434 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19435 multiarch implementation.
19436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19437 file.
19438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19439 file.
19440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19441 file.
19442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19443 file.
19444 multiarch llround for PPC64.
19445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19446 multiarch floor for PPC64.
19447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19448 multiarch floorf for PPC64.
19449
96770f12
AZ
19450 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19451 multiarch implementation.
19452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19453 file.
19454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19455 file.
19456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19457 file.
19458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19459 file.
19460 multiarch llround for PPC64.
19461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19462 multiarch ceil for PPC64.
19463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19464 multiarch ceilf for PPC64.
19465
c3627f6e
AZ
19466 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19467 multiarch implementation.
19468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19469 file.
19470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19471 file.
19472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19473 file.
19474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19475 multiarch llround for PPC64.
19476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19477 multiarch lround for PPC64.
19478
b2284ad7
AZ
19479 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19480 multiarch implementation.
19481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19484 file.
19485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19488 multiarch isnan for PPC64.
19489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19490 multiarch isnanf for PPC64.
19491
69bbc63d
AZ
19492 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19493 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19494 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19495 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19496 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19498
c24517c9
AZ
19499 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19500 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19501 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19502 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19503
a52374e8
AZ
19504 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19505 multiarch implementations.
19506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19507 (__libc_ifunc_impl_list): Likewise.
19508 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19509 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19510 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19511 multiarch stpcpy for PPC64.
19512
7f5ec113
AZ
19513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19514 multiarch implementations.
19515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19516 (__libc_ifunc_impl_list): Likewise.
19517 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19518 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19519 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19520 multiarch strcpy for PPC64.
19521
e28bcd42
AZ
19522 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19523 redefine function name.
19524 (_wordcopy_fwd_dest_aligned): Likewise.
19525 (_wordcopy_bwd_aligned): Likewise.
19526 (_wordcopy_bwd_dest_aligned): Likewise.
19527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19528 multiarch implementations.
19529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19530 (__libc_ifunc_impl_list): Likewise.
19531 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19532 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19533 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19534 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19535 multiarch wcscpy for PPC64.
19536
92cacfce
AZ
19537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19538 multiarch implementations.
19539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19540 (__libc_ifunc_impl_list): Likewise.
19541 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19542 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19543 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19544 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19545 multiarch wcscpy for PPC64.
19546
7b714620
AZ
19547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19548 multiarch implementations.
19549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19550 (__libc_ifunc_impl_list): Likewise.
19551 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19552 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19553 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19554 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19555 multiarch wcsrchr for PPC64.
19556
16fd2ae3
AZ
19557 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19558 multiarch implementations.
19559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19560 (__libc_ifunc_impl_list): Likewise.
19561 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19562 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19563 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19564 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19565 multiarch wcschr for PPC64.
19566
9ee2969b
AZ
19567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19568 multiarch implementations.
19569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19570 (__libc_ifunc_impl_list): Likewise.
19571 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19572 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19573 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19574 multiarch strchrnul for PPC64.
19575
372dc060
AZ
19576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19577 implementations.
19578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19579 (__libc_ifunc_impl_list): Likewise.
19580 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19581 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19582 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19583 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19584 strchr for PPC64.
19585
24c2c3b9
AZ
19586 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19587 implementations.
19588 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19589 (__libc_ifunc_impl_list): Likewise.
19590 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19591 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19592 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19593 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19594 strncmp for PPC64.
19595
1c92d9a0
AZ
19596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19597 multiarch implementations.
19598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19599 (__libc_ifunc_impl_list): Likewise.
19600 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19601 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19602 strncasecmp for PPC64.
19603 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19604 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19605 multiarch strncasecmp_l for PPC64.
19606
17de3ee3
AZ
19607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19608 multiarch implementations.
19609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19610 (__libc_ifunc_impl_list): Likewise.
19611 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19612 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19613 multiarch strcasecmp for PPC64.
19614 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19615 file.
19616 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19617 multiarch strcasecmp_l for PPC64.
19618
62982bf9
AZ
19619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19620 implementations.
19621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19622 (__libc_ifunc_impl_list): Likewise.
19623 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19624 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19625 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19626 strnlen for PPC64.
19627
a65f4904
AZ
19628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19629 implementations.
19630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19631 (__libc_ifunc_impl_list): Likewise.
19632 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19633 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19634 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19635 strlen for PPC64.
19636
1fd005ad
AZ
19637 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19638 implementations.
19639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19640 (__libc_ifunc_impl_list): Likewise.
19641 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19642 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19643 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19644 rawmemrchr for PPC64.
19645
cd05ba91
AZ
19646 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19647 implementation.
19648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19649 (__libc_ifunc_impl_list): Likewise.
19650 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19651 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19652 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19653 memrchr for PPC64.
19654
870f8676
AZ
19655 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19656 implementation.
19657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19658 (__libc_ifunc_impl_list): Likewise.
19659 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19660 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19661 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19662 memchr for PPC64.
19663
f00be62b
AZ
19664 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19665 implementation.
19666 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19667 (__libc_ifunc_impl_list): Likewise.
19668 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19669 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19670 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19671 mempcpy for PPC64.
19672
8a29a3d0
AZ
19673 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19674 avoid cretion of __bzero symbol.
19675 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19676 Likewise.
19677 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19678 Likewise.
19679 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19680 Likewise.
19681 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19682 multiarch implementations.
19683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19684 (__libc_ifunc_impl_list): Likewise.
19685 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19686 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19687 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19688 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19689 bzero for PPC32.
19690 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19691 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19692 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19693 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19694 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19695 memset for PPC64.
19696 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19697
07253fcf
AZ
19698 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19699 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19700 implementations.
19701 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19702 (__libc_ifunc_impl_list): Likewise.
19703 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19704 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19705 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19706 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19707 memcmp for PPC64.
19708
b5beafbc
AZ
19709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19710 multiarch for POWER/PPC64.
19711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19712 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19713 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19714 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19715 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19716 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19717 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19718 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19719 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19720 memcpy for PPC64.
19721
5e6a4d4b
AZ
19722 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19723 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19724 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19725 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19726 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19727 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19728 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19729 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19730 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19731 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19732 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19733 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19734 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19735 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19736 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19744
ddfab6dc
KK
197452013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19746
19747 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19748
19b5525e
SP
197492013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19750
19751 * benchtests/Makefile (bench): Add exp2 and log2.
19752 (LDLIBS-bench-exp2): Add -lm.
19753 (LDLIBS-bench-log2): Likewise.
19754 * benchtests/exp2-inputs: New inputs file.
19755 * benchtests/log2-inputs: New inputs file.
19756 * benchtests/log-inputs: Add new inputs.
19757 * benchtests/tan-inputs: Likewise.
19758
196f7f5d
SP
197592013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19760
7a74607f
SP
19761 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19762 definition...
57f41c40
AS
19763 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19764 (csloww2): ... from here.
7a74607f 19765
196f7f5d
SP
19766 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19767 instead of structures.
19768 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19769 (POLYNOMIAL): Likewise.
19770 (TAYLOR_SLOW): Likewise.
19771 (__sin): Likewise.
19772 (__cos): Likewise.
19773 (slow1): Likewise.
19774 (slow2): Likewise.
19775 (sloww): Likewise.
19776 (sloww1); Likewise.
19777 (sloww2): Likewise.
19778 (bsloww1): Likewise.
19779 (bsloww2): Likewise.
19780 (cslow2): Likewise.
19781 (csloww): Likewise.
19782 (csloww1): Likewise.
19783 (csloww2): Likewise.
19784
0dfa665c
OB
197852013-12-10 Ondřej Bílka <neleai@seznam.cz>
19786
19787 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
19788 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19789 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
19790 * malloc/hooks.c (realloc_check): Likewise.
19791
5782a80f
OB
19792 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19793 * malloc/arena.c: Remove PER_THREAD conditional.
19794 [!PER_THREAD]: Remove code.
19795 (ptmalloc_unlock_all2): Likewise.
19796 (ptmalloc_init): Likewise.
19797 (_int_new_arena): Likewise.
19798 (arena_get2): Likewise.
19799 * malloc/hooks.c (__malloc_get_state): Likewise.
19800 (__malloc_set_state): Likewise.
19801 * malloc/malloc.c: Likewise.
19802 (struct malloc_state): Likewise.
19803 (struct malloc_par): Likewise.
19804 (__libc_realloc): Likewise.
19805 (__libc_mallopt): Likewise.
19806
aeb95445
AZ
198072013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19808
19809 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19810
e8349efd
OB
198112013-12-09 Ondřej Bílka <neleai@seznam.cz>
19812
19813 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19814 macro to a function. Check for zero perturb_byte.
19815 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19816
f3eeb3fc 19817 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
19818 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19819 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
19820 force_reg by atomic_forced_read.
19821 * malloc/arena.c (ptmalloc_init): Likewise.
19822 * malloc/hooks.c (top_check): Likewise.
19823
be2f9009
AZ
198242013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19825
19826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19827
e7b914bd
MT
198282013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19829
19830 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19831
9f0be4f8
JM
198322013-12-08 Joseph Myers <joseph@codesourcery.com>
19833
19834 * math/auto-libm-test-in: Add tests of lgamma.
19835 * math/auto-libm-test-out: Regenerated.
19836 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19837 (M_LOG_2_SQRT_PIl): Likewise.
19838 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19839 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19840 mpfr_f_f1.
19841 (func_calc_desc): Add mpfr_f_f1 union field.
19842 (ARGS1): New macro.
19843 (ARGS2): Likewise.
19844 (ARGS3): Likewise.
19845 (ARGS4): Likewise.
19846 (RET1): Likewise.
19847 (RET2): Likewise.
19848 (CALC): Likewise.
19849 (FUNC): Likewise.
19850 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19851 (test_functions): Add lgamma.
19852 (calc_generic_results): Handle mpfr_f_f1.
19853 * sysdeps/i386/fpu/libm-test-ulps: Update.
19854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19855
24eeafdb
AZ
198562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19857
19858 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19859 __mpn_add_n for PowerPC64/POWER7.
19860 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19861 __mpn_sub_n for PowerPC64/POWER7.
19862
4a2c0fd4
AZ
19863 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19864 __mpn_addmul_1 for PowerPC64.
19865 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19866 __mpn_submul_1 for PowerPC64.
19867 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19868 for PowerPC64.
19869 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19870 for PowerPC64.
19871
4b5b548c
FS
198722013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19873
19874 [BZ #15089]
19875 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19876
0a3ac0aa
AZ
198772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19878
19879 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19880
ccdc8438
AZ
19881 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19882 add multiarch folders.
19883 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19884 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19885 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19886 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19887 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19888 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19889 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19890 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19891 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19892 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19893 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19900
2e973d99
AZ
19901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19902 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19904 New file.
19905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19906 New file.
19907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19908 multiarch __ieee754_hypot for PowerPC32.
19909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19910 New file.
19911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19912 New file.
19913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19914 multiarch __ieee754_hypotf for PowerPC32.
19915
2d9470b2
AZ
19916 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19917 long_double_symbol only if __logbl is defined.
19918 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19919 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19920 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19921 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19922 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19923 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19924 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19925 path for implementation.
19926 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19927 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19929 logb, and logbl multiarch implementations for PowerPC32.
19930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19931 file.
19932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19933 file.
19934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19935 multiarch logb for PowerPC32.
19936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19937 file.
19938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19939 file.
19940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19941 multiarch logbf for PowerPC32.
19942 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19944 file.
19945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19946 multiarch logbl implementation for PowerPC32.
19947
5212ffce
AZ
19948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19949 and modff multiarch implementations.
19950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19951 New file.
19952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19953 New file.
19954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19955 multiarch modf for PowerPC32.
19956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19957 New file.
19958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19959 New file.
19960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19961 multiarch modff for PowerPC32.
19962
79dccf31
AZ
19963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19964 and lrintf multiarch implementations.
19965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19966 New file.
19967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19968 New file.
19969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19970 multiarch lrint for PowerPC32.
19971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19972 file: multiarch lrintf for PowerPC32.
19973
deb66480
AZ
19974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19975 and lroundf multiarch implementations.
19976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19977 New file.
19978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19979 New file.
19980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19981 New file.
19982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19983 multiarch lround for PowerPC32.
19984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19985 file: multiarch lroundf for PowerPC32.
19986
264b036b
AZ
19987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19988 copysign and copysignf multiarch implementations.
19989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19990 New file.
19991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19992 New file.
19993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19994 file: multiarch copysign for PowerPC32.
19995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19996 file: multiarch copysignf for PowerPC32.
19997
d47db6c9
AZ
19998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19999 and truncf multiarch implementations.
20000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20001 New file.
20002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20003 file.
20004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20005 multiarch trunc for PowerPC32.
20006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20007 New file.
20008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20009 New file.
20010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20011 multiarch truncf for PowerPC32.
20012
ddb60b5a
AZ
20013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20014 and roundf multiarch implementations.
20015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20016 New file.
20017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20018 file.
20019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20020 multiarch round for PowerPC32.
20021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20022 New file.
20023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20024 New file.
20025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20026 multiarch roundf for PowerPC32.
20027
bedcf49b
AZ
20028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20029 and floorf multiarch implementations.
20030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20031 New file.
20032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20033 file.
20034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20035 multiarch floor for PowerPC32.
20036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20037 New file.
20038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20039 New file.
20040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20041 multiarch floorf for PowerPC32.
20042
35ae5b40
AZ
20043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20044 and ceilf multiarch implementations.
20045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20046 New file.
20047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20048 file.
20049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20050 multiarch ceil for PowerPC32.
20051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20052 New file.
20053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20054 file.
20055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20056 multiarch ceilf for PowerPC32.
20057
ae1a4cd9
AZ
20058 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20059 is defined.
20060 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20061 FINITEF is defined.
20062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20063 and finitef multiarch implementations.
20064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20065 New file.
20066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20067 file.
20068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20069 multiarch finite for PowerPC32.
20070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20071 New file.
20072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20073 file: multiarch finitef for PowerPC32.
20074
64fffd65
AZ
20075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20076 and isinff multiarch implementations.
20077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20078 file.
20079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20080 file.
20081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20082 multiarch isinf for PowerPC32.
20083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20084 New file.
20085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20086 multiarch isinff for PowerPC32.
20087
8e4e7ba2
AZ
20088 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20089 alias when __isnan is defined.
20090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20091 and isnanf multiarch implementations.
20092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20093 file.
20094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20095 file.
20096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20097 file.
20098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20099 file.
20100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20101 multiarch isnan for PowerPC32.
20102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20103 New file.
20104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20105 New file.
20106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20107 multiarch isnanf for PowerPC32.
20108
ddba588e
AZ
20109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20110 and sqrtf multiarch implementations.
20111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20112 file.
20113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20114 file.
20115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20116 multiarch sqrt for PowerPC32.
20117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20118 file.
20119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20120 file.
20121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20122 multiarch sqrtf for PowerPC32.
20123
0f96a2f0
AZ
20124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20125 and llroundf multiarch implementations.
20126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20127 New file.
20128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20129 New file.
20130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20131 New file.
20132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20133 file: multiarch llround for PowerPC32.
20134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20135 file: multiarch llroundf for PowerPC32.
20136
c9b5d79e
AZ
20137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20138 multiarch PowerPC32 fpu implementations.
20139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20140 New file.
20141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20142 New file.
20143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20144 multiarch llrint for PowerPC32.
20145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20146 New file.
20147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20148 New file.
20149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20150 file.
20151
9cbb3aab
AZ
20152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20153
ea5a72f8
AZ
20154 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20155 file.
20156 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20157 file.
20158 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20159 file.
20160 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20161 multiarch wordcopy for PPC32.
20162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20163 wordcopy objects.
20164 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20165 (__libc_ifunc_impl_list): Likewise.
20166 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20167 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20168 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20169 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20170 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20171 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20172
93be09e7
AZ
20173 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20175 file.
20176 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20177 file.
20178 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20179 file.
20180 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20181 multiarch wcscpy for PPC32.
20182 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20183 multiarch objects.
20184 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20185 (__libc_ifunc_impl_list): Likewise.
20186 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20187 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20188 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20189 sysdeps/powerpc/power6/wcscpy.c.
20190
bb04e529
AZ
20191 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20192 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20193 file.
20194 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20195 file.
20196 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20197 file.
20198 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20199 multiarch wcsrchr for PPC32.
20200 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20201 multiarch objects.
20202 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20203 (__libc_ifunc_impl_list): Likewise.
20204 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20205 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20206 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20207 sysdeps/powerpc/power6/wcsrchr.c.
20208
05b5cd1c
AZ
20209 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20210 file.
20211 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20212 file.
20213 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20214 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20215 multiarch wcschr for PPc32.
20216 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20217 multiarch objects.
20218 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20219 (__libc_ifunc_impl_list): Likewise.
20220 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20221 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20222 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20223 sysdeps/powerpc/power6/wcschr.c.
20224
ba964147
AZ
20225 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20226 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20227 file.
20228 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20229 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20230 file: multiarch strchr for PPC32.
20231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20232 multiarch objects.
20233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20234 (__libc_ifunc_impl_list): Likewise.
20235
31c81aaa
AZ
20236 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20237 name.
20238 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20239 file.
20240 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20241 file.
20242 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20243 multiarch strchrnul for PPC32.
20244 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20245 multiarch objects.
20246 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20247 (__libc_ifunc_impl_list): Likewise.
20248
0d0607d9
AZ
20249 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20250 file.
20251 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20252 multiarch strncasecmp for PPC32.
20253 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20254 file.
20255 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20256 multiarch strncasecmp_l for PPC32.
20257 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20258 strncasecmp multiarch objects.
20259 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20260 (__libc_ifunc_impl_list): Likewise.
20261
4dfd5c86
AZ
20262 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20263 file.
20264 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20265 multiarch strncasecmp for PPC32.
20266 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20267 New file.
20268 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20269 multiarch strcasecmp_l for PPC32.
20270 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20271 multiarch objects.
20272 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20273 (__libc_ifunc_impl_list): Likewise.
20274
a19e01a3
AZ
20275 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20276 file.
20277 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20278 file.
20279 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20280 multiarch strncmp for PPC32.
20281 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20282 multiarch objects.
20283 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20284 (__libc_ifunc_impl_list): Likewise.
20285
ae9cf7a2
AZ
20286 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20287 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20288 file.
20289 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20290 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20291 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20292 multiarch objects.
20293 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20294 (__libc_ifunc_impl_list): Likewise.
20295
3148bb7d
AZ
20296 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20297 file.
20298 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20299 file.
20300 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20302 multiarch objects.
20303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20304 (__libc_ifunc_impl_list): Likewise.
20305
7af8b946
AZ
20306 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20307 file.
20308 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20309 file.
20310 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20311 multiarch rawmemchr for PPC32.
20312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20313 multiarch objects.
20314 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20315 (__libc_ifunc_impl_list): Likewise.
20316
03a6aa6a
AZ
20317 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20318 file.
20319 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20320 file.
20321 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20322 file: memrchr multiarch for PPC32.
20323 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20324 multiarch objects.
20325 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20326 (__libc_ifunc_impl_list): Likewise.
20327
1c62e6d9
AZ
20328 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20329 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20330 file.
20331 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20332 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20333 multiarch memchr for PPC32.
20334 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20335 multiarch objects.
20336 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20337 (__libc_ifunc_impl_list): Likewise.
20338
87da8bdb
AZ
20339 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20340 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20341 file.
20342 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20343 file.
20344 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20345 file: multiarch mempcpy for PPC32.
20346 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20347 multiarch objects.
20348 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20349 (__libc_ifunc_impl_list): Likewise.
20350
20ed4714
AZ
20351 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20352 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20353 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20354 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20355 multiarch bzero for PPC32.
20356 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20357 file.
20358 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20359 file.
20360 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20361 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20362 file: multiarch memset for PPC32.
20363 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20364 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20365 memset multiarch objects.
20366 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20367 (__libc_ifunc_impl_list): Likewise.
20368
ab3e3a46
AZ
20369 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20370 file.
20371 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20372 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20373 memcmp for PPC32.
20374 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20376 multiarch objects.
20377 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20378 (__libc_ifunc_impl_list): Likewise.
20379
930de6f0
AZ
20380 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20381 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20382 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20383 file.
20384 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20385 file.
20386 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20387 file.
20388 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20389 multiarch memcpy for PPC32.
20390 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20391 multiarch objects.
20392 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20393 (__libc_ifunc_impl_list): Likewise.
20394
4c628e00
AZ
20395 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20396 support multiarch for POWER/PPC32.
20397 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20398 Likewise.
20399 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20401 Implies file to make multiarch folder appers before the fpu and
20402 default folder for power4 configuration.
20403
f4479220
SP
204042013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20405
20406 * scripts/bench.pl: Append volatile keyword to type.
20407
8517800f
KK
204082013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20409
20410 * sysdeps/sh/sotruss-lib.c: New file.
20411 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20412
180138f1
AZ
204132013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20414
20415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20416
bbf37bdc
JM
204172013-12-05 Joseph Myers <joseph@codesourcery.com>
20418
e47cc4e0
JM
20419 [BZ #6810]
20420 * math/w_tgamma.c: Include <errno.h>.
20421 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20422 * math/w_tgammaf.c: Include <errno.h>.
20423 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20424 * math/w_tgammal.c: Include <errno.h>.
20425 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20426 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20427 underflow. Add more tgamma tests.
20428 * math/auto-libm-test-out: Regenerated.
20429 * sysdeps/i386/fpu/libm-test-ulps: Update.
20430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20431
bbf37bdc
JM
20432 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20433 sin, sinh, tan, tanh, tgamma, y0 and y1.
20434 * math/auto-libm-test-out: Regenerated.
20435 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20436 (TEST_COND_x86): Likewise.
20437 (M_E2l): Remove macro.
20438 (M_E3l): Likewise.
20439 (M_2_SQRT_PIl): Likewise.
20440 (M_SQRT_PIl): Likewise.
20441 (M_1_DIV_El): Likewise.
20442 (log_test_data): Use AUTO_TESTS_f_f.
20443 (log10_test_data): Likewise.
20444 (log1p_test_data): Likewise.
20445 (log2_test_data): Likewise.
20446 (sin_test_data): Likewise.
20447 (sin_tonearest_test_data): Likewise.
20448 (sin_towardzero_test_data): Likewise.
20449 (sin_downward_test_data): Likewise.
20450 (sin_upward_test_data): Likewise.
20451 (sinh_test_data): Likewise.
20452 (sinh_tonearest_test_data): Likewise.
20453 (sinh_towardzero_test_data): Likewise.
20454 (sinh_downward_test_data): Likewise.
20455 (sinh_upward_test_data): Likewise.
20456 (tan_test_data): Likewise.
20457 (tan_tonearest_test_data): Likewise.
20458 (tan_towardzero_test_data): Likewise.
20459 (tan_downward_test_data): Likewise.
20460 (tan_upward_test_data): Likewise.
20461 (tanh_test_data): Likewise.
20462 (tgamma_test_data): Likewise.
20463 (y0_test_data): Likewise.
20464 (y1_test_data): Likewise.
20465 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20466 (special_real_inputs): Add pi/4.
20467 * sysdeps/i386/fpu/libm-test-ulps: Update.
20468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20469
eb5ad6b9
AZ
204702013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20471
20472 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20473 "longjmp_target" static probes.
20474 (__longjmp): Rename to __longjmp_symbol.
20475 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20476 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20477 on which longjmp to generate.
20478 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20479 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20480 probe.
20481 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20482 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20483 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20484 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20485 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20486 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20488 __longjmp_symbol based on which __longjmp to generate.
20489 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20490 probe.
20491 (setjmp): Rename to setjmp_symbol.
20492 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20493 (_setjmp): Rename to _setjmp_symbol.
20494 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20495 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20496 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20497 which setjmp to generate.
20498 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20499 "longjmp_target" static probes.
20500
d136c6dc
SP
205012013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20502
9298ecba
SP
20503 * benchtests/README: Add note about output arguments.
20504 * benchtests/bench-sincos.c: Remove file.
20505 * benchtests/sincos-inputs: New file.
20506 * scripts/bench.pl: Identify output arguments and define
20507 static variables for them.
20508
232983e9
SP
20509 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20510
d136c6dc
SP
20511 [BZ #15941]
20512 * Makefile (INSTALL): Add install-plain.texi as the primary
20513 dependency.
20514 * manual/install-plain.texi: New file.
20515 * manual/install.texi: Include node directive only for
20516 non-plaintext output.
20517
699ff837
JM
205182013-12-04 Joseph Myers <joseph@codesourcery.com>
20519
ab07cea8
JM
20520 * stdlib/longlong.h: Update from GCC.
20521
699ff837
JM
20522 [BZ #6807]
20523 [BZ #15901]
20524 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20525 * math/w_j0f.c (y0f): Likewise.
20526 * math/w_j0l.c (__y0l): Likewise.
20527 * math/w_j1.c (y1): Likewise.
20528 * math/w_j1f.c (y1f): Likewise.
20529 * math/w_j1l.c (__y1l): Likewise
20530 * math/w_jn.c (yn): Likewise.
20531 * math/w_jnf.c (ynf): Likewise.
20532 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20533 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20534 value for Bessel function domain errors outside _SVID_ mode.
20535 Adjust sign of return value for yn (negative integer, 0).
20536 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20537 by zero in return for negative x and set sign appropriately for
20538 negative n.
20539 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20540 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20541 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20542 expectations in error cases.
20543 (y1_test_data): Likewise.
20544 (yn_test_data): Likewise.
20545 * sysdeps/i386/fpu/libm-test-ulps: Update.
20546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20547
5b118558
UW
205482013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20549
20550 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20551 "64" to "64-v1". Add "64-v2".
20552 (abi-64-options): Rename to ...
20553 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20554 (abi-64-condition): Rename to ...
20555 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20556 (abi-64-ld-soname): Rename to ...
20557 (abi-64-v1-ld-soname): ... this.
20558 (abi-64-v2-options): Define.
20559 (abi-64-v2-condition): Likewise.
20560 (abi-64-v2-ld-soname): Likewise.
20561 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20562 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20566
61cd8fe4
UW
205672013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20568 Alan Modra <amodra@gmail.com>
20569
20570 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20571 New versions for use with the ELFv2 ABI.
20572 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20573 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20574 declaration.
20575 (struct La_ppc64v2_retval): Likewise.
20576 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20577 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20578 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20579 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20580 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20581 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20582 Do not save or restore CR.
20583 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20584 (_dl_profile_resolve): Do no save or restore CR. Support extended
20585 return values for ELFv2 ABI. Fix location of FPR return registers.
20586 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20587 updated values for _CALL_ELF == 2.
20588 (La_regs, La_retval, int_retval): Likewise.
20589
8b8a692c
UW
205902013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20591
20592 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20593 (FRAME_MIN_SIZE_PARM): Likewise.
20594 (FRAME_BACKCHAIN): Likewise.
20595 (FRAME_CR_SAVE): Likewise.
20596 (FRAME_LR_SAVE): Likewise.
20597 (FRAME_TOC_SAVE): Likewise.
20598 (FRAME_PARM_SAVE): Likewise.
20599 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20600 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20601 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20602 (call_mcount_parm_offset): New macro.
20603 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20604 (PROF): Use symbolic stack frame offsets.
20605 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20606 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20607 Redefine in terms of FRAME_MIN_SIZE.
20608 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20609 (_dl_profile_resolve): Likewise. Update comment.
20610 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20611 symbols stack frame offsets.
20612 (__sigsetjmp): Likewise.
20613 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20614 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20615 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20616 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20617
20618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20619 (FRAME_BACKCHAIN): Remove.
20620 (FRAME_CR_SAVE): Likewise.
20621 (FRAME_LR_SAVE): Likewise.
20622 (FRAME_COMPILER_DW): Likewise.
20623 (FRAME_LINKER_DW): Likewise.
20624 (FRAME_TOC_SAVE): Likewise.
20625 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
20626 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20627 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20628 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
20629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20630 (CHECK_SP): Use symbolic stack frame offsets.
20631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20632 zone" instead of caller's parameter save area for temp storage.
20633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20634 Likewise. Also, use symbolic stack frame offsets.
20635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20636 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20637 our own stack frame instead of the caller's.
20638 (__socket): Use symbolic stack frame offsets.
20639
122b66de
UW
206402013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20641 Alan Modra <amodra@gmail.com>
20642
20643 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20644 Define.
57f41c40
AS
20645 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20646 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
20647 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20648 New function.
20649 (elf_machine_fixup_plt): Call it.
20650 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20651 reloc arguments.
20652 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
20653 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20654 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
20655 r2 before calling target.
20656
696caf1d
UW
206572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20658 Alan Modra <amodra@gmail.com>
20659
20660 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20661 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20662 versions of macros to support ELFv2 ABI.
20663 (LOCALENTRY): New macro.
20664 (ENTRY, EALIGN): Use it.
20665 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20666 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20667 fall through into ENTRY entry point.
20668 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20669 Only define if _CALL_ELF != 2.
20670
20671 (elf_machine_matches_host): Verify ABI version matches.
20672 (RTLD_START): Use LOCALENTRY.
20673 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20674 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20675 (PLT_ENTRY_WORDS): New macro.
20676 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20677 (elf_machine_runtime_setup): Support ELFv2 ABI.
20678 (elf_machine_fixup_plt): Likewise.
20679 (elf_machine_plt_conflict): Likewise.
20680 (resolve_ifunc): Likewise.
20681 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20682 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20683 Likewise.
20684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20685 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20687 (makecontext): Support ELFv2 ABI.
20688 * elf/elf.h (EF_PPC64_ABI): Define.
20689
d31beafa
UW
206902013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20691
57f41c40
AS
20692 * sysdeps/powerpc/powerpc64/sysdep.h
20693 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20694 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20695 (ENTRY) [ASSEMBLER]: ... but instead here ...
20696 (EALIGN) [ASSEMBLER]: ... and here.
20697 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20698 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20699 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
20700 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20701 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
20702 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20703 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
20704 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20706 Use PPC64_LOAD_FUNCPTR.
20707
b525166b
UW
20708 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20709
7ec07d9a
AM
207102013-12-04 Alan Modra <amodra@gmail.com>
20711
20712 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20713 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20714 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20715 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20716
20717 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20718 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20719 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20720 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20721 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20722 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20723
5162e7dd
UW
207242013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20725
20726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20727 (__makecontext): Fix incorrect CFI when backtracing out of
20728 context created via makecontext.
20729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20730 (__setcontext): Fix incorrect CFI during switch to new context.
20731 (__novec_setcontext): Likewise.
20732
19e3372b
OB
207332013-12-04 Ondřej Bílka <neleai@seznam.cz>
20734
20735 [BZ #4772]
20736 * time/strptime_l.c (__strptime_internal): Allow modifiers
20737 in strptime.
20738 * time/tst-strptime.c (day_tests): Add testcase.
20739
ecaf142d
SP
207402013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20741
20742 * scripts/bench.pl: Skip over blank lines.
20743
fbf964ae
PE
207442013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20745
20746 [BZ #926]
20747 * manual/time.texi (Calendar Time): Clarify what timezone functions
20748 use.
20749
fa60a674
AZ
207502013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20751
20752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20753
d674f0ef
OB
207542013-12-04 Ondřej Bílka <neleai@seznam.cz>
20755
20756 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20757 implementation.
20758 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20759 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20760 * debug/memset_chk.c (__memset_chk): Likewise.
20761 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20762 * debug/strncpy_chk.c: Likewise.
20763
17dea188
JM
207642013-12-03 Joseph Myers <joseph@codesourcery.com>
20765
749008ff
JM
20766 [BZ #15268]
20767 [BZ #15425]
20768 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20769 (__ieee754_exp): For possibly underflowing results, check size of
20770 result and force underflow exception if required.
20771 * math/auto-libm-test-in: Add more tests of exp.
20772 * math/auto-libm-test-out: Regenerated.
20773 * sysdeps/i386/fpu/libm-test-ulps: Update.
20774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20775
17dea188
JM
20776 [BZ #16283]
20777 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20778 * math/w_exp2f.c (__exp2f): Likewise.
20779 * math/w_exp2l.c (__exp2l): Likewise.
20780 * math/auto-libm-test-in: Do not allow missing errno on exp2
20781 underflow.
20782 * math/auto-libm-test-out: Regenerated.
20783
b20de2c3
OB
207842013-12-03 Ondřej Bílka <neleai@seznam.cz>
20785
20786 [BZ #16274]
20787 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20788 handle filename validation.
20789 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20790 (do_open): Delete.
20791
d8e2dbe3
JM
207922013-12-03 Joseph Myers <joseph@codesourcery.com>
20793
34e16df5
JM
20794 [BZ #6786]
20795 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20796 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20797 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20798 <float.h>.
20799 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20800 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20801 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20802 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20803 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20804 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20805 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20806 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20807 Add more erfc tests.
20808 * math/auto-libm-test-out: Regenerated.
20809 * sysdeps/i386/fpu/libm-test-ulps: Update.
20810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20811
d8e2dbe3
JM
20812 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20813 exp2, expm1, j0 and j1.
20814 * math/auto-libm-test-out: Regenerated.
20815 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20816 (erfc_test_data): Likewise.
20817 (exp_test_data): Likewise.
20818 (exp_tonearest_test_data): Likewise.
20819 (exp_towardzero_test_data): Likewise.
20820 (exp_downward_test_data): Likewise.
20821 (exp_upward_test_data): Likewise.
20822 (exp10_test_data): Likewise.
20823 (exp2_test_data): Likewise.
20824 (expm1_test_data): Likewise.
20825 (j0_test_data): Likewise.
20826 (j1_test_data): Likewise.
20827 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20828 (input_flag_type): Add flag_xfail_rounding.
20829 (input_flags): Add xfail-rounding.
20830 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20831 (output_for_one_input_case): Handle flag_xfail_rounding.
20832 * sysdeps/i386/fpu/libm-test-ulps: Update.
20833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20834
18d14251
AJ
208352013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20836
3d2e6075 20837 [BZ #16289]
18d14251
AJ
20838 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20839 division by 0.
20840
520d437b
SP
208412013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20842
20843 [BZ #16195]
20844 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20845 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20846 (STAP_PROBE0): New macro.
20847 (STAP_PROBE1): Likewise.
20848 (STAP_PROBE2): Likewise.
20849 (STAP_PROBE3): Likewise.
20850 (STAP_PROBE4): Likewise.
20851
416e0145
OB
208522013-12-02 Ondřej Bílka <neleai@seznam.cz>
20853
20854 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20855
9d17796a
SE
208562013-12-02 Steve Ellcey <sellcey@mips.com>
20857
20858 * benchtests/Makefile (bench): Add sqrt.
20859 (LDLIBS-bench-sqrt): New.
20860 * benchtests/sqrt-input: New.
20861
f524d6a8
PS
208622013-12-02 Pavel Simerda <psimerda@redhat.com>
20863
639a0ef8
PS
20864 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20865 (GAIH_EAI): Likewise.
20866 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20867 (gaih_inet): Likewise.
20868 (getaddrinfo): Don't use GAIH_EAI.
20869
f524d6a8
PS
20870 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20871 (struct gaih): Remove definition.
20872
df3aedaf
SP
208732013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20874
20875 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20876 Use HERRNOP directly.
20877
1ab19dec
AZ
208782013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20879
b42ad38d 20880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 20881
176b0c79
JM
208822013-11-30 Joseph Myers <joseph@codesourcery.com>
20883
20884 * math/gen-auto-libm-tests.c (test_functions): Add more
20885 single-argument functions.
20886 (special_fill_pi_2): New function.
20887 (special_fill_minus_pi_2): Likewise.
20888 (special_fill_pi_6): Likewise.
20889 (special_fill_minus_pi_6): Likewise.
20890 (special_fill_pi_3): Likewise.
20891 (special_fill_2pi_3): Likewise.
20892 (special_fill_e): Likewise.
20893 (special_fill_1_e): Likewise.
20894 (special_fill_e_minus_1): Likewise.
20895 (special_real_inputs): Add more special inputs.
20896 (output_for_one_input_case): Do not require ERANGE on underflow to
20897 zero if round-to-nearest result does not underflow to zero, unless
20898 exact results required.
20899 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20900 atan, atanh, cbrt, cos and cosh.
20901 * math/auto-libm-test-out: Regenerated.
20902 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20903 (acos_tonearest_test_data): Likewise.
20904 (acos_towardzero_test_data): Likewise.
20905 (acos_downward_test_data): Likewise.
20906 (acos_upward_test_data): Likewise.
20907 (acosh_test_data): Likewise.
20908 (asin_test_data): Likewise.
20909 (asin_tonearest_test_data): Likewise.
20910 (asin_towardzero_test_data): Likewise.
20911 (asin_upward_test_data): Likewise.
20912 (asinh_test_data): Likewise.
20913 (atan_test_data): Likewise.
20914 (atanh_test_data): Likewise.
20915 (cbrt_test_data): Likewise.
20916 (cos_test_data): Likewise.
20917 (cos_tonearest_test_data): Likewise.
20918 (cos_towardzero_test_data): Likewise.
20919 (cos_downward_test_data): Likewise.
20920 (cos_upward_test_data): Likewise.
20921 (cosh_test_data): Likewise.
20922 (cosh_tonearest_test_data): Likewise.
20923 (cosh_towardzero_test_data): Likewise.
20924 (cosh_downward_test_data): Likewise.
20925 (cosh_upward_test_data): Likewise.
20926 * sysdeps/i386/fpu/libm-test-ulps: Update.
20927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20928
ffb536d0
JM
209292013-11-29 Joseph Myers <joseph@codesourcery.com>
20930
2a77a467
JM
20931 [BZ #6787]
20932 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20933 * math/w_exp10f.c (__exp10f): Likewise.
20934 * math/w_exp10l.c (__exp10l): Likewise.
20935 * math/libm-test.inc (exp10_test_data): Add more tests and expect
20936 errno settings in existing tests.
20937
ea3bc4e8
JM
20938 [BZ #14032]
20939 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20940 precision control set to double precision.
20941 * sysdeps/i386/fpu/w_sqrt.c: New file.
20942 * math/auto-libm-test-in: Add more tests.
20943 * math/auto-libm-test-out: Update.
20944
0712c9d8
JM
20945 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20946 (sqrt_test_tonearest): New function.
20947 (sqrt_towardzero_test_data): New variable.
20948 (sqrt_test_towardzero): New function.
20949 (sqrt_downward_test_data): New variable.
20950 (sqrt_test_downward): New function.
20951 (sqrt_upward_test_data): New variable.
20952 (sqrt_test_upward): New function.
20953 (main): Call the new functions.
20954
ffb536d0
JM
20955 * math/gen-auto-libm-tests.c: New file.
20956 * math/auto-libm-test-in: Likewise.
20957 * math/auto-libm-test-out: New generated file.
20958 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20959 variables.
20960 (%beautify): Add generated representations of zero.
20961 (top level): Set $auto_input and call parse_auto_input.
20962 (beautify): Remove trailing "f" from hex float constants.
20963 (parse_args): Handle XFAIL_TEST.
20964 (convert_condition): New function.
20965 (or_value): Likewise.
20966 (or_cond_value): Likewise.
20967 (generate_testfile): Handle AUTO_TESTS_* lines.
20968 (parse_auto_input): New function.
20969 * math/libm-test.inc (XFAIL_TEST): New macro.
20970 (ERRNO_UNCHANGED): Update value.
20971 (ERRNO_EDOM): Likewise.
20972 (ERRNO_ERANGE): Likewise.
20973 (IGNORE_RESULT): Likewise.
20974 (TEST_COND_flt_32): New macro.
20975 (TEST_COND_dbl_64): Likewise.
20976 (TEST_COND_ldbl_96_intel): Likewise.
20977 (TEST_COND_ldbl_96_m68k): Likewise.
20978 (TEST_COND_ldbl_128): Likewise.
20979 (TEST_COND_ldbl_128ibm): Likewise.
20980 (TEST_COND_long32): Likewise.
20981 (TEST_COND_long64): Likewise.
20982 (TEST_COND_before_rounding): Likewise.
20983 (TEST_COND_after_rounding): Likewise.
20984 (enable_test): Handle XFAIL_TEST flag.
20985 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20986 with finite results.
20987 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20988 auto-libm-test-out.
20989
acd98a8e
AK
209902013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20991 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20992
20993 [BZ #16214]
20994 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20995 __tls_get_addr_internal instead of __tls_get_offset in order to
20996 avoid GOT pointer dependency. Make rtld export
20997 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20998 __tls_get_addr since we are a __tls_get_offset platform.
20999 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21000 GOT pointer being set up before.
21001 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21002
3c1c46a6
JM
210032013-11-28 Joseph Myers <joseph@codesourcery.com>
21004
7475aef5
JM
21005 * manual/math.texi (Errors in Math Functions): Document accuracy
21006 goals.
21007
8bca7cd8
JM
21008 [BZ #15004]
21009 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21010 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21011 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21012 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21013 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21015 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21016 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21017 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21019 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21020 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21021 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21022 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21023 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21024 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21025
91a1f3fe
JM
21026 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21027 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21028 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21029 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21030 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21031 Likewise.
21032 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21033 Likewise.
21034 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21035 Likewise.
21036 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21037 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21038 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21039 atomic-feupdateenv and flt-rounds.
21040 * sysdeps/powerpc/nofpu/Versions (libc): Add
21041 __atomic_feholdexcept, __atomic_feclearexcept,
21042 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21043 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21044 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21045 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21046 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21047 here.
21048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21049 Update.
21050
c5df7609
JM
21051 * manual/arith.texi (FP Exceptions): Document that exceptions may
21052 not be raised when matherr is used.
21053 (Math Error Reporting): Document overflow in directed rounding
21054 modes. Document that errno may not be set when finite values are
21055 returned on overflow. Document intent to set errno on underflow
21056 only for underflow to zero.
21057
3c1c46a6
JM
21058 [BZ #16271]
21059 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21060 round-to-nearest then adjust result for other rounding modes.
21061 * include/fenv.h (fegetround): Use libm_hidden_proto.
21062 * math/fegetround.c (fegetround): Use libm_hidden_def.
21063 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21064 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21065 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21066 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21067 Likewise.
21068 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21069 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21070 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21071 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21072
5a4c6d53
SP
210732013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21074
21075 [BZ #16077]
21076 * nss/Versions (libnss_files): Add
21077 _nss_files_gethostbyname3_r.
21078 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21079 New function.
21080 (HOST_DB_LOOKUP): Remove macro.
21081 (_nss_files_gethostbyname_r): Implement function without the
21082 HOST_DB_LOOKUP macro.
21083 (_nss_files_gethostbyname2_r): Likewise.
21084
897b98ba
OB
210852013-11-28 Ondřej Bílka <neleai@seznam.cz>
21086
21087 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21088
6f476861
UB
210892013-11-26 Uros Bizjak <ubizjak@gmail.com>
21090
21091 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21092 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21093 warning.
21094
bd12ab55
AZ
210952013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21096
21097 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21098 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21099 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21100 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21101 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21102 __fe_nomask_env_priv and attribute_hidden.
21103 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21104 (libc_feupdateenv_test_ppc): Likewise.
21105 (libc_feresetround_ppc): Likewise.
21106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21107 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21108 compat_symbol macro.
21109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21110 (__fe_nomask_env): Likewise.
21111 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21112
52bb6543
OB
211132013-11-26 Ondřej Bílka <neleai@seznam.cz>
21114
21115 * string/Makefile: Remove ifunc tests.
21116 * string/test-string.h: Define TEST_IFUNC.
21117 * string/test-bcopy-ifunc.c: Remove.
21118 * string/test-bzero-ifunc.c: Likewise.
21119 * string/test-memccpy-ifunc.c: Likewise.
21120 * string/test-memchr-ifunc.c: Likewise.
21121 * string/test-memcmp-ifunc.c: Likewise.
21122 * string/test-memcpy-ifunc.c: Likewise.
21123 * string/test-memmem-ifunc.c: Likewise.
21124 * string/test-memmove-ifunc.c: Likewise.
21125 * string/test-mempcpy-ifunc.c: Likewise.
21126 * string/test-memrchr-ifunc.c: Likewise.
21127 * string/test-memset-ifunc.c: Likewise.
21128 * string/test-rawmemchr-ifunc.c: Likewise.
21129 * string/test-stpcpy-ifunc.c: Likewise.
21130 * string/test-stpncpy-ifunc.c: Likewise.
21131 * string/test-strcasecmp-ifunc.c: Likewise.
21132 * string/test-strcasestr-ifunc.c: Likewise.
21133 * string/test-strcat-ifunc.c: Likewise.
21134 * string/test-strchr-ifunc.c: Likewise.
21135 * string/test-strchrnul-ifunc.c: Likewise.
21136 * string/test-strcmp-ifunc.c: Likewise.
21137 * string/test-strcpy-ifunc.c: Likewise.
21138 * string/test-strcspn-ifunc.c: Likewise.
21139 * string/test-strlen-ifunc.c: Likewise.
21140 * string/test-strncasecmp-ifunc.c: Likewise.
21141 * string/test-strncat-ifunc.c: Likewise.
21142 * string/test-strncmp-ifunc.c: Likewise.
21143 * string/test-strncpy-ifunc.c: Likewise.
21144 * string/test-strnlen-ifunc.c: Likewise.
21145 * string/test-strpbrk-ifunc.c: Likewise.
21146 * string/test-strrchr-ifunc.c: Likewise.
21147 * string/test-strspn-ifunc.c: Likewise.
21148 * string/test-strstr-ifunc.c: Likewise.
21149
ab260039 211502013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
21151
21152 * benchtests/Makefile: Remove ifunc tests.
21153 * benchtests/bench-string.h: Define TEST_IFUNC.
21154 * benchtests/bench-bcopy-ifunc.c: Remove.
21155 * benchtests/bench-bzero-ifunc.c: Likewise.
21156 * benchtests/bench-memccpy-ifunc.c: Likewise.
21157 * benchtests/bench-memchr-ifunc.c: Likewise.
21158 * benchtests/bench-memcmp-ifunc.c: Likewise.
21159 * benchtests/bench-memcpy-ifunc.c: Likewise.
21160 * benchtests/bench-memmem-ifunc.c: Likewise.
21161 * benchtests/bench-memmove-ifunc.c: Likewise.
21162 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21163 * benchtests/bench-memrchr-ifunc.c: Likewise.
21164 * benchtests/bench-memset-ifunc.c: Likewise.
21165 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21166 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21167 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21168 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21169 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21170 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21171 * benchtests/bench-strcat-ifunc.c: Likewise.
21172 * benchtests/bench-strchr-ifunc.c: Likewise.
21173 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21174 * benchtests/bench-strcmp-ifunc.c: Likewise.
21175 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21176 * benchtests/bench-strcpy-ifunc.c: Likewise.
21177 * benchtests/bench-strcspn-ifunc.c: Likewise.
21178 * benchtests/bench-strlen-ifunc.c: Likewise.
21179 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21180 * benchtests/bench-strncat-ifunc.c: Likewise.
21181 * benchtests/bench-strncmp-ifunc.c: Likewise.
21182 * benchtests/bench-strncpy-ifunc.c: Likewise.
21183 * benchtests/bench-strnlen-ifunc.c: Likewise.
21184 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21185 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 21186 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
21187 * benchtests/bench-strspn-ifunc.c: Likewise.
21188 * benchtests/bench-strstr-ifunc.c: Likewise.
21189
211902013-11-26 Ondřej Bílka <neleai@seznam.cz>
21191
ab260039
OB
21192 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21193
d1d9eaf4 211942013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 21195
d1d9eaf4
OB
21196 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21197 * rt/aio.h: Likewise.
21198 * sysdeps/gnu/bits/utmp.h: Likewise.
21199 * sysdeps/gnu/bits/utmpx.h: Likewise.
21200 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21201 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21202 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21203 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21204 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21205 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21206 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21207 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21208 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21209 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21210 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21211 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21212 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21214 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21215 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21216 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21217 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21218 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21219 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21220 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21221 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21222 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21223 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21224 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21225 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21226 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21227 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21228 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21229 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21230 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21231 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21232 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21233 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21234 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21235 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21236 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21237 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21238 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21239 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21240 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21241 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21242
a7624ed9
CD
212432013-11-25 Carlos O'Donell <carlos@redhat.com>
21244
21245 [BZ #16245]
21246 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21247 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21248
63cfe52b
JM
212492013-11-25 Joseph Myers <joseph@codesourcery.com>
21250
21251 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21252 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21253 Likewise.
21254
41e8926a
AZ
212552013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21256
21257 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21258 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21259 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21260 (__fesetround): Remove define.
21261 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21262 rounding and exceptions handling.
21263 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21264 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21265 (__fe_nomask_env): Likewise.
21266 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21267 __fegetround instead of fegetround.
21268 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21269 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21270
6851bd4d
RM
212712013-11-21 Roland McGrath <roland@hack.frob.com>
21272
070906ff
RM
21273 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21274 it's there.
21275
6851bd4d
RM
21276 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21277
84ae135d
MI
212782013-11-21 Meador Inge <meadori@codesourcery.com>
21279
21280 [BZ #11157]
21281 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21282 (encrypt_r): Likewise.
21283 * malloc/obstack.h (obstack_free): Likewise.
21284 * posix/unistd.h (encrypt): Likewise.
21285
daf75146
GM
212862013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21287
21288 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21289 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21290 DL_CALL_DT_FINI() that call the functions directly.
21291 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21292 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21293 * elf/dl-fini.c: Likewise.
21294
10ad46bc
OB
212952013-11-20 Ondřej Bílka <neleai@seznam.cz>
21296
21297 * malloc/hooks.c (memalign_check): Add alignment rounding.
21298 * malloc/malloc.c (_mid_memalign): New function.
21299 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21300 Implement by calling _mid_memalign.
21301 * manual/probes.texi (Memory Allocation Probes): Remove
21302 memory_valloc_retry and memory_pvalloc_retry.
21303
f3fd2628
SP
213042013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21305
4712799f
SP
21306 * locale/programs/locarchive.c (open_archive): Add const
21307 qualifier to ARCHIVEFNAME and copy default fname to
21308 DEFAULT_FNAME.
21309
0417b20f
SP
21310 [BZ #15601]
21311 * libio/tst-widetext.input: Rename Oriya to Odia.
21312 * locale/iso-639.def: Likewise.
21313
f3fd2628
SP
21314 * manual/probes.texi (Mathematical Function Probes): Add
21315 documentation for sin, cos, asin and acos probes.
21316 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21317 (__sin32): Add slowasin probe.
21318 (__cos32): Add slowacos probe.
21319 (__mpsin): Add slowsin probe.
21320 (__mpcos): Add slowcos probe.
21321
73c1ce4f
JM
213222013-11-19 Joseph Myers <joseph@codesourcery.com>
21323
21324 [BZ #15483]
21325 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21326 thread-local __sim_exceptions_thread and global
21327 __sim_exceptions_global.
21328 (__sim_disabled_exceptions): Change to thread-local
21329 __sim_disabled_exceptions_thread and global
21330 __sim_disabled_exceptions_global.
21331 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21332 and global __sim_round_mode_global.
21333 (__simulate_exceptions): Use thread-local floating-point state and
21334 set global state from it as needed.
21335 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21336 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21337 __sim_round_mode_thread.
21338 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21339 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21340 and global __sim_exceptions_global.
21341 (__sim_disabled_exceptions): Change to thread-local
21342 __sim_disabled_exceptions_thread and global
21343 __sim_disabled_exceptions_global.
21344 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21345 and global __sim_round_mode_global.
21346 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21347 (SIM_SET_GLOBAL): Likewise.
21348 * sysdeps/powerpc/soft-fp/sfp-machine.h
21349 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21350 __sim_round_mode_thread.
21351 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21352 __sim_disabled_exceptions_thread.
21353 (__sim_exceptions): Change to __sim_exceptions_thread.
21354 (__sim_disabled_exceptions): Change to
21355 __sim_disabled_exceptions_thread.
21356 (__sim_round_mode): Change to __sim_round_mode_thread.
21357 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21358 thread-local floating-point state and set global state from it as
21359 needed.
21360 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21361 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21362 (__sim_disabled_exceptions): Remove extern declaration.
21363 (feenableexcept): Use thread-local floating-point state and set
21364 global state from it as needed.
21365 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21366 extern declaration.
21367 (__sim_disabled_exceptions): Likewise.
21368 (__sim_round_mode): Likewise.
21369 (__fegetenv): Use thread-local floating-point state.
21370 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21371 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21372 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21373 floating-point state and set global state from it as needed.
21374 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21375 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21376 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21377 Likewise.
21378 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21379 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21380 Likewise.
21381 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21382 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21383 Use __sim_round_mode_thread.
21384 * math/test-fenv-tls.c: New file.
21385 * math/Makefile (tests): Add test-fenv-tls.
21386 ($(objpfx)test-fenv-tls): Depend on
21387 $(common-objpfx)nptl/libpthread.so.
21388
b5449b12
AS
213892013-11-19 Andreas Schwab <schwab@suse.de>
21390
21391 * locale/programs/locale.c (show_info): Decode wordarray elements.
21392 * locale/categories.def (LC_MONETARY): Add element for
21393 _NL_MONETARY_CRNCYSTR.
21394 * locale/C-monetary.c (conversion_rate): New variable.
21395 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21396 element.
21397
e186536b
CM
213982013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21399
21400 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21401 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21402
5c349950
PP
214032013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21404
21405 * elf/Makefile (tst-auxv): New test.
21406 * elf/tst-auxv.c: New
21407 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21408
699df45b
JM
214092013-11-18 Joseph Myers <joseph@codesourcery.com>
21410
21411 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21412 (hidden_proto): Caller changed.
21413 (hidden_tls_proto): New macro.
21414 (libc_hidden_tls_proto): Likewise.
21415 (rtld_hidden_tls_proto): Likewise.
21416 (libm_hidden_tls_proto): Likewise.
21417 (libresolv_hidden_tls_proto): Likewise.
21418 (librt_hidden_tls_proto): Likewise.
21419 (libdl_hidden_tls_proto): Likewise.
21420 (libnss_files_hidden_tls_proto): Likewise.
21421 (libnsl_hidden_tls_proto): Likewise.
21422 (libnss_nisplus_hidden_tls_proto): Likewise.
21423 (libutil_hidden_tls_proto): Likewise.
21424
b7589107
OB
214252013-11-18 Ondřej Bílka <neleai@seznam.cz>
21426
21427 [BZ #10253]
21428 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21429 (decompose_rpath): Defer expansion to fillin_rpath.
21430 (_dl_init_paths): Pass linkmap to fillin_rpath.
21431
250c23bd
RS
214322013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21433
21434 * benchtests/Makefile: Add strsep.
21435 * benchtests/bench-strsep.c: New file: strsep benchtest.
21436 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21437
a7931fcf
AS
214382013-11-18 Andreas Schwab <schwab@suse.de>
21439
21440 * locale/programs/locale.c (show_info) [case byte]: Check for
21441 '\377' instead of '\177'.
21442 * locale/C-monetary.c (not_available): Always use "\377".
21443 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21444 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21445 detect unavailable sign_posn locale elements.
21446 * locale/localeconv.c (__localeconv): For grouping and
21447 mon_grouping handle "\177" and "\377" like no grouping.
21448 (INT_ELEM): New macro. Use it to set all numeric members.
21449 * locale/programs/ld-monetary.c (monetary_read)
21450 <tok_mon_grouping>: Normalize single -1 to the empty string.
21451 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21452 Likewise.
21453
728dab0e
OB
214542013-11-07 Ondřej Bílka <neleai@seznam.cz>
21455
21456 [BZ #16055]
21457 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21458 when we match (nil).
21459 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21460
66294491
JM
214612013-11-16 Joseph Myers <joseph@codesourcery.com>
21462
ce665817
JM
21463 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21464 (NO_TEST_INLINE): Update value.
21465 (ERRNO_UNCHANGED): Likewise.
21466 (ERRNO_EDOM): Likewise.
21467 (ERRNO_ERANGE): Likewise.
21468 (IGNORE_RESULT): Likewise.
21469 (check_float_internal): Check signs of NaN results if
21470 TEST_NAN_SIGN used.
21471 (check_complex): Pass TEST_NAN_SIGN flag through to second
21472 check_float_internal call.
21473 (copysign_test_data): Add tests with quiet NaNs as second
21474 argument. Use TEST_NAN_SIGN.
21475 (fabs_test_data): Add test of negative quiet NaN argument. Use
21476 TEST_NAN_SIGN.
21477 (signbit_test_data): Add tests of quiet NaN argument.
21478 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21479
ee1466a9
JM
21480 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21481 $ignore_result.
21482 (parse_args): Handle function results specified as IGNORE.
21483 * math/libm-test.inc (IGNORE_RESULT): New macro.
21484 (check_float_internal): Do not check numerical result if flag
21485 IGNORE_RESULT set.
21486 (check_complex): Pass through IGNORE_RESULT to second
21487 check_float_internal call.
21488 (check_int): Do not check numerical result if flag IGNORE_RESULT
21489 set.
21490 (check_long): Likewise.
21491 (check_bool): Likewise.
21492 (check_longlong): Likewise.
21493 (lrint_test_data): Add tests of infinite and NaN arguments.
21494 (lrint_tonearest_test_data): Likewise.
21495 (lrint_towardzero_test_data): Likewise.
21496 (lrint_downward_test_data): Likewise.
21497 (lrint_upward_test_data): Likewise.
21498 (llrint_test_data): Likewise.
21499 (llrint_tonearest_test_data): Likewise.
21500 (llrint_towardzero_test_data): Likewise.
21501 (llrint_downward_test_data): Likewise.
21502 (llrint_upward_test_data): Likewise.
21503 (lround_test_data): Likewise.
21504 (llround_test_data): Likewise.
21505
14407b7e
JM
21506 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21507 (ERRNO_UNCHANGED): Update value.
21508 (ERRNO_EDOM): Likewise.
21509 (ERRNO_ERANGE): Likewise.
21510 (NO_TEST_INLINE_FLOAT): New macro.
21511 (NO_TEST_INLINE_DOUBLE): Likewise.
21512 (enable_test): New function.
21513 (RUN_TEST_f_f): Check enable_test before running test.
21514 (RUN_TEST_2_f): Likewise.
21515 (RUN_TEST_fff_f): Likewise.
21516 (RUN_TEST_c_f): Likewise.
21517 (RUN_TEST_f_f1): Likewise.
21518 (RUN_TEST_fF_f1): Likewise.
21519 (RUN_TEST_fI_f1): Likewise.
21520 (RUN_TEST_ffI_f1): Likewise.
21521 (RUN_TEST_c_c): Likewise.
21522 (RUN_TEST_cc_c): Likewise.
21523 (RUN_TEST_f_i): Likewise.
21524 (RUN_TEST_f_i_tg): Likewise.
21525 (RUN_TEST_ff_i_tg): Likewise.
21526 (RUN_TEST_f_b): Likewise.
21527 (RUN_TEST_f_b_tg): Likewise.
21528 (RUN_TEST_f_l): Likewise.
21529 (RUN_TEST_f_L): Likewise.
21530 (RUN_TEST_fFF_11): Likewise.
21531 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21532 conditionals.
21533 (cosh_test_data): Likewise.
21534 (exp_test_data): Likewise.
21535 (expm1_test_data): Likewise.
21536 (hypot_test_data): Likewise.
21537 (pow_test_data): Likewise.
21538 (sinh_test_data): Likewise.
21539 (tanh_test_data): Likewise.
21540 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21541 flags argument.
21542
ca07f197
JM
21543 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21544 tests with quiet NaN input and output.
21545 (acosh_test_data): Likewise.
21546 (asin_test_data): Likewise.
21547 (asinh_test_data): Likewise.
21548 (atan_test_data): Likewise.
21549 (atanh_test_data): Likewise.
21550 (atan2_test_data): Likewise.
21551 (cbrt_test_data): Likewise.
21552 (cos_test_data): Likewise.
21553 (cosh_test_data): Likewise.
21554 (erf_test_data): Likewise.
21555 (erfc_test_data): Likewise.
21556 (exp_test_data): Likewise.
21557 (exp10_test_data): Likewise.
21558 (exp2_test_data): Likewise.
21559 (expm1_test_data): Likewise.
21560 (hypot_test_data): Likewise.
21561 (j0_test_data): Likewise.
21562 (j1_test_data): Likewise.
21563 (jn_test_data): Likewise.
21564 (lgamma_test_data): Likewise.
21565 (log_test_data): Likewise.
21566 (log10_test_data): Likewise.
21567 (log1p_test_data): Likewise.
21568 (log2_test_data): Likewise.
21569 (pow_test_data): Likewise.
21570 (scalb_test_data): Likewise.
21571 (sin_test_data): Likewise.
21572 (sincos_test_data): Likewise.
21573 (sinh_test_data): Likewise.
21574 (tan_test_data): Likewise.
21575 (tanh_test_data): Likewise.
21576 (tgamma_test_data): Likewise.
21577 (y0_test_data): Likewise.
21578 (y1_test_data): Likewise.
21579 (yn_test_data): Likewise.
21580
66294491
JM
21581 [BZ #16167]
21582 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21583 argument being NaN and avoid computations with second argument in
21584 that case.
21585 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21586 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21587 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21588
1820b143
CL
215892013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21590
21591 * locale/iso-639.def: Add Chitwani Tharu (the).
21592
714bd261
AS
215932013-11-14 Andreas Schwab <schwab@suse.de>
21594
21595 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21596 word instead of empty string.
21597
7ab44563
AZ
215982013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21599
21600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21601 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21603 (__fe_nomask_env): Likewise.
21604
e8470ea2
SE
216052013-11-13 Steve Ellcey <sellcey@mips.com>
21606
21607 * benchtests/bench-timing.h: Include time.h.
21608
17c1d9f0
L
216092013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21610
21611 [BZ #15997]
21612 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21613 to 3.4.0 for x32.
21614 * sysdeps/unix/sysv/linux/configure: Regenerated.
21615
9310c284
JM
216162013-11-13 Joseph Myers <joseph@codesourcery.com>
21617
21618 [BZ #16151]
21619 * stdlib/strtod_l.c (round_and_return): Do not consider
21620 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21621 exponent one less than half the least subnormal exponent.
21622 * stdlib/test-strtod-round-data: Add more tests.
21623 * stdlib/tst-strtod-round.c (tests): Regenerated.
21624
7a2ad8cf
AZ
216252013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21626
21627 [BZ #14143]
21628 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21629 (__fe_mask_env): Likewise.
21630 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21631 libm_hidden_proto and add function prototype.
21632 (__fe_mask_env): Add function prototype.
21633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21634 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21636 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21638 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21639
50727aa7
MS
216402013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21641
b2f386c1 21642 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
21643 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21644
a615be46
MS
216452013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21646
21647 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21648 of htab_find_slot().
21649
7ddace62
DM
216502013-11-11 David S. Miller <davem@davemloft.net>
21651
21652 [BZ #16150]
21653 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21654 symbol in the non-vis3 case in static builds.
21655 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21656 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21657 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21658 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21659
9182aa67
JK
216602013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21661
21662 [BZ #387]
21663 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21664 it is empty.
21665
450a2e2d
AZ
216662013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21667
b2f386c1
SP
21668 * benchtests/Makefile: Add bench-strtod.
21669 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 21670
8ec3f656
AS
216712013-11-11 Andreas Schwab <schwab@suse.de>
21672
21673 [BZ #16153]
21674 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21675 terminating NUL in key length.
21676
76a9b998
AZ
216772013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21678
21679 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21680 Add artificial ODP entry for vDSO symbol for PPC64.
21681 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21682 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21683
e4368156
OB
216842013-11-07 Ondřej Bílka <neleai@seznam.cz>
21685
21686 [BZ #15374]
21687 * nss/getent.c (services_keys): Recognize services starting with digit.
21688
8d6bb57c
DM
216892013-11-06 David S. Miller <davem@davemloft.net>
21690
21691 [BZ #15985]
21692 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21693 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21694
e256c421
WN
216952013-11-06 Will Newton <will.newton@linaro.org>
21696
21697 * manual/memory.texi (Malloc Examples): Remove register
21698 keyword from examples.
21699
f6e12daa 217002013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 21701
f6e12daa 21702 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 21703
9d880655
AS
217042013-11-04 Joseph Myers <joseph@codesourcery.com>
21705
fd2f9486 21706 [BZ #6981]
9d880655
AS
21707 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21708 depending on [__GCC_IEC_559 > 0].
21709 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21710 depending on [__GCC_IEC_559_COMPLEX > 0].
21711
ae129d3c
CL
217122013-11-03 Chris Leonard <cjl@sugarlabs.org>
21713
21714 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21715 to iso-639.def.
21716
4a15c2a4 217172013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
21718
21719 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21720
8b35e35d
OB
217212013-11-01 Ondřej Bílka <neleai@seznam.cz>
21722
21723 [BZ #16112]
21724 * malloc/malloc (malloc_info): Do not handle first bin as
21725 special case.
21726
1d70fd6c
CL
217272013-11-01 Chris Leonard <cjl@sugarlabs.org>
21728
21729 * locale/iso-639.def: Add Central Nahuatl (nhn).
21730
8c5c2600
BH
217312013-11-01 Bruno Haible <bruno@clisp.org>
21732
21733 [BZ #7003]
21734 * manual/math.texi (BSD Random): Specify range upper bound as
21735 in POSIX.
21736
da5579c2
CL
217372013-10-31 Chris Leonard <cjl@sugarlabs.org>
21738
21739 * locale/iso-639.def: Add Meadow Mari (mhr).
21740
5d30d853
OB
217412013-10-31 Ondřej Bílka <neleai@seznam.cz>
21742
21743 [BZ #14752], [BZ #15763]
21744 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21745 Validate name.
21746 * rt/tst_shm.c: Add test for escaping directory.
21747
a4966c61
AS
217482013-10-31 Andreas Schwab <schwab@suse.de>
21749
8a43e768 21750 [BZ #15917]
a4966c61
AS
21751 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21752 followed by 'x' as part of digit sequence.
21753 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21754
28d708c4
MAP
217552013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21756
21757 [BZ #16037]
21758 * configure.ac: allow GNU Make 4.0 and greater.
21759 * configure: Regenerated.
21760
a56ee40b
WN
217612013-10-30 Will Newton <will.newton@linaro.org>
21762
21763 [BZ #16038]
21764 * malloc/hooks.c (memalign_check): Limit alignment to the
21765 maximum representable power of two.
21766 * malloc/malloc.c (__libc_memalign): Likewise.
21767 * malloc/tst-memalign.c (do_test): Add test for very
21768 large alignment values.
21769 * malloc/tst-posix_memalign.c (do_test): Likewise.
21770
c6e4925d
OB
217712013-10-30 Ondřej Bílka <neleai@seznam.cz>
21772
21773 [BZ #11087]
21774 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21775 (munmap_chunk): Likewise.
21776 (mremap_chunk): Likewise.
21777
217782013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 21779
8a43e768 21780 [BZ #15799]
bbea82f7
OB
21781 * stdlib/div.c (div): Remove obsolete code.
21782 * stdlib/ldiv.c (ldiv): Likewise.
21783 * stdlib/lldiv.c (lldiv): Likewise.
21784
977f4b31
SP
217852013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21786
21787 [BZ #16071]
21788 * nss/nss_files/files-XXX.c (get_contents_ret): New
21789 enumerator.
21790 (get_contents): New function.
21791 (internal_getent): Use it. Expand size of LINEBUFLEN.
21792
cb8a6dbd
MF
217932013-10-30 Mike Frysinger <vapier@gentoo.org>
21794
21795 * configure.in: Moved to ...
21796 * configure.ac: ... here. Change reference to configure.in
21797 to configure.ac.
21798 * sysdeps/arm/preconfigure.ac: ... here.
21799 configure.in to configure.ac.
21800 * sysdeps/gnu/configure.in: Moved to ...
21801 * sysdeps/gnu/configure.ac: ... here.
21802 * sysdeps/i386/configure.in: Moved to ...
21803 * sysdeps/i386/configure.ac: ... here.
21804 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21805 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21806 * sysdeps/mach/configure.in: Moved to ...
21807 * sysdeps/mach/configure.ac: ... here.
21808 * sysdeps/mach/hurd/configure.in: Moved to ...
21809 * sysdeps/mach/hurd/configure.ac: ... here.
21810 * sysdeps/powerpc/configure.in: Moved to ...
21811 * sysdeps/powerpc/configure.ac: ... here.
21812 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21813 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21814 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21815 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21816 * sysdeps/s390/s390-32/configure.in: Moved to ...
21817 * sysdeps/s390/s390-32/configure.ac: ... here.
21818 * sysdeps/s390/s390-64/configure.in: Moved to ...
21819 * sysdeps/s390/s390-64/configure.ac: ... here.
21820 * sysdeps/sh/configure.in: Moved to ...
21821 * sysdeps/sh/configure.ac: ... here.
21822 * sysdeps/sparc/configure.in: Moved to ...
21823 * sysdeps/sparc/configure.ac: ... here.
21824 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21825 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21826 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21827 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21828 * sysdeps/x86_64/configure.in: Moved to ...
21829 * sysdeps/x86_64/configure.ac: ... here.
21830 * sysdeps/x86_64/preconfigure.in: Moved to ...
21831 * sysdeps/x86_64/preconfigure.ac: ... here.
21832 * aclocal.m4: Change reference to configure.in to configure.ac.
21833 * config.h.in: Likewise.
21834 * manual/install.texi: Likewise.
21835 * manual/maint.texi: Likewise.
21836 * Makefile: Likewise.
21837 * malloc/Makefile: Likewise.
21838 * nscd/Makefile: Likewise.
21839 * Makeconfig: Change reference to configure.in and
21840 preconfigure.in to configure.ac and preconfigure.ac
21841 respectively.
21842 * INSTALL: Regenerated.
21843 * configure: Likewise.
21844 * sysdeps/gnu/configure: Likewise.
21845 * sysdeps/i386/configure: Likewise.
21846 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21847 * sysdeps/mach/configure: Likewise.
21848 * sysdeps/mach/hurd/configure: Likewise.
21849 * sysdeps/powerpc/configure: Likewise.
21850 * sysdeps/powerpc/powerpc32/configure: Likewise.
21851 * sysdeps/powerpc/powerpc64/configure: Likewise.
21852 * sysdeps/s390/s390-32/configure: Likewise.
21853 * sysdeps/s390/s390-64/configure: Likewise.
21854 * sysdeps/sh/configure: Likewise.
21855 * sysdeps/sparc/configure: Likewise.
21856 * sysdeps/unix/sysv/linux/configure: Likewise.
21857 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21858 * sysdeps/x86_64/configure: Likewise.
21859 * sysdeps/x86_64/preconfigure: Likewise.
21860
36a4953a
AS
218612013-10-29 Andreas Schwab <schwab@suse.de>
21862
21863 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21864
c79a1204
SP
218652013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21866
dfa1b402
SP
21867 * benchtests/pow-inputs: Add new inputs.
21868
54f73d9c
SP
21869 * benchtests/exp-inputs: Add new inputs.
21870
c79a1204
SP
21871 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21872 conditional check for return value.
21873 (__cos32): Likewise.
21874
67beb545 218752013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
21876
21877 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21878 to provide a boost for large inputs with word alignment.
21879 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21880 implementation based on optimized PPC64 strcpy.
21881 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21882 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21883 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21884 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21885
151659f6
OB
218862013-10-25 Ondřej Bílka <neleai@seznam.cz>
21887
482a077e 21888 [BZ #2801]
151659f6
OB
21889 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21890
10b0f26b
OB
218912013-10-25 Ondřej Bílka <neleai@seznam.cz>
21892
21893 [BZ #14876]
21894 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21895 * time/tst-strptime.c (day_tests): Add testcase.
21896
ca42d35e
OB
218972013-10-25 Ondřej Bílka <neleai@seznam.cz>
21898
482a077e 21899 [BZ #14029]
ca42d35e
OB
21900 * manual/pattern.texi: Acknowledge that fnmatch can fail.
21901
52e6d801
FB
219022013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
21903
21904 [BZ #16074]
21905 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21906 MAP_FAILED on error.
21907
7cbcdb36
SP
219082013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21909
21910 [BZ #16072]
21911 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21912 heap for large requests.
21913
894f3f10
AM
219142013-10-25 Aurelien Jarno <aurelien@aurel32.net>
21915
21916 [BZ #9954]
21917 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21918 result if the result has no associated interface.
21919 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21920 interface for all 127.X.Y.Z addresses.
21921
b85545a6
CL
219222013-10-24 Chris Leonard <cjl@sugarlabs.org>
21923
21924 * locale/iso-639.def: Add Ligurian (lij)
21925
d1f23d46
OB
219262013-10-21 Ondřej Bílka <neleai@seznam.cz>
21927
21928 [BZ #15825]
21929 * sunrpc/rpc_main.c: Document rpcgen -5.
21930
4db5b08f
MS
219312013-10-19 Michael Stahl <mstahl@redhat.com>
21932
21933 * elf/rtld.c (do_preload): Print the reason why preloading failed.
21934
a471e96a
OB
219352013-10-19 Ondřej Bílka <neleai@seznam.cz>
21936
d1f23d46 21937 [BZ #10278]
a471e96a
OB
21938 * posix/glob.c: Match only directories when trailing slash is present.
21939 * posix/tst-gnuglob.c (my_opendir): Do not open files.
21940 (main): Add testcase.
21941
45c30c61
OB
219422013-10-19 Ondřej Bílka <neleai@seznam.cz>
21943
21944 [BZ #15670]
21945 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21946
484c12fb
CD
219472013-10-18 Carlos O'Donell <carlos@redhat.com>
21948
3d7dc513
CD
21949 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21950 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21951 AUTH_DES and cindex for FIPS 140-2.
21952 (DES Encryption): Add cindex FIPS 46-3.
21953
484c12fb
CD
21954 * locale/locarchive.h (struct locarhandle): Add fname.
21955 * locale/programs/localedef.c (main): Pass ARGV[remaining]
21956 if an optional argument was specified to --list-archive,
21957 otherwise NULL.
21958 * locale/programs/locarchive.c (show_archive_content): Take new
21959 argument fname and pass it via ah.fname to open_archive.
21960 * locale/programs/localedef.h: Update decl.
21961 (open_archive): If AH->fname is non-null, open that file
21962 rather than the default file name, and don't ignore ENOENT.
21963 (create_archive): Set AH.fname to NULL.
21964 (delete_locales_from_archive): Likewise.
21965 (add_locales_to_archive): Likewise.
21966 * locale/programs/locfile.c (write_all_categories): Likewise.
21967
3c8325fb
JM
219682013-10-18 Joseph Myers <joseph@codesourcery.com>
21969 Aldy Hernandez <aldyh@redhat.com>
21970
21971 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21972 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21973 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21974 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21975 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21976 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21977 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21978 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21979 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21980 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21981 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21982 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21983 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21984 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21985 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21986 Likewise.
21987 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21988 Likewise.
21989 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21990 Likewise.
21991 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21992 Likewise.
21993 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21994 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21995 Likewise.
21996 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21997 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21998 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21999 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22000 Likewise.
22001 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22002 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22003 * sysdeps/powerpc/preconfigure: Likewise.
22004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22005 Likewise.
22006 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22007 Replace contents of file by #include of <fenv_libc.h>.
22008 * sysdeps/powerpc/soft-fp/sfp-machine.h
22009 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22010 and <sys/prctl.h>.
22011 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22012 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22013 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22014 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22015 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22016 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22017 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22018 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22019 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22020 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22021 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22022 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22024 Allow copysignl PLT reference to be missing.
22025
5abe0682
RS
220262013-10-18 Richard Sandiford <richard@codesourcery.com>
22027 Joseph Myers <joseph@codesourcery.com
22028
22029 [BZ #15948]
22030 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22031 single character.
22032 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22033
c7738d08
SP
220342013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22035
22036 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22037 * elf/tst-tls1.c: Likewise.
22038 * elf/tst-tls10.h: Likewise.
22039 * elf/tst-tls14.c: Likewise.
22040 * elf/tst-tls2.c: Likewise.
22041 * elf/tst-tls3.c: Likewise.
22042 * elf/tst-tls4.c: Likewise.
22043 * elf/tst-tls5.c: Likewise.
22044 * elf/tst-tls6.c: Likewise.
22045 * elf/tst-tls7.c: Likewise.
22046 * elf/tst-tls8.c: Likewise.
22047 * elf/tst-tls9.c: Likewise.
22048 * elf/tst-tlsmod1.c: Likewise.
22049 * elf/tst-tlsmod13.c: Likewise.
22050 * elf/tst-tlsmod13a.c: Likewise.
22051 * elf/tst-tlsmod14a.c: Likewise.
22052 * elf/tst-tlsmod16a.c: Likewise.
22053 * elf/tst-tlsmod16b.c: Likewise.
22054 * elf/tst-tlsmod2.c: Likewise.
22055 * elf/tst-tlsmod3.c: Likewise.
22056 * elf/tst-tlsmod4.c: Likewise.
22057 * elf/tst-tlsmod5.c: Likewise.
22058 * elf/tst-tlsmod6.c: Likewise.
22059
0bfcf2c7
OB
220602013-10-18 Ondřej Bílka <neleai@seznam.cz>
22061
22062 [BZ #12486]
22063 * malloc/malloc.c: remove checks for statistics.
22064
264aad1e
OB
220652013-10-17 Ondřej Bílka <neleai@seznam.cz>
22066
22067 [BZ #15277]
22068 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22069 * inet/tst-network.c: Add testcase.
22070
b957ced8
AS
220712013-10-17 Andreas Schwab <schwab@suse.de>
22072
22073 [BZ #15218]
22074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22075 to determine canonical name.
22076
c5d5d574
OB
220772013-10-17 Ondřej Bílka <neleai@seznam.cz>
22078
22079 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22080 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22081 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22082 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22083 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22084 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22085 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22086 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22087 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22088 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22089 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22090 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22091 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22092 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22093 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22094 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22095 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22096 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22097 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22098 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22099 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22100 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22101 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22102 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22103 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22104 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22105 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22106 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22107 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22108 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22109 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22110 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22111 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22112 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22113 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22114 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22115 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22116 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22117 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22118 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22119 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22120 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22121 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22122 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22123 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22124 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22125 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22126 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22127 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22128 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22129 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22130 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22131 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22132 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22133 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22134 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22135 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22136 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22137
e5c2c2d0
JM
221382013-10-17 Joseph Myers <joseph@codesourcery.com>
22139
22140 [BZ #16041]
22141 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22142 make result into a quiet NaN.
22143
51ca9e29
JM
221442013-10-16 Joseph Myers <joseph@codesourcery.com>
22145
22146 * soft-fp/adddf3.c: Fix horizontal whitespace.
22147 * soft-fp/addsf3.c: Likewise.
22148 * soft-fp/addtf3.c: Likewise.
22149 * soft-fp/divdf3.c: Likewise.
22150 * soft-fp/divsf3.c: Likewise.
22151 * soft-fp/divtf3.c: Likewise.
22152 * soft-fp/double.h: Likewise.
22153 * soft-fp/eqdf2.c: Likewise.
22154 * soft-fp/eqsf2.c: Likewise.
22155 * soft-fp/eqtf2.c: Likewise.
22156 * soft-fp/extenddftf2.c: Likewise.
22157 * soft-fp/extended.h: Likewise.
22158 * soft-fp/extendsfdf2.c: Likewise.
22159 * soft-fp/extendsftf2.c: Likewise.
22160 * soft-fp/extendxftf2.c: Likewise.
22161 * soft-fp/fixdfdi.c: Likewise.
22162 * soft-fp/fixdfsi.c: Likewise.
22163 * soft-fp/fixdfti.c: Likewise.
22164 * soft-fp/fixsfdi.c: Likewise.
22165 * soft-fp/fixsfsi.c: Likewise.
22166 * soft-fp/fixsfti.c: Likewise.
22167 * soft-fp/fixtfdi.c: Likewise.
22168 * soft-fp/fixtfsi.c: Likewise.
22169 * soft-fp/fixtfti.c: Likewise.
22170 * soft-fp/fixunsdfdi.c: Likewise.
22171 * soft-fp/fixunsdfsi.c: Likewise.
22172 * soft-fp/fixunsdfti.c: Likewise.
22173 * soft-fp/fixunssfdi.c: Likewise.
22174 * soft-fp/fixunssfsi.c: Likewise.
22175 * soft-fp/fixunssfti.c: Likewise.
22176 * soft-fp/fixunstfdi.c: Likewise.
22177 * soft-fp/fixunstfsi.c: Likewise.
22178 * soft-fp/fixunstfti.c: Likewise.
22179 * soft-fp/floatdidf.c: Likewise.
22180 * soft-fp/floatdisf.c: Likewise.
22181 * soft-fp/floatditf.c: Likewise.
22182 * soft-fp/floatsidf.c: Likewise.
22183 * soft-fp/floatsisf.c: Likewise.
22184 * soft-fp/floatsitf.c: Likewise.
22185 * soft-fp/floattidf.c: Likewise.
22186 * soft-fp/floattisf.c: Likewise.
22187 * soft-fp/floattitf.c: Likewise.
22188 * soft-fp/floatundidf.c: Likewise.
22189 * soft-fp/floatundisf.c: Likewise.
22190 * soft-fp/floatunditf.c: Likewise.
22191 * soft-fp/floatunsidf.c: Likewise.
22192 * soft-fp/floatunsisf.c: Likewise.
22193 * soft-fp/floatunsitf.c: Likewise.
22194 * soft-fp/floatuntidf.c: Likewise.
22195 * soft-fp/floatuntisf.c: Likewise.
22196 * soft-fp/floatuntitf.c: Likewise.
22197 * soft-fp/fmadf4.c: Likewise.
22198 * soft-fp/fmasf4.c: Likewise.
22199 * soft-fp/fmatf4.c: Likewise.
22200 * soft-fp/gedf2.c: Likewise.
22201 * soft-fp/gesf2.c: Likewise.
22202 * soft-fp/getf2.c: Likewise.
22203 * soft-fp/ledf2.c: Likewise.
22204 * soft-fp/lesf2.c: Likewise.
22205 * soft-fp/letf2.c: Likewise.
22206 * soft-fp/muldf3.c: Likewise.
22207 * soft-fp/mulsf3.c: Likewise.
22208 * soft-fp/multf3.c: Likewise.
22209 * soft-fp/negdf2.c: Likewise.
22210 * soft-fp/negsf2.c: Likewise.
22211 * soft-fp/negtf2.c: Likewise.
22212 * soft-fp/op-1.h: Likewise.
22213 * soft-fp/op-2.h: Likewise.
22214 * soft-fp/op-4.h: Likewise.
22215 * soft-fp/op-8.h: Likewise.
22216 * soft-fp/op-common.h: Likewise.
22217 * soft-fp/quad.h: Likewise.
22218 * soft-fp/single.h: Likewise.
22219 * soft-fp/soft-fp.h: Likewise.
22220 * soft-fp/sqrtdf2.c: Likewise.
22221 * soft-fp/sqrtsf2.c: Likewise.
22222 * soft-fp/sqrttf2.c: Likewise.
22223 * soft-fp/subdf3.c: Likewise.
22224 * soft-fp/subsf3.c: Likewise.
22225 * soft-fp/subtf3.c: Likewise.
22226 * soft-fp/truncdfsf2.c: Likewise.
22227 * soft-fp/trunctfdf2.c: Likewise.
22228 * soft-fp/trunctfsf2.c: Likewise.
22229 * soft-fp/trunctfxf2.c: Likewise.
22230 * soft-fp/unorddf2.c: Likewise.
22231 * soft-fp/unordsf2.c: Likewise.
22232 * soft-fp/unordtf2.c: Likewise.
22233
9ebb0332
JM
222342013-10-15 Joseph Myers <joseph@codesourcery.com>
22235
22236 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22237 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22238
4b1a6d8b
OB
222392013-10-15 Ondřej Bílka <neleai@seznam.cz>
22240
22241 * elf/dl-libc.c: Clear initfini list after freeing.
22242
1e145589
JM
222432013-10-14 Joseph Myers <joseph@codesourcery.com>
22244
22245 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22246 * soft-fp/addsf3.c: Likewise.
22247 * soft-fp/addtf3.c: Likewise.
22248 * soft-fp/divdf3.c: Likewise.
22249 * soft-fp/divsf3.c: Likewise.
22250 * soft-fp/divtf3.c: Likewise.
22251 * soft-fp/double.h: Likewise.
22252 * soft-fp/eqdf2.c: Likewise.
22253 * soft-fp/eqsf2.c: Likewise.
22254 * soft-fp/eqtf2.c: Likewise.
22255 * soft-fp/extenddftf2.c: Likewise.
22256 * soft-fp/extended.h: Likewise.
22257 * soft-fp/extendsfdf2.c: Likewise.
22258 * soft-fp/extendsftf2.c: Likewise.
22259 * soft-fp/extendxftf2.c: Likewise.
22260 * soft-fp/fixdfdi.c: Likewise.
22261 * soft-fp/fixdfsi.c: Likewise.
22262 * soft-fp/fixdfti.c: Likewise.
22263 * soft-fp/fixsfdi.c: Likewise.
22264 * soft-fp/fixsfsi.c: Likewise.
22265 * soft-fp/fixsfti.c: Likewise.
22266 * soft-fp/fixtfdi.c: Likewise.
22267 * soft-fp/fixtfsi.c: Likewise.
22268 * soft-fp/fixtfti.c: Likewise.
22269 * soft-fp/fixunsdfdi.c: Likewise.
22270 * soft-fp/fixunsdfsi.c: Likewise.
22271 * soft-fp/fixunsdfti.c: Likewise.
22272 * soft-fp/fixunssfdi.c: Likewise.
22273 * soft-fp/fixunssfsi.c: Likewise.
22274 * soft-fp/fixunssfti.c: Likewise.
22275 * soft-fp/fixunstfdi.c: Likewise.
22276 * soft-fp/fixunstfsi.c: Likewise.
22277 * soft-fp/fixunstfti.c: Likewise.
22278 * soft-fp/floatdidf.c: Likewise.
22279 * soft-fp/floatdisf.c: Likewise.
22280 * soft-fp/floatditf.c: Likewise.
22281 * soft-fp/floatsidf.c: Likewise.
22282 * soft-fp/floatsisf.c: Likewise.
22283 * soft-fp/floatsitf.c: Likewise.
22284 * soft-fp/floattidf.c: Likewise.
22285 * soft-fp/floattisf.c: Likewise.
22286 * soft-fp/floattitf.c: Likewise.
22287 * soft-fp/floatundidf.c: Likewise.
22288 * soft-fp/floatundisf.c: Likewise.
22289 * soft-fp/floatunsidf.c: Likewise.
22290 * soft-fp/floatunsisf.c: Likewise.
22291 * soft-fp/floatuntidf.c: Likewise.
22292 * soft-fp/floatuntisf.c: Likewise.
22293 * soft-fp/floatuntitf.c: Likewise.
22294 * soft-fp/fmadf4.c: Likewise.
22295 * soft-fp/fmasf4.c: Likewise.
22296 * soft-fp/fmatf4.c: Likewise.
22297 * soft-fp/gedf2.c: Likewise.
22298 * soft-fp/gesf2.c: Likewise.
22299 * soft-fp/getf2.c: Likewise.
22300 * soft-fp/ledf2.c: Likewise.
22301 * soft-fp/lesf2.c: Likewise.
22302 * soft-fp/letf2.c: Likewise.
22303 * soft-fp/muldf3.c: Likewise.
22304 * soft-fp/mulsf3.c: Likewise.
22305 * soft-fp/multf3.c: Likewise.
22306 * soft-fp/negdf2.c: Likewise.
22307 * soft-fp/negsf2.c: Likewise.
22308 * soft-fp/negtf2.c: Likewise.
22309 * soft-fp/op-1.h: Likewise.
22310 * soft-fp/op-2.h: Likewise.
22311 * soft-fp/op-4.h: Likewise.
22312 * soft-fp/op-8.h: Likewise.
22313 * soft-fp/op-common.h: Likewise.
22314 * soft-fp/quad.h: Likewise.
22315 * soft-fp/single.h: Likewise.
22316 * soft-fp/soft-fp.h: Likewise.
22317 * soft-fp/sqrtdf2.c: Likewise.
22318 * soft-fp/sqrtsf2.c: Likewise.
22319 * soft-fp/sqrttf2.c: Likewise.
22320 * soft-fp/subdf3.c: Likewise.
22321 * soft-fp/subsf3.c: Likewise.
22322 * soft-fp/subtf3.c: Likewise.
22323 * soft-fp/truncdfsf2.c: Likewise.
22324 * soft-fp/trunctfdf2.c: Likewise.
22325 * soft-fp/trunctfsf2.c: Likewise.
22326 * soft-fp/trunctfxf2.c: Likewise.
22327 * soft-fp/unorddf2.c: Likewise.
22328 * soft-fp/unordsf2.c: Likewise.
22329 * soft-fp/unordtf2.c: Likewise.
22330
17c48a60
OB
223312013-10-14 Ondřej Bílka <neleai@seznam.cz>
22332
22333 [BZ #15672]
22334 * misc/error.c (error_tail): Fix possible buffer overflow.
22335
cabba934
OB
223362013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22337
22338 [BZ #13028]
22339 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22340 address.
22341
94bf958a
PM
223422013-10-14 P. J. McDermott <pj@pehjota.net>
22343
22344 [BZ #832]
22345 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22346 testing pipefail option.
22347
71b4dea7
JM
223482013-10-12 Joseph Myers <joseph@codesourcery.com>
22349
22350 * soft-fp/double.h: Indent preprocessor directives inside #if.
22351 * soft-fp/extended.h: Likewise.
22352 * soft-fp/op-2.h: Likewise.
22353 * soft-fp/op-4.h: Likewise.
22354 * soft-fp/op-common.h: Likewise.
22355 * soft-fp/quad.h: Likewise.
22356 * soft-fp/single.h: Likewise.
22357 * soft-fp/soft-fp.h: Likewise.
22358
55602758
YC
223592013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22360
22361 * iconv/iconv_prog.c: Fix typos.
22362 * stdio-common/psiginfo-data.h: Likewise.
22363
9cd83302
RT
223642013-10-12 Reuben Thomas <rrt@sc3d.org>
22365
22366 [BZ #15764]
22367 * locale/setlocale.c: Fix typo.
22368
99fd9f47
JM
223692013-10-12 Joseph Myers <joseph@codesourcery.com>
22370
b7ea74f0
JM
22371 [BZ #16036]
22372 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22373 signaling NaN arguments.
22374 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22375 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22376
8a509447
JM
22377 [BZ #14910]
22378 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22379 unordered operands.
22380 * soft-fp/gesf2.c (__gesf2): Likewise.
22381 * soft-fp/getf2.c (__getf2): Likewise.
22382 * soft-fp/ledf2.c (__ledf2): Likewise.
22383 * soft-fp/lesf2.c (__lesf2): Likewise.
22384 * soft-fp/letf2.c (__letf2): Likewise.
22385
98998e9f
JM
22386 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22387 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22388 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22389 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22390 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22391 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22392 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22393 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22394 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22395 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22396 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22397 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22398 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22399 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22400 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22401 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22402 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22403 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22404 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22405 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22406 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22407 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22408 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22409 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22410 * soft-fp/floattidf.c (__floattidf): Likewise.
22411 * soft-fp/floattisf.c (__floattisf): Likewise.
22412 * soft-fp/floattitf.c (__floattitf): Likewise.
22413 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22414 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22415 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22416 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22417 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22418 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22419 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22420 * soft-fp/gesf2.c (__gesf2): Likewise.
22421 * soft-fp/getf2.c (__getf2): Likewise.
22422 * soft-fp/ledf2.c (__ledf2): Likewise.
22423 * soft-fp/lesf2.c (__lesf2): Likewise.
22424 * soft-fp/letf2.c (__letf2): Likewise.
22425
8edc4a11
JM
22426 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22427 Undefine and redefine.
22428 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22429 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22430 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22431 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22432 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22433 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22434 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22435 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22436 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22437 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22438 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22439 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22440 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22441 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22442 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22443
8399acaf
JM
22444 [BZ #16032]
22445 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22446 without decrementing exponent if mantissa >= that for the
22447 denominator, not >.
22448 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22449 denominator, not >. Decrement exponent in < case instead of
22450 incrementing in >= case.
22451 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22452 without decrementing exponent if mantissa >= that for the
22453 denominator, not >.
22454
99fd9f47
JM
22455 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22456 computing saturated result for unsigned overflow.
22457
10e1cf6b
SP
224582013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22459 Jeff Law <law@redhat.com>
22460
22461 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22462 (atan2Mp): Add systemtap probe marker.
22463 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22464 (__ieee754_log): Add systemtap probe marker.
22465 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22466 (atanMp): Add systemtap probe marker.
22467 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22468 (tanMp): Add systemtap probe marker.
22469 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22470 (__slowexp): Add systemtap probe marker.
22471 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22472 (__slowpow): Add systemtap probe marker.
22473 * manual/probes.texi: Document probes.
22474
3d110c7c
EB
224752013-10-11 Eric Biggers <ebiggers3@gmail.com>
22476
22477 [BZ #15362]
22478 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22479 written.
22480 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22481 written.
22482 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22483 written to buffer but not flushed.
22484 * libio/iofwrite_u.c: Likewise.
22485 * libio/iopadn.c: Return bytes returned even if EOF was
22486 encountered.
22487 * libio/iowpadn.c: Likewise.
22488 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22489 if _IO_padn does not write the whole buffer.
22490 [!COMPILE_WPRINTF] (PAD): Likewise.
22491
75b4202a
DM
224922013-10-10 David S. Miller <davem@davemloft.net>
22493
22494 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22495 directory block.
22496
6c6352e6
JM
224972013-10-10 Joseph Myers <joseph@codesourcery.com>
22498
33b853c3
JM
22499 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22500 instead of FSF address.
22501 * soft-fp/fixdfti.c: Likewise.
22502 * soft-fp/fixsfti.c: Likewise.
22503 * soft-fp/fixtfti.c: Likewise.
22504 * soft-fp/fixunsdfti.c: Likewise.
22505 * soft-fp/fixunssfti.c: Likewise.
22506 * soft-fp/fixunstfti.c: Likewise.
22507 * soft-fp/floattidf.c: Likewise.
22508 * soft-fp/floattisf.c: Likewise.
22509 * soft-fp/floattitf.c: Likewise.
22510 * soft-fp/floatuntidf.c: Likewise.
22511 * soft-fp/floatuntisf.c: Likewise.
22512 * soft-fp/floatuntitf.c: Likewise.
22513 * soft-fp/trunctfxf2.c: Likewise.
22514
6c6352e6
JM
22515 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22516 * soft-fp/fixdfti.c: Likewise.
22517 * soft-fp/fixsfti.c: Likewise.
22518 * soft-fp/fixtfti.c: Likewise.
22519 * soft-fp/fixunsdfti.c: Likewise.
22520 * soft-fp/fixunssfti.c: Likewise.
22521 * soft-fp/fixunstfti.c: Likewise.
22522 * soft-fp/floattidf.c: Likewise.
22523 * soft-fp/floattisf.c: Likewise.
22524 * soft-fp/floattitf.c: Likewise.
22525 * soft-fp/floatuntidf.c: Likewise.
22526 * soft-fp/floatuntisf.c: Likewise.
22527 * soft-fp/floatuntitf.c: Likewise.
22528 * soft-fp/trunctfxf2.c: Likewise.
22529
3bf78b71
DM
225302013-10-10 David S. Miller <davem@davemloft.net>
22531
22532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22533
6f10289e
JM
225342013-10-10 Joseph Myers <joseph@codsourcery.com>
22535
bd878fc0
JM
22536 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22537 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22538 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22539 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22540 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22541 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22542 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22543
6f10289e
JM
22544 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22545 for NaNs before doing comparisons on argument.
22546 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22547 Likewise.
22548
321e2684
WN
225492013-10-10 Will Newton <will.newton@linaro.org>
22550
22551 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22552 passed to _int_memalign does not overflow.
22553
40fefba1
TR
225542013-10-10 Torvald Riegel <triegel@redhat.com>
22555
22556 * scripts/bench.pl: Add include-sources directive.
22557 * benchtests/README: Update documentation.
22558
2ae21ed2
JM
225592013-10-10 Joseph Myers <joseph@codesourcery.com>
22560
dcc2dd3f
JM
22561 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22562 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22563 instead of FP_INIT_ROUNDMODE.
22564 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22565 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22566
2ae21ed2
JM
22567 [BZ #16034]
22568 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22569 copy class of input value.
22570 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22571 not handle exceptions.
22572 * soft-fp/negsf2.c (__negsf2): Likewise.
22573 * soft-fp/negtf2.c (__negtf2): Likewise.
22574 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22575
cb8f9562
JM
225762013-10-09 Joseph Myers <joseph@codesourcery.com>
22577
22578 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22579 semicolon. From Linux kernel.
22580
5b60c59d
AB
225812013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22582
22583 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22584
b86835ca
YC
225852013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22586
22587 [BZ #156]
22588 * manual/socket.texi: Added statement about buffer
22589 for gethostbyname2_r.
22590
e7044ea7
OB
225912013-10-08 Ondřej Bílka <neleai@seznam.cz>
22592
22593 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22594 Use .p2align directive instead, throughout.
22595 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22596 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22597 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22598 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22599 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22600 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22601 * sysdeps/x86_64/strchr.S: Likewise.
22602 * sysdeps/x86_64/strrchr.S: Likewise.
22603
09544cbc
SP
226042013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22605
88576635
SP
22606 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22607
e7b2d1dd
SP
22608 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22609
09544cbc
SP
22610 * sysdeps/generic/math_private.h (__mpsin1): Remove
22611 declaration.
22612 (__mpcos1): Likewise.
22613 (__mpsin): New argument __range_reduce.
22614 (__mpcos): Likewise.
22615 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22616 (slow): Use __mpsin and __mpcos.
22617 (slow1): Likewise.
22618 (slow2): Likewise.
22619 (sloww): Likewise.
22620 (sloww1): Likewise.
22621 (sloww2): Likewise.
22622 (bsloww): Likewise.
22623 (bsloww1): Likewise.
22624 (bsloww2): Likewise.
22625 (cslow2): Likewise.
22626 (csloww): Likewise.
22627 (csloww1): Likewise.
22628 (csloww2): Likewise.
22629 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22630 range_reduce. Merge in __mpsin1.
22631 (__mpcos): Likewise.
22632 (__mpsin1): Remove.
22633 (__mpcos1): Likewise.
22634
7602d070
JM
226352013-10-07 Joseph Myers <joseph@codesourcery.com>
22636
22637 * locale/loadlocale.c (_nl_intern_locale_data): Use
22638 LOCFILE_ALIGNED_P.
22639 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22640 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22641 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22642 obstack data is appropriately aligned.
22643 (obstack_int32_grow_fast): Likewise.
22644 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22645 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22646 (add_locale_uint32_array): Likewise.
22647
a357259b
SP
226482013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22649
22650 * benchtests/Makefile: Remove ARGLIST and RET variables.
22651 ($(objpfx)bench-%.c): Pass only function name to the script.
22652 * benchtests/README: Update documentation.
22653 * benchtests/acos-inputs: Add new directives.
22654 * benchtests/acosh-inputs: Likewise.
22655 * benchtests/asin-inputs: Likewise.
22656 * benchtests/asinh-inputs: Likewise.
22657 * benchtests/atan-inputs: Likewise.
22658 * benchtests/atanh-inputs: Likewise.
22659 * benchtests/cos-inputs: Likewise.
22660 * benchtests/cosh-inputs: Likewise.
22661 * benchtests/exp-inputs: Likewise.
22662 * benchtests/log-inputs: Likewise.
22663 * benchtests/pow-inputs: Likewise.
22664 * benchtests/rint-inputs: Likewise.
22665 * benchtests/sin-inputs: Likewise.
22666 * benchtests/sinh-inputs: Likewise.
22667 * benchtests/tan-inputs: Likewise.
22668 * benchtests/tanh-inputs: Likewise.
22669 * scripts/bench.pl: Add support for new directives.
22670
9ec1b13d
AM
226712013-10-07 Alan Modra <amodra@gmail.com>
22672
22673 * README: Fix careless merge.
22674
8b7d57cd
AM
226752013-10-05 Alan Modra <amodra@gmail.com>
22676
22677 * NEWS: Mention powerpc64le support and bugs fixed.
22678 * README: Both big-endian and little-endian powerpc64 supported.
22679
7b7bab13
ST
226802013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22681
57f41c40
AS
22682 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22683 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
22684 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22685 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22686
d39baad1
RA
226872013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22688
22689 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22690 match prototype.
22691
cd78f7e7
JM
226922013-10-04 Joseph Myers <joseph@codesourcery.com>
22693
29d73d86
JM
22694 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22695 Move -mhard-float appending from
22696 ports/sysdeps/powerpc/powerpc32/Makefile.
22697 [$(with-fp) = yes] (ASFLAGS): Likewise.
22698 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22699 * sysdeps/powerpc/nofpu: Move directory from
22700 ports/sysdeps/powerpc/nofpu.
22701 * sysdeps/powerpc/soft-fp: Move directory from
22702 ports/sysdeps/powerpc/soft-fp.
22703 * sysdeps/powerpc/powerpc32/405: Move directory from
22704 ports/sysdeps/powerpc/powerpc32/405.
22705 * sysdeps/powerpc/powerpc32/440: Move directory from
22706 ports/sysdeps/powerpc/powerpc32/440.
22707 * sysdeps/powerpc/powerpc32/464: Move directory from
22708 ports/sysdeps/powerpc/powerpc32/464.
22709 * sysdeps/powerpc/powerpc32/476: Move directory from
22710 ports/sysdeps/powerpc/powerpc32/476.
22711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22712 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22714 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22716 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22718 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22720 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22721 * README: Update for powerpc-*-linux-gnu software floating point
22722 support in libc.
22723
e246b347
JM
22724 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22725 case to powerpc/powerpc32*.
22726 * sysdeps/unix/sysv/linux/configure: Regenerated.
22727
89c2003e
JM
22728 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22729 (_FPU_MASK_OM): Define as 0x04.
22730 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22732 0x00c10080.
22733 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22734 0x0000003c.
22735 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22736
cd78f7e7
JM
22737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22738 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22739 getcontext_e500.
22740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22741 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22742 setcontext_e500.
22743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22744 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22745 and setcontext_e500.
22746
c755294d
CL
227472013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22748
22749 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22750
e16d221c
SP
227512013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22752
22753 * manual/threads.texi (Default Thread Attributes): Fix typo.
22754
215c7d43
WN
227552013-10-04 Will Newton <will.newton@linaro.org>
22756
22757 * malloc/Makefile: Add tst-memalign.
22758 * malloc/tst-memalign.c: New file.
22759
27d0461b
WN
22760 * malloc/tst-posix_memalign.c: Add comments.
22761 (do_test): Add comments and call free on all potentially
22762 allocated pointers. Add space after cast.
22763
1bc92709
WN
22764 * malloc/tst-pvalloc.c: Add comments.
22765 (do_test): Add comments and call free on all potentially
22766 allocated pointers. Remove duplicate check for NULL pointer.
22767 Add space after cast.
22768
66a9be9d
WN
22769 * malloc/tst-valloc.c: Add comments.
22770 (do_test): Add comments and call free on all potentially
22771 allocated pointers. Remove duplicate check for NULL pointer.
22772 Add space after cast.
22773
4cb81307
AM
227742013-10-04 Alan Modra <amodra@gmail.com>
22775
22776 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22777 Use stdint types in rather than __attribute__((mode())).
22778 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22779
f8e3e9f3
AM
227802013-10-04 Alan Modra <amodra@gmail.com>
22781
22782 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22783 Correct handling of unaligned relocs for little-endian.
22784 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22785
8f9ebb08
AM
227862013-10-04 Alan Modra <amodra@gmail.com>
22787
22788 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22789 * configure: Regenerate.
22790 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22791 * shlib-versions: Likewise.
22792
0edf96c2
AM
227932013-10-04 Alan Modra <amodra@gmail.com>
22794
22795 * string/tester.c (test_memrchr): Increment reported test cycle.
22796
e0f7a380
AM
227972013-10-04 Alan Modra <amodra@gmail.com>
22798
22799 * string/test-memcpy.c (do_one_test): When reporting errors, print
22800 string address and don't overrun end of string.
22801
466b0393
AM
228022013-10-04 Alan Modra <amodra@gmail.com>
22803
22804 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22805 insrdi. Make better use of reg selection to speed exit slightly.
22806 Schedule entry path a little better. Remove useless "are we done"
22807 checks on entry to main loop. Handle wrapping around zero address.
22808 Correct main loop count. Handle single left-over word from main
22809 loop inline rather than by using loop_small. Remove extra word
22810 case in loop_small caused by wrong loop count. Add little-endian
22811 support.
22812 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22813 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22814 cache hint.
22815 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22816 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22817 support. Avoid rlwimi.
22818 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22819
3be87c77
AM
228202013-10-04 Alan Modra <amodra@gmail.com>
22821
22822 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 22823 insrdi. Formatting.
3be87c77
AM
22824 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22825 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22826 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22827 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22828 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22829 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22830
759cfef3
AM
228312013-10-04 Alan Modra <amodra@gmail.com>
22832
22833 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22834 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22835 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22836 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22837 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22838 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22839 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22840 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22841 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22842 use of regs. Use power7 mtocrf. Tidy function tails.
22843
fe6e95d7
AM
228442013-10-04 Alan Modra <amodra@gmail.com>
22845
22846 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22847 Formatting. Consistently use rXXX register defines or rN defines.
22848 Use early exit labels that avoid restoring unused non-volatile regs.
22849 Make cr field use more consistent with rWORDn compares. Rename
22850 regs used as shift registers for unaligned loop, using rN defines
22851 for short lifetime/multiple use regs.
22852 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22853 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22854 addi 1,1,64 to pop stack frame. Simplify return value code.
22855 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22856
664318c3
AM
228572013-10-04 Alan Modra <amodra@gmail.com>
22858
22859 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22860 support. Correct typos, formatting. Optimize tail. Use insrdi
22861 rather than rlwimi.
22862 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22863 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22864 little-endian support. Correct typos.
22865 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22866 rather than rlwimi.
22867 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22868 in loop and entry code to keep "and." results.
22869 (strchr): Add little-endian support. Comment. Move cntlzd
22870 earlier in tail.
22871 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22872
43b84013
AM
228732013-10-04 Alan Modra <amodra@gmail.com>
22874
22875 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22876 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22877 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22878 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22879
8a7413f9
AM
228802013-10-04 Alan Modra <amodra@gmail.com>
22881
22882 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22883 (rTMP): Define as r11.
22884 (strcmp): Add little-endian support. Optimise tail.
22885 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22886 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22887 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22888 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22889 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22890 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22891 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22892
33ee81de
AM
228932013-10-04 Alan Modra <amodra@gmail.com>
22894
22895 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22896 little-endian support. Remove unnecessary "are we done" tests.
22897 Handle "s" wrapping around zero and extremely large "size".
22898 Correct main loop count. Handle single left-over word from main
22899 loop inline rather than by using small_loop. Correct comments.
22900 Delete "zero" tail, use "end_max" instead.
22901 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22902
db9b4570
AM
229032013-10-04 Alan Modra <amodra@gmail.com>
22904
22905 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22906 support. Don't branch over align.
22907 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22908 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22909 support. Rearrange tmp reg use to suit. Comment.
22910 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22911
f7c399cf
AM
229122013-10-04 Alan Modra <amodra@gmail.com>
22913
22914 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22915
0b2c2ace
AM
229162013-10-04 Alan Modra <amodra@gmail.com>
22917
22918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22919 conditional form of branch and link when obtaining pc.
22920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22921
02f04a6c
AM
229222013-10-04 Alan Modra <amodra@gmail.com>
22923
22924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22925 HIWORD/LOWORD.
22926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22928
9b874b2f
AM
229292013-10-04 Alan Modra <amodra@gmail.com>
22930
22931 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22932 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22933 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22934 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22935 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22936 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22937 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22938 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22939 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22940 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22941
be1e5d31
AB
229422013-10-04 Anton Blanchard <anton@au1.ibm.com>
22943 Alistair Popple <alistair@ozlabs.au.ibm.com>
22944 Alan Modra <amodra@gmail.com>
22945
22946 [BZ #15723]
22947 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22948 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22949 _dl_hwcap access for little-endian.
22950 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
22951 destroy vmx regs when saving unaligned.
22952 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22953 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
22954 destroy vmx regs when saving unaligned.
22955
fef13a78
AM
229562013-10-04 Alan Modra <amodra@gmail.com>
22957
22958 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22959 Don't use a union to pack hi/low value.
22960
76a66d51
AB
229612013-10-04 Anton Blanchard <anton@au1.ibm.com>
22962
22963 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22964 for little-endian.
22965 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22966 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22967 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22968 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22969 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22970
6a31fe7f
AM
229712013-10-04 Alan Modra <amodra@gmail.com>
22972
22973 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22974 constants to usual value for .cst8 section, and remove redundant
22975 high address load.
22976 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22977 constant for 0x1p52. Load little-endian words of double from
22978 correct stack offsets.
22979
7b88401f
AM
229802013-10-04 Alan Modra <amodra@gmail.com>
22981
22982 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22983 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22984 words of double from correct stack offsets.
22985 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22986 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22987 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22988 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22989 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22990 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22991 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22992 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22993 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22994 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22995 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22996 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22997 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22998 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22999 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23000 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23001 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23002
9c008155
AM
230032013-10-04 Alan Modra <amodra@gmail.com>
23004
23005 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23006 64-bit int/double union.
23007 (_FPU_SETCW): Likewise.
23008 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23009 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23010
da13146d
AM
230112013-10-04 Alan Modra <amodra@gmail.com>
23012
23013 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23014 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23015
603e8410
AM
230162013-10-04 Alan Modra <amodra@gmail.com>
23017
23018 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23019 use vector int constants.
23020 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23021
4a28b3ca
AB
230222013-10-04 Anton Blanchard <anton@au1.ibm.com>
23023
23024 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23025 array with long long.
23026 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23027 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23028 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23029 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23030 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23031 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23032 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23033 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23034 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23035 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23036 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23037 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23038 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23039
2ca85d2b
AB
230402013-10-04 Anton Blanchard <anton@au1.ibm.com>
23041
23042 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23043 (__signbit): Likewise. Correct for little-endian.
23044 (__signbitl): Call __signbit.
23045 (lrint): Correct for little-endian.
23046 (lrintf): Call lrint.
23047
62a728ae
AM
230482013-10-04 Alan Modra <amodra@gmail.com>
23049
23050 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23051 union 32-bit int array member with 64-bit int array.
23052 (t515, tm256): Double rather than long double.
23053 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23054
32c301df
AM
230552013-10-04 Alan Modra <amodra@gmail.com>
23056
23057 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23058 Delete.
23059 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23060 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23061 version of math_ldbl.h.
23062
650ef4bd
AM
230632013-10-04 Alan Modra <amodra@gmail.com>
23064
23065 [BZ #15734], [BZ #15735]
23066 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23067 all uses of ieee875 long double macros and unions. Simplify test
23068 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23069 ldbl_extract_mantissa value for ix,iy exponents. Properly
23070 normalize after ldbl_extract_mantissa, and don't add hidden bit
23071 already handled. Don't treat low word of ieee854 mantissa like
23072 low word of IBM long double and mask off bit when testing for
23073 zero.
23074 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23075 all uses of ieee875 long double macros and unions. Simplify tests
23076 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23077 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23078 two1022, instead use their values. Recognise that tests for large
23079 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23080 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23081 Rewrite all uses of ieee875 long double macros and unions. Simplify
23082 test for 0.0L and nan. Correct negation.
23083 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23084 ieee875 long double macros and unions. Correct output for large
23085 magnitude x. Correct absolute value calculation.
23086 (__erfcl): Likewise.
23087 * math/libm-test.inc: Add tests for errors discovered in IBM long
23088 double versions of fmodl, remainderl, erfl and erfcl.
23089
765714ca
AM
230902013-10-04 Alan Modra <amodra@gmail.com>
23091
23092 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23093 all uses of ieee854 long double macros and unions. Simplify tests
23094 for long doubles that are fully specified by the high double.
23095 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23096 Likewise.
23097 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23098 Remove dead code too.
23099 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23100 (__ieee754_ynl): Likewise.
23101 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23102 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23103 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23104 Remove dead code too.
23105 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23106 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23107 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23108 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23109 Simplify.
23110 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23111 Simplify.
23112 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23113 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23114 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23115 Comment on variable precision.
23116 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23117 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23118 Likewise.
23119 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23120 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23121 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23122 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23123 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23124
4ebd120c
AM
231252013-10-04 Alan Modra <amodra@gmail.com>
23126
23127 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23128 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23129 all uses of ieee854 long double macros and unions.
23130 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23131 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23132 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23133 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23134 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23135 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23136 Likewise.
23137 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23138 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23139 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23140 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23141 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23142 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23143 Simplify sign and nan test too.
23144 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23145 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23146 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23147 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23148 Likewise.
23149 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23150 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23151 Likewise.
23152 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23153 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23154 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23155 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23156 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23157 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23158
1b6adf88
AM
231592013-10-04 Alan Modra <amodra@gmail.com>
23160
23161 * stdio-common/printf_size.c (__printf_size): Don't use
23162 union ieee854_long_double in fpnum union.
23163 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23164 signbit macro to retrieve sign from long double.
23165 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23166 retrieve sign from long double.
23167 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23168 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23169 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23170 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23171 * math/test-misc.c (main): Don't use union ieee854_long_double.
23172
4cf69995
AM
231732013-10-04 Alan Modra <amodra@gmail.com>
23174
23175 [BZ #15680]
23176 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23177 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23178 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23179 calculation. Remove unnecessary test for denormal exponent.
23180 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23181 Correct handling of denormals. Avoid undefined shift behaviour.
23182 Correct normalisation of low mantissa when low double is denormal.
23183 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23184 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23185 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23186 Correct normalisation of low mantissa. Test for overflow of high
23187 mantissa and normalise.
23188 (ldbl_nearbyint): Use more readable constant for two52.
23189 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23190 (__mpn_construct_long_double): Fix test for overflow of high
23191 mantissa and correct normalisation. Avoid undefined shift.
23192
9605ca6c
AM
231932013-10-04 Alan Modra <amodra@gmail.com>
23194
23195 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23196 (union ibm_extended_long_double): Define as an array of ieee754_double.
23197 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23198 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23199 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23200 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23201 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23202 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23203 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23204 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23205 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23206 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23207 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23208
975569d0
JM
232092013-10-03 Joseph Myers <joseph@codesourcery.com>
23210
d3d23756
JM
23211 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23212 page size instead of calling getpagesize.
23213
975569d0
JM
23214 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23215 (LOCFILE_ALIGN_MASK): Likewise.
23216 (LOCFILE_ALIGN_UP): Likewise.
23217 (LOCFILE_ALIGNED_P): Likewise.
23218 * locale/programs/ld-collate.c (collate_output): Use the new
23219 macros instead of __alignof__ (int32_t).
23220 * locale/weight.h (findidx): Likewise.
23221
b1fe1f2b
OB
232222013-10-03 Ondřej Bílka <neleai@seznam.cz>
23223
23224 [BZ #431]
23225 * manual/string.texi: Fix strncat and wcsncat.
23226
5f855e35
BM
232272013-10-03 Brooks Moses <bmoses@google.com>
23228
23229 [BZ #15915]
23230 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23231 * Makerules: ...here, and adjust associated comments.
23232
3cef6009
WN
232332013-10-02 Will Newton <will.newton@linaro.org>
23234
23235 * malloc/Makefile: Add tst-pvalloc.
23236 * malloc/tst-pvalloc.c: New file.
23237
7815420b
WN
232382013-10-02 Will Newton <will.newton@linaro.org>
23239
23240 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23241 improve test coverage.
23242
4868b204
WN
232432013-10-02 Will Newton <will.newton@linaro.org>
23244
23245 * malloc/Makefile: Add tst-posix_memalign.
23246 * malloc/tst-posix_memalign.c: New file.
23247
29c793b3
EB
232482013-10-01 Eric Blake <eblake@redhat.com>
23249
23250 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23251 Use __THROWNL rather than __THROW on static functions.
23252
fd967522
PM
232532013-09-30 Petr Machata <pmachata@redhat.com>
23254
23255 * elf/elf.h (R_AARCH64_ABS16): New macro.
23256 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23257 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23258 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23259 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23260 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23261 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23262 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23263 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23264 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23265 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23266 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23267 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23268 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23269 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23270 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23271 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23272 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23273 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23274 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23275 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23276 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23277 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23278 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23279 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23280 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23281 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23282 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23283 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23284 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23285 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23286 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23287 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23288 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23289 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23290 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23291 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23292 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23293 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23294 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23295 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23296 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23297 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23298 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23299 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23300 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23301 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23302 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23303 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23304 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23305 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23306 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23307 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23308 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23309 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23310 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23311 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23312 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23313 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23314 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23315 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23316 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23317 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23318 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23319 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23320 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23321 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23322 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23323 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23324 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23325 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23326 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23327 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23328 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23329 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23330 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23331 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23332 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23333 (R_AARCH64_TLSDESC_LDR): Likewise.
23334 (R_AARCH64_TLSDESC_ADD): Likewise.
23335 (R_AARCH64_TLSDESC_CALL): Likewise.
23336
b2179107
AS
233372013-09-30 Andreas Schwab <schwab@suse.de>
23338
23339 [BZ #15048]
23340 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23341 the nss database lookup.
23342 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23344
47f28d0a
MF
233452013-09-28 Mike Frysinger <vapier@gentoo.org>
23346
23347 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23348
233492013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
23350
23351 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23352 ${Bash-specific parameter/pattern/string} parameter expansion.
23353 * sysdeps/unix/make-syscalls.sh: Likewise.
23354
f4518a17
KK
233552013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23356
23357 * sysdeps/sh/stackguard-macros.h: New file.
23358
dc1a95c7
OB
233592013-09-26 Ondřej Bílka <neleai@seznam.cz>
23360
23361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23362 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23363 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23364 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23365 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23366 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23367
5ebbff8f
AZ
233682013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23369
23370 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23371 Fix thread ID register.
23372
4fd2cf9f
JM
233732013-09-25 Joseph Myers <joseph@codesourcery.com>
23374
23375 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23376 [POSIX || UNIX98]: Require rather than permitting all symbols from
23377 <time.h>.
23378 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23379 element of struct sched_param.
23380 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23381 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23382 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23383 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23384 constant.
23385
12c22bc4
OL
233862013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23387
23388 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23389 argument calculation.
23390
a03d8ea7
JM
233912013-09-24 Joseph Myers <joseph@codesourcery.com>
23392
23393 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23394 Expect macro.
23395 [POSIX] (pthread_attr_t): Do not require type.
23396 [POSIX] (pthread_cond_t): Likewise.
23397 [POSIX] (pthread_condattr_t): Likewise.
23398 [POSIX] (pthread_key_t): Likewise.
23399 [POSIX] (pthread_mutex_t): Likewise.
23400 [POSIX] (pthread_mutexattr_t): Likewise.
23401 [POSIX] (pthread_once_t): Likewise.
23402 [POSIX] (pthread_t): Likewise.
23403 [POSIX-based standards] (pthread_atfork): Expect function.
23404
6055173a
JM
234052013-09-24 Joseph Myers <joseph@codesourcery.com>
23406 Richard Sandiford <richard@codesourcery.com>
23407
23408 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23409 (swap_endianness_p): New extern variable.
23410 (set_big_endian): New inline function.
23411 (maybe_swap_uint32): Likewise.
23412 (maybe_swap_uint32_array): Likewise.
23413 (maybe_swap_uint32_obstack): Likewise.
23414 * locale/programs/locfile.c: Include <stdbool.h>.
23415 (swap_endianness_p): New variable.
23416 (add_locale_uint32): Call maybe_swap_uint32.
23417 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23418 (write_locale_data): Call maybe_swap_uint32_array.
23419 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23420 maybe_swap_uint32.
23421 (obstack_int32_grow_fast): Likewise.
23422 (output_weightwc): Call maybe_swap_uint32_obstack.
23423 (collate_output): Likewise.
23424 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23425 (OPT_LITTLE_ENDIAN): Likewise.
23426 (options): Add --little-endian and --big-endian options.
23427 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23428 * locale/programs/locarchive.c: Include "locfile.h".
23429 (GET): New macro.
23430 (SET): Likewise.
23431 (INC): Likewise.
23432 (create_archive): Use the new macros to access fields of
23433 structures directly mapped from or written to locale archives.
23434 (oldlocrecentcmp): Likewise.
23435 (enlarge_archive): Likewise.
23436 (insert_name): Likewise.
23437 (add_alias): Likewise.
23438 (add_locale): Likewise.
23439 (delete_locales_from_archive): Likewise.
23440 (show_archive_content): Likewise.
23441 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23442 locale data.
23443
39bf0bb4
RM
234442013-09-24 Roland McGrath <roland@hack.frob.com>
23445
23446 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23447 http://www.gnu.org/doc/freemanuals.texi.
23448 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23449
f02eed10
WN
234502013-09-24 Will Newton <will.newton@linaro.org>
23451
23452 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23453 macro.
23454
a3a6c312
JM
234552013-09-23 Joseph Myers <joseph@codesourcery.com>
23456
23457 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23458 unsigned char.
23459
107375ac
MR
234602013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23461
23462 * manual/threads.texi (POSIX Threads): Fix a typo.
23463
141f3a77
SP
234642013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23465
303e567a
SP
23466 [BZ #14547]
23467 * string/tst-strcoll-overflow.c: New test case.
23468 * string/Makefile (xtests): Add tst-strcoll-overflow.
23469 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23470 cache if string sizes may cause integer overflow.
23471
141f3a77
SP
23472 [BZ #14547]
23473 * string/strcoll_l.c (coll_seq): New members rule, idx,
23474 save_idx and back_us.
23475 (get_next_seq_nocache): New function.
23476 (do_compare_nocache): New function.
23477 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23478 when malloc fails.
23479
c61b4d41
CD
234802013-09-23 Carlos O'Donell <carlos@redhat.com>
23481
0b1f8e35
CD
23482 [BZ #15754]
23483 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23484 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23485 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23486
c61b4d41
CD
23487 [BZ #15754]
23488 * elf/Makefile (tests): Add tst-ptrguard1.
23489 (tests-static): Add tst-ptrguard1-static.
23490 (tst-ptrguard1-ARGS): Define.
23491 (tst-ptrguard1-static-ARGS): Define.
23492 * elf/tst-ptrguard1.c: New file.
23493 * elf/tst-ptrguard1-static.c: New file.
23494 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23495 * sysdeps/i386/stackguard-macros.h: Likewise.
23496 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23497 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23498 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23499 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23500 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23501 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23502
235032013-09-23 Hector Marco <hecmargi@upv.es>
23504 Ismael Ripoll <iripoll@disca.upv.es>
23505 Carlos O'Donell <carlos@redhat.com>
23506
23507 [BZ #15754]
23508 * sysdeps/generic/stackguard-macros.h: Define
23509 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23510 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23511 Define __pointer_chk_guard_local.
23512 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23513 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23514
f5f4e7b4
VV
235152013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23516
23517 [BZ #15859]
23518 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23519
5bb43a43
AS
235202013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23521
23522 * include/string.h (__ffs): Declare as hidden.
23523 * string/ffs.c (__ffs): Define as hidden.
23524 * sysdeps/i386/ffs.c (__ffs): Likewise.
23525 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23526 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23527 * sysdeps/s390/ffs.c (__ffs): Likewise.
23528 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23529
3ea5be54
AO
235302013-09-20 Alexandre Oliva <aoliva@redhat.com>
23531
ffb89e53
AO
23532 * NEWS: Mention malloc probes.
23533
322dea08
AO
23534 * malloc/arena.c (new_heap): New memory_heap_new probe.
23535 (grow_heap): New memory_heap_more probe.
23536 (shrink_heap): New memory_heap_less probe.
23537 (heap_trim): New memory_heap_free probe.
23538 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23539 (systrim): New memory_sbrk_less probe.
23540 * manual/probes.texi: Document them.
23541
655673f3
AO
23542 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23543 * manual/probes.texi: Document it.
23544
35fed6f1
AO
23545 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23546 (__libc_realloc): Add memory_realloc_retry probe.
23547 (__libc_memalign): Add memory_memalign_retry probe.
23548 (__libc_valloc): Add memory_valloc_retry probe.
23549 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23550 (__libc_calloc): Add memory_calloc_retry probe.
23551 * manual/probes.texi: Document them.
23552
6999d38c
AO
23553 * malloc/arena.c (get_free_list): Add probe
23554 memory_arena_reuse_free_list.
23555 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23556 and memory_arena_reuse.
23557 (arena_get2) [!PER_THREAD]: Likewise.
23558 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23559 memory_arena_reuse_realloc.
23560 * manual/probes.texi: Document them.
23561
0653427f
AO
23562 * malloc/malloc.c (__libc_free): Add
23563 memory_mallopt_free_dyn_thresholds probe.
23564 (__libc_mallopt): Add multiple memory_mallopt probes.
23565 * manual/probes.texi: Document them.
23566
3ea5be54
AO
23567 * malloc/malloc.c: Include stap-probe.h.
23568 (__libc_mallopt): Add memory_mallopt probe.
23569 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23570 * manual/probes.texi: New.
23571 * manual/Makefile (chapters): Add probes.
23572 * manual/threads.texi: Set next node.
23573
e35696c3 235742013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 23575
e35696c3
CL
23576 [BZ #15963, #13985]
23577 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23578 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23579 Add `Chinese' to `nan' entry name.
23580
4aafb73c
SP
235812013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23582
23583 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23584 (POLYNOMIAL): Likewise.
23585 (TAYLOR_SINCOS): Likewise.
23586 (TAYLOR_SLOW): Likewise.
23587 (__sin): Use TAYLOR_SINCOS.
23588 (__cos): Likewise.
23589 (slow): Use TAYLOR_SLOW.
23590 (sloww): Likewise.
23591 (bsloww): Likewise.
23592 (csloww): Likewise.
23593
d84f25c7
LD
235942013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23595
23596 * stdlib/strtod_l.c: Fix buffer overrun.
23597
5eea0404
SP
235982013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23599
7849ff93
SP
23600 * benchtests/Makefile (bench): Add sincos.
23601 * benchtests/bench-sincos.c: New file.
23602
cfa3c886
SP
23603 * math/libm-test.inc (cos_test_data): New test inputs.
23604 (sin_test_data): Likewise.
23605
b348e1e3
SP
23606 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23607 macro.
23608 (__sin): Use it.
23609 (__cos): Likewise.
23610 (slow1): Likewise.
23611 (slow2): Likewise.
23612 (sloww1): Likewise.
23613 (sloww2): Likewise.
23614 (bsloww1): Likewise.
23615 (bsloww2): Likewise.
23616 (cslow2): Likewise.
23617 (csloww1): Likewise.
23618 (csloww2): Likewise.
23619
6cce25f8
SP
23620 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23621 function.
23622 (__sin): Use it.
23623 (__cos): Likewise.
23624
5eea0404
SP
23625 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23626 gotos.
23627 (__cos): Likewise.
23628
9c21573c
MR
236292013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23630
23631 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23632 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23633 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23634 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23635 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23636 * elf/cache.c (print_entry): Handle the new cache flags.
23637
24d22e65
JM
236382013-09-18 Joseph Myers <joseph@codesourcery.com>
23639 Aldy Hernandez <aldyh@redhat.com>
23640
23641 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23642 Change condition to [_SOFT_FLOAT].
23643 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23644 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23645 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23646 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23647 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23648 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23649 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23650 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23651 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23652 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23653 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23654 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23655 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23656 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23657 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23658 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23659 declaration.
23660
d13ef066
JM
236612013-09-18 Joseph Myers <joseph@codesourcery.com>
23662
2e071de0
JM
23663 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23664 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23665 (__longjmp): Use LOAD_GP to load saved GPRs.
23666 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23667 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23668 (__sigsetjmp): Use SAVE_GP to save GPRs.
23669
d13ef066
JM
23670 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23671 Do not append -msoft-float.
23672 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23673
97a0650b
SP
236742013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23675
23676 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23677
11ca09e9
JM
236782013-09-17 Joseph Myers <joseph@codesourcery.com>
23679
23680 [BZ #15966]
23681 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23682 (_FPU_GETCW): Use initial "__" on variable and field names but not
23683 on macro parameter name.
23684 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23685 parentheses around reference to macro parameter.
23686
08ffcf34
RS
236872013-09-13 Richard Sandiford <richard@codesourcery.com>
23688
23689 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23690 prototype.
23691 (ctype_startup): Use uint32_t in cast and sizeof for
23692 ctype->charnames.
23693
ae7080d3
JL
236942013-09-11 Jia Liu <proljc@gmail.com>
23695
23696 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23697 __daddr_t_defined.
23698 [__FreeBSD__]: Likewise.
23699
5905e7b3
OB
237002013-09-11 Ondřej Bílka <neleai@seznam.cz>
23701
23702 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23703 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23704 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23705 (strchr): Remove __strchr_sse42 ifunc selection.
23706 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23707 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23708
b987c776
WN
237092013-09-11 Will Newton <will.newton@linaro.org>
23710
23711 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23712 parameter to RES. Remove hardcoded 1000 value.
23713 * benchtests/bench-skeleton.c (main): Pass RES parameter
23714 to TIMING_INIT and multiply result by 1000.
23715
ddf985af
AZ
237162013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23717
23718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23719
ffdd3181
AS
237202013-09-11 Andreas Schwab <schwab@suse.de>
23721
23722 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23723 if not defined.
23724 (O_TMPFILE) [__USE_GNU]: Define.
23725 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23726 Define.
23727
b73ed247
WN
237282013-09-11 Will Newton <will.newton@linaro.org>
23729
23730 [BZ #15857]
23731 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23732 does not overflow.
23733
55e17aad
WN
237342013-09-11 Will Newton <will.newton@linaro.org>
23735
23736 [BZ #15856]
23737 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23738 does not overflow.
23739
1159a193
WN
237402013-09-11 Will Newton <will.newton@linaro.org>
23741
23742 [BZ #15855]
23743 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23744 does not overflow.
23745
5905e7b3 237462013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
23747
23748 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23749 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23750 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23751 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23752 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23753
cdfc721b
AM
237542013-09-10 Allan McRae <allan@archlinux.org>
23755
aa04af00
AM
23756 [BZ #15748]
23757 * manual/arith.texi (Parsing of Floats): Clarify
23758 cross-reference.
23759
cdfc721b
AM
23760 [BZ #15849]
23761 * manual/install.texi (Running make install): Mention
23762 --enable-pt-chown.
23763 * INSTALL: Regenerated.
23764
95e7cf29
MR
237652013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23766
23767 * csu/init-first.c (_init): Remove the !SHARED condition around
23768 FPU control word initialization.
23769 * elf/dl-support.c (_dl_fpu_control): New variable.
23770 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23771 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23772 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23773 * math/test-fpucw-static.c: New file.
23774 * math/test-fpucw-ieee.c: New file.
23775 * math/test-fpucw-ieee-static.c: New file.
23776 * math/Makefile (tests): Add `test-fpucw-ieee' and
23777 `$(tests-static)'.
23778 (tests-static): New variable.
23779 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23780 dependency to...
23781 [($(build-shared),yes)]
23782 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23783 ... this.
23784 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23785 New dependency.
23786
83e43bf0
AM
237872013-09-09 Allan McRae <allan@archlinux.org>
23788
a9f5ce09
AM
23789 [BZ #15939]
23790 * manual/string.texi (Collation Functions): Fix typo in
23791 strcoll example.
23792 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23793
34829bc2
AM
23794 [BZ #15893]
23795 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23796
3932737d
AM
23797 [BZ #15892]
23798 * libio/memstream.c (open_memstream): Fix memory leak.
23799 * libio/wmemstream.c (open_wmemstream): Likewise.
23800
83e43bf0
AM
23801 [BZ #15895]
23802 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23803
0c66b8e9
WN
238042013-09-09 Will Newton <will.newton@linaro.org>
23805
23806 * malloc/Makefile: Add tst-realloc to tests.
23807 * malloc/tst-realloc.c: New file.
23808
f6b00fd1
AM
238092013-09-09 Allan McRae <allan@archlinux.org>
23810
23811 [BZ #15844]
23812 * COPYING: Update from GNU website to fix FSF address.
23813 * COPYING.LIB: Likewise.
23814
eec55e16
DM
238152013-09-06 David S. Miller <davem@davemloft.net>
23816
23817 * po/zh_TW.po: Update Chinese (traditional) translation from
23818 translation project.
23819
1ecbb381
RS
238202013-09-06 Richard Sandiford <richard@codesourcery.com>
23821 Joseph Myers <joseph@codesourcery.com>
23822
23823 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23824 "localeinfo.h".
23825 (obstack_chunk_alloc): New macro.
23826 (obstack_chunk_free): Likewise.
23827 (record_offset): New function.
23828 (init_locale_data): Likewise.
23829 (align_locale_data): Likewise.
23830 (add_locale_empty): Likewise.
23831 (add_locale_raw_data): Likewise.
23832 (add_locale_raw_obstack): Likewise.
23833 (add_locale_string): Likewise.
23834 (add_locale_wstring): Likewise.
23835 (add_locale_uint32): Likewise.
23836 (add_locale_uint32_array): Likewise.
23837 (add_locale_char): Likewise.
23838 (start_locale_structure): Likewise.
23839 (end_locale_structure): Likewise.
23840 (start_locale_prelude): Likewise.
23841 (end_locale_prelude): Likewise.
23842 (write_locale_data): Take locale_file structure rather than an
23843 iovec.
23844 * locale/programs/locfile.h: Include "obstack.h".
23845 (struct locale_file): Change to store locale file contents instead
23846 of header.
23847 (init_locale_data): New prototype.
23848 (align_locale_data): Likewise.
23849 (add_locale_empty): Likewise.
23850 (add_locale_raw_data): Likewise.
23851 (add_locale_raw_obstack): Likewise.
23852 (add_locale_string): Likewise.
23853 (add_locale_wstring): Likewise.
23854 (add_locale_uint32): Likewise.
23855 (add_locale_uint32_array): Likewise.
23856 (add_locale_char): Likewise.
23857 (start_locale_structure): Likewise.
23858 (end_locale_structure): Likewise.
23859 (start_locale_prelude): Likewise.
23860 (end_locale_prelude): Likewise.
23861 (write_locale_data): Update prototype.
23862 * locale/programs/3level.h (struct TABLE): Remove result field.
23863 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23864 Use new locale_file interface.
23865 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23866 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23867 * locale/programs/ld-address.c (address_output): Use new
23868 locale_file interface.
23869 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23870 NO_ADD_LOCALE.
23871 (collate_finish): Don't call collseq_table_finalize.
23872 (collate_output): Use new locale_file interface.
23873 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23874 in file.
23875 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23876 (TABLE): Move defines earlier in file.
23877 (ELEMENT): Likewise.
23878 (DEFAULT): Likewise.
23879 (wctrans_table_add): Move macro and inline function earlier in
23880 file.
23881 (struct wctype_table): Move type earlier in file.
23882 (add_locale_wctype_table): New static prototype.
23883 (struct locale_ctype_t): Use logical types instead of struct iovec
23884 pointers for members.
23885 (ctype_output): Use new locale_file interface.
23886 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23887 new locale_file interface.
23888 (allocate_arrays): Update for use of new locale_file interface.
23889 * locale/programs/ld-identification.c (identification_output): Use
23890 new locale_file interface.
23891 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23892 * locale/programs/ld-messages.c (messages_output): Likewise.
23893 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23894 * locale/programs/ld-name.c (name_output): Likewise.
23895 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23896 * locale/programs/ld-paper.c (paper_output): Likewise.
23897 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23898 * locale/programs/ld-time.c (time_output): Likewise.
23899
e029e2e5
AZ
239002013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23901
23902 * benchtests/Makefile: Add memrchr benchmark.
23903 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23904 benchmark as memrchr.
23905 * benchtests/bench-memrchr-ifunc.c: New file.
23906 * benchtests/bench-memrchr.c: New file.
23907
bbf6e8e4
WN
239082013-09-06 Will Newton <will.newton@linaro.org>
23909
23910 * benchtests/Makefile (string-bench): Add memcpy.
23911
6c82a2f8
CD
239122013-09-05 Carlos O'Donell <carlos@redhat.com>
23913 Cong Wang <amwang@redhat.com>
23914
e732c5f0 23915 [BZ #15850]
6c82a2f8
CD
23916 * sysdeps/unix/sysv/linux/bits/in.h
23917 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23918 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23919 before __USE_KERNEL_IPV6_DEFS uses.
23920 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23921 IPPROTO_BEETPH.
23922 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23923 sockaddr_in6, or ipv6_mreq.
23924
5430fc65
AZ
239252013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23926
23927 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23928 memory access for final bytes in some large inputs.
23929 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23930
4660856c
AZ
239312013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23932
23933 * string/test-memrchr.c: New file.
23934 * string/test-memrchr-ifunc.c: New file.
23935 * string/Makefile: Add new memrchr testcase.
23936
bb8ea713
MF
239372013-09-05 Mike Frysinger <vapier@gentoo.org>
23938
23939 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23940 fanotify_init returns EPERM.
23941
b92a20b5
JM
239422013-09-04 Joseph Myers <joseph@codesourcery.com>
23943
23944 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23945 errors.
23946 (top level): Treat second token from macro or constant entries for
23947 allowed headers as allowed.
23948 * include/complex.h: Condition internal declarations on
23949 [!_ISOMAC].
23950 * include/fenv.h: Condition include of <stdbool.h> and internal
23951 declarations on [!_ISOMAC].
7447ccd9
CL
23952
239532013-09-04 Chris Leonard <cjl@sugarlabs,.org>
23954
3e181dda 23955 [BZ #15923]
7447ccd9
CL
23956 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23957
3f2e46a4
JM
239582013-09-04 Joseph Myers <joseph@codesourcery.com>
23959
23960 * configure.in (--enable-versioning): Remove configure option.
23961 (libc_cv_asm_symver_directive): Remove configure test.
23962 (libc_cv_ld_version_script_option): Likewise.
23963 (VERSIONING): Remove variable and AC_SUBST.
23964 (DO_VERSIONING): Remove AC_DEFINE.
23965 * configure: Regenerated.
23966 * config.h.in (DO_VERSIONING): Remove macro.
23967 * Makerules [$(versioning) = yes]: Change conditionals to
23968 [$(build-shared) = yes].
23969 * config.make.in (versioning): Remove variable.
23970 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23971 [$(build-shared) = yes].
23972 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23973 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23974 * elf/Makefile [$(versioning) = yes]: Change conditionals to
23975 [$(build-shared) = yes].
23976 * extra-lib.mk [$(versioning) = yes]: Likewise.
23977 * hurd/Makefile [$(versioning) = yes]: Likewise.
23978 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23979 [SHARED].
23980 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23981 [SHARED].
23982 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23983 [SHARED && !NO_HIDDEN].
23984 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23985 [SHARED].
23986 [SHARED && DO_VERSIONING]: Likewise..
23987 * libio/Makefile [$(versioning) = yes]: Change conditionals to
23988 [$(build-shared) = yes].
23989 * manual/install.texi (--disable-versioning): Remove
23990 documentation.
23991 * INSTALL: Regenerated.
23992 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23993 to [SHARED].
23994 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23995 [$(build-shared) = yes].
23996 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23997 * sysdeps/i386/i686/multiarch/strstr-c.c
23998 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23999 [SHARED && !NO_HIDDEN].
24000 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24001 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24002 * sysdeps/powerpc/powerpc32/dl-machine.c
24003 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24004 * sysdeps/powerpc/powerpc32/sysdep.h
24005 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24006 to [SHARED && PIC && !NO_HIDDEN].
24007 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24008 conditional to [SHARED].
24009
44558701
WN
240102013-09-04 Will Newton <will.newton@linaro.org>
24011
24012 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24013 * benchtests/bench-string.h: Include bench-timing.h instead
24014 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24015 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24016 call to HP_TIMING_DIFF_INIT.
24017 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24018 instead of hp-timing.h macros.
24019 * benchtests/bench-memchr.c: Likewise.
24020 * benchtests/bench-memcmp.c: Likewise.
24021 * benchtests/bench-memcpy.c: Likewise.
24022 * benchtests/bench-memmem.c: Likewise.
24023 * benchtests/bench-memmove.c: Likewise.
24024 * benchtests/bench-memset.c: Likewise.
24025 * benchtests/bench-rawmemchr.c: Likewise.
24026 * benchtests/bench-strcasecmp.c: Likewise.
24027 * benchtests/bench-strcasestr.c: Likewise.
24028 * benchtests/bench-strcat.c: Likewise.
24029 * benchtests/bench-strchr.c: Likewise.
24030 * benchtests/bench-strcmp.c: Likewise.
24031 * benchtests/bench-strcpy.c: Likewise.
24032 * benchtests/bench-strcpy_chk.c: Likewise.
24033 * benchtests/bench-strlen.c: Likewise.
24034 * benchtests/bench-strncasecmp.c: Likewise.
24035 * benchtests/bench-strncat.c: Likewise.
24036 * benchtests/bench-strncmp.c: Likewise.
24037 * benchtests/bench-strncpy.c: Likewise.
24038 * benchtests/bench-strnlen.c: Likewise.
24039 * benchtests/bench-strpbrk.c: Likewise.
24040 * benchtests/bench-strrchr.c: Likewise.
24041 * benchtests/bench-strspn.c: Likewise.
24042 * benchtests/bench-strstr.c: Likewise.
24043
cae16d66
WN
240442013-09-04 Will Newton <will.newton@linaro.org>
24045
24046 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24047
ffa3cd7f
JM
240482013-09-03 Joseph Myers <joseph@codesourcery.com>
24049
24050 [BZ #15427]
24051 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24052 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24053 * math/libm-test.inc (lgamma_test_data): Add more tests.
24054 * sysdeps/i386/fpu/libm-test-ulps: Update.
24055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24056
8f02859f
OB
240572013-09-03 Ondřej Bílka <neleai@seznam.cz>
24058
24059 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24060 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24061 Add ifunc.
24062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24063 Add strcmp-sse2-unaligned
24064 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24065
18d43716
MF
240662013-09-02 Mike Frysinger <vapier@gentoo.org>
24067
24068 * Versions.def (libc): Add GLIBC_2.19.
24069
ac444012
MF
240702013-09-02 Mike Frysinger <vapier@gentoo.org>
24071
24072 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24073 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24074
b7835e32
JM
240752013-09-02 Joseph Myers <joseph@codesourcery.com>
24076
24077 [BZ #14155]
24078 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24079 intermediate calculations in recurrence.
24080 (__ieee754_ynf): Likewise.
24081 * math/libm-test.inc (jn_test_data): Do not allow spurious
24082 underflow exception. Add more tests.
24083 (yn_test_data): Add more tests.
24084 * sysdeps/i386/fpu/libm-test-ulps: Update.
24085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24086
8220f4f0
OB
240872013-09-02 Ondřej Bílka <neleai@seznam.cz>
24088
24089 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24090
f24a6d08
OB
240912013-08-30 Ondřej Bílka <neleai@seznam.cz>
24092
24093 * csu/init-first.c: Fix then/than typos.
24094 * locale/programs/ld-collate.c: Likewise.
24095 * locale/programs/linereader.h: Likewise.
24096 * manual/charset.texi: Likewise.
24097 * manual/filesys.texi: Likewise.
24098 * manual/stdio.texi: Likewise.
24099 * manual/string.texi: Likewise.
24100 * stdlib/fmtmsg.c: Likewise.
24101 * sysdeps/i386/stpncpy.S: Likewise.
24102 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24103 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24104 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24105 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24106
382466e0
OB
241072013-08-30 Ondřej Bílka <neleai@seznam.cz>
24108
24109 * elf/dl-open.c: Fix typos.
24110 * iconvdata/gbbig5.c: Likewise.
24111 * iconvdata/iso-2022-jp.c: Likewise.
24112 * iconv/gconv_int.h: Likewise.
24113 * iconv/loop.c: Likewise.
24114 * nis/rpcsvc/nis.h: Likewise.
24115 * resolv/ns_name.c: Likewise.
24116 * stdio-common/vfscanf.c: Likewise.
24117 * streams/stropts.h: Likewise.
24118 * sunrpc/rpc_thread.c: Likewise.
24119 * sysdeps/i386/strpbrk.S: Likewise.
24120 * sysdeps/ieee754/k_standard.c: Likewise.
24121 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24122 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24123 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24124 * sysdeps/mach/hurd/profil.c: Likewise.
24125 * sysdeps/s390/dl-procinfo.h: Likewise.
24126 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24127 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24128 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24129 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24130 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24131
0186c6e9
OB
241322013-08-30 Ondřej Bílka <neleai@seznam.cz>
24133
24134 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24135 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24136
d4e16af1
OB
241372013-08-29 Ondřej Bílka <neleai@seznam.cz>
24138
24139 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24140 aix specific files.
24141 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24142 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24143 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24144 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24145 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24146 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24147 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24148 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24149
88335980
TS
241502013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24151 Roland McGrath <roland@hack.frob.com>
24152
24153 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24154 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24155
ed479b02
ST
241562013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24157
24158 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24159 __executable_start symbol instead of _start.
24160
f1cc4c86
TS
241612013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24162
d821f07c
TS
24163 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24164 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24165 Move macros to...
24166 * sysdeps/gnu/ldsodefs.h: ... this new file.
24167
c54290cf
TS
24168 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24169 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24170 instead of ELFOSABI_LINUX.
24171
0007fc9b 24172 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
24173 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24174 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24175 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24176 Likewise.
24177 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24178 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24179 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24180 Likewise.
24181 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24182 (ibm_extended_long_double): Add ieee_nan member.
24183 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24184 (do_test): New function.
24185
f1cc4c86
TS
24186 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24187 TEST_TRUNC.
24188 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24189 functions, renamed from truncdfsf_test, trunctfsf_test,
24190 trunctfdf_test.
24191 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24192 functions.
24193 (do_test): Run all these.
24194
6f65e668
OB
241952013-08-29 Ondřej Bílka <neleai@seznam.cz>
24196
24197 * argp/argp-help.c: Fix typos.
24198 * argp/argp-parse.c: Likewise.
24199 * debug/backtracesyms.c: Likewise.
24200 * elf/elf.h: Likewise.
24201 * malloc/malloc.c: Likewise.
24202 * nis/nis_print.c: Likewise.
24203 * resolv/res_comp.c: Likewise.
24204 * stdlib/stdlib.h: Likewise.
24205 * sunrpc/clnt_tcp.c: Likewise.
24206 * sunrpc/clnt_udp.c: Likewise.
24207 * sunrpc/clnt_unix.c: Likewise.
24208 * sysdeps/unix/bsd/ptsname.c: Likewise.
24209 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24210 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
24211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24212 Likewise.
24213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24214 Likewise.
24215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24216 Likewise.
6f65e668
OB
24217 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24218
3a309239
SP
242192013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24220
24221 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24223
3b813b29
MF
242242013-08-27 Mike Frysinger <vapier@gentoo.org>
24225
24226 [BZ #15897]
24227 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24228 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24229 ($(objpfx)bug-dl-leaf): New rule.
24230 ($(objpfx)bug-dl-leaf.so): Likewise.
24231 ($(objpfx)bug-dl-leaf.out): Likewise.
24232 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24233 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24234 * dlfcn/bug-dl-leaf.c: New test.
24235 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24236 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24237 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24238 (dlclose): Likewise.
24239 (dlmopen): Likewise.
24240
8cc3269f
RM
242412013-08-27 Roland McGrath <roland@hack.frob.com>
24242
7f9d0034
RM
24243 * include/netdb.h [!_ISOMAC]:
24244 Don't include <tls.h>.
24245 (h_errno, __libc_h_errno): Move declaration and macros out of
24246 [_LIBC_REENTRANT].
24247
fb431262
RM
24248 * include/resolv.h [_RESOLV_H_]:
24249 Don't include <tls.h>.
24250 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24251 * resolv/res_libc.c: Don't include <tls.h>.
24252 (_res): Use __attribute__ ((nocommon)) in place of
24253 __attribute__ ((section (".bss"))).
24254
bd81123a
RM
24255 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24256 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24257
c4e42566
RM
24258 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24259
f890a59b
RM
24260 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24261 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24262
24263 * resolv/res_mkquery.c: Include <sys/time.h>.
24264
5d1f0a09
RM
24265 * inet/ifreq.c: Moved to ...
24266 * sysdeps/unix/ifreq.c: ... here.
24267 * inet/ifreq.c: New file, true stub version.
24268
6fcf28b3
RM
24269 * socket/sa_len.c: New file.
24270 * socket/Makefile (aux): Add it.
24271 * sysdeps/unix/sysv/linux/Makefile
24272 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24273 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24274 and #include <socket/sa_len.c>.
24275 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24276 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24277
e041fb8b
RM
24278 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24279 * bits/socket.h: ... here.
24280
8cc3269f
RM
24281 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24282 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24283 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24284
5d228a43
AS
242852013-08-27 Andreas Schwab <schwab@suse.de>
24286
45b8accc
AS
24287 [BZ #15736]
24288 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24289 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24290 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24291 * string/test-strcasecmp.c (test_main): Run tests in several
24292 locales.
24293 * string/test-strncasecmp.c (test_main): Likewise.
24294
5d228a43
AS
24295 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24296 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24297 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24298 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24299 (__strncasecmp_ssse3) [PIC]: Likewise.
24300
59d112a4
RM
243012013-08-26 Roland McGrath <roland@hack.frob.com>
24302
53234cc3
RM
24303 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24304
59d112a4
RM
24305 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24306 instead of explicitly declaring xdecrypt.
24307 * nis/nss_nis/nis-publickey.c: Likewise.
24308
595aba70
SP
243092013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24310
24311 [BZ #15890]
24312 * nscd/aicache.c: Include res_hconf.h.
24313 (addhstaiX): Initialize res_hconf.
24314
ffabd393
AS
243152013-08-26 Andreas Schwab <schwab@suse.de>
24316
24317 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24318 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24319
e0a69f5c
SP
243202013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24321
24322 * nscd/aicache.c (addhstaiX): Fix indentation.
24323
8c12f01d
MF
243242013-08-25 Mike Frysinger <vapier@gentoo.org>
24325
24326 * configure.ac: Quote $build_pt_chown test.
24327 * configure: Regenerated.
24328
8fe89494
JM
243292013-08-23 Joseph Myers <joseph@codesourcery.com>
24330
24331 [BZ #15532]
24332 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24333 * math/s_cexpf.c (__cexpf): Likewise.
24334 * math/s_cexpl.c (__cexpl): Likewise.
24335 * math/libm-test.inc (cexp_test_data): Correct expected return
24336 value for NaN + i0. Add another test.
24337
75b181d6
DM
243382013-08-22 David S. Miller <davem@davemloft.net>
24339
24340 * po/ca.po: Update Catalan translation from translation project.
936241e4 24341 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 24342
acd06bb1
JM
243432013-08-21 Joseph Myers <joseph@codesourcery.com>
24344
24345 [BZ #15797]
24346 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24347 is infinite, not alongside NaN test.
24348 * math/s_fdimf.c (__fdimf): Likewise.
24349 * math/s_fdiml.c (__fdiml): Likewise.
24350 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24351 errno is unchanged.
24352
c0c3f78a
OB
243532013-08-21 Ondřej Bílka <neleai@seznam.cz>
24354
24355 * argp/argp-help.c: Fix typos.
24356 * crypt/speeds.c: Likewise.
24357 * csu/check_fds.c: Likewise.
24358 * elf/dl-load.c: Likewise.
24359 * elf/dl-open.c: Likewise.
24360 * elf/reldep3.c: Likewise.
24361 * elf/reldep.c: Likewise.
24362 * elf/sprof.c: Likewise.
24363 * iconv/iconv_charmap.c: Likewise.
24364 * iconv/skeleton.c: Likewise.
24365 * iconv/strtab.c: Likewise.
24366 * io/lockf64.c: Likewise.
24367 * libio/libioP.h: Likewise.
24368 * resolv/gai_notify.c: Likewise.
24369 * resolv/ns_name.c: Likewise.
24370 * resolv/ns_samedomain.c: Likewise.
24371 * resolv/res_send.c: Likewise.
24372 * stdlib/random.c: Likewise.
24373 * sunrpc/rpc/xdr.h: Likewise.
24374 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24375 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24376 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24377 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24378 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24379 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24380 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24381 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24382 * sysdeps/mach/hurd/check_fds.c: Likewise.
24383 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24384 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24385 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24386 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24387 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24388 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24389 * sysdeps/pthread/aio_notify.c: Likewise.
24390 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24391 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24392 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24393 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24394 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24395
46ed1038
LD
243962013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24397
24398 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24399 version if bit_Slow_SSE4_2 is set.
24400 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24401 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24402
d400dcac
AZ
244032013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24404
24405 [BZ #15867]
24406 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24407 trampoline stack frame information.
24408 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24409 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24410 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24411 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24412 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24413 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24414 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24415 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24416 sa_flags value.
24417 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24418 interrupting a syscall and set with option SA_SIGINFO.
24419
42c8fdd8
JM
244202013-08-20 Joseph Myers <joseph@codesourcery.com>
24421
c980f2f4
JM
24422 [BZ #15531]
24423 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24424 argument is infinite.
24425 * math/s_cprojf.c (__cprojf): Likewise.
24426 * math/s_cprojl.c (__cprojl): Likewise.
24427 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24428 * math/libm-test.inc (cproj_test_data): Add more tests.
24429
0716c4fc
JM
24430 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24431
42c8fdd8
JM
24432 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24433 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24434 size. Use __ffs to determine corresponding shift.
24435
b31469d0
JM
244362013-08-20 Joseph Myers <joseph@codesourcery.com>
24437 Roland McGrath <roland@hack.frob.com>
24438
24439 * Makefile (INSTALL): Remove trailing blank lines from output of
24440 makeinfo.
24441
4e39af6e
AK
244422013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24443
24444 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24445 Align 32 bit compat elf_greg to 8 bytes.
24446
f315524e
AA
244472013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24448
24449 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24450
1326ba1a
SP
244512013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24452
24453 * string/strcoll_l.c (coll_seq): New structure.
24454 (get_next_seq_cached): New function.
24455 (get_next_seq): New function.
24456 (do_compare): New function.
24457 (STRCOLL): Use GNU style definition. Simplify implementation
24458 by using get_next_seq, get_next_seq_cached and do_compare.
24459
91ce4085
FW
244602013-08-16 Florian Weimer <fweimer@redhat.com>
24461
24462 [BZ #14699]
24463 CVE-2013-4237
24464 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24465 member.
24466 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24467 member.
24468 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24469 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24470 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24471 conditional.
24472 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24473 GETDENTS_64BIT_ALIGNED.
24474 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24475 * manual/filesys.texi (Reading/Closing Directory): Document
24476 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24477 strongly.
24478 * manual/conf.texi (Limits for Files): Add portability note to
24479 NAME_MAX, PATH_MAX.
24480 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24481
ca0a6bc4
AS
244822013-08-13 Andreas Schwab <schwab@suse.de>
24483
24484 [BZ #15749]
24485 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24486 of fabs.
24487 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24488 LDBL_MAX_EXP >= 16384]: Add tests for it.
24489
6c1fd795
DM
244902013-08-12 David S. Miller <davem@davemloft.net>
24491
24492 * version.h (RELEASE): Set to "development".
24493 (VERSION): Set to "2.18.90".
24494 * NEWS: Add 2.19 section.
24495
31ad488d
DM
244962013-08-03 David S. Miller <davem@davemloft.net>
24497
24498 * po/ko.po: Update Korean translation from translation project.
24499
db24e684
DM
245002013-08-01 David S. Miller <davem@davemloft.net>
24501
24502 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24503 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24504 Bilka.
24505
f723285b
DM
245062013-07-30 David S. Miller <davem@davemloft.net>
24507
24508 * po/fr.po: Update French translation from translation project.
24509
3cbc52db
DM
245102013-07-28 David S. Miller <davem@davemloft.net>
24511
30bbc0cc
DM
24512 * po/cs.po: Update Czech translation from translation project.
24513
3cbc52db
DM
24514 * po/sv.po: Update Swedish translation from translation project.
24515
d492e6d0
DM
245162013-07-27 David S. Miller <davem@davemloft.net>
24517
f1a7f492
DM
24518 * po/eo.po: Update Esperanto translation from translation project.
24519
90e62a4a
DM
24520 * po/vi.po: Update Vietnamese translation from translation project.
24521
d492e6d0
DM
24522 * po/de.po: Update German translation from translation project.
24523
d4baa62d
DM
245242013-07-26 David S. Miller <davem@davemloft.net>
24525
641aa7b4
DM
24526 * po/bg.po: Update Bulgarian translation from translation project.
24527
d4baa62d
DM
24528 * po/nl.po: Update Dutch translation from translation project.
24529 * po/pl.po: Update Polish translation from translation project.
24530 * po/ru.po: Update Russian translation from translation project.
24531
61a9dcb9
DM
245322013-07-24 David S. Miller <davem@davemloft.net>
24533
24534 * po/libc.pot: Update.
24535
7b1f8b58
AZ
245362013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24537
24538 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24539 variable page size.
24540 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24541 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24542 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24543
a8fc7a03
AK
245442013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24545
24546 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24547
e4608715
CD
245482013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24549 Andreas Schwab <schwab@suse.de>
24550 Roland McGrath <roland@hack.frob.com>
24551 Joseph Myers <joseph@codesourcery.com>
24552 Carlos O'Donell <carlos@redhat.com>
24553
24554 [BZ #15755]
24555 * config.h.in: Define HAVE_PT_CHOWN.
24556 * config.make.in (build-pt-chown): New variable.
24557 * configure.in (--enable-pt_chown): New configure option.
24558 * configure: Regenerate.
24559 * login/Makefile: Include Makeconfig. Build pt_chown only if
24560 build-pt-chown is enabled.
24561 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24562 pt_chown to fix pty ownership.
24563 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24564 CLOSE_ALL_FDS.
24565 * manual/install.texi (Configuring and compiling): Mention
24566 --enable-pt_chown. Add @findex for grantpt.
24567 * INSTALL: Regenerate.
24568
da2d62df
DM
245692013-07-20 David S. Miller <davem@davemloft.net>
24570
24571 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24572 difference between 32-bit and 64-bit.
24573
d7e06450
CD
245742013-07-15 Carlos O'Donell <carlos@redhat.com>
24575
24576 [BZ #15711]
24577 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24578 Avoid system header dependency with -ffreestanding.
24579 ($(objpfx)bits/syscall%d): Likewise.
24580
f959cfd7
DM
245812013-07-13 David S. Miller <davem@davemloft.net>
24582
24583 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24584 underflows from atanl/atan2l due to bug 15319.
24585 (casinh_test_data): Likewise.
24586
c61f8513
DM
245872013-07-07 David S. Miller <davem@davemloft.net>
24588
24589 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24590
72c90ed0
JA
245912013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24592
24593 * sysdeps/i386/fpu/libm-test-ulps: Update.
24594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24595
52dfbe13
SP
245962013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24597
24598 * configure.in (--enable-lock-elision): Fix message text.
24599 * INSTALL: Regenerate.
24600 * configure: Regenerate.
24601
3f169543
AZ
246022013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24603
24604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24605
521c6785
AJ
246062013-07-03 Andreas Jaeger <aj@suse.de>
24607
24608 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24609 define.
24610 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24611 (ptrace_peeksiginfo_args): Add.
24612 (__ptrace_peeksiginfo_flags): Add.
24613 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24614 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24615 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24616
d2cc15cb
AM
246172013-07-03 Allan McRae <allan@archlinux.org>
24618
24619 * sysdeps/i386/fpu/libm-test-ulps: Update.
24620
3aaeeca7
DM
246212013-07-02 David S. Miller <davem@davemloft.net>
24622
24623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24624
5314ed1a
MT
246252013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24626
24627 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24628
67338156
JM
246292013-07-02 Joseph Myers <joseph@codesourcery.com>
24630
24631 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24633
1717da59
AK
246342013-07-02 Andi Kleen <ak@linux.intel.com>
24635
24636 * config.h.in (ENABLE_LOCK_ELISION): Add.
24637 * configure.in (--enable-lock-elision): Add option.
24638 * manual/install.texi: Document --enable lock elision.
24639 * configure: Regenerate
24640 * INSTALL: Regenerate.
24641
1c81621c
L
246422013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24643
24644 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24645 SSE4.2 strcasecmp for libc.a.
24646 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24647
77f01ab5
JM
246482013-07-02 Joseph Myers <joseph@codesourcery.com>
24649
24650 [BZ #13304]
24651 * soft-fp/op-common.h (_FP_FMA): New macro.
24652 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24653 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24654 (_FP_MUL_MEAT_1_imm): ... here.
24655 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24656 (_FP_MUL_MEAT_1_wide): ... here.
24657 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24658 (_FP_MUL_MEAT_1_hard): ... here.
24659 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24660 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24661 (_FP_MUL_MEAT_2_wide): ... here.
24662 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24663 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24664 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24665 (_FP_MUL_MEAT_2_gmp): ... here.
24666 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24667 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24668 (_FP_MUL_MEAT_4_wide): ... here.
24669 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24670 (_FP_MUL_MEAT_4_gmp): ... here.
24671 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24672 (_FP_WFRACBITS_DW_S): Likewise.
24673 (_FP_WFRACXBITS_DW_S): Likewise.
24674 (_FP_HIGHBIT_DW_S): Likewise.
24675 (FP_FMA_S): Likewise.
24676 (_FP_FRAC_HIGH_DW_S): Likewise.
24677 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24678 (_FP_WFRACBITS_DW_D): Likewise.
24679 (_FP_WFRACXBITS_DW_D): Likewise.
24680 (_FP_HIGHBIT_DW_D): Likewise.
24681 (FP_FMA_D): Likewise.
24682 (_FP_FRAC_HIGH_DW_D): Likewise.
24683 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24684 (_FP_WFRACBITS_DW_E): Likewise.
24685 (_FP_WFRACXBITS_DW_E): Likewise.
24686 (_FP_HIGHBIT_DW_E): Likewise.
24687 (FP_FMA_E): Likewise.
24688 (_FP_FRAC_HIGH_DW_E): Likewise.
24689 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24690 (_FP_WFRACBITS_DW_Q): Likewise.
24691 (_FP_WFRACXBITS_DW_Q): Likewise.
24692 (_FP_HIGHBIT_DW_Q): Likewise.
24693 (FP_FMA_Q): Likewise.
24694 (_FP_FRAC_HIGH_DW_Q): Likewise.
24695 * soft-fp/fmasf4.c: New file.
24696 * soft-fp/fmadf4.c: Likewise.
24697 * soft-fp/fmatf4.c: Likewise.
24698
6308fd9a
LD
246992013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24700
24701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24702 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24703 Silvermont.
24704 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24705 macro.
24706 (index_Slow_SSE4_2): Likewise.
24707 (index_Prefer_PMINUB_for_stringop): Likewise.
24708 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24709 bit_Slow_SSE4_2 is set.
24710 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24711 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24712
89cd9569
RA
247132013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24714
24715 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24716 rtld_global._dl_hwcap2.
24717 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24718 POWER8.
24719 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24720 POWER8 feature descriptions defined in _dl_hwcap2.
24721 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24722 string handling for POWER8 feature bits.
24723 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24724 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24725 _dl_powerpc_cap_flags.
24726 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24727 * sysdeps/powerpc/rtld-global-offsets.sym
24728 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24729 _dl_hwcap2 in the rtld_global_ro structure.
24730
1ae8bfe0
RA
247312013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24732
24733 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24734 hardware capabilities in support of AT_HWCAP2.
24735 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24736 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24737 GLRO(dl_hwcap2).
24738 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24739 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24740 explicitly the unknown a_type display mechanism is used.
24741 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24742 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24743 struct member.
24744 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24745 to macro prototype for AT_HWCAP2 support.
24746 * sysdeps/i386/dl-procinfo.h: Likewise.
24747 * sysdeps/s390/dl-procinfo.h: Likewise.
24748 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24749 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24750 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24751 return -1 for unknown a_type display fallback.
24752 * sysdeps/sparc/dl-procinfo.h: Likewise.
24753 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24754 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24755
8fbec010
JM
247562013-06-28 Joseph Myers <joseph@codesourcery.com>
24757
24758 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24759 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24760
0432680e
PY
247612013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24762
24763 [BZ #12492]
24764 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24765 mprotect making __stack_prot writable.
24766
ce61a2ad
NF
247672013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24768 Joseph Myers <joseph@codesourcery.com>
24769
24770 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24771 as being properly aligned.
24772
f91f1c0f
MR
247732013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24774
3d0f5d0c
MR
24775 * dlfcn/modstatic5.c: New file.
24776 * dlfcn/tststatic5.c: New file.
24777 * dlfcn/Makefile (tests): Add tststatic5.
24778 (tests-static): Likewise.
24779 (modules-names): Add modstatic5.
24780 (tststatic5-ENV): New variable.
24781 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24782
f91f1c0f
MR
24783 [BZ #15022]
24784 * elf/dl-support.c (_dl_main_map): New variable.
24785 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24786 (_dl_nns, _dl_load_adds): Set to 1.
24787 (_dl_initial_searchlist): Refer to _dl_main_map.
24788 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24789 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24790 call to _dl_get_origin.
24791 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24792 around call_map.
24793 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24794 * dlfcn/modstatic3.c: New file.
24795 * dlfcn/tststatic3.c: New file.
24796 * dlfcn/tststatic4.c: New file.
24797 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24798 (tests-static): Likewise.
24799 (modules-names): Add modstatic3.
24800 (tststatic3-ENV, tststatic4-ENV): New variables.
24801 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24802 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24803
cbe7d24b
JM
248042013-06-26 Joseph Myers <joseph@codesourcery.com>
24805
24806 * configure.in (CC): Require GCC version 4.4 or later.
24807 * configure: Regenerated.
24808 * manual/install.texi (Tools for Compilation): Update GCC version
24809 requirement.
24810 * INSTALL: Regenerated.
24811
11b8a0e1
LD
248122013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24813
24814 [BZ #15674]
bb5bb87c
L
24815 * string/test-memcmp.c (check2): New.
24816 (main): Call check2.
24817
11b8a0e1
LD
24818 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24819
b0037103
MR
248202013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24821
24822 [BZ #15022]
24823 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24824 over to...
24825 (dl_open_worker) [!SHARED]: ... here.
24826
c18c701d
RA
248272013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24828
24829 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24830
1d17fa5f
RH
248312013-06-25 Richard Henderson <rth@redhat.com>
24832
24833 * locale/programs/locarchive.c: Include <libc-internal.h>
24834
8fcb833a
JM
248352013-06-25 Joseph Myers <joseph@codesourcery.com>
24836
24837 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24838 trailing whitespace removed.
24839
17db6e8d
MF
248402013-06-24 Mike Frysinger <vapier@gentoo.org>
24841
24842 [BZ #10283]
17db6e8d
MF
24843 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24844 * locale/programs/locarchive.c: Include libc-mmap.h.
24845 (prepare_address_space): Take two new outputs (the mmap base and len).
24846 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24847 values.
24848 (create_archive): Declare new mmap base and len values for
24849 prepare_address_space, and store the result in ah.
24850 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24851 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24852 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24853 Declare new mmap base and len values for
24854 prepare_address_space, and store the result in new_ah.
24855 (open_archive): Declare new mmap base and len values for
24856 prepare_address_space, and store the result in ah.
24857 (close_archive): If ah->mmap_base is not NULL, use that and
24858 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24859 * sysdeps/generic/libc-mmap.h: New file.
24860
d605071e
MF
248612013-06-24 Mike Frysinger <vapier@gentoo.org>
24862
24863 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24864 (ALIGN_UP): Likewise.
24865 (PTR_ALIGN_DOWN): Likewise.
24866 (PTR_ALIGN_UP): Likewise.
24867
2f063a6e
RA
248682013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24869
24870 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24871 entry mapped to PPC_PLATFORM_POWER8.
24872 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24873 POWER8.
24874 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24875 (_dl_string_platform): Add case for exporting platform position for
24876 POWER8.
24877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24878 search path to sysdeps/powerpc/powerpc32/power8 directory.
24879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24880 search path to sysdeps/powerpc/powerpc64/power8 directory.
24881 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24882 power7 directories.
24883 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24884 power7 directories.
24885
a31ee4b3
SP
248862013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24887
a74ca98f
SP
24888 * INSTALL: Regenerate.
24889
a31ee4b3
SP
24890 * nscd/connections.c (nscd_init): Fix comment.
24891
695c378f
JM
248922013-06-22 Joseph Myers <joseph@codesourcery.com>
24893
d8412221
JM
24894 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24895
695c378f
JM
24896 [BZ #15667]
24897 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24898 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24899
d1d54715
MR
249002013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24901
24902 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24903 DL_DST_REQ_STATIC.
24904 (DL_DST_REQ_STATIC): Remove macro.
24905
8fdda7af
JM
249062013-06-21 Joseph Myers <joseph@codesourcery.com>
24907
24908 [BZ #7006]
24909 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24910 with a shift of 0 bits.
24911
f3bc5e5a
MR
249122013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24913
24914 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24915 $(tststatic-ENV).
24916
be09e8c9
KK
249172013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24918
24919 [BZ #15655]
24920 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24921
85c2e611
AZ
249222013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24923
24924 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24925 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24926 accepts -fno-tree-loop-distribute-patterns.
24927 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24928 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24929 recursive call.
24930 * string/memset.c (memset): Likewise.
24931 * string/test-memmove.c (simple_memmove): Disable loop transformation
24932 to library calls.
24933 * string/test-memset.c (simple_memset): Likewise.
24934 * benchtests/bench-memmove.c (simple_memmove): Likewise.
24935 * benchtests/bench-memset.c (simple_memset): Likewise.
24936 * configure: Regenerated.
24937
c91e0825
JM
249382013-06-20 Joseph Myers <joseph@codesourcery.com>
24939
b8c792af
JM
24940 * math/test-misc.c (main): Ignore fesetround failure when failures
24941 of subsequent rounding tests would be ignored.
24942
c91e0825
JM
24943 [BZ #15654]
24944 * math/fedisblxcpt.c (fedisableexcept): Return 0.
24945 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24946 * math/fegetenv.c (__fegetenv): Return 0.
24947 * math/fegetexcept.c (fegetexcept): Return 0.
24948 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24949 FE_TONEAREST.
24950 * math/feholdexcpt.c (feholdexcept): Return 0.
24951 * math/fesetenv.c (__fesetenv): Return 0.
24952 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24953 argument FE_TONEAREST.
24954 * math/feupdateenv.c (__feupdateenv): Return 0.
24955 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24956
bfcacbde
RM
249572013-06-18 Roland McGrath <roland@hack.frob.com>
24958
24959 * elf/rtld-Rules (rtld-compile-command.S): New variable.
24960 (rtld-compile-command.s, rtld-compile-command.c): New variables.
24961 ($(objpfx)rtld-%.os rules): Use them.
24962
e55a9b25
AZ
249632013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24964
24965 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24966 fields.
24967
346d65b3
RM
249682013-06-17 Roland McGrath <roland@hack.frob.com>
24969
12086fb4
RM
24970 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24971 length of target pattern, then descending length of dependency pattern.
24972 * configure.in (AWK): Require gawk 3.1.2 or newer.
24973 * manual/install.texi (Tools for Compilation): Say that we do.
24974 * configure: Regenerated.
24975
346d65b3
RM
24976 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24977 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24978 * scripts/sysd-rules.awk: ... this new script.
24979 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24980 than a glob-style pattern.
24981
1a846317
JM
249822013-06-17 Joseph Myers <joseph@codesourcery.com>
24983
24984 * math/test-misc.c (main): Do not treat incorrectly rounded
24985 conversions as failure unless ROUNDING_TESTS passes.
24986
8fc75e6f
JM
249872013-06-15 Joseph Myers <joseph@codesourcery.com>
24988
3711a167
JM
24989 [BZ #15631]
24990 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24991 restore exception state around main square root computation, then
24992 check for inexactness explicitly.
24993
8fc75e6f
JM
24994 * math/libm-test.inc (fma_test_data): Add another test.
24995
61dd6208
SP
249962013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24997
adf23d2c
SP
24998 * manual/threads.texi (Non-POSIX Extensions): New document
24999 node. Document pthread_getattr_default_np and
25000 pthread_setattr_default_np.
25001
61dd6208
SP
25002 * Versions.def (libpthread): Add GLIBC_2.18.
25003 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25005 Likewise.
25006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25007 Likewise.
25008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25009 Likewise.
25010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25011 Likewise.
25012 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25013 Likewise.
25014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25015 Likewise.
25016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25017 Likewise.
25018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25019 Likewise.
25020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25021 Likewise.
25022
d086fc7b
LD
250232013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25024
25025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25026 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25027
747ef469
SP
250282013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25029 H.J. Lu <hjl.tools@gmail.com>
25030
25031 [BZ #15627]
25032 * sysdeps/x86_64/rtld-memset.c: Remove file.
25033 * sysdeps/x86_64/rtld-memset.S: New file.
25034
1b2feed2
JM
250352013-06-14 Joseph Myers <joseph@codesourcery.com>
25036
25037 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25038 (test_in_one_mode): Take arguments for whether the rounding mode
25039 is supported for each floating-point type.
25040 (do_test): Pass new arguments to test_in_one_mode using
25041 ROUNDING_TESTS.
25042
a58ad3f8
RM
250432013-06-13 Roland McGrath <roland@hack.frob.com>
25044
25045 * posix/tst-waitid.c (do_test): Distinguish different instances of
25046 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25047 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25048 before entering the kernel for waitpid.
25049
c204ab28
SP
250502013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25051
25052 * NEWS: Fix note on clock function precision. Text by Roland
25053 McGrath.
25054
f4a29fba
RM
250552013-06-13 Roland McGrath <roland@hack.frob.com>
25056
25057 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25058 it into place only when and if the sanity check passes.
25059
1f24b9ad
JM
250602013-06-13 Joseph Myers <joseph@codesourcery.com>
25061
25062 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25063 output for whether conversion result is exact. Take argument
25064 indicating whether type is IBM long double.
25065 (round_for_all): Change need_exact field to ibm_ld.
25066 * stdlib/tst-strtod-round.c (struct exactness): New type.
25067 (struct test): Change bool ld_ok field to struct exactness exact.
25068 (TEST): Update all definitions for change to field.
25069 (tests): Regenerate array contents.
25070 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25071 field value. Check for IBM long double here.
25072 (do_test): Update calls to test_in_one_mode.
25073
58206c68
SP
250742013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25075
25076 [BZ #12515]
25077 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25078 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25079
2d6f4c5b 250802013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
25081
25082 [BZ #15605]
25083 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25084 generated by the compiler on loop optimizations.
25085 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25086 general definitions.
25087
94f2c076
JM
250882013-06-12 Joseph Myers <joseph@codesourcery.com>
25089
25090 * math/bug-nextafter.c: Include <math-tests.h>.
25091 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25092 the relevant type.
25093 * math/bug-nexttoward.c: Include <math-tests.h>.
25094 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25095 the relevant type.
25096 * math/test-misc.c: Include <math-tests.h>.
25097 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25098 the relevant type.
25099
e0e50a0a
AJ
251002013-06-12 Andreas Jaeger <aj@suse.de>
25101
25102 * po/ia.po: Update Interlingua translation from translation
25103 project.
25104
25061094
SP
251052013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25106
25107 * include/fenv.h: Include stdbool.h.
25108 (struct rm_ctx): New structure.
25109 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25110 Define macro.
25111 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25112 (SET_RESTORE_ROUNDF): Likewise.
25113 (SET_RESTORE_ROUNDL): Likewise.
25114 (SET_RESTORE_ROUND_NOEX): Likewise.
25115 (SET_RESTORE_ROUND_NOEXF): Likewise.
25116 (SET_RESTORE_ROUND_NOEXL): Likewise.
25117 (SET_RESTORE_ROUND_53BIT): Likewise.
25118 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25119 (libc_feresetround_noexf_ctx): Likewise.
25120 (libc_feresetround_noexl_ctx): Likewise.
25121 (libc_feholdsetround_53bit_ctx): Likewise.
25122 (libc_feresetround_53bit_ctx): Likewise.
25123 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25124 (libc_feholdexcept_setround_sse_ctx): New function.
25125 (libc_fesetenv_sse_ctx): Likewise.
25126 (libc_feupdateenv_sse_ctx): Likewise.
25127 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25128 (libc_feholdexcept_setround_387_ctx): Likewise.
25129 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25130 (libc_feholdsetround_387_prec_ctx): Likewise.
25131 (libc_feholdsetround_387_ctx): Likewise.
25132 (libc_feholdsetround_387_53bit_ctx): Likewise.
25133 (libc_feholdsetround_sse_ctx): Likewise.
25134 (libc_feresetround_sse_ctx): Likewise.
25135 (libc_feresetround_387_ctx): Likewise.
25136 (libc_feupdateenv_387_ctx): Likewise.
25137 (libc_feholdexcept_setroundf_ctx): Define macro.
25138 (libc_fesetenvf_ctx): Likewise.
25139 (libc_feupdateenvf_ctx): Likewise.
25140 (libc_feholdsetroundf_ctx): Likewise.
25141 (libc_feresetroundf_ctx): Likewise.
25142 (libc_feholdexcept_setround_ctx): Likewise.
25143 (libc_fesetenv_ctx): Likewise.
25144 (libc_feupdateenv_ctx): Likewise.
25145 (libc_feholdsetround_ctx): Likewise.
25146 (libc_feresetround_ctx): Likewise.
25147 (libc_feholdexcept_setroundl_ctx): Likewise.
25148 (libc_feupdateenvl_ctx): Likewise.
25149 (libc_feholdsetroundl_ctx): Likewise.
25150 (libc_feresetroundl_ctx): Likewise.
25151 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25152 (libc_feresetround_53bit_ctx): Likewise.
25153
59b30555
SP
251542013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25155
25156 * locale/iso-639.def: Convert to UTF-8.
25157
f1d73d30
JM
251582013-06-11 Joseph Myers <joseph@codesourcery.com>
25159
25160 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25161 (EXCEPTION_TESTS_double): Likewise.
25162 (EXCEPTION_TESTS_long_double): Likewise.
25163 (EXCEPTION_TESTS): Likewise.
25164 * math/libm-test.inc (test_exceptions): Only test exceptions if
25165 EXCEPTION_TESTS (FLOAT).
25166
94aca5e7
SP
251672013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25168
25169 * benchtests/Makefile (string-bench): Add strcpy_chk and
25170 stpcpy_chk.
25171 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25172 * benchtests/bench-stpcpy_chk.c: New file.
25173 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25174 * benchtests/bench-strcpy_chk.c: New file.
25175 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25176 code.
25177 (do_test): Likewise.
25178
fac0c5f2
RA
251792013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25180
25181 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25182 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25183 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25184 with tabs where appropriate.
25185 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25186 dl-procinfo.h.
25187 [PPC_PLATFORM_PPC440]: Likewise.
25188 [PPC_PLATFORM_PPC464]: Likewise.
25189 [PPC_PLATFORM_PPC476]: Likewise.
25190 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25191 ppc464, and ppc476 platform strings merging from ports/
25192 dl-procinfo.h.
25193
f22bc486
AS
251942013-06-11 Andreas Schwab <schwab@suse.de>
25195
25196 [BZ #14991]
25197 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25198 (from_ucs4_idx): Regenerate.
25199 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25200 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25201 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25202 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25203 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25204 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25205 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25206 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25207 from FROM_LOOP and TO_LOOP specific macros.
25208 (BODY): Handle combining characters.
25209 * iconvdata/BIG5HKSCS.irreversible: Update.
25210 * iconvdata/BIG5HKSCS.precomposed: New file.
25211 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25212 characters.
25213 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25214
c1f75dc3
SP
252152013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25216
4eacded2
SP
25217 * include/sys/time.h: Fix indentation and add copyright header.
25218
fec799f8
SP
25219 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25220 (do_test): Likewise.
25221 * string/test-memchr.c (do_one_test): Likewise.
25222 (do_test): Likewise.
25223 * string/test-memcmp.c (do_one_test): Likewise.
25224 (do_test): Likewise.
25225 * string/test-memcpy.c (do_one_test): Likewise.
25226 (do_test): Likewise.
25227 * string/test-memmem.c (do_one_test): Likewise.
25228 (do_test): Likewise.
25229 (do_random_tests): Likewise.
25230 * string/test-memmove.c (do_one_test): Likewise.
25231 (do_test): Likewise.
25232 * string/test-memset.c (do_one_test): Likewise.
25233 (do_test): Likewise.
25234 * string/test-rawmemchr.c (do_one_test): Likewise.
25235 (do_test): Likewise.
25236 * string/test-strcasecmp.c (do_one_test): Likewise.
25237 (do_test): Likewise.
25238 * string/test-strcasestr.c (do_one_test): Likewise.
25239 (do_test): Likewise.
25240 * string/test-strcat.c (do_one_test): Likewise.
25241 (do_test): Likewise.
25242 * string/test-strchr.c (do_one_test): Likewise.
25243 (do_test): Likewise.
25244 * string/test-strcmp.c (do_one_test): Likewise.
25245 (do_test): Likewise.
25246 * string/test-strcpy.c (do_one_test): Likewise.
25247 (do_test): Likewise.
25248 * string/test-string.h: Likewise.
25249 (test_init): Likewise.
25250 * string/test-strlen.c (do_one_test): Likewise.
25251 (do_test): Likewise.
25252 * string/test-strncasecmp.c (do_one_test): Likewise.
25253 (do_test): Likewise.
25254 * string/test-strncat.c (do_one_test): Likewise.
25255 (do_test): Likewise.
25256 * string/test-strncmp.c (do_one_test): Likewise.
25257 (do_test_limit): Likewise.
25258 (do_test): Likewise.
25259 * string/test-strncpy.c (do_one_test): Likewise.
25260 (do_test): Likewise.
25261 * string/test-strnlen.c (do_one_test): Likewise.
25262 (do_test): Likewise.
25263 * string/test-strpbrk.c (do_one_test): Likewise.
25264 (do_test): Likewise.
25265 * string/test-strrchr.c (do_one_test): Likewise.
25266 (do_test): Likewise.
25267 * string/test-strspn.c (do_one_test): Likewise.
25268 (do_test): Likewise.
25269 * string/test-strstr.c (do_one_test): Likewise.
25270 (do_test): Likewise.
25271
97020474
SP
25272 * benchtests/Makefile (string-bench): Add string benchmarks.
25273 * benchtests/bench-bcopy-ifunc.c: New file.
25274 * benchtests/bench-bcopy.c: New file.
25275 * benchtests/bench-bzero-ifunc.c: New file.
25276 * benchtests/bench-bzero.c: New file.
25277 * benchtests/bench-memccpy-ifunc.c: New file.
25278 * benchtests/bench-memccpy.c: New file.
25279 * benchtests/bench-memchr-ifunc.c: New file.
25280 * benchtests/bench-memchr.c: New file.
25281 * benchtests/bench-memcmp-ifunc.c: New file.
25282 * benchtests/bench-memcmp.c: New file.
25283 * benchtests/bench-memmem-ifunc.c: New file.
25284 * benchtests/bench-memmem.c: New file.
25285 * benchtests/bench-memmove-ifunc.c: New file.
25286 * benchtests/bench-memmove.c: New file.
25287 * benchtests/bench-mempcpy-ifunc.c: New file.
25288 * benchtests/bench-mempcpy.c: New file.
25289 * benchtests/bench-memset-ifunc.c: New file.
25290 * benchtests/bench-memset.c: New file.
25291 * benchtests/bench-rawmemchr-ifunc.c: New file.
25292 * benchtests/bench-rawmemchr.c: New file.
25293 * benchtests/bench-stpcpy-ifunc.c: New file.
25294 * benchtests/bench-stpcpy.c: New file.
25295 * benchtests/bench-stpncpy-ifunc.c: New file.
25296 * benchtests/bench-stpncpy.c: New file.
25297 * benchtests/bench-strcasecmp-ifunc.c: New file.
25298 * benchtests/bench-strcasecmp.c: New file.
25299 * benchtests/bench-strcasestr-ifunc.c: New file.
25300 * benchtests/bench-strcasestr.c: New file.
25301 * benchtests/bench-strcat-ifunc.c: New file.
25302 * benchtests/bench-strcat.c: New file.
25303 * benchtests/bench-strchr-ifunc.c: New file.
25304 * benchtests/bench-strchr.c: New file.
25305 * benchtests/bench-strchrnul-ifunc.c: New file.
25306 * benchtests/bench-strchrnul.c: New file.
25307 * benchtests/bench-strcmp-ifunc.c: New file.
25308 * benchtests/bench-strcmp.c: New file.
25309 * benchtests/bench-strcpy-ifunc.c: New file.
25310 * benchtests/bench-strcpy.c: New file.
25311 * benchtests/bench-strcspn-ifunc.c: New file.
25312 * benchtests/bench-strcspn.c: New file.
25313 * benchtests/bench-strlen-ifunc.c: New file.
25314 * benchtests/bench-strlen.c: New file.
25315 * benchtests/bench-strncasecmp-ifunc.c: New file.
25316 * benchtests/bench-strncasecmp.c: New file.
25317 * benchtests/bench-strncat-ifunc.c: New file.
25318 * benchtests/bench-strncat.c: New file.
25319 * benchtests/bench-strncmp-ifunc.c: New file.
25320 * benchtests/bench-strncmp.c: New file.
25321 * benchtests/bench-strncpy-ifunc.c: New file.
25322 * benchtests/bench-strncpy.c: New file.
25323 * benchtests/bench-strnlen-ifunc.c: New file.
25324 * benchtests/bench-strnlen.c: New file.
25325 * benchtests/bench-strpbrk-ifunc.c: New file.
25326 * benchtests/bench-strpbrk.c: New file.
25327 * benchtests/bench-strrchr-ifunc.c: New file.
25328 * benchtests/bench-strrchr.c: New file.
25329 * benchtests/bench-strspn-ifunc.c: New file.
25330 * benchtests/bench-strspn.c: New file.
25331 * benchtests/bench-strstr-ifunc.c: New file.
25332 * benchtests/bench-strstr.c: New file.
25333
c1f75dc3
SP
25334 * benchtests/Makefile: Disable parallel execution of targets.
25335 (string-bench): Add memcpy.
25336 (benchset): New variable to store a list of benchmark sets.
25337 (bench-func): Renamed from bench.
25338 (bench-set): New target.
25339 (bench): Depend on bench-func and bench-set.
25340 * benchtests/README: Add section on benchmark sets.
25341 * benchtests/bench-memcpy-ifunc.c: New file.
25342 * benchtests/bench-memcpy.c: New file.
25343 * benchtests/bench-string.h: New file.
25344
50fd745b
AS
253452013-06-11 Andreas Schwab <schwab@suse.de>
25346
25347 [BZ #15577]
25348 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25349 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25350 values in the triple.
25351 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25352 terminator in the group key.
25353
3ee7e9fe
AJ
253542013-06-11 Andreas Jaeger <aj@suse.de>
25355
25356 * po/zh_TW.po: Update Chinese (traditional) translation from
25357 translation project.
25358
89fb6835
SP
253592013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25360
25361 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25362 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25363 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25364 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25365 (clock_getcpuclockid): Likewise.
25366 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25367 Add weak_alias and libc_hidden_def.
25368 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25369 * rt/clock_gettime.c (clock_gettime): Rename to
25370 __clock_gettime. Add weak_alias and libc_hidden_def.
25371 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25372 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25373 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25374 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25375 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25376 Likewise.
25377 * rt/clock_settime.c (clock_settime): Rename to
25378 __clock_settime. Add weak_alias and libc_hidden_def.
25379 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25380
0efa6f8b
JM
253812013-06-10 Joseph Myers <joseph@codesourcery.com>
25382
b8c61b4b
JM
25383 * mach/err_boot.sub: Remove trailing whitespace.
25384 * mach/err_ipc.sub: Likewise.
25385 * mach/err_mach.sub: Likewise.
25386
0efa6f8b
JM
25387 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25388 (ROUNDING_TESTS_double): Likewise.
25389 (ROUNDING_TESTS_long_double): Likewise.
25390 (ROUNDING_TESTS): Likewise.
25391 * math/libm-test.inc: Include <math-tests.h>.
25392 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25393 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25394 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25395 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25396
50b818bf
SP
253972013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25398
25399 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25400 of assigning.
25401
60d2f8f3
JM
254022013-06-08 Joseph Myers <joseph@codesourcery.com>
25403
4902d2c3
JM
25404 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25405 otherwise empty TRANS lines.
25406 * sysdeps/gnu/errlist.c: Regenerated.
25407
60d2f8f3
JM
25408 * catgets/gencat.c (error_print): Use (void) in function
25409 definition.
25410 * crypt/crypt_util.c (__init_des): Likewise.
25411 * crypt/speeds.c (Stop): Likewise.
25412 (main): Likewise.
25413 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25414 * inet/ruserpass.c (token): Likewise.
25415 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25416 * intl/localealias.c (extend_alias_table): Likewise.
25417 * intl/plural-exp.c (init_germanic_plural): Likewise.
25418 * libio/fcloseall.c (__fcloseall): Likewise.
25419 * libio/genops.c (_IO_flush_all): Likewise.
25420 (_IO_flush_all_linebuffered): Likewise.
25421 (_IO_cleanup): Likewise.
25422 (_IO_iter_begin): Likewise.
25423 (_IO_iter_end): Likewise.
25424 (_IO_list_lock): Likewise.
25425 (_IO_list_unlock): Likewise.
25426 (_IO_list_resetlock): Likewise.
25427 * libio/getchar.c (getchar): Likewise.
25428 * libio/getchar_u.c (getchar_unlocked): Likewise.
25429 * libio/getwchar.c (getwchar): Likewise.
25430 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25431 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25432 * login/getpt.c (__getpt): Likewise.
25433 * login/tst-utmp.c (main): Likewise.
25434 * malloc/hooks.c (__malloc_check_init): Likewise.
25435 * malloc/malloc.c (__malloc_stats): Likewise.
25436 * malloc/mtrace.c (tr_break): Likewise.
25437 (mtrace): Likewise.
25438 (muntrace): Likewise.
25439 * misc/fstab.c (endfsent): Likewise.
25440 * misc/getclktck.c (__getclktck): Likewise.
25441 * misc/getdtsz.c (__getdtablesize): Likewise.
25442 * misc/gethostid.c (gethostid): Likewise.
25443 * misc/getpagesize.c (__getpagesize): Likewise.
25444 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25445 (__get_nprocs): Likewise.
25446 (__get_phys_pages): Likewise.
25447 (__get_avphys_pages): Likewise.
25448 * misc/getttyent.c (getttyent): Likewise.
25449 (setttyent): Likewise.
25450 (endttyent): Likewise.
25451 * misc/getusershell.c (getusershell): Likewise.
25452 (endusershell): Likewise.
25453 (setusershell): Likewise.
25454 (initshells): Likewise.
25455 * misc/hsearch.c (__hdestroy): Likewise.
25456 * misc/sync.c (sync): Likewise.
25457 * misc/syslog.c (closelog_internal): Likewise.
25458 (closelog): Likewise.
25459 * misc/ttyslot.c (ttyslot): Likewise.
25460 * misc/vhangup.c (vhangup): Likewise.
25461 * posix/fork.c (__fork): Likewise.
25462 * posix/getegid.c (__getegid): Likewise.
25463 * posix/geteuid.c (__geteuid): Likewise.
25464 * posix/getgid.c (__getgid): Likewise.
25465 * posix/getpid.c (__getpid): Likewise.
25466 * posix/getppid.c (__getppid): Likewise.
25467 * posix/getuid.c (__getuid): Likewise.
25468 * posix/pause.c (pause): Likewise.
25469 * posix/setpgrp.c (setpgrp): Likewise.
25470 * posix/setsid.c (__setsid): Likewise.
25471 * posix/test-vfork.c (noop): Likewise.
25472 * resolv/gethnamaddr.c (_endhtent): Likewise.
25473 (_gethtent): Likewise.
25474 (ht_endhostent): Likewise.
25475 (gethostent): Likewise.
25476 (dns_service): Likewise.
25477 * stdlib/drand48.c (drand48): Likewise.
25478 * stdlib/lrand48.c (lrand48): Likewise.
25479 * stdlib/mrand48.c (mrand48): Likewise.
25480 * stdlib/rand.c (rand): Likewise.
25481 * stdlib/random.c (__random): Likewise.
25482 * stdlib/setenv.c (clearenv): Likewise.
25483 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25484 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25485 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25486 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25487 (__get_nprocs): Likewise.
25488 (__get_phys_pages): Likewise.
25489 (__get_avphys_pages): Likewise.
25490 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25491 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25492 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25493 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25494 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25495 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25496 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25497 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25498 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25499 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25500 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25501 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25502 * sysdeps/posix/clock.c (clock): Likewise.
25503 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25504 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25505 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25506 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25507 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25508 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25509 (__get_nprocs_conf): Likewise.
25510 (__get_phys_pages): Likewise.
25511 (__get_avphys_pages): Likewise.
25512 * time/clock.c (clock): Likewise.
25513 * time/tzset.c (__tzname_max): Likewise.
25514
2e09a79a
JM
255152013-06-07 Joseph Myers <joseph@codesourcery.com>
25516
25517 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25518 (__bswap_32): Do not use "register".
25519 * crypt/crypt.c (_ufc_doit_r): Likewise.
25520 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25521 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25522 * gmon/gmon.c (__monstartup): Likewise.
25523 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25524 * hurd/hurdmalloc.c (more_memory): Likewise.
25525 (malloc): Likewise.
25526 (free): Likewise.
25527 (realloc): Likewise.
25528 (malloc_fork_prepare): Likewise.
25529 (malloc_fork_parent): Likewise.
25530 (malloc_fork_child): Likewise.
25531 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25532 (_svcauth_des): Likewise.
25533 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25534 * inet/inet_net.c (inet_network): Likewise.
25535 * inet/inet_netof.c (inet_netof): Likewise.
25536 * inet/rcmd.c (__validuser2_sa): Likewise.
25537 * io/fts.c (fts_open): Likewise.
25538 (fts_load): Likewise.
25539 (fts_close): Likewise.
25540 (fts_read): Likewise.
25541 (fts_children): Likewise.
25542 (fts_build): Likewise.
25543 (fts_stat): Likewise.
25544 (fts_sort): Likewise.
25545 (fts_alloc): Likewise.
25546 (fts_lfree): Likewise.
25547 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25548 (_IO_file_xsgetn): Likewise.
25549 (_IO_file_xsgetn_mmap): Likewise.
25550 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25551 (_IO_cookie_write): Likewise.
25552 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25553 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25554 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25555 * malloc/obstack.c (_obstack_begin): Likewise.
25556 (_obstack_begin_1): Likewise.
25557 (_obstack_newchunk): Likewise.
25558 (_obstack_allocated_p): Likewise.
25559 (obstack_free): Likewise.
25560 (_obstack_memory_used): Likewise.
25561 * misc/getttyent.c (getttynam): Likewise.
25562 (getttyent): Likewise.
25563 (skip): Likewise.
25564 (value): Likewise.
25565 * misc/getusershell.c (initshells): Likewise.
25566 * misc/syslog.c (__vsyslog_chk): Likewise.
25567 * misc/ttyslot.c (ttyslot): Likewise.
25568 * nis/nis_hash.c (__nis_hash): Likewise.
25569 * posix/fnmatch_loop.c (FCT): Likewise.
25570 * posix/getconf.c (print_all): Likewise.
25571 (main): Likewise.
25572 * posix/getopt.c (exchange): Likewise.
25573 * posix/glob.c (globfree): Likewise.
25574 (prefix_array): Likewise.
25575 (__glob_pattern_type): Likewise.
25576 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25577 (NS_GET32): Likewise.
25578 (NS_PUT16): Likewise.
25579 (NS_PUT32): Likewise.
25580 * resolv/gethnamaddr.c (getanswer): Likewise.
25581 (gethostbyname2): Likewise.
25582 (gethostbyaddr): Likewise.
25583 (_gethtent): Likewise.
25584 (_gethtbyname2): Likewise.
25585 (_gethtbyaddr): Likewise.
25586 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25587 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25588 * resolv/res_init.c (__res_vinit): Likewise.
25589 (net_mask): Likewise.
25590 * resolv/res_mkquery.c (outchar): Likewise.
25591 (PRINT): Likewise.
25592 * stdio-common/printf_fp.c (outchar): Likewise.
25593 (PRINT): Likewise.
25594 * stdio-common/printf_fphex.c (outchar): Likewise.
25595 (PRINT): Likewise.
25596 * stdio-common/printf_size.c (outchar): Likewise.
25597 (PRINT): Likewise.
25598 * stdio-common/test_rdwr.c (main): Likewise.
25599 * stdio-common/tfformat.c (matches): Likewise.
25600 * stdio-common/vfprintf.c (outchar): Likewise.
25601 (printf_unknown): Likewise.
25602 (buffered_vfprintf): Likewise.
25603 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25604 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25605 (ReadFile): Likewise.
25606 * stdlib/qsort.c (SWAP): Likewise.
25607 (_quicksort): Likewise.
25608 * stdlib/setenv.c (__add_to_environ): Likewise.
25609 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25610 * stdlib/strtol_l.c (__strtol_l): Likewise.
25611 * stdlib/tst-strtod.c (main): Likewise.
25612 * stdlib/tst-strtol.c (main): Likewise.
25613 * stdlib/tst-strtoll.c (main): Likewise.
25614 * string/bits/string2.h (__strcmp_cc): Likewise.
25615 (__strcmp_cg): Likewise.
25616 (__strcspn_c1): Likewise.
25617 (__strcspn_c2): Likewise.
25618 (__strcspn_c3): Likewise.
25619 (__strspn_c1): Likewise.
25620 (__strspn_c2): Likewise.
25621 (__strspn_c3): Likewise.
25622 (__strsep_1c): Likewise.
25623 (__strsep_2c): Likewise.
25624 (__strsep_3c): Likewise.
25625 * string/memccpy.c (__memccpy): Likewise.
25626 * string/stpcpy.c (__stpcpy): Likewise.
25627 * string/strcmp.c (strcmp): Likewise.
25628 * string/strrchr.c (strrchr): Likewise.
25629 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25630 Likewise.
25631 * sysdeps/mach/hurd/getcwd.c
25632 (_hurd_canonicalize_directory_name_internal): Likewise.
25633 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25634 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25635 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25636 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25637 Likewise, in both definitions.
25638 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25639 definitions.
25640 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25641 64] (__bswap_64): Likewise.
25642 * time/test_time.c (main): Likewise.
25643 * time/tzfile.c (__tzfile_read): Likewise.
25644 (__tzfile_compute): Likewise.
25645 * time/tzset.c (__tzset_parse_tz): Likewise.
25646 (tzset_internal): Likewise.
25647 (compute_change): Likewise.
25648 * wcsmbs/wcscat.c (__wcscat): Likewise.
25649 * wcsmbs/wcschr.c (wcschr): Likewise.
25650 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25651 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25652 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25653 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25654 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25655 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25656 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25657 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25658 * wcsmbs/wmemset.c (wmemset): Likewise.
25659
9e54314b
JM
256602013-06-06 Joseph Myers <joseph@codesourcery.com>
25661
25662 * scripts/config.guess: Update to version 2013-05-16.
25663 * scripts/config.sub: Update to version 2013-04-24.
25664 * scripts/install-sh: Update to version 2011-11-20.07.
25665 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25666 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25667
350635a5
OB
256682013-06-06 Ondřej Bílka <neleai@seznam.cz>
25669
25670 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25671 * elf/sln.c: Likewise.
25672 * hurd/hurd/ioctl.h: Likewise.
25673 * hurd/hurdmalloc.c: Likewise.
25674 * hurd/xattr.c: Likewise.
25675 * include/shlib-compat.h: Likewise.
25676 * inet/ruserpass.c: Likewise.
25677 * libio/iofgets_u.c: Likewise.
25678 * libio/iofgetws_u.c: Likewise.
25679 * locale/programs/ld-identification.c: Likewise.
25680 * locale/programs/ld-time.c: Likewise.
25681 * mach/msg-destroy.c: Likewise.
25682 * nss/nss_files/files-netgrp.c: Likewise.
25683 * resolv/res_data.c: Likewise.
25684 * soft-fp/op-1.h: Likewise.
25685 * soft-fp/op-2.h: Likewise.
25686 * soft-fp/op-4.h: Likewise.
25687 * soft-fp/op-common.h: Likewise.
25688 * stdio-common/printf_fphex.c: Likewise.
25689 * stdlib/strtod_l.c: Likewise.
25690 * sunrpc/rpc/clnt.h: Likewise.
25691 * sysdeps/generic/framestate.c: Likewise.
25692 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25693 * sysdeps/i386/bsd-setjmp.S: Likewise.
25694 * sysdeps/i386/__longjmp.S: Likewise.
25695 * sysdeps/i386/setjmp.S: Likewise.
25696 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25697 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25698 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25699 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25700 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25701 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25702 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25703 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25704 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25705 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25706 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25707 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25708 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25709 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25710 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25711 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25712 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25713 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25714 * sysdeps/ieee754/support.c: Likewise.
25715 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25716 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25717 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25718 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25719 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25720 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25721 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25722 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25723 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25724 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25725 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25726 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25727 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25728 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25729 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25730 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25731 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25733
44a988af
OB
257342013-06-05 Ondřej Bílka <neleai@seznam.cz>
25735
25506f09 25736 * posix/transbug.c: Remove executable mode.
44a988af 25737
9c84384c
JM
257382013-06-05 Joseph Myers <joseph@codesourcery.com>
25739
25740 * crypt/speeds.c: Remove trailing whitespace.
25741 * dlfcn/default.c: Likewise.
25742 * elf/ifuncdep2.c: Likewise.
25743 * elf/ifuncmain1.c: Likewise.
25744 * elf/ifuncmain1vis.c: Likewise.
25745 * elf/testobj.h: Likewise.
25746 * elf/tst-stackguard1.c: Likewise.
25747 * gmon/sys/gmon.h: Likewise.
25748 * hurd/hurdmsg.c: Likewise.
25749 * hurd/new-fd.c: Likewise.
25750 * hurd/ports-get.c: Likewise.
25751 * iconvdata/ibm1008_420.c: Likewise.
25752 * inet/tst-getni1.c: Likewise.
25753 * inet/tst-getni2.c: Likewise.
25754 * libio/ioungetc.c: Likewise.
25755 * libio/wfiledoalloc.c: Likewise.
25756 * manual/libm-err-tab.pl: Likewise.
25757 * math/w_dremf.c: Likewise.
25758 * misc/ftruncate.c: Likewise.
25759 * posix/bug-glob2.c: Likewise.
25760 * posix/tst-pcre.c: Likewise.
25761 * posix/wait4.c: Likewise.
25762 * resolv/README: Likewise.
25763 * resolv/res_debug.h: Likewise.
25764 * resolv/tst-inet_ntop.c: Likewise.
25765 * setjmp/bug269-setjmp.c: Likewise.
25766 * soft-fp/extended.h: Likewise.
25767 * soft-fp/op-1.h: Likewise.
25768 * soft-fp/op-2.h: Likewise.
25769 * soft-fp/op-4.h: Likewise.
25770 * soft-fp/op-8.h: Likewise.
25771 * soft-fp/testit.c: Likewise.
25772 * stdio-common/bug16.c: Likewise.
25773 * stdlib/random.c: Likewise.
25774 * sunrpc/rpcsvc/rquota.x: Likewise.
25775 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25776 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25777 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25778 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25779 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25780 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25781 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25782 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25783 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25784 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25785 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25786 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25787 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25788 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25789 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25790 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25791 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25792 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25793 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25794 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25795 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25796 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25797 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25798 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25799 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25800 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25801 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25802 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25803 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25804 * sysdeps/ieee754/s_lib_version.c: Likewise.
25805 * sysdeps/mach/hurd/check_fds.c: Likewise.
25806 * sysdeps/mach/hurd/getsockname.c: Likewise.
25807 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25808 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25809 * sysdeps/powerpc/bits/link.h: Likewise.
25810 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25811 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25812 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25813 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25814 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25815 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25816 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25817 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25818 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25819 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25820 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25821 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25822 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25823 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25824 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25825 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25826 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25827 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25828 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25829 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25830 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25831 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25832 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25833 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25834 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25835 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25836 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25837 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25838 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25839 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25840 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25841 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25842 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25843 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25844 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25845 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25846 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25847 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25848 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25849 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25850 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25851 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25852 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25853 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25854 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25855 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25856 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25857 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25858 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25859 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25860 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25861 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25862 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25863 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25864 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25865 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25866 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25867 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25868 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25869 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25870 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25871 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25872 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25873 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25874 * sysdeps/powerpc/sysdep.h: Likewise.
25875 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25876 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25877 * sysdeps/sh/dl-trampoline.S: Likewise.
25878 * sysdeps/sh/memset.S: Likewise.
25879 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25880 * sysdeps/sh/strlen.S: Likewise.
25881 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25882 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25883 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25884 * sysdeps/sparc/sparc32/rem.S: Likewise.
25885 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25886 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25887 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25888 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25889 * sysdeps/sparc/sparc32/urem.S: Likewise.
25890 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25891 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25892 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25893 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25894 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25895 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25896 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25897 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25898 * sysdeps/unix/bsd/times.c: Likewise.
25899 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25900 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25904 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25905 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25906 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25907 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25908 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25909 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25910 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25911 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25912 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25913 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25914 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25915 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25916 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25917 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25918 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25919 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25920 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25921 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25922 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25923 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25924 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25925 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25926 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25927 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25928 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25929 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25930 * sysdeps/x86_64/strcspn.S: Likewise.
25931
869378a5
RA
259322013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25933
25934 * locale/C-translit.h: Revert #include <stdint.h> because this is a
25935 generated file. Regenerate properly from gen-translit.pl.
25936 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
25937 locale/C-translit.h.
25938
840e2943
AS
259392013-06-05 Andreas Schwab <schwab@suse.de>
25940
25941 [BZ #15100]
25942 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25943 week as 6 instead of -1.
25944 * time/tst-strptime.c (day_tests): Add test case.
25945
4c60cb0c
SP
259462013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25947
25948 * sysdeps/generic/math_private.h
25949 (libc_feholdexcept_setround_53bit): Replace with
25950 libc_feholdsetround_53bit.
25951 (libc_feupdateenv_53bit): Replace with
25952 libc_feresetround_53bit.
25953 (SET_RESTORE_ROUND_53BIT): Adjust.
25954
d180203e
SP
259552013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25956
96df079a
SP
25957 * string/test-strchrnul.c: Add copyright header.
25958
d180203e
SP
25959 * posix/tst-getaddrinfo4.c: Increase test timeout.
25960
8b0ccb2d
CD
259612013-06-03 Carlos O'Donell <carlos@redhat.com>
25962
25963 [BZ #15536]
25964 * math/libm-test.inc (MAX_EXP): Remove
25965 (MIN_EXP): Define.
25966 (ulp): Use MIN_EXP - MANT_DIG.
25967 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25968
3b3c4d40
CD
259692013-05-31 Carlos O'Donell <carlos@redhat.com>
25970
25971 * po/be.po: Revert last change.
25972 * po/zh_CN.po: Likewise.
25973 * po/header.pot: Likewise.
25974
fab7ce3f
JM
259752013-05-31 Joseph Myers <joseph@codesourcery.com>
25976
25977 * Makefile ($(common-objpfx)linkobj/libc.so): Define
25978 link-libc-deps to empty as target-specific variable.
25979 * Makerules (link-libc-args): New variable.
25980 (libc-for-link): Likewise.
25981 (link-libc-deps): Likewise.
25982 (lib%.so): Depend on $(link-libc-deps). Link with
25983 $(link-libc-args).
25984 (build-module): Link with $(link-libc-args).
25985 (build-module-asneeded): Likewise.
25986 (build-module-helper-objlist): Filter out $(link-libc-deps) from
25987 list of objects.
25988 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25989 target-specific variable.
25990 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25991 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25992 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25993 libc.
25994 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25995 libc and ld.so.
25996 ($(objpfx)libpcprofile.so): Likewise.
25997 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25998 libc_nonshared.a.
25999 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26000 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26001 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26002 $(link-libc-deps).
26003 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26004 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26005 * login/Makefile ($(objpfx)libutil.so): Likewise.
26006 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26007 * math/Makefile ($(objpfx)libm.so): Likewise.
26008 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26009 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26010 variable instead of depending directly on libc.
26011 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26012 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26013 $(link-libc-deps).
26014 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26015 libc.
26016 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26017 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26018 ($(objpfx)libanl.so): Likewise.
26019 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26020 ld.so.
26021 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26022 $(link-libc-deps).
26023 * sysdeps/i386/fpu/Makefile: Remove file.
26024 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26025 ($(objpfx)libm.so): Remove dependency on ld.so.
26026
eca5920c
PF
260272013-05-30 Patsy Franklin <pfrankli@redhat.com>
26028
26029 [BZ # 15553]
26030 * nis/yp_xdr.c (XDRMAXNAME): Define.
26031 (XDRMAXRECORD): Define.
26032 (xdr_domainname): Use XDRMAXNAME.
26033 (xdr_mapname): Likewise.
26034 (xdr_peername): Likewise.
26035 (xdr_keydat): Use XDRMAXRECORD.
26036 (xdr_valdat): Likewise.
26037
260382013-05-30 Jeff Law <law@redhat.com>
96945714
JL
26039
26040 [BZ #14256]
26041 * manual/errno.texi (ESTALE): Update to account for more than
26042 just NFS file systems.
26043 * sysdeps/gnu/errlist.c: Regenerated.
26044
b9375348
SP
260452013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26046
26047 [BZ #15465]
26048 * elf/Makefile (tests): Add tst-null-argv.
26049 (modules-names): Add tst-null-argv-lib.
26050 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26051 (tst-null-argv-ENV): Set environment for tst-null-argv.
26052 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26053 (RTLD_PROGNAME): New macro.
26054 * elf/tst-null-argv.c: New test case.
26055 * elf/tst-null-argv-lib.c: Library for test case.
26056 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26057 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26058 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26059 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26060 * elf/dl-init.c (call_init): Likewise.
26061 (_dl_init): Likewise.
26062 * elf/dl-load.c (print_search_path): Likewise.
26063 (_dl_map_object): Likewise.
26064 * elf/dl-lookup.c (do_lookup_x): Likewise.
26065 (add_dependency): Likewise.
26066 (_dl_lookup_symbol_x): Likewise.
26067 (_dl_debug_bindings): Likewise.
26068 * elf/dl-open.c (_dl_show_scope): Likewise.
26069 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26070 * elf/dl-version.c (match_symbol): Likewise.
26071 (_dl_check_map_versions): Likewise.
26072 * elf/rtld.c (dl_main): Likewise.
26073 (print_unresolved): Use RTLD_PROGNAME.
26074 (print_missing_version): Likewise.
26075 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26076 (elf_machine_rela): Likewise.
26077 * sysdeps/powerpc/powerpc32/dl-machine.c
26078 (__process_machine_rela): Likewise.
26079 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26080 Likewise.
26081 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26082 Likewise.
26083 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26084 Likewise.
26085 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26086 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26087 Likewise.
26088 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26089 Likewise.
26090 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26091
8a9f20c8
CD
260922013-05-28 Carlos O'Donell <carlos@redhat.com>
26093
26094 * po/be.po: Add descriptive title.
26095 * po/zh_CN.po: Likewise.
26096 * po/header.pot: Likewise.
26097
0e60d68e
MF
260982013-05-28 Mike Frysinger <vapier@gentoo.org>
26099
26100 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26101 error message.
26102 (enlarge_archive): Likewise.
26103
56b672e9
BN
261042013-05-28 Ben North <ben@redfrontdoor.org>
26105
26106 * manual/arith.texi (frexp): It is the magnitude of the return
26107 value which lies in [0.5, 1), not the return value itself.
26108
5e056687
AZ
261092013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26110
26111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26112
2b66ef5d
TS
261132013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26114
528c2405
TS
26115 * stdio-common/bug26.c (main): Correct fscanf template.
26116
07b4c13d
TS
26117 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26118 declare _dl_skip_args.
26119
ec9dd97c
TS
26120 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26121 Don't declare.
26122
2b66ef5d
TS
26123 * manual/platform.texi: Add missing @end deftypefun.
26124
4f8dfe27
JM
261252013-05-24 Joseph Myers <joseph@codesourcery.com>
26126
0323d086
JM
26127 [BZ #15529]
26128 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26129 bit of mantissa of 2^16382.
26130 * math/libm-test.inc (hypot_test_data): Add more tests.
26131
dd4259b9
JM
26132 * math/libm-test.inc: Add drem and pow10 to list of tested
26133 functions.
26134 (pow10_test): New function.
26135 (drem_test): Likewise.
26136 (drem_test_tonearest): Likewise.
26137 (drem_test_towardzero): Likewise.
26138 (drem_test_downward): Likewise.
26139 (drem_test_upward): Likewise.
26140 (main): Call the new functions.
26141
4f8dfe27
JM
26142 * math/libm-test.inc (finite_test_data): Remove.
26143 (finite_test): Run tests from isfinite_test_data.
26144 (gamma_test_data): Remove.
26145 (gamma_test): Run tests from lgamma_test_data.
26146 * sysdeps/i386/fpu/libm-test-ulps: Update.
26147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26148
d116b7c4
AZ
261492013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26150
26151 * manual/platform.texi: Add PowerPC PPR function set documentation.
26152 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26153 implementation.
26154
e96e3767
CD
261552013-05-24 Carlos O'Donell <carlos@redhat.com>
26156
26157 * math/libm-test.inc (MAX_EXP): Define.
26158 (ULPDIFF): Define.
26159 (ulp): New function.
26160 (check_float_internal): Use ULPDIFF.
26161 (cpow_test): Disable failing test.
26162 (check_ulp): Test ulp() implemetnation.
26163 (main): Call check_ulp before starting tests.
26164
b679a606
JM
261652013-05-24 Joseph Myers <joseph@codesourcery.com>
26166
e8bdba36
JM
26167 * math/gen-libm-test.pl (generate_testfile): Do not handle
26168 START_DATA and END_DATA.
26169 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26170 END_DATA.
26171 (acos_tonearest_test_data): Likewise.
26172 (acos_towardzero_test_data): Likewise.
26173 (acos_downward_test_data): Likewise.
26174 (acos_upward_test_data): Likewise.
26175 (acosh_test_data): Likewise.
26176 (asin_test_data): Likewise.
26177 (asin_tonearest_test_data): Likewise.
26178 (asin_towardzero_test_data): Likewise.
26179 (asin_downward_test_data): Likewise.
26180 (asin_upward_test_data): Likewise.
26181 (asinh_test_data): Likewise.
26182 (atan_test_data): Likewise.
26183 (atanh_test_data): Likewise.
26184 (atan2_test_data): Likewise.
26185 (cabs_test_data): Likewise.
26186 (cacos_test_data): Likewise.
26187 (cacosh_test_data): Likewise.
26188 (carg_test_data): Likewise.
26189 (casin_test_data): Likewise.
26190 (casinh_test_data): Likewise.
26191 (catan_test_data): Likewise.
26192 (catanh_test_data): Likewise.
26193 (cbrt_test_data): Likewise.
26194 (ccos_test_data): Likewise.
26195 (ccosh_test_data): Likewise.
26196 (ceil_test_data): Likewise.
26197 (cexp_test_data): Likewise.
26198 (cimag_test_data): Likewise.
26199 (clog_test_data): Likewise.
26200 (clog10_test_data): Likewise.
26201 (conj_test_data): Likewise.
26202 (copysign_test_data): Likewise.
26203 (cos_test_data): Likewise.
26204 (cos_tonearest_test_data): Likewise.
26205 (cos_towardzero_test_data): Likewise.
26206 (cos_downward_test_data): Likewise.
26207 (cos_upward_test_data): Likewise.
26208 (cosh_test_data): Likewise.
26209 (cosh_tonearest_test_data): Likewise.
26210 (cosh_towardzero_test_data): Likewise.
26211 (cosh_downward_test_data): Likewise.
26212 (cosh_upward_test_data): Likewise.
26213 (cpow_test_data): Likewise.
26214 (cproj_test_data): Likewise.
26215 (creal_test_data): Likewise.
26216 (csin_test_data): Likewise.
26217 (csinh_test_data): Likewise.
26218 (csqrt_test_data): Likewise.
26219 (ctan_test_data): Likewise.
26220 (ctan_tonearest_test_data): Likewise.
26221 (ctan_towardzero_test_data): Likewise.
26222 (ctan_downward_test_data): Likewise.
26223 (ctan_upward_test_data): Likewise.
26224 (ctanh_test_data): Likewise.
26225 (ctanh_tonearest_test_data): Likewise.
26226 (ctanh_towardzero_test_data): Likewise.
26227 (ctanh_downward_test_data): Likewise.
26228 (ctanh_upward_test_data): Likewise.
26229 (erf_test_data): Likewise.
26230 (erfc_test_data): Likewise.
26231 (exp_test_data): Likewise.
26232 (exp_tonearest_test_data): Likewise.
26233 (exp_towardzero_test_data): Likewise.
26234 (exp_downward_test_data): Likewise.
26235 (exp_upward_test_data): Likewise.
26236 (exp10_test_data): Likewise.
26237 (exp2_test_data): Likewise.
26238 (expm1_test_data): Likewise.
26239 (fabs_test_data): Likewise.
26240 (fdim_test_data): Likewise.
26241 (finite_test_data): Likewise.
26242 (floor_test_data): Likewise.
26243 (fma_test_data): Likewise.
26244 (fma_towardzero_test_data): Likewise.
26245 (fma_downward_test_data): Likewise.
26246 (fma_upward_test_data): Likewise.
26247 (fmax_test_data): Likewise.
26248 (fmin_test_data): Likewise.
26249 (fmod_test_data): Likewise.
26250 (fpclassify_test_data): Likewise.
26251 (frexp_test_data): Likewise.
26252 (gamma_test_data): Likewise.
26253 (hypot_test_data): Likewise.
26254 (ilogb_test_data): Likewise.
26255 (isfinite_test_data): Likewise.
26256 (isgreater_test_data): Likewise.
26257 (isgreaterequal_test_data): Likewise.
26258 (isinf_test_data): Likewise.
26259 (isless_test_data): Likewise.
26260 (islessequal_test_data): Likewise.
26261 (islessgreater_test_data): Likewise.
26262 (isnan_test_data): Likewise.
26263 (isnormal_test_data): Likewise.
26264 (issignaling_test_data): Likewise.
26265 (isunordered_test_data): Likewise.
26266 (j0_test_data): Likewise.
26267 (j1_test_data): Likewise.
26268 (jn_test_data): Likewise.
26269 (ldexp_test_data): Likewise.
26270 (lgamma_test_data): Likewise.
26271 (lrint_test_data): Likewise.
26272 (lrint_tonearest_test_data): Likewise.
26273 (lrint_towardzero_test_data): Likewise.
26274 (lrint_downward_test_data): Likewise.
26275 (lrint_upward_test_data): Likewise.
26276 (llrint_test_data): Likewise.
26277 (llrint_tonearest_test_data): Likewise.
26278 (llrint_towardzero_test_data): Likewise.
26279 (llrint_downward_test_data): Likewise.
26280 (llrint_upward_test_data): Likewise.
26281 (log_test_data): Likewise.
26282 (log10_test_data): Likewise.
26283 (log1p_test_data): Likewise.
26284 (log2_test_data): Likewise.
26285 (logb_test_data): Likewise.
26286 (logb_downward_test_data): Likewise.
26287 (lround_test_data): Likewise.
26288 (llround_test_data): Likewise.
26289 (modf_test_data): Likewise.
26290 (nearbyint_test_data): Likewise.
26291 (nextafter_test_data): Likewise.
26292 (nexttoward_test_data): Likewise.
26293 (pow_test_data): Likewise.
26294 (pow_tonearest_test_data): Likewise.
26295 (pow_towardzero_test_data): Likewise.
26296 (pow_downward_test_data): Likewise.
26297 (pow_upward_test_data): Likewise.
26298 (remainder_test_data): Likewise.
26299 (remainder_tonearest_test_data): Likewise.
26300 (remainder_towardzero_test_data): Likewise.
26301 (remainder_downward_test_data): Likewise.
26302 (remainder_upward_test_data): Likewise.
26303 (remquo_test_data): Likewise.
26304 (rint_test_data): Likewise.
26305 (rint_tonearest_test_data): Likewise.
26306 (rint_towardzero_test_data): Likewise.
26307 (rint_downward_test_data): Likewise.
26308 (rint_upward_test_data): Likewise.
26309 (round_test_data): Likewise.
26310 (scalb_test_data): Likewise.
26311 (scalbn_test_data): Likewise.
26312 (scalbln_test_data): Likewise.
26313 (signbit_test_data): Likewise.
26314 (sin_test_data): Likewise.
26315 (sin_tonearest_test_data): Likewise.
26316 (sin_towardzero_test_data): Likewise.
26317 (sin_downward_test_data): Likewise.
26318 (sin_upward_test_data): Likewise.
26319 (sincos_test_data): Likewise.
26320 (sinh_test_data): Likewise.
26321 (sinh_tonearest_test_data): Likewise.
26322 (sinh_towardzero_test_data): Likewise.
26323 (sinh_downward_test_data): Likewise.
26324 (sinh_upward_test_data): Likewise.
26325 (sqrt_test_data): Likewise.
26326 (tan_test_data): Likewise.
26327 (tan_tonearest_test_data): Likewise.
26328 (tan_towardzero_test_data): Likewise.
26329 (tan_downward_test_data): Likewise.
26330 (tan_upward_test_data): Likewise.
26331 (tanh_test_data): Likewise.
26332 (tgamma_test_data): Likewise.
26333 (trunc_test_data): Likewise.
26334 (y0_test_data): Likewise.
26335 (y1_test_data): Likewise.
26336 (yn_test_data): Likewise.
26337 (significand_test_data): Likewise.
26338
b679a606
JM
26339 * math/gen-libm-test.pl (@functions): Remove variable.
26340 (generate_testfile): Don't handle START and END lines.
26341 * math/libm-test.inc (START): New macro.
26342 (END): Likewise.
26343 (END_COMPLEX): Likewise.
26344 (acos_test): Use END macro without arguments.
26345 (acos_test_tonearest): Likewise.
26346 (acos_test_towardzero): Likewise.
26347 (acos_test_downward): Likewise.
26348 (acos_test_upward): Likewise.
26349 (acosh_test): Likewise.
26350 (asin_test): Likewise.
26351 (asin_test_tonearest): Likewise.
26352 (asin_test_towardzero): Likewise.
26353 (asin_test_downward): Likewise.
26354 (asin_test_upward): Likewise.
26355 (asinh_test): Likewise.
26356 (atan_test): Likewise.
26357 (atanh_test): Likewise.
26358 (atan2_test): Likewise.
26359 (cabs_test): Likewise.
26360 (cacos_test): Use END_COMPLEX macro without arguments.
26361 (cacosh_test): Likewise.
26362 (carg_test): Use END macro without arguments.
26363 (casin_test): Use END_COMPLEX macro without arguments.
26364 (casinh_test): Likewise.
26365 (catan_test): Likewise.
26366 (catanh_test): Likewise.
26367 (cbrt_test): Use END macro without arguments.
26368 (ccos_test): Use END_COMPLEX macro without arguments.
26369 (ccosh_test): Likewise.
26370 (ceil_test): Use END macro without arguments.
26371 (cexp_test): Use END_COMPLEX macro without arguments.
26372 (cimag_test): Use END macro without arguments.
26373 (clog_test): Use END_COMPLEX macro without arguments.
26374 (clog10_test): Likewise.
26375 (conj_test): Likewise.
26376 (copysign_test): Use END macro without arguments.
26377 (cos_test): Likewise.
26378 (cos_test_tonearest): Likewise.
26379 (cos_test_towardzero): Likewise.
26380 (cos_test_downward): Likewise.
26381 (cos_test_upward): Likewise.
26382 (cosh_test): Likewise.
26383 (cosh_test_tonearest): Likewise.
26384 (cosh_test_towardzero): Likewise.
26385 (cosh_test_downward): Likewise.
26386 (cosh_test_upward): Likewise.
26387 (cpow_test): Use END_COMPLEX macro without arguments.
26388 (cproj_test): Likewise.
26389 (creal_test): Use END macro without arguments.
26390 (csin_test): Use END_COMPLEX macro without arguments.
26391 (csinh_test): Likewise.
26392 (csqrt_test): Likewise.
26393 (ctan_test): Likewise.
26394 (ctan_test_tonearest): Likewise.
26395 (ctan_test_towardzero): Likewise.
26396 (ctan_test_downward): Likewise.
26397 (ctan_test_upward): Likewise.
26398 (ctanh_test): Likewise.
26399 (ctanh_test_tonearest): Likewise.
26400 (ctanh_test_towardzero): Likewise.
26401 (ctanh_test_downward): Likewise.
26402 (ctanh_test_upward): Likewise.
26403 (erf_test): Use END macro without arguments.
26404 (erfc_test): Likewise.
26405 (exp_test): Likewise.
26406 (exp_test_tonearest): Likewise.
26407 (exp_test_towardzero): Likewise.
26408 (exp_test_downward): Likewise.
26409 (exp_test_upward): Likewise.
26410 (exp10_test): Likewise.
26411 (exp2_test): Likewise.
26412 (expm1_test): Likewise.
26413 (fabs_test): Likewise.
26414 (fdim_test): Likewise.
26415 (finite_test): Likewise.
26416 (floor_test): Likewise.
26417 (fma_test): Likewise.
26418 (fma_test_towardzero): Likewise.
26419 (fma_test_downward): Likewise.
26420 (fma_test_upward): Likewise.
26421 (fmax_test): Likewise.
26422 (fmin_test): Likewise.
26423 (fmod_test): Likewise.
26424 (fpclassify_test): Likewise.
26425 (frexp_test): Likewise.
26426 (gamma_test): Likewise.
26427 (hypot_test): Likewise.
26428 (ilogb_test): Likewise.
26429 (isfinite_test): Likewise.
26430 (isgreater_test): Likewise.
26431 (isgreaterequal_test): Likewise.
26432 (isinf_test): Likewise.
26433 (isless_test): Likewise.
26434 (islessequal_test): Likewise.
26435 (islessgreater_test): Likewise.
26436 (isnan_test): Likewise.
26437 (isnormal_test): Likewise.
26438 (issignaling_test): Likewise.
26439 (isunordered_test): Likewise.
26440 (j0_test): Likewise.
26441 (j1_test): Likewise.
26442 (jn_test): Likewise.
26443 (ldexp_test): Likewise.
26444 (lgamma_test): Likewise.
26445 (lrint_test): Likewise.
26446 (lrint_test_tonearest): Likewise.
26447 (lrint_test_towardzero): Likewise.
26448 (lrint_test_downward): Likewise.
26449 (lrint_test_upward): Likewise.
26450 (llrint_test): Likewise.
26451 (llrint_test_tonearest): Likewise.
26452 (llrint_test_towardzero): Likewise.
26453 (llrint_test_downward): Likewise.
26454 (llrint_test_upward): Likewise.
26455 (log_test): Likewise.
26456 (log10_test): Likewise.
26457 (log1p_test): Likewise.
26458 (log2_test): Likewise.
26459 (logb_test): Likewise.
26460 (logb_test_downward): Likewise.
26461 (lround_test): Likewise.
26462 (llround_test): Likewise.
26463 (modf_test): Likewise.
26464 (nearbyint_test): Likewise.
26465 (nextafter_test): Likewise.
26466 (nexttoward_test): Likewise.
26467 (pow_test): Likewise.
26468 (pow_test_tonearest): Likewise.
26469 (pow_test_towardzero): Likewise.
26470 (pow_test_downward): Likewise.
26471 (pow_test_upward): Likewise.
26472 (remainder_test): Likewise.
26473 (remainder_test_tonearest): Likewise.
26474 (remainder_test_towardzero): Likewise.
26475 (remainder_test_downward): Likewise.
26476 (remainder_test_upward): Likewise.
26477 (remquo_test): Likewise.
26478 (rint_test): Likewise.
26479 (rint_test_tonearest): Likewise.
26480 (rint_test_towardzero): Likewise.
26481 (rint_test_downward): Likewise.
26482 (rint_test_upward): Likewise.
26483 (round_test): Likewise.
26484 (scalb_test): Likewise.
26485 (scalbn_test): Likewise.
26486 (scalbln_test): Likewise.
26487 (signbit_test): Likewise.
26488 (sin_test): Likewise.
26489 (sin_test_tonearest): Likewise.
26490 (sin_test_towardzero): Likewise.
26491 (sin_test_downward): Likewise.
26492 (sin_test_upward): Likewise.
26493 (sincos_test): Likewise.
26494 (sinh_test): Likewise.
26495 (sinh_test_tonearest): Likewise.
26496 (sinh_test_towardzero): Likewise.
26497 (sinh_test_downward): Likewise.
26498 (sinh_test_upward): Likewise.
26499 (sqrt_test): Likewise.
26500 (tan_test): Likewise.
26501 (tan_test_tonearest): Likewise.
26502 (tan_test_towardzero): Likewise.
26503 (tan_test_downward): Likewise.
26504 (tan_test_upward): Likewise.
26505 (tanh_test): Likewise.
26506 (tgamma_test): Likewise.
26507 (trunc_test): Likewise.
26508 (y0_test): Likewise.
26509 (y1_test): Likewise.
26510 (yn_test): Likewise.
26511 (significand_test): Likewise.
26512
bae143d2
OB
265132013-05-24 Ondřej Bílka <neleai@seznam.cz>
26514
26515 [BZ #15381]
26516 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26517
9323d39b
EM
265182013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26519
d4ea44a0 26520 [BZ #14894]
9323d39b
EM
26521 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26522 __ppc_mdoio and __ppc_mdoom.
26523 * manual/platform.texi: Document new functions __ppc_yield,
26524 __ppc_mdoio and __ppc_mdoom.
26525
13e23af7
CD
265262013-05-22 Carlos O'Donell <carlos@redhat.com>
26527
26528 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26529 (main): Mention "tls" pseudo-hwcap is legacy.
26530 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26531
351fe550
JM
265322013-05-22 Joseph Myers <joseph@codesourcery.com>
26533
26534 * math/gen-libm-test.pl (parse_args): Output only string of
26535 arguments as text for test name, not full call or descriptions of
26536 tests for extra outputs.
26537 (generate_testfile): Do not pass function name to parse_args.
26538 Generate this_func variable from START.
26539 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26540 field to arg_str.
26541 (struct test_ff_f_data): Likewise.
26542 (test_ff_f_data_nexttoward): Likewise.
26543 (struct test_fi_f_data): Likewise.
26544 (struct test_fl_f_data): Likewise.
26545 (struct test_if_f_data): Likewise.
26546 (struct test_fff_f_data): Likewise.
26547 (struct test_c_f_data): Likewise.
26548 (struct test_f_f1_data): Likewise. Remove field extra_name.
26549 (struct test_fF_f1_data): Likewise.
26550 (struct test_ffI_f1_data): Likewise.
26551 (struct test_c_c_data): Rename test_name field to arg_str.
26552 (struct test_cc_c_data): Likewise.
26553 (struct test_f_i_data): Likewise.
26554 (struct test_ff_i_data): Likewise.
26555 (struct test_f_l_data): Likewise.
26556 (struct test_f_L_data): Likewise.
26557 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26558 and extra2_name.
26559 (COMMON_TEST_SETUP): New macro.
26560 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26561 (COMMON_TEST_CLEANUP): Likewise.
26562 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26563 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26564 macros.
26565 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26566 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26567 macros.
26568 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26569 (RUN_TEST_fff_f): Take argument string. Call new setup and
26570 cleanup macros.
26571 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26572 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26573 macros.
26574 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26575 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26576 macros.
26577 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26578 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26579 cleanup macros.
26580 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26581 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26582 cleanup macros.
26583 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26584 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26585 cleanup macros.
26586 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26587 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26588 macros.
26589 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26590 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26591 macros.
26592 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26593 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26594 macros.
26595 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26596 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26597 cleanup macros.
26598 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26599 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26600 cleanup macros.
26601 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26602 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26603 macros.
26604 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26605 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26606 cleanup macros.
26607 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26608 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26609 macros.
26610 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26611 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26612 macros.
26613 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26614 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26615 cleanup macros.
26616 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26617
85118d4d
EBM
266182013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26619
26620 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26621 to _sifields.sigfault.
26622 (si_addr_lsb): Define new macro.
26623 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26624 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26625 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26626
7a44c18f
CD
266272013-05-03 Carlos O'Donell <carlos at redhat.com>
26628
26629 [BZ #15441]
26630 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26631 returns -1.
26632 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26633 null return -1.
26634 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26635 loading the domain.
26636
b50a7181
JM
266372013-05-22 Joseph Myers <joseph@codesourcery.com>
26638
26639 * math/gen-libm-test.pl (parse_args): Do not include expected
26640 result in test name.
26641 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26642 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26643 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26644 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26645 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26647
051063c8
SP
266482013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26649
3ce9e010
SP
26650 * benchtests/Makefile: Sort function entries.
26651
051063c8
SP
26652 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26653 tanh, asinh, acosh, atanh.
26654 * benchtests/acos-inputs: New file.
26655 * benchtests/acosh-inputs: New file.
26656 * benchtests/asin-inputs: New file.
26657 * benchtests/asinh-inputs: New file.
26658 * benchtests/atanh-inputs: New file.
26659 * benchtests/cosh-inputs: New file.
26660 * benchtests/log-inputs: New file.
26661 * benchtests/sinh-inputs: New file.
26662 * benchtests/tanh-inputs: New file.
26663
47c22455
DL
266642013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26665
26666 [BZ #15339]
26667 * posix/tst-getaddrinfo4.c: New test.
26668 * posix/Makefile (tests): Add it.
26669
3d04f5db
SP
266702013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26671
26672 [BZ #15339]
26673 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26674 when no services were used.
26675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26676 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26677
d5dd6189
AS
266782013-05-21 Andreas Schwab <schwab@suse.de>
26679
26680 [BZ #15014]
26681 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26682 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26683 successful.
26684 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26685 redundant variable declarations and reallocation of buffer when
26686 parsing as IPv6 address. Always set NSS status when called from
26687 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26688 buffer too small. Correct computation of needed size.
26689 * nss/Makefile (tests): Add test-digits-dots.
26690 * nss/test-digits-dots.c: New test.
26691
fef94eab
SP
266922013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26693
26694 * benchtests/Makefile: Remove instructions for adding
26695 benchmark tests.
26696 * benchtests/README: New file to explain how to execute and
26697 enhance the benchmark tests.
26698
e39adf43
AS
266992013-05-21 Andreas Schwab <schwab@suse.de>
26700
26701 [BZ #15493]
26702 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26703 * setjmp/tst-sigsetjmp.c: New test.
26704
b2b671b6
OB
267052013-05-20 Ondřej Bílka <neleai@seznam.cz>
26706
26707 * sysdeps/x86_64/memset.S (memset): New implementation.
26708 (__bzero): Likewise.
26709 (__memset_tail): New function.
26710
2d48b41c
OB
267112013-05-20 Ondřej Bílka <neleai@seznam.cz>
26712
26713 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26714 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26715 __memcpy_sse2_unaligned ifunc selection.
26716 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26717 Add memcpy-sse2-unaligned.S.
26718 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26719 Add: __memcpy_sse2_unaligned.
26720
f16cc3eb
JM
267212013-05-19 Joseph Myers <joseph@codesourcery.com>
26722
3e694268
JM
26723 [BZ #15490]
26724 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26725 math_force_eval before restoring floating-point envrionment.
26726 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26727 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26728 Likewise.
26729 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26730 <math_private.h>.
26731 (__nearbyintl): Use math_force_eval before restoring
26732 floating-point environment.
26733 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26734
db62a907
JM
26735 * math/gen-libm-test.pl (special_functions): Remove.
26736 (parse_args): Don't handle TEST_extra. Handle functions with no
26737 return value.
26738 * math/libm-test.inc (struct test_sincos_data): Replace with
26739 struct test_fFF_11_data.
26740 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26741 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26742 (sincos_test_data): Change element type to struct
26743 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26744 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26745 RUN_TEST_LOOP_sincos.
26746 * math/README.libm-test: Don't mention special handling of
26747 individual functions.
26748 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26749 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26750 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26751 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26752 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26754
f16cc3eb
JM
26755 * math/gen-libm-test.pl (get_variable): Remove function.
26756 (parse_args): Don't show pointer parameters to call in test
26757 names. Use "extra output N" in test names for extra outputs
26758 rather than naming variables.
26759
3779b5b6
JM
267602013-05-18 Joseph Myers <joseph@codesourcery.com>
26761
2ee094ff
JM
26762 [BZ #15488]
26763 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26764 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26765 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26766 double tests.
26767 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26768 disable.
26769 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26770 check_long_double.
26771
3779b5b6
JM
26772 * math/gen-libm-test.pl (@tests): Remove variable.
26773 ($count): Likewise.
26774 (new_test): Remove function.
26775 (show_exceptions): New function.
26776 (special_functions): Use show_exceptions instead of new_test.
26777 (parse_args): Likewise.
26778 (generate_testfile): Pass only function name in generated call to
26779 print_max_error or print_complex_max_error.
26780 (get_ulps): Do not handle complex tests specially.
26781 (output_test): Rename to ...
26782 (get_all_ulps_for_test): ... this. Return a string rather than
26783 printing to a file. Require ulps to be present.
26784 (output_ulps): Generate arrays rather than #defines.
26785 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26786 (struct ulp_data): New type.
26787 (BUILD_COMPLEX_ULP): Remove macro.
26788 (compare_ulp_data): New function.
26789 (find_ulps): Likewise.
26790 (find_test_ulps): Likewise.
26791 (find_function_ulps): Likewise.
26792 (find_complex_function_ulps): Likewise.
26793 (print_max_error): Determine allowed ulps using
26794 find_function_ulps.
26795 (print_complex_max_error): Determine allowed ulps using
26796 find_complex_function_ulps.
26797 (check_float_internal): Determine max ulps using find_test_ulps.
26798 (check_float): Do not take max_ulp parameter. Update call to
26799 check_float_internal.
26800 (check_complex): Likewise.
26801 (check_int): Do not take max_ulp parameter.
26802 (check_long): Likewise.
26803 (check_bool): Likewise.
26804 (check_longlong): Likewise.
26805 (struct test_f_f_data): Remove max_ulp field.
26806 (struct test_ff_f_data): Likewise.
26807 (struct test_ff_f_data_nexttoward): Likewise.
26808 (struct test_fi_f_data): Likewise.
26809 (struct test_fl_f_data): Likewise.
26810 (struct test_if_f_data): Likewise.
26811 (struct test_fff_f_data): Likewise.
26812 (struct test_c_f_data): Likewise.
26813 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26814 (struct test_fF_f1_data): Likewise.
26815 (struct test_ffI_f1_data): Likewise.
26816 (struct test_c_c_data): Remove max_ulp field.
26817 (struct test_cc_c_data): Likewise.
26818 (struct test_f_i_data): Likewise.
26819 (struct test_ff_i_data): Likewise.
26820 (struct test_f_l_data): Likewise.
26821 (struct test_f_L_data): Likewise.
26822 (struct test_sincos_data): Likewise.
26823 (RUN_TEST_f_f): Do not handle ulps.
26824 (RUN_TEST_LOOP_f_f): Likewise.
26825 (RUN_TEST_2_f): Likewise.
26826 (RUN_TEST_LOOP_2_f): Likewise.
26827 (RUN_TEST_fff_f): Likewise.
26828 (RUN_TEST_LOOP_fff_f): Likewise.
26829 (RUN_TEST_c_f): Likewise.
26830 (RUN_TEST_LOOP_c_f): Likewise.
26831 (RUN_TEST_f_f1): Likewise.
26832 (RUN_TEST_LOOP_f_f1): Likewise.
26833 (RUN_TEST_fF_f1): Likewise.
26834 (RUN_TEST_LOOP_fF_f1): Likewise.
26835 (RUN_TEST_fI_f1): Likewise.
26836 (RUN_TEST_LOOP_fI_f1): Likewise.
26837 (RUN_TEST_ffI_f1): Likewise.
26838 (RUN_TEST_LOOP_ffI_f1): Likewise.
26839 (RUN_TEST_c_c): Likewise.
26840 (RUN_TEST_LOOP_c_c): Likewise.
26841 (RUN_TEST_cc_c): Likewise.
26842 (RUN_TEST_LOOP_cc_c): Likewise.
26843 (RUN_TEST_f_i): Likewise.
26844 (RUN_TEST_LOOP_f_i): Likewise.
26845 (RUN_TEST_f_i_tg): Likewise.
26846 (RUN_TEST_LOOP_f_i_tg): Likewise.
26847 (RUN_TEST_ff_i_tg): Likewise.
26848 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26849 (RUN_TEST_f_b): Likewise.
26850 (RUN_TEST_LOOP_f_b): Likewise.
26851 (RUN_TEST_f_b_tg): Likewise.
26852 (RUN_TEST_LOOP_f_b_tg): Likewise.
26853 (RUN_TEST_f_l): Likewise.
26854 (RUN_TEST_LOOP_f_l): Likewise.
26855 (RUN_TEST_f_L): Likewise.
26856 (RUN_TEST_LOOP_f_L): Likewise.
26857 (RUN_TEST_sincos): Likewise.
26858 (RUN_TEST_LOOP_sincos): Likewise.
26859
8269107f
JM
268602013-05-17 Joseph Myers <joseph@codesourcery.com>
26861
bb38759d
JM
26862 [BZ #15480]
26863 [BZ #15485]
26864 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26865 main case of finite arguments, set rounding mode to FE_TONEAREST
26866 and discard exceptions.
26867 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26868 exceptions.
26869 (remainder_tonearest_test_data): New variable.
26870 (remainder_test_tonearest): New function.
26871 (remainder_towardzero_test_data): New variable.
26872 (remainder_test_towardzero): New function.
26873 (remainder_downward_test_data): New variable.
26874 (remainder_test_downward): New function.
26875 (remainder_upward_test_data): New variable.
26876 (remainder_test_upward): New function.
26877 (main): Call the new test functions.
26878
a00bdcf0
JM
26879 * math/libm-test.inc (struct test_f_f1_data): Remove field
26880 extra_init.
26881 (struct test_fF_f1_data): Likewise.
26882 (struct test_ffI_f1_data): Likewise.
26883 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26884 based on value of EXTRA_EXPECTED.
26885 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26886 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26887 EXTRA_VAR based on value of EXTRA_EXPECTED.
26888 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26889 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26890 EXTRA_VAR based on value of EXTRA_EXPECTED.
26891 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26892 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26893 EXTRA_VAR based on value of EXTRA_EXPECTED.
26894 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26895 * math/gen-libm-test.pl (parse_args): Don't output initializers
26896 for extra output values.
26897
de407f79
JM
26898 * math/libm-test.inc (check_int): Expect result to be exactly
26899 equal to expected value and do not handle ulps.
26900 (check_long): Likewise.
26901 (check_longlong): Likewise.
26902
8269107f
JM
26903 * math/libm-test.inc (ceil_test_data): Test for "inexact"
26904 exceptions.
26905 (cimag_test_data): Likewise.
26906 (conj_test_data): Likewise.
26907 (copysign_test_data): Likewise.
26908 (cproj_test_data): Likewise.
26909 (creal_test_data): Likewise.
26910 (fabs_test_data): Likewise.
26911 (fdim_test_data): Likewise.
26912 (finite_test_data): Likewise.
26913 (floor_test_data): Likewise.
26914 (fmax_test_data): Likewise.
26915 (fmin_test_data): Likewise.
26916 (fmod_test_data): Likewise.
26917 (fpclassify_test_data): Likewise.
26918 (frexp_test_data): Likewise.
26919 (ilogb_test_data): Likewise.
26920 (isfinite_test_data): Likewise.
26921 (isgreater_test_data): Likewise.
26922 (isgreaterequal_test_data): Likewise.
26923 (isinf_test_data): Likewise.
26924 (isless_test_data): Likewise.
26925 (islessequal_test_data): Likewise.
26926 (islessgreater_test_data): Likewise.
26927 (isnan_test_data): Likewise.
26928 (isnormal_test_data): Likewise.
26929 (issignaling_test_data): Likewise.
26930 (isunordered_test_data): Likewise.
26931 (ldexp_test_data): Likewise.
26932 (lrint_test_data): Likewise.
26933 (lrint_test_data) [TEST_FLOAT]: Disable one test.
26934 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26935 (lrint_tonearest_test_data): Test for "inexact" exceptions.
26936 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26937 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26938 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26939 test input.
26940 (lrint_towardzero_test_data): Test for "inexact" exceptions.
26941 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26942 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26943 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26944 that test input.
26945 (lrint_downward_test_data): Test for "inexact" exceptions.
26946 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26947 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26948 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26949 test input.
26950 (lrint_upward_test_data): Test for "inexact" exceptions.
26951 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26952 test input.
26953 (llrint_test_data): Test for "inexact" exceptions.
26954 (llrint_test_data) [TEST_FLOAT]: Disable one test.
26955 (llrint_tonearest_test_data): Test for "inexact" exceptions.
26956 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26957 (llrint_towardzero_test_data): Test for "inexact" exceptions.
26958 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26959 (llrint_downward_test_data): Test for "inexact" exceptions.
26960 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26961 (llrint_upward_test_data): Test for "inexact" exceptions.
26962 (logb_test_data): Likewise.
26963 (logb_downward_test_data): Likewise.
26964 (nextafter_test_data): Likewise.
26965 (nexttoward_test_data): Likewise.
26966 (remainder_test_data): Likewise.
26967 (remquo_test_data): Likewise.
26968 (scalbn_test_data): Likewise.
26969 (scalbln_test_data): Likewise.
26970 (signbit_test_data): Likewise.
26971 (sqrt_test_data): Likewise.
26972 (significand_test_data): Likewise.
26973
48a18de1
SP
269742013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26975
26976 [BZ #15424]
26977 * benchtests/bench-modf.c (struct args): Mark arg0 as
26978 volatile.
26979 * scripts/bench.pl: Mark members of struct args as volatile.
26980
13d3b41a
AZ
269812013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26982
68191c1d 26983 [BZ # 15497]
13d3b41a
AZ
26984 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26985 negative infinity on POWER6 or lower.
26986 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26987
2848b105
MR
269882013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26989
26990 [BZ #15442]
26991 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26992 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26993 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26994 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26995 (_FP_SETQNAN): New macro.
26996 (_FP_SETQNAN_SEMIRAW): Likewise.
26997 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26998 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26999 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27000 (FP_EXTEND): Use _FP_FRAC_SNANP.
27001 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27002 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27003 into account.
27004 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27005 New macro.
27006 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27007 Likewise.
27008
323e5cb7
JM
270092013-05-16 Joseph Myers <joseph@codesourcery.com>
27010
c58b274f
JM
27011 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27012 with DIVIDE_BY_ZERO_EXCEPTION.
27013 (gamma_test_data): Likewise.
27014 (lgamma_test_data): Likewise.
27015 (log_test_data): Likewise.
27016 (log10_test_data): Likewise.
27017 (log2_test_data): Likewise.
27018 (tgamma_test_data): Likewise.
27019
0ab34904
JM
27020 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27021 (acos_test_tonearest): Likewise.
27022 (acos_test_towardzero): Likewise.
27023 (acos_test_downward): Likewise.
27024 (acos_test_upward): Likewise.
27025 (acosh_test): Likewise.
27026 (asin_test): Likewise.
27027 (asin_test_tonearest): Likewise.
27028 (asin_test_towardzero): Likewise.
27029 (asin_test_downward): Likewise.
27030 (asin_test_upward): Likewise.
27031 (asinh_test): Likewise.
27032 (atan_test): Likewise.
27033 (atanh_test): Likewise.
27034 (atan2_test): Likewise.
27035 (cabs_test): Likewise.
27036 (cacos_test): Likewise.
27037 (cacosh_test): Likewise.
27038 (casin_test): Likewise.
27039 (casinh_test): Likewise.
27040 (catan_test): Likewise.
27041 (catanh_test): Likewise.
27042 (cbrt_test): Likewise.
27043 (ccos_test): Likewise.
27044 (ccosh_test): Likewise.
27045 (cexp_test): Likewise.
27046 (clog_test): Likewise.
27047 (clog10_test): Likewise.
27048 (cos_test): Likewise.
27049 (cos_test_tonearest): Likewise.
27050 (cos_test_towardzero): Likewise.
27051 (cos_test_downward): Likewise.
27052 (cos_test_upward): Likewise.
27053 (cosh_test): Likewise.
27054 (cosh_test_tonearest): Likewise.
27055 (cosh_test_towardzero): Likewise.
27056 (cosh_test_downward): Likewise.
27057 (cosh_test_upward): Likewise.
27058 (cpow_test): Likewise.
27059 (csin_test): Likewise.
27060 (csinh_test): Likewise.
27061 (csqrt_test): Likewise.
27062 (ctan_test): Likewise.
27063 (ctan_test_tonearest): Likewise.
27064 (ctan_test_towardzero): Likewise.
27065 (ctan_test_downward): Likewise.
27066 (ctan_test_upward): Likewise.
27067 (ctanh_test): Likewise.
27068 (ctanh_test_tonearest): Likewise.
27069 (ctanh_test_towardzero): Likewise.
27070 (ctanh_test_downward): Likewise.
27071 (ctanh_test_upward): Likewise.
27072 (erf_test): Likewise.
27073 (erfc_test): Likewise.
27074 (exp_test): Likewise.
27075 (exp_test_tonearest): Likewise.
27076 (exp_test_towardzero): Likewise.
27077 (exp_test_downward): Likewise.
27078 (exp_test_upward): Likewise.
27079 (exp10_test): Likewise.
27080 (exp2_test): Likewise.
27081 (expm1_test): Likewise.
27082 (fmod_test): Likewise.
27083 (gamma_test): Likewise.
27084 (hypot_test): Likewise.
27085 (j0_test): Likewise.
27086 (j1_test): Likewise.
27087 (jn_test): Likewise.
27088 (lgamma_test): Likewise.
27089 (log_test): Likewise.
27090 (log10_test): Likewise.
27091 (log1p_test): Likewise.
27092 (log2_test): Likewise.
27093 (logb_test_downward): Likewise.
27094 (pow_test): Likewise.
27095 (pow_test_tonearest): Likewise.
27096 (pow_test_towardzero): Likewise.
27097 (pow_test_downward): Likewise.
27098 (pow_test_upward): Likewise.
27099 (remainder_test): Likewise.
27100 (remquo_test): Likewise.
27101 (sin_test): Likewise.
27102 (sin_test_tonearest): Likewise.
27103 (sin_test_towardzero): Likewise.
27104 (sin_test_downward): Likewise.
27105 (sin_test_upward): Likewise.
27106 (sincos_test): Likewise.
27107 (sinh_test): Likewise.
27108 (sinh_test_tonearest): Likewise.
27109 (sinh_test_towardzero): Likewise.
27110 (sinh_test_downward): Likewise.
27111 (sinh_test_upward): Likewise.
27112 (sqrt_test): Likewise.
27113 (tan_test): Likewise.
27114 (tan_test_tonearest): Likewise.
27115 (tan_test_towardzero): Likewise.
27116 (tan_test_downward): Likewise.
27117 (tan_test_upward): Likewise.
27118 (tanh_test): Likewise.
27119 (tgamma_test): Likewise.
27120 (y0_test): Likewise.
27121 (y1_test): Likewise.
27122 (yn_test): Likewise.
27123
323e5cb7
JM
27124 * math/gen-libm-test.pl (adjust_arg): Remove function.
27125 (special_function): Remove argument $in_func. Only handle
27126 generating output for tables of tests, not inside functions.
27127 (parse_args): Likewise.
27128 (generate_testfile): Remove variable $in_func. Update call to
27129 parse_args.
27130 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27131 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27132 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27133 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27134 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27135 (MAX_VALUE_INIT): Rename macro to max_value.
27136 (MIN_VALUE_INIT): Rename macro to min_value.
27137 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27138 (plus_zero): Remove variable.
27139 (minus_zero): Likewise.
27140 (plus_infty): Likewise.
27141 (minus_infty): Likewise.
27142 (qnan_value): Likewise.
27143 (max_value): Likewise.
27144 (min_value): Likewise.
27145 (min_subnorm_value): Likewise.
27146
e054f494
RA
271472013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27148
27149 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27150 uint64_t or uint32_t usage.
27151 * crypt/sha256-block.c: Likewise.
27152 * crypt/sha256-crypt.c: Likewise.
27153 * crypt/sha256.c: Likewise.
27154 * crypt/sha512-block.c: Likewise.
27155 * crypt/sha512-crypt.c: Likewise.
27156 * crypt/sha512.c: Likewise.
27157 * debug/backtrace-tst.c: Likewise.
27158 * debug/pcprofiledump.c: Likewise.
27159 * elf/cache.c: Likewise.
27160 * elf/dl-cache.c: Likewise.
27161 * elf/dl-misc.c: Likewise.
27162 * elf/dl-profile.c: Likewise.
27163 * elf/dl-support.c: Likewise.
27164 * elf/ldconfig.c: Likewise.
27165 * elf/sprof.c: Likewise.
27166 * iconv/dummy-repertoire.c: Likewise.
27167 * iconv/iconv_charmap.c: Likewise.
27168 * iconv/skeleton.c: Likewise.
27169 * iconvdata/8bit-generic.c: Likewise.
27170 * iconvdata/cp737.h: Likewise.
27171 * iconvdata/cp775.h: Likewise.
27172 * iconvdata/ibm1008.h: Likewise.
27173 * iconvdata/ibm1025.h: Likewise.
27174 * iconvdata/ibm1046.h: Likewise.
27175 * iconvdata/ibm1097.h: Likewise.
27176 * iconvdata/ibm1112.h: Likewise.
27177 * iconvdata/ibm1122.h: Likewise.
27178 * iconvdata/ibm1123.h: Likewise.
27179 * iconvdata/ibm1124.h: Likewise.
27180 * iconvdata/ibm1129.h: Likewise.
27181 * iconvdata/ibm1130.h: Likewise.
27182 * iconvdata/ibm1132.h: Likewise.
27183 * iconvdata/ibm1133.h: Likewise.
27184 * iconvdata/ibm1137.h: Likewise.
27185 * iconvdata/ibm1140.h: Likewise.
27186 * iconvdata/ibm1141.h: Likewise.
27187 * iconvdata/ibm1142.h: Likewise.
27188 * iconvdata/ibm1143.h: Likewise.
27189 * iconvdata/ibm1144.h: Likewise.
27190 * iconvdata/ibm1145.h: Likewise.
27191 * iconvdata/ibm1146.h: Likewise.
27192 * iconvdata/ibm1147.h: Likewise.
27193 * iconvdata/ibm1148.h: Likewise.
27194 * iconvdata/ibm1149.h: Likewise.
27195 * iconvdata/ibm1153.h: Likewise.
27196 * iconvdata/ibm1154.h: Likewise.
27197 * iconvdata/ibm1155.h: Likewise.
27198 * iconvdata/ibm1156.h: Likewise.
27199 * iconvdata/ibm1157.h: Likewise.
27200 * iconvdata/ibm1158.h: Likewise.
27201 * iconvdata/ibm1160.h: Likewise.
27202 * iconvdata/ibm1161.h: Likewise.
27203 * iconvdata/ibm1162.h: Likewise.
27204 * iconvdata/ibm1163.h: Likewise.
27205 * iconvdata/ibm1164.h: Likewise.
27206 * iconvdata/ibm1166.h: Likewise.
27207 * iconvdata/ibm1167.h: Likewise.
27208 * iconvdata/ibm12712.h: Likewise.
27209 * iconvdata/ibm1390.h: Likewise.
27210 * iconvdata/ibm1399.h: Likewise.
27211 * iconvdata/ibm16804.h: Likewise.
27212 * iconvdata/ibm4517.h: Likewise.
27213 * iconvdata/ibm4899.h: Likewise.
27214 * iconvdata/ibm4909.h: Likewise.
27215 * iconvdata/ibm4971.h: Likewise.
27216 * iconvdata/ibm5347.h: Likewise.
27217 * iconvdata/ibm803.h: Likewise.
27218 * iconvdata/ibm856.h: Likewise.
27219 * iconvdata/ibm901.h: Likewise.
27220 * iconvdata/ibm902.h: Likewise.
27221 * iconvdata/ibm9030.h: Likewise.
27222 * iconvdata/ibm9066.h: Likewise.
27223 * iconvdata/ibm921.h: Likewise.
27224 * iconvdata/ibm922.h: Likewise.
27225 * iconvdata/ibm9448.h: Likewise.
27226 * iconvdata/isiri-3342.h: Likewise.
27227 * iconvdata/jis0201.h: Likewise.
27228 * include/link.h: Likewise.
27229 * include/netdb.h: Likewise.
27230 * inet/check_native.c: Likewise.
27231 * inet/check_pf.c: Likewise.
27232 * inet/getipv4sourcefilter.c: Likewise.
27233 * inet/getnameinfo.c: Likewise.
27234 * inet/getsourcefilter.c: Likewise.
27235 * inet/htonl.c: Likewise.
27236 * inet/setipv4sourcefilter.c: Likewise.
27237 * inet/setsourcefilter.c: Likewise.
27238 * inet/test-inet6_opt.c: Likewise.
27239 * inet/tst-network.c: Likewise.
27240 * locale/C-collate.c: Likewise.
27241 * locale/C-ctype.c: Likewise.
27242 * locale/C-time.c: Likewise.
27243 * locale/C-translit.h: Likewise.
27244 * locale/loadarchive.c: Likewise.
27245 * locale/programs/3level.h: Likewise.
27246 * locale/programs/charmap.c: Likewise.
27247 * locale/programs/charmap.h: Likewise.
27248 * locale/programs/ld-address.c: Likewise.
27249 * locale/programs/ld-collate.c: Likewise.
27250 * locale/programs/ld-ctype.c: Likewise.
27251 * locale/programs/ld-identification.c: Likewise.
27252 * locale/programs/ld-measurement.c: Likewise.
27253 * locale/programs/ld-messages.c: Likewise.
27254 * locale/programs/ld-monetary.c: Likewise.
27255 * locale/programs/ld-name.c: Likewise.
27256 * locale/programs/ld-numeric.c: Likewise.
27257 * locale/programs/ld-paper.c: Likewise.
27258 * locale/programs/ld-telephone.c: Likewise.
27259 * locale/programs/ld-time.c: Likewise.
27260 * locale/programs/linereader.c: Likewise.
27261 * locale/programs/locale.c: Likewise.
27262 * locale/programs/locarchive.c: Likewise.
27263 * locale/programs/locfile.h: Likewise.
27264 * locale/programs/repertoire.c: Likewise.
27265 * locale/programs/simple-hash.c: Likewise.
27266 * locale/programs/simple-hash.h: Likewise.
27267 * malloc/memusage.c: Likewise.
27268 * malloc/memusagestat.c: Likewise.
27269 * nis/nis_defaults.c: Likewise.
27270 * nis/nis_hash.c: Likewise.
27271 * nis/nis_print.c: Likewise.
27272 * nis/nis_xdr.c: Likewise.
27273 * nscd/connections.c: Likewise.
27274 * nscd/hstcache.c: Likewise.
27275 * nscd/nscd_gethst_r.c: Likewise.
27276 * nscd/nscd_getserv_r.c: Likewise.
27277 * nscd/nscd_helper.c: Likewise.
27278 * nscd/servicescache.c: Likewise.
27279 * nss/makedb.c: Likewise.
27280 * nss/nss_db/db-XXX.c: Likewise.
27281 * nss/nss_db/db-initgroups.c: Likewise.
27282 * nss/nss_db/db-netgrp.c: Likewise.
27283 * nss/nss_files/files-network.c: Likewise.
27284 * nss/nss_files/files-parse.c: Likewise.
27285 * posix/bug-regex5.c: Likewise.
27286 * posix/fnmatch_loop.c: Likewise.
27287 * posix/regcomp.c: Likewise.
27288 * posix/regexec.c: Likewise.
27289 * posix/tst-rfc3484-2.c: Likewise.
27290 * posix/tst-rfc3484-3.c: Likewise.
27291 * posix/tst-rfc3484.c: Likewise.
27292 * resolv/nss_dns/dns-canon.c: Likewise.
27293 * resolv/nss_dns/dns-network.c: Likewise.
27294 * resolv/res_init.c: Likewise.
27295 * resolv/res_mkquery.c: Likewise.
27296 * resolv/tst-aton.c: Likewise.
27297 * stdlib/cxa_atexit.c: Likewise.
27298 * stdlib/cxa_finalize.c: Likewise.
27299 * stdlib/gen-fpioconst.c: Likewise.
27300 * stdlib/strtol_l.c: Likewise.
27301 * string/tst-endian.c: Likewise.
27302 * sunrpc/auth_des.c: Likewise.
27303 * sunrpc/clnt_udp.c: Likewise.
27304 * sunrpc/rtime.c: Likewise.
27305 * sunrpc/svcauth_des.c: Likewise.
27306 * sunrpc/xdr.c: Likewise.
27307 * sunrpc/xdr_intXX_t.c: Likewise.
27308 * sunrpc/xdr_rec.c: Likewise.
27309 * sysdeps/generic/ldconfig.h: Likewise.
27310 * sysdeps/generic/ldsodefs.h: Likewise.
27311 * sysdeps/generic/memusage.h: Likewise.
27312 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27313 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27314 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27315 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27316 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27317 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27318 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27319 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27320 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27321 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27322 * sysdeps/posix/getaddrinfo.c: Likewise.
27323 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27324 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27325 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27326 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27327 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27328 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27329 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27330 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27331 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27332 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27333 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27334 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27335 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27336 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27337 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27338 * sysdeps/x86_64/dl-tls.h: Likewise.
27339 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27340 * time/alt_digit.c: Likewise.
27341 * time/era.c: Likewise.
27342 * wcsmbs/tst-c16c32-1.c: Likewise.
27343
8c75f674
JM
273442013-05-16 Joseph Myers <joseph@codesourcery.com>
27345
27346 * math/libm-test.inc (struct test_sincos_data): New type.
27347 (RUN_TEST_LOOP_sincos): New macro.
27348 (sincos_test_data): New variable.
27349 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27350
e6e49e59
RH
273512013-05-16 Richard Henderson <rth@redhat.com>
27352
27353 * math/atest-exp2.c (LIMB64): New macro.
27354 (CONSTSZ): New macro.
27355 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27356 (hexdig): Move ...
27357 (print_mpn_fp): ... to function scope.
27358 (read_mpn_hex): Remove.
27359 (get_log2): Remove.
27360 (exp2_mpn): Use mp_log2.
27361 (main): Use mp_exp1.
27362
15c7c18d
JM
273632013-05-16 Joseph Myers <joseph@codesourcery.com>
27364
105a07df
JM
27365 * math/libm-test.inc: Remove comment about not testing "inexact"
27366 exceptions.
27367 (INEXACT_EXCEPTION): New macro.
27368 (NO_INEXACT_EXCEPTION): Likewise.
27369 (INVALID_EXCEPTION_OK): Update value.
27370 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27371 (OVERFLOW_EXCEPTION_OK): Likewise.
27372 (UNDERFLOW_EXCEPTION_OK): Likewise.
27373 (IGNORE_ZERO_INF_SIGN): Likewise.
27374 (ERRNO_UNCHANGED): Likewise.
27375 (ERRNO_EDOM): Likewise.
27376 (ERRNO_ERANGE): Likewise.
27377 (test_exceptions): Handle testing "inexact" exceptions.
27378 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27379 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27380 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27381 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27382 INEXACT_EXCEPTION.
27383 (rint_towardzero_test_data): Likewise.
27384 (rint_downward_test_data): Likewise.
27385 (rint_upward_test_data): Likewise.
27386
e9eee333
JM
27387 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27388 with OVERFLOW_EXCEPTION.
27389 (exp10_test_data): Likewise.
27390 (exp2_test_data): Likewise.
27391 (expm1_test_data): Likewise.
27392 (lgamma_test_data): Likewise.
27393 (pow_test_data): Likewise.
27394 (tgamma_test_data): Likewise.
27395 (yn_test_data): Remove duplicate test of overflow.
27396
1c38ff73
JM
27397 * math/libm-test.inc (struct test_cc_c_data): New type.
27398 (RUN_TEST_LOOP_cc_c): New macro.
27399 (cpow_test_data): New variable.
27400 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27401
15c7c18d
JM
27402 * math/libm-test.inc (struct test_f_L_data): New type.
27403 (RUN_TEST_LOOP_f_L): New macro.
27404 (llrint_test_data): New variable.
27405 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27406 (llrint_tonearest_test_data): New variable.
27407 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27408 (llrint_towardzero_test_data): New variable.
27409 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27410 (llrint_downward_test_data): New variable.
27411 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27412 (llrint_upward_test_data): New variable.
27413 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27414 (llround_test_data): New variable.
27415 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27416
f137ff13
PC
274172013-05-13 Peter Collingbourne <pcc@google.com>
27418
27419 * math/atest-exp2.c (get_log2): Remove const attribute.
27420
3608cb24
JM
274212013-05-15 Joseph Myers <joseph@codesourcery.com>
27422
27423 * math/libm-test.inc (struct test_f_l_data): New type.
27424 (RUN_TEST_LOOP_f_l): New macro.
27425 (lrint_test_data): New variable.
27426 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27427 (lrint_tonearest_test_data): New variable.
27428 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27429 (lrint_towardzero_test_data): New variable.
27430 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27431 (lrint_downward_test_data): New variable.
27432 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27433 (lrint_upward_test_data): New variable.
27434 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27435 (lround_test_data): New variable.
27436 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27437
39b1f617
PC
274382013-05-15 Peter Collingbourne <pcc@google.com>
27439
1deff3dc
PC
27440 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27441 (EXTRACT_WORDS64) Use where appropriate.
27442 (INSERT_WORDS64) Likewise.
27443
791f3ba0
PC
27444 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27445 constraints with x constraints.
27446 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27447
39b1f617
PC
27448 * malloc/obstack.c (_obstack_compat): Add initializer.
27449
12fba011
EM
274502013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27451
27452 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27453 si_trapno and add si_addr_lsb to _sifields.sigfault.
27454 (si_trapno): Remove macro.
27455 (si_addr_lsb): Define new macro.
27456 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27457
d369f531
JM
274582013-05-15 Joseph Myers <joseph@codesourcery.com>
27459
b861c6c4
JM
27460 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27461 instead of TEST_f_l.
27462 (llrint_test_tonearest): Likewise.
27463 (llrint_test_towardzero): Likewise.
27464 (llrint_test_downward): Likewise.
27465 (llrint_test_upward): Likewise.
27466 (llround_test): Likewise.
27467
7abeee12
JM
27468 * math/libm-test.inc (struct test_f_i_data): Add comment.
27469 (RUN_TEST_LOOP_f_b): New macro.
27470 (RUN_TEST_LOOP_f_b_tg): Likewise.
27471 (finite_test_data): New variable.
27472 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27473 (isfinite_test_data): New variable.
27474 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27475 (isinf_test_data): New variable.
27476 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27477 (isnan_test_data): New variable.
27478 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27479 (isnormal_test_data): New variable.
27480 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27481 (issignaling_test_data): New variable.
27482 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27483 (signbit_test_data): New variable.
27484 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27485
cbe8c4d3
JM
27486 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27487 with INVALID_EXCEPTION.
27488 (acosh_test_data): Likewise.
27489 (asin_test_data): Likewise.
27490 (atanh_test_data): Likewise.
27491 (fmod_test_data): Likewise.
27492 (log_test_data): Likewise.
27493 (log10_test_data): Likewise.
27494 (log2_test_data): Likewise.
27495 (pow_test_data): Likewise.
27496 (sqrt_test_data): Likewise.
27497 (y0_test_data): Likewise.
27498 (y1_test_data): Likewise.
27499 (yn_test_data): Likewise.
27500
5575c0e5
JM
27501 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27502 function contents.
27503
d369f531
JM
27504 * math/libm-test.inc (struct test_ff_i_data): New type.
27505 (RUN_TEST_LOOP_ff_i_tg): New macro.
27506 (isgreater_test_data): New variable.
27507 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27508 (isgreaterequal_test_data): New variable.
27509 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27510 (isless_test_data): New variable.
27511 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27512 (islessequal_test_data): New variable.
27513 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27514 (islessgreater_test_data): New variable.
27515 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27516 (isunordered_test_data): New variable.
27517 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27518
781fd748
DM
275192013-05-14 David S. Miller <davem@davemloft.net>
27520
27521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27522
87aa21df
JM
275232013-05-14 Joseph Myers <joseph@codesourcery.com>
27524
5e908270
JM
27525 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27526
f71172e5
JM
27527 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27528 extra_test to int.
27529 (struct test_f_i_data): Change type of max_ulp to int.
27530
8cfa635a
JM
27531 * math/libm-test.inc (test_ffI_f1_data): New type.
27532 (RUN_TEST_LOOP_ffI_f1): New macro.
27533 (remquo_test_data): New variable.
27534 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27535
2bcb36b2
JM
27536 * setjmp/tst-setjmp-fp.c: New file.
27537 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27538 (link-libm): New variable.
27539 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27540
acbd839a
JM
27541 * math/libm-test.inc (struct test_f_i_data): New type.
27542 (RUN_TEST_LOOP_f_i): New macro.
27543 (RUN_TEST_LOOP_f_i_tg): Likewise.
27544 (fpclassify_test_data): New variable.
27545 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27546 (ilogb_test_data): New variable.
27547 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27548
e414d745
JM
27549 * math/libm-test.inc (scalbln_test): Correct function name in END
27550 call.
27551
d9c2a0fd
JM
27552 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27553 (RUN_TEST_LOOP_fI_f1): New macro.
27554 (frexp_test_data): New variable.
27555 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27556
9dc9095d
JM
27557 * math/libm-test.inc (struct test_fF_f1_data): New type.
27558 (RUN_TEST_LOOP_fF_f1): New macro.
27559 (modf_test_data): New variable.
27560 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27561
87aa21df
JM
27562 * math/libm-test.inc (struct test_f_f1_data): New type.
27563 (RUN_TEST_LOOP_f_f1): New macro.
27564 (gamma_test_data): New variable.
27565 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27566 (lgamma_test_data): New variable.
27567 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27568
141af660
CD
275692013-05-13 Carlos O'Donell <carlos@redhat.com>
27570
27571 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27572 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27573 (main): Comment "tls" pseudo-hwcap.
27574
6d33265c
JM
275752013-05-13 Joseph Myers <joseph@codesourcery.com>
27576
68fc074c
JM
27577 * math/libm-test.inc (struct test_fl_f_data): New type.
27578 (RUN_TEST_LOOP_fl_f): New variable.
27579 (scalbln_test_data): New variable.
27580 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27581
243216e1
JM
27582 * math/libm-test.inc (struct test_fi_f_data): New type.
27583 (RUN_TEST_LOOP_fi_f): New macro.
27584 (ldexp_test_data): New variable.
27585 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27586 (scalbn_test_data): New variable.
27587 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27588
6a1992e2
JM
27589 * math/libm-test.inc (struct test_c_f_data): New type.
27590 (RUN_TEST_LOOP_c_f): New macro.
27591 (cabs_test_data): New variable.
27592 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27593 (carg_test_data): New variable.
27594 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27595 (cimag_test_data): New variable.
27596 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27597 (creal_test_data): New variable.
27598 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27599
0e400df5
JM
27600 * math/libm-test.inc (struct test_if_f_data): New type.
27601 (RUN_TEST_LOOP_if_f): New macro.
27602 (jn_test_data): New variable.
27603 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27604 (yn_test_data): New variable.
27605 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27606
6d33265c
JM
27607 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27608
f98ece5f
AZ
276092013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27610
27611 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27612 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27613
0f7d347b
SP
276142013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27615
43fe811b
SP
27616 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27617 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27618 (bench-deps): Add bench-timing.h.
27619 * benchtests-bench-skeleton.c: Include bench-timing.h.
27620 (main): Use TIMING_* macros instead of clock_gettime.
27621 * benchtests/bench-timing.h: New file.
27622
0f7d347b
SP
27623 [BZ #14582]
27624 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27625 Renamed from _LIB_VERSION.
27626 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27627
601a3a5f
JM
276282013-05-12 Joseph Myers <joseph@codesourcery.com>
27629
4f184d30
JM
27630 * math/libm-test.inc (struct test_fff_f_data): New type.
27631 (RUN_TEST_LOOP_fff_f): New macro.
27632 (fma_test_data): New variable.
27633 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27634 (fma_towardzero_test_data): New variable.
27635 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27636 (fma_downward_test_data): New variable.
27637 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27638 (fma_upward_test_data): New variable.
27639 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27640
08198877
JM
27641 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27642 (struct test_c_c_data): New type.
27643 (RUN_TEST_LOOP_c_c): New macro.
27644 (cacos_test_data): New variable.
27645 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27646 (cacosh_test_data): New variable.
27647 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27648 (casin_test_data): New variable.
27649 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27650 (casinh_test_data): New variable.
27651 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27652 (catan_test_data): New variable.
27653 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27654 (catanh_test_data): New variable.
27655 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27656 (ccos_test_data): New variable.
27657 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27658 (ccosh_test_data): New variable.
27659 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27660 (cexp_test_data): New variable.
27661 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27662 (clog_test_data): New variable.
27663 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27664 (clog10_test_data): New variable.
27665 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27666 (conj_test_data): New variable.
27667 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27668 (cproj_test_data): New variable.
27669 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27670 (csin_test_data): New variable.
27671 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27672 (csinh_test_data): New variable.
27673 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27674 (csqrt_test_data): New variable.
27675 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27676 (ctan_test_data): New variable.
27677 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27678 (ctan_tonearest_test_data): New variable.
27679 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27680 (ctan_towardzero_test_data): New variable.
27681 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27682 (ctan_downward_test_data): New variable.
27683 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27684 (ctan_upward_test_data): New variable.
27685 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27686 (ctanh_test_data): New variable.
27687 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27688 (ctanh_tonearest_test_data): New variable.
27689 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27690 (ctanh_towardzero_test_data): New variable.
27691 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27692 (ctanh_downward_test_data): New variable.
27693 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27694 (ctanh_upward_test_data): New variable.
27695 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27696 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27697 of BUILD_COMPLEX.
27698
601a3a5f
JM
27699 * math/libm-test.inc (struct test_ff_f_data): New type.
27700 (struct test_ff_f_data_nexttoward): Likewise.
27701 (RUN_TEST_LOOP_2_f): New macro.
27702 (RUN_TEST_LOOP_ff_f): Likewise.
27703 (atan2_test_data): New variable.
27704 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27705 (copysign_test_data): New variable.
27706 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27707 (fdim_test_data): New variable.
27708 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27709 (fmax_test_data): New variable.
27710 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27711 (fmin_test_data): New variable.
27712 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27713 (fmod_test_data): New variable.
27714 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27715 (hypot_test_data): New variable.
27716 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27717 (nextafter_test_data): New variable.
27718 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27719 (nexttoward_test_data): New variable.
27720 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27721 (pow_test_data): New variable.
27722 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27723 (pow_tonearest_test_data): New variable.
27724 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27725 (pow_towardzero_test_data): New variable.
27726 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27727 (pow_downward_test_data): New variable.
27728 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27729 (pow_upward_test_data): New variable.
27730 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27731 (remainder_test_data): New variable.
27732 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27733 (scalb_test_data): New variable.
27734 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27735 * sysdeps/i386/fpu/libm-test-ulps: Update.
27736
74c57478
JM
277372013-05-11 Joseph Myers <joseph@codesourcery.com>
27738
8329e4da
JM
27739 * math/libm-test.inc (fma_test): Use max_value instead of local
27740 variable fltmax.
27741 (nextafter_test): Likewise.
27742
74c57478
JM
27743 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27744 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27745 (acos_downward_test_data): New variable.
27746 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27747 (acos_upward_test_data): New variable.
27748 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27749 (acosh_test_data): New variable.
27750 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27751 (asin_test_data): New variable.
27752 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27753 (asin_tonearest_test_data): New variable.
27754 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27755 (asin_towardzero_test_data): New variable.
27756 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27757 (asin_downward_test_data): New variable.
27758 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27759 (asin_upward_test_data): New variable.
27760 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27761 (asinh_test_data): New variable.
27762 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27763 (atan_test_data): New variable.
27764 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27765 (atanh_test_data): New variable.
27766 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27767 (cbrt_test_data): New variable.
27768 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27769 (ceil_test_data): New variable.
27770 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27771 (cos_test_data): New variable.
27772 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27773 (cos_tonearest_test_data): New variable.
27774 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27775 (cos_towardzero_test_data): New variable.
27776 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27777 (cos_downward_test_data): New variable.
27778 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27779 (cos_upward_test_data): New variable.
27780 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27781 (cosh_test_data): New variable.
27782 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27783 (cosh_tonearest_test_data): New variable.
27784 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27785 (cosh_towardzero_test_data): New variable.
27786 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27787 (cosh_downward_test_data): New variable.
27788 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27789 (cosh_upward_test_data): New variable.
27790 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27791 (erf_test_data): New variable.
27792 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27793 (erfc_test_data): New variable.
27794 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27795 (exp_test_data): New variable.
27796 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27797 (exp_tonearest_test_data): New variable.
27798 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27799 (exp_towardzero_test_data): New variable.
27800 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27801 (exp_downward_test_data): New variable.
27802 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27803 (exp_upward_test_data): New variable.
27804 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27805 (exp10_test_data): New variable.
27806 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27807 (exp2_test_data): New variable.
27808 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27809 (expm1_test_data): New variable.
27810 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27811 (fabs_test_data): New variable.
27812 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27813 (floor_test_data): New variable.
27814 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27815 (j0_test_data): New variable.
27816 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27817 (j1_test_data): New variable.
27818 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27819 (log_test_data): New variable.
27820 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27821 (log10_test_data): New variable.
27822 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27823 (log1p_test_data): New variable.
27824 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27825 (log2_test_data): New variable.
27826 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27827 (logb_test_data): New variable.
27828 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27829 (logb_downward_test_data): New variable.
27830 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27831 (nearbyint_test_data): New variable.
27832 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27833 (rint_test_data): New variable.
27834 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27835 (rint_tonearest_test_data): New variable.
27836 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27837 (rint_towardzero_test_data): New variable.
27838 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27839 (rint_downward_test_data): New variable.
27840 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27841 (rint_upward_test_data): New variable.
27842 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27843 (round_test_data): New variable.
27844 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27845 (sin_test_data): New variable.
27846 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27847 (sin_tonearest_test_data): New variable.
27848 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27849 (sin_towardzero_test_data): New variable.
27850 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27851 (sin_downward_test_data): New variable.
27852 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27853 (sin_upward_test_data): New variable.
27854 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27855 (sinh_test_data): New variable.
27856 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27857 (sinh_tonearest_test_data): New variable.
27858 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27859 (sinh_towardzero_test_data): New variable.
27860 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27861 (sinh_downward_test_data): New variable.
27862 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27863 (sinh_upward_test_data): New variable.
27864 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27865 (sqrt_test_data): New variable.
27866 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27867 (tan_test_data): New variable.
27868 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27869 (tan_tonearest_test_data): New variable.
27870 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27871 (tan_towardzero_test_data): New variable.
27872 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27873 (tan_downward_test_data): New variable.
27874 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27875 (tan_upward_test_data): New variable.
27876 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27877 (tanh_test_data): New variable.
27878 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27879 (tgamma_test_data): New variable.
27880 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27881 (trunc_test_data): New variable.
27882 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27883 (y0_test_data): New variable.
27884 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27885 (y1_test_data): New variable.
27886 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27887 (significand_test_data): New variable.
27888 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27889
7187d844
CG
278902013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27891
27892 [BZ #12387]
27893 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27894
f63fae73
PT
278952013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27896
27897 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27898
8a67a4b3
AJ
278992013-05-10 Andreas Jaeger <aj@suse.de>
27900
27901 [BZ #15448]
27902 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27903 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27904
51df539d
JM
279052013-05-10 Joseph Myers <joseph@codesourcery.com>
27906
27907 * math/gen-libm-test.pl (adjust_arg): New function.
27908 (special_functions): Handle generating output in both functions
27909 and arrays.
27910 (parse_args): Likewise.
27911 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
27912 $in_func argument to parse_args.
27913 * math/libm-test.inc (struct test_f_f_data): New type.
27914 (IF_ROUND_INIT_): New macro.
27915 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27916 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27917 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27918 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27919 (ROUND_RESTORE_): Likewise.
27920 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27921 (ROUND_RESTORE_FE_TONEAREST): Likewise.
27922 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27923 (ROUND_RESTORE_FE_UPWARD): Likewise.
27924 (RUN_TEST_LOOP_f_f): New macro.
27925 (acos_test_data): New variable.
27926 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27927 (acos_tonearest_test_data): New variable.
27928 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27929
5c637fe5
SP
279302013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27931
27932 * benchtests/bench-skeleton.c (startup): Fix coding style.
27933
ab2b9461
JM
279342013-05-10 Joseph Myers <joseph@codesourcery.com>
27935
27936 [BZ #6809]
27937 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27938 negative infinity argument.
27939 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27940 negative infinity argument.
27941 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27942 negative infinity argument.
27943 * math/libm-test.inc (tgamma_test): Expect errno to be set for
27944 domain errors.
27945
4c0fe6fe
FW
279462013-05-10 Florian Weimer <fweimer@redhat.com>
27947
27948 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27949 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27950 * iconv/iconv_prog.c (main): Likewise.
27951 * locale/programs/charmap-dir.c (charmap_readdir)
27952 (fopen_uncompressed): Likewise.
27953 * locale/programs/locfile.c (siblings_uncached)
27954 (write_locale_data): Use lstat64 instead of lstat.
27955 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27956 stat.
27957
a3375d29
AJ
279582013-05-10 Andreas Jaeger <aj@suse.de>
27959
27960 [BZ #15395]
27961 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27962 localization.
27963 Include <locale.h>.
27964
36129722
CD
279652013-05-09 Carlos O'Donell <carlos@redhat.com>
27966
27967 * elf/dl-close.c (_dl_close_worker): Add comments.
27968
faa7f811
JM
279692013-05-09 Joseph Myers <joseph@codesourcery.com>
27970
ed41ffef
JM
27971 [BZ #15359]
27972 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27973 high part of pi/2.
27974 (__ieee754_rem_pio2l): Update comments.
27975
d0213cd0
JM
27976 [BZ #15429]
27977 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27978 high part of pi/2.
27979 (__ieee754_rem_pio2l): Update comments.
27980
0d3e777a
JM
27981 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27982 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27983
24f56066
JM
27984 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27985 M_PI_4l.
27986
faa7f811
JM
27987 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27988 (M_PI_34_LOG10El): Likewise.
27989 (M_PI2_LOG10El): Likewise.
27990 (M_PI4_LOG10El): Likewise.
27991 (M_PI_LOG10El): Likewise.
27992
e9a5e0fd
AZ
279932013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27994
27995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27996
d8cd06db
JM
279972013-05-08 Joseph Myers <joseph@codesourcery.com>
27998
a0d9f9d7
JM
27999 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28000 (MINUS_ZERO_INIT): Likewise.
28001 (PLUS_INFTY_INIT): Likewise.
28002 (MINUS_INFTY_INIT): Likewise.
28003 (QNAN_VALUE_INIT): Likewise.
28004 (MAX_VALUE_INIT): Likewise.
28005 (MIN_VALUE_INIT): Likewise.
28006 (MIN_SUBNORM_VALUE_INIT): Likewise.
28007 (plus_zero): Initialize with PLUS_ZERO_INIT.
28008 (minus_zero): Initialize with MINUS_ZERO_INIT.
28009 (plus_infty): Initialize with PLUS_INFTY_INIT.
28010 (minus_infty): Initialize with MINUS_INFTY_INIT.
28011 (qnan_value): Initialize with QNAN_VALUE_INIT.
28012 (max_value): Initialize with MAX_VALUE_INIT.
28013 (min_value): Initialize with MIN_VALUE_INIT.
28014 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28015
ae08db3b
JM
28016 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28017 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28018 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28019 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28020
f44bf14a
JM
28021 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28022 (RUN_TEST_2_f): Likewise.
28023 (RUN_TEST_ff_f): Likewise.
28024 (RUN_TEST_fi_f): Likewise.
28025 (RUN_TEST_fl_f): Likewise.
28026 (RUN_TEST_fff_f): Likewise.
28027 (RUN_TEST_c_f): Likewise.
28028 (RUN_TEST_f_f1): Likewise.
28029 (RUN_TEST_fF_f1): Likewise.
28030 (RUN_TEST_fI_f1): Likewise.
28031 (RUN_TEST_ffI_f1): Likewise.
28032 (RUN_TEST_c_c): Likewise.
28033 (RUN_TEST_cc_c): Likewise.
28034 (RUN_TEST_f_i): Likewise.
28035 (RUN_TEST_f_i_tg): Likewise.
28036 (RUN_TEST_ff_i_tg): Likewise.
28037 (RUN_TEST_f_b): Likewise.
28038 (RUN_TEST_f_b_tg): Likewise.
28039 (RUN_TEST_f_l): Likewise.
28040 (RUN_TEST_f_L): Likewise.
28041 (RUN_TEST_sincos): Likewise.
28042 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28043 whether to show exceptions. Do not include ");\n" in return
28044 value.
28045 (special_functions): Output call to RUN_TEST_sincos instead of
28046 check_float calls. Update calls to new_test.
28047 (parse_args): Output call to single RUN_TEST_* macro instead of
28048 check_* calls and other assignments. Update calls to new_test.
28049
d8cd06db
JM
28050 [BZ #2546]
28051 [BZ #2560]
28052 [BZ #5159]
28053 [BZ #15426]
28054 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28055 input to result for tgamma overflow.
28056 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28057 (gamma_coeff): New variable.
28058 (NCOEFF): New macro.
28059 (gamma_positive): New function.
28060 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28061 underflow here. Use gamma_positive instead of exp (lgamma) for
28062 other arguments.
28063 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28064 (gamma_coeff): New variable.
28065 (NCOEFF): New macro.
28066 (gammaf_positive): New function.
28067 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28068 underflow here. Use gamma_positive instead of exp (lgamma) for
28069 other arguments.
28070 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28071 (gamma_coeff): New variable.
28072 (NCOEFF): New macro.
28073 (gammal_positive): New function.
28074 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28075 underflow here. Use gamma_positive instead of exp (lgamma) for
28076 other arguments.
28077 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28078 (gamma_coeff): New variable.
28079 (NCOEFF): New macro.
28080 (gammal_positive): New function.
28081 (__ieee754_gammal_r): Handle positive infinity, overflow and
28082 underflow here. Handle NaN the same as positive infinity. Remove
28083 check x < 0xffffffff for negative integers. Use gamma_positive
28084 instead of exp (lgamma) for other arguments.
28085 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28086 (gamma_coeff): New variable.
28087 (NCOEFF): New macro.
28088 (gammal_positive): New function.
28089 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28090 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28091 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28092 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28093 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28094 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28095 * sysdeps/generic/math_private.h (__gamma_productf): New
28096 prototype.
28097 (__gamma_product): Likewise.
28098 (__gamma_productl): Likewise.
28099 * math/Makefile (libm-calls): Add gamma_product.
28100 * math/libm-test.inc (tgamma_test): Add more tests.
28101 * sysdeps/i386/fpu/libm-test-ulps: Update.
28102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28103
bb7cf681
OB
281042013-05-08 Ondřej Bílka <neleai@seznam.cz>
28105
28106 * benchtests/bench-skeleton.c (main): Preheat CPU.
28107
ba853947
AJ
281082013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28109
28110 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28111
8347c74c
RM
281122013-05-07 Roland McGrath <roland@hack.frob.com>
28113
28114 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28115 and _dl_skip_args_internal.
28116
e8dd4791
CD
281172013-05-07 Carlos O'Donell <carlos@redhat.com>
28118
28119 * manual/message.texi (Message Translation): Talk about users.
28120 Message to key mapping impacts design.
28121
c7405830
RM
281222013-05-06 Roland McGrath <roland@hack.frob.com>
28123
a9173057
RM
28124 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28125
976e2f03
RM
28126 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28127
9723ffc5
RM
28128 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28129 * sysdeps/wordsize-64/glob64.c: ... here.
28130
962e6658
RM
28131 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28132 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28133 New macros.
28134
ee586a6d
RM
28135 * debug/getlogin_r_chk.c: Moved to ...
28136 * login/getlogin_r_chk.c: ... here.
28137 * debug/Makefile (routines): Move getlogin_r_chk to ...
28138 * login/Makefile (routines): ... here.
28139 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28140 * login/Versions (libc: GLIBC_2.4): ... here.
28141
355f9165
RM
28142 * io/poll.c (__poll): Renamed from poll.
28143 Add libc_hidden_def.
28144 (poll): Define as weak alias.
28145
bd9ffde6
RM
28146 * debug/ptsname_r_chk.c: Moved to ...
28147 * login/ptsname_r_chk.c: ... here.
28148 * debug/Makefile (routines): Move ptsname_r_chk to ...
28149 * login/Makefile (routines): ... here.
28150 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28151 * login/Versions (libc: GLIBC_2.4): ... here.
28152
8fb16a04
RM
28153 * posix/getlogin.c: Moved to ...
28154 * login/getlogin.c: ... here.
28155 * posix/getlogin_r.c: Moved to ...
28156 * login/getlogin_r.c: ... here.
28157 * posix/getlogin_r.c: Moved to ...
28158 * login/getlogin_r.c: ... here.
28159 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28160 * login/Makefile (routines): ... here.
28161 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28162 * login/Versions (libc: GLIBC_2.0): ... here.
28163
b99b892f
RM
28164 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28165 (setrlimit): Define as weak alias.
28166
c7405830
RM
28167 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28168 Call __ names for open, ftruncate, and close.
28169 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28170 (truncate): Define as weak alias.
28171
5bf96de5
JM
281722013-05-06 Joseph Myers <joseph@codesourcery.com>
28173
9ea3513c
JM
28174 * math/gen-libm-test.pl (parse_args): Initialize x before each
28175 test of frexp, modf and remquo.
28176
5bf96de5
JM
28177 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28178 test signgam value.
28179
16e616a7
AZ
281802013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28181
28182 [BZ #15418]
28183 [BZ #15419]
28184 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28185 internal tests.
28186 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28187
d5e82754
RM
281882013-05-06 Roland McGrath <roland@hack.frob.com>
28189
28190 * elf/dl-writev.h: New file.
28191 * elf/dl-misc.c: Include it.
28192 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28193 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28194
a7548d41
JM
281952013-05-04 Joseph Myers <joseph@codesourcery.com>
28196
b7dab1e4
JM
28197 * math/libm-test.inc (noXFails): Remove variable.
28198 (noXPasses): Likewise.
28199 (BUILD_COMPLEX_INT): Remove macro.
28200 (print_screen): Remove xfail argument.
28201 (print_screen_max_error): Likewise.
28202 (update_stats): Likewise.
28203 (print_max_error): Likewise. Update calls to other affected
28204 functions.
28205 (print_complex_max_error): Likewise.
28206 (test_single_exception): Update calls to print_screen.
28207 (test_single_errno): Likewise.
28208 (check_float_internal): Remove xfail argument. Update calls to
28209 other affected functions.
28210 (check_float): Likewise.
28211 (check_complex): Likewise.
28212 (check_int): Likewise.
28213 (check_long): Likewise.
28214 (check_bool): Likewise.
28215 (check_longlong): Likewise.
28216 (main): Don't print noXFails and noXPasses.
28217 * math/gen-libm-test.pl (top level): Don't mention expected
28218 failure handling in comment.
28219 (new_test): Don't handle expected failures.
28220 (parse_args): Don't mention expected failure handling in comment.
28221 (generate_testfile): Don't handle expected failures.
28222 (parse_ulps): Likewise.
28223 (print_ulps_file): Likewise.
28224 (get_failure): Remove function.
28225 (output_test): Don't handle expected failures.
28226 * make/README.libm-test: Don't mention expected failure handling.
28227
a7548d41
JM
28228 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28229 (minus_zero): Likewise.
28230 (plus_infty): Likewise.
28231 (minus_infty): Likewise.
28232 (qnan_value): Likewise.
28233 (max_value): Likewise.
28234 (min_value): Likewise.
28235 (min_subnorm_value): Likewise.
28236 (initialize): Do not initialize those variables dynamically.
28237
60bfd54c
RM
282382013-05-03 Roland McGrath <roland@hack.frob.com>
28239
cc0e6ed8
RM
28240 * io/open.c (__open_2): Moved to ...
28241 * io/open_2.c: ... this new file.
28242 * io/open64.c (__open64_2): Moved to ...
28243 * io/open64_2.c: ... this new file.
28244 * io/openat.c (__openat_2): Moved to ...
28245 * io/openat_2.c: ... this new file.
28246 * io/openat64.c (__openat64_2): Moved to ...
28247 * io/openat64_2.c: ... this new file.
28248 * io/Makefile (routines): Add them.
28249 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28250 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28251 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28252 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28253 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28254 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28255 (__openat64): Add hidden_ver.
28256 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28257 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28258
60bfd54c
RM
28259 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28260 Separately conditionalize setting of GLRO(dl_sysinfo) so
28261 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28262 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28263
83e7640f
AZ
282642013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28265
28266 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28267 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28268 definition.
28269 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28270 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28271 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28272 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28273 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28274
d5dc2af3
JM
282752013-05-03 Joseph Myers <joseph@codesourcery.com>
28276
c31a5b1e
JM
28277 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28278 test signgam value.
28279
d5dc2af3
JM
28280 * math/libm-test.inc (hypot_test): Do not use
28281 IGNORE_ZERO_INF_SIGN.
28282
164fd39d
AJ
282832013-05-03 Andreas Jaeger <aj@suse.de>
28284
28285 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28286 Linux 3.9.
28287 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28288 (PF_MAX): Adjust for VSOCK change.
28289
8237f48c
AZ
282902013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28291
28292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28293
9df02941
CD
282942013-05-02 Carlos O'Donell <carlos@redhat.com>
28295
28296 [BZ #15264]
28297 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28298 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28299 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28300
d422395e
DM
283012013-05-02 David S. Miller <davem@davemloft.net>
28302
28303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28304
a07c5731
OB
283052013-05-01 Ondřej Bílka <neleai@seznam.cz>
28306
28307 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28308
1324e37f
RM
283092013-05-01 Roland McGrath <roland@hack.frob.com>
28310
28311 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28312
0695940b
RS
283132013-05-01 Richard Smith <richard@metafoo.co.uk>
28314
bb5f27ad 28315 [BZ #14952]
0695940b
RS
28316 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28317 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28318 Use __attribute__ ((__gnu_inline__)).
28319 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28320 Don't use __attribute__ ((__gnu_inline__)).
28321
10de07f5
JM
283222013-05-01 Joseph Myers <joseph@codesourcery.com>
28323
28324 [BZ #15423]
28325 * math/s_catan.c (__catan): Handle small real or imaginary part of
28326 input specially to avoid spurious underflow.
28327 * math/s_catanf.c (__catanf): Likewise.
28328 * math/s_catanh.c (__catanh): Likewise.
28329 * math/s_catanhf.c (__catanhf): Likewise.
28330 * math/s_catanhl.c (__catanhl): Likewise.
28331 * math/s_catanl.c (__catanl): Likewise.
28332 * math/libm-test.inc (catan_test): Add more tests.
28333 (catanh_test): Likewise.
28334 * sysdeps/i386/fpu/libm-test-ulps: Update.
28335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28336
cb4d5414
AZ
283372013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28338
28339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28340
caf84319
JM
283412013-04-30 Joseph Myers <joseph@codesourcery.com>
28342
28343 [BZ #15416]
28344 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28345 accurately for denominator in atan2.
28346 * math/s_catanf.c (__catanf): Likewise.
28347 * math/s_catanh.c (__catanh): Likewise.
28348 * math/s_catanhf.c (__catanhf): Likewise.
28349 * math/s_catanhl.c (__catanhl): Likewise.
28350 * math/s_catanl.c (__catanl): Likewise.
28351 * math/libm-test.inc (catan_test): Add more tests.
28352 (catanh_test): Likewise.
28353 * sysdeps/i386/fpu/libm-test-ulps: Update.
28354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28355
d569c6ee
SP
283562013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28357
6dbe713d
SP
28358 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28359
f0ee064b
SP
28360 * benchtests/Makefile (bench): Remove slow benchmarks.
28361 * benchtests/atan-inputs: Add slow benchmark inputs.
28362 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28363 (BENCH_FUNC): Accept variant offset.
28364 (VARIANT): Define.
28365 * benchtests/bench-skeleton.c (main): Run benchmark for each
28366 variant.
28367 * benchtests/cos-inputs: Add slow benchmark inputs.
28368 * benchtests/exp-inputs: Likewise.
28369 * benchtests/pow-inputs: Likewise.
28370 * benchtests/sin-inputs: Likewise.
28371 * benchtests/slowatan-inputs: Remove.
28372 * benchtests/slowatan.c: Remove.
28373 * benchtests/slowcos-inputs: Remove.
28374 * benchtests/slowcos.c: Remove.
28375 * benchtests/slowexp-inputs: Remove.
28376 * benchtests/slowexp.c: Remove.
28377 * benchtests/slowpow-inputs: Remove.
28378 * benchtests/slowpow.c: Remove.
28379 * benchtests/slowsin-inputs: Remove.
28380 * benchtests/slowsin.c: Remove.
28381 * benchtests/slowtan-inputs: Remove.
28382 * benchtests/slowtan.c: Remove.
28383 * benchtests/tan-inputs: Add slow benchmark inputs.
28384 * scripts/bench.pl: Parse comments and directives.
28385
d569c6ee
SP
28386 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28387 in CPPFLAGS.
28388 ($(objpfx)bench-%.c): Remove *-ITER.
28389 * benchtests/bench-modf.c: Remove definition of ITER.
28390 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28391 (main): Loop for DURATION seconds instead of fixed number of
28392 iterations.
28393 * scripts/bench.pl: Don't expect iterations in parameters.
28394
a6a242fe
RM
283952013-04-29 Roland McGrath <roland@hack.frob.com>
28396
28397 * io/fchdir.c (__fchdir): Renamed from fchdir.
28398 (fchdir): Define as weak alias.
28399
f2da7793
JM
284002013-04-29 Joseph Myers <joseph@codesourcery.com>
28401
28402 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28403 (ERRNO_EDOM): Likewise.
28404 (ERRNO_ERANGE): Likewise.
28405 (noErrnoTests): New variable.
28406 (init_max_error): Set errno to 0.
28407 (test_single_errno): New function.
28408 (test_errno): Likewise.
28409 (check_float_internal): Call test_errno. Set errno to 0.
28410 (check_complex): Refer to errno tests in comment.
28411 (check_int): Call test_errno. Set errno to 0.
28412 (check_long): Likewise.
28413 (check_bool): Likewise.
28414 (check_longlong): Likewise.
28415 (cos_test): Use ERRNO_* flags for errno tests instead of
28416 check_int.
28417 (expm1_test): Likewise.
28418 (fmod_test): Likewise.
28419 (ilogb_test): Likewise.
28420 (lgamma_test): Likewise.
28421 (pow_test): Likewise.
28422 (remainder_test): Likewise.
28423 (sin_test): Likewise.
28424 (tan_test): Likewise.
28425 (yn_test): Likewise.
28426 (initialize): Set errno to 0.
28427 (main): Print number of errno tests.
28428 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28429
b1a36ceb
AJ
284302013-04-29 Andreas Jaeger <aj@suse.de>
28431
c3ed8088
AJ
28432 [BZ #15084]
28433 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28434 and RES_USEVC.
28435
f1a24198
AJ
28436 [BZ #15085]
28437 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28438 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28439 unimplemented.
28440
9ce3b2cb
AJ
28441 [BZ #15380]
28442 * stdlib/random.c (__initstate): Return NULL if
28443 __initstate fails.
28444
f1a24198 28445 [BZ #15086]
b1a36ceb
AJ
28446 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28447 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28448 RES_SNGLKUPREOP.
28449
7e7b6f36
AZ
284502013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28451
28452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28453
4d14f449
JM
284542013-04-29 Joseph Myers <joseph@codesourcery.com>
28455
28456 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28457 of individual tests.
28458 (casin_test): Likewise.
28459 (casinh_test): Likewise.
28460
5b4217d7
JM
284612013-04-27 Joseph Myers <joseph@codesourcery.com>
28462
28463 [BZ #15409]
28464 * math/s_catan.c (__catan): Handle arguments with large real or
28465 imaginary part separately without squaring.
28466 * math/s_catanf.c (__catanf): Likewise.
28467 * math/s_catanh.c (__catanh): Likewise.
28468 * math/s_catanhf.c (__catanhf): Likewise.
28469 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28470 and redefine.
28471 (__catanhl): Handle arguments with large real or imaginary part
28472 separately without squaring.
28473 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28474 and redefine.
28475 (__catanl): Handle arguments with large real or imaginary part
28476 separately without squaring.
28477 * math/libm-test.inc (catan_test): Add more tests.
28478 (catanh_test): Likewise.
28479 * sysdeps/i386/fpu/libm-test-ulps: Update.
28480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28481
4220c3ef
AJ
284822013-04-27 Andreas Jaeger <aj@suse.de>
28483
28484 [BZ #15007]
28485 * stdlib/stdlib.h: Update guards for qecvt.
28486 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28487 <stdlib.h>.
28488
4721b2d1
AM
284892013-04-27 Allan McRae <allan@archlinux.org>
28490
28491 * sysdeps/i386/fpu/libm-test-ulps: Update.
28492
f0302940
JM
284932013-04-26 Joseph Myers <joseph@codesourcery.com>
28494
9457fd95
JM
28495 [BZ #15406]
28496 * math/s_catan.c: Include <float.h>.
28497 (__catan): Ensure underflow exception occurs for underflowed
28498 result.
28499 * math/s_catanf.c: Include <float.h>.
28500 (__catanf): Ensure underflow exception occurs for underflowed
28501 result.
28502 * math/s_catanh.c: Include <float.h>.
28503 (__catanh): Ensure underflow exception occurs for underflowed
28504 result.
28505 * math/s_catanhf.c: Include <float.h>.
28506 (__catanhf): Ensure underflow exception occurs for underflowed
28507 result.
28508 * math/s_catanhl.c: Include <float.h>.
28509 (__catanhl): Ensure underflow exception occurs for underflowed
28510 result.
28511 * math/s_catanl.c: Include <float.h>.
28512 (__catanl): Ensure underflow exception occurs for underflowed
28513 result.
28514 * math/libm-test.inc (catan_test): Add more tests.
28515 (catanh_test): Likewise.
28516
f0302940
JM
28517 [BZ #15405]
28518 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28519 underflowed result.
28520 * math/s_ccoshf.c (__ccoshf): Likewise.
28521 * math/s_ccoshl.c (__ccoshl): Likewise.
28522 * math/s_csin.c (__csin): Likewise.
28523 * math/s_csinf.c (__csinf): Likewise.
28524 * math/s_csinh.c (__csinh): Likewise.
28525 * math/s_csinhf.c (__csinhf): Likewise.
28526 * math/s_csinhl.c (__csinhl): Likewise.
28527 * math/s_csinl.c (__csinl): Likewise.
28528 * math/libm-test.inc (ccos_test): Add more tests.
28529 (ccosh_test): Likewise.
28530 (csin_test): Likewise.
28531 (csinh_test): Likewise.
28532
aa630f59
AZ
285332013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28534
28535 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28536 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28537 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28538 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28539 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28540 powerpc/power5+/fpu folders.
28541 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28542
28543
1b835983
MT
285442013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28545
28546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28547
73709b26
JM
285482013-04-25 Joseph Myers <joseph@codesourcery.com>
28549
28550 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28551 additions to variable.
28552 [$(config-machine) = x86_64] (modules-names): Likewise.
28553 ($(objpfx)tst-audit3): Remove dependency.
28554 ($(objpfx)tst-audit3.out): Likewise.
28555 ($(objpfx)tst-audit4): Likewise.
28556 ($(objpfx)tst-audit4.out): Likewise.
28557 ($(objpfx)tst-audit5): Likewise.
28558 ($(objpfx)tst-audit5.out): Likewise.
28559 ($(objpfx)tst-audit6): Likewise.
28560 ($(objpfx)tst-audit6.out): Likewise.
28561 ($(objpfx)tst-audit7): Likewise.
28562 ($(objpfx)tst-audit7.out): Likewise.
28563 (tst-audit3-ENV): Remove variable.
28564 (tst-audit4-ENV): Likewise.
28565 (tst-audit5-ENV): Likewise.
28566 (tst-audit6-ENV): Likewise.
28567 (tst-audit7-ENV): Likewise.
28568 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28569 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28570 addition to variable.
28571 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28572 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28573 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28574 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28575 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28576 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28577 tst-audit3, tst-audit4 and tst-audit5.
28578 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28579 tst-audit6 and tst-audit7.
28580 [$(subdir) = elf] (modules-names): Add audit modules for those
28581 tests.
28582 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28583 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28584 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28585 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28586 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28587 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28588 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28589 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28590 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28591 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28592 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28593 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28594 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28595 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28596 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28597 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28598 Likewise.
28599 [$(subdir) = elf && $(config-cflags-avx) = yes]
28600 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28601 [$(subdir) = elf && $(config-cflags-avx) = yes]
28602 (CFLAGS-tst-auditmod4a.c): Likewise.
28603 [$(subdir) = elf && $(config-cflags-avx) = yes]
28604 (CFLAGS-tst-auditmod4b.c): Likewise.
28605 [$(subdir) = elf && $(config-cflags-avx) = yes]
28606 (CFLAGS-tst-auditmod6b.c): Likewise.
28607 [$(subdir) = elf && $(config-cflags-avx) = yes]
28608 (CFLAGS-tst-auditmod6c.c): Likewise.
28609 [$(subdir) = elf && $(config-cflags-avx) = yes]
28610 (CFLAGS-tst-auditmod7b.c): Likewise.
28611 * elf/tst-audit3.c: Move to ...
28612 * sysdeps/x86_64/tst-audit3.c: ... here.
28613 * elf/tst-audit4.c: Move to ...
28614 * sysdeps/x86_64/tst-audit4.c: ... here.
28615 * elf/tst-audit5.c: Move to ...
28616 * sysdeps/x86_64/tst-audit5.c: ... here.
28617 * elf/tst-audit6.c: Move to ...
28618 * sysdeps/x86_64/tst-audit6.c: ... here.
28619 * elf/tst-audit7.c: Move to ...
28620 * sysdeps/x86_64/tst-audit7.c: ... here.
28621 * elf/tst-auditmod3a.c: Move to ...
28622 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28623 * elf/tst-auditmod3b.c: Move to ...
28624 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28625 * elf/tst-auditmod4a.c: Move to ...
28626 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28627 * elf/tst-auditmod4b.c: Move to ...
28628 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28629 * elf/tst-auditmod5a.c: Move to ...
28630 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28631 * elf/tst-auditmod5b.c: Move to ...
28632 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28633 * elf/tst-auditmod6a.c: Move to ...
28634 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28635 * elf/tst-auditmod6b.c: Move to ...
28636 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28637 * elf/tst-auditmod6c.c: Move to ...
28638 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28639 * elf/tst-auditmod7a.c: Move to ...
28640 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28641 * elf/tst-auditmod7b.c: Move to ...
28642 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28643
1ef74943
PP
286442013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28645
28646 [BZ #15366]
28647 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28648 define unconditionally.
28649 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28650 define unconditionally.
28651 (INT8_C, INT16_C, etc.): Likewise.
28652
93fd48c5
MR
286532013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28654
ae9552cf
MR
28655 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28656 __ehdr_start with hidden visibility.
28657
93fd48c5
MR
28658 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28659
418601aa
CD
286602013-04-24 Carlos O'Donell <carlos@redhat.com>
28661
28662 * math/libm-test.inc (cos_test): Use accurate hex constants.
28663 (sincost_test): Likewise.
28664
2f38fbfe
JM
286652013-04-24 Joseph Myers <joseph@codesourcery.com>
28666
5e221800
JM
28667 * math/libm-test.inc (catan_test): Add more tests.
28668 (catanh_test): Likewise.
28669
77f143fd
JM
28670 * math/s_catanf.c (__catanf): Use suffixed floating-point
28671 constants.
28672 * math/s_catanhf.c (__catanhf): Likewise.
28673 * math/s_catanhl.c (__catanhl): Likewise.
28674 * math/s_catanl.c (__catanl): Likewise.
28675
2f38fbfe
JM
28676 [BZ #15394]
28677 * math/s_catan.c (__catan): Calculate imaginary part of result
28678 with log1p not log unless computing log of number close to 0.
28679 * math/s_catanf.c (__catanf): Likewise.
28680 * math/s_catanl.c (__catanl): Likewise.
28681 * math/s_catanh.c (__catanh): Calculate real part of result with
28682 log1p not log unless computing log of number close to 0.
28683 * math/s_catanhf.c (__catanhf): Likewise.
28684 * math/s_catanhl.c (__catanhl): Likewise.
28685 * math/libm-test.inc (catan_test): Add more tests.
28686 (catanh_test): Likewise.
28687 * sysdeps/i386/fpu/libm-test-ulps: Update.
28688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28689
45d69176
SP
286902013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28691
28692 * benchtests/Makefile: Mention files in which fast and slow
28693 paths of math functions are implemented.
28694
87f51853
RM
286952013-04-23 Roland McGrath <roland@hack.frob.com>
28696
28697 * sysdeps/posix/timespec_get.c: New file.
28698
3c026539
AZ
286992013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28700
28701 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28702 POWER.
28703 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28704 for POWER.
28705 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28706 powerpc/power5/fpu folders.
28707 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28708 * benchtests/Makefile: Add modf testcase.
28709 * benchtests/bench-modf.c: New file: Benchmark test for mo
28710
ff491d14
SP
287112013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28712
28713 [BZ #14888]
28714 * time/Makefile (tests): Add tst-strptime-whitespace.
28715 * time/strptime_l.c (get_number): Use ISSPACE.
28716 (__strptime_internal): Likewise.
28717 * time/tst-strptime-whitespace.c: New test case.
28718
7ed3f4e8
AS
287192013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28720
28721 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28722 member.
28723 (_nss_files_init): Set it here.
28724
5c95f7b6
HC
287252013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28726
28727 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28728 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28729 unsigned.
28730
d34c9158
JBG
287312013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28732
28733 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28734
2169712d
SP
287352013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28736
28737 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28738 size just once.
28739
29c5de99
DM
287402013-04-21 David S. Miller <davem@davemloft.net>
28741
28742 * po/ru.po: Update Russion translation from translation project.
28743
ccdad15d
AC
287442013-04-17 Adam Conrad <adconrad@0c3.net>
28745
28746 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28747 and setfsgid.
28748
0f122b8d
CD
287492013-04-17 Carlos O'Donell <carlos@redhat.com>
28750
5c5b07da 28751 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 28752 * configure: Regenerate.
5c5b07da 28753 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
28754 Add example to error message.
28755 * sysdeps/i386/configure: Regenerate.
28756
037714dd
SP
287572013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28758
28759 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28760 slowtan.
28761 * benchtests/cos-inputs: New file.
28762 * benchtests/slowcos-inputs: New file.
28763 * benchtests/slowcos.c: New file.
28764 * benchtests/slowtan-inputs: New file.
28765 * benchtests/slowtan.c: New file.
28766 * benchtests/tan-inputs: New file.
28767
e913141d
RM
287682013-04-16 Roland McGrath <roland@hack.frob.com>
28769
28770 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28771 considered kosher.
28772
a2964074
SP
287732013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28774
4856bcd2
SP
28775 * benchtests/Makefile: Include cppflags-iterator.mk to add
28776 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28777
a2964074
SP
28778 * Makefile.in (bench-clean): New target.
28779 * benchtests/Makefile (bench-clean): Likewise.
28780
9fbf9aca
DH
287812013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28782
28783 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28784
207d1e2a
TS
287852013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28786
28787 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28788
306dfba9
AS
287892013-04-15 Andreas Schwab <schwab@suse.de>
28790
28791 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28792 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28793 * nscd/pwdcache.c (cache_addpw): Likewise.
28794 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28795 more than recsize.
28796
206a6699
SP
287972013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28798
28799 * benchtests/Makefile (bench): Write all output to
28800 bench-out.tmp together.
28801
0582f6b3
AS
288022013-04-15 Andreas Schwab <schwab@suse.de>
28803
28804 * nscd/nscd.c (main): Don't fork again after closing files.
28805
acb4325f
SP
288062013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28807
5cb26d0a
SP
28808 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28809
acb4325f
SP
28810 * benchtests/Rules (bench-deps): Collect dependencies into a
28811 single variable. Add Makefile to dependencies.
28812 ($(objpfx)bench-%.c): Depend on bench-deps.
28813
47792506
RM
288142013-04-12 Roland McGrath <roland@hack.frob.com>
28815 Xavier Roche <roche+kml2@exalead.com>
28816
28817 [BZ #15361]
28818 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28819 just that it's a file descriptor.
28820 * manual/llio.texi (Synchronizing AIO Operations): Update description
28821 for EBADF error from aio_fsync.
28822
8fc1bee5
SP
288232013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28824
28825 * Rules (bench): Move target definition...
28826 * benchtests/Makefile: ... here.
28827
aba5e333
CD
288282013-04-11 Carlos O'Donell <carlos@redhat.com>
28829
28830 * math/libm-test.inc (cos_test): Fix PI/2 test.
28831 (sincos_test): Likewise.
28832 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28833 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28834
273cdee8
AS
288352013-04-11 Andreas Schwab <schwab@suse.de>
28836
6ecec3b6
AS
28837 [BZ #13988]
28838 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28839 accept exponent character only when digits were seen.
28840 * stdio-common/Makefile (tests): Add bug26.
28841 * stdio-common/bug26.c: New file.
28842
273cdee8
AS
28843 [BZ #14293]
28844 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28845 non-freeable.
28846
8da491f5
SP
288472013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28848
01dc6df9
SP
28849 * Makeconfig (rtld-prefix): Define built linker prefix.
28850 * Rules (run-bench): Use it.
28851 * math/Makefile (run-regen-ulps): Likewise.
28852
8da491f5
SP
28853 * Rules (bench): Remove eval.
28854
abe7f530
SP
288552013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28856 Roland McGrath <roland@hack.frob.com>
28857 Ondrej Bilka <neleai@seznam.cz>
28858
28859 [BZ #15346]
28860 * time/getdate.c: Include ctype.h and alloca.h.
28861 (__getdate_r): Trim leading and trailing spaces of input.
28862 * time/tst-getdate.c (tests): Add tests with leading and
28863 trailing spaces.
28864
61c23e62
RM
288652013-04-08 Roland McGrath <roland@hack.frob.com>
28866
28867 [BZ #14280]
28868 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28869 when computing value.
28870
7208a313
CD
288712013-04-06 Carlos O'Donell <carlos@redhat.com>
28872
085b2d41
CD
28873 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28874 Use testrun.sh to run libm tests.
28875
7208a313
CD
28876 [BZ #15309]
28877 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28878
872c0acd
MM
288792013-04-06 Marko Myllynen <myllynen@redhat.com>
28880
28881 [BZ #15264]
28882 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28883
26510bdd
CD
288842013-04-06 Carlos O'Donell <carlos@redhat.com>
28885
28886 * Makefile.in (regen-ulps): New target.
28887 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28888 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28889 [ifneq (no,$(PERL)] (regen-ulps): New target.
28890 [ifeq (no,$(PERL)] (regen-ulps): New target.
28891 * math/libm-test.inc (ulps_file_name): Define.
28892 (output_dir): New variable.
28893 (options): Add "output-dir" option.
28894 (parse_opt): Handle 'o' case.
28895 (main): If output_dir is non-NULL use it as a prefix
28896 otherwise use "".
28897 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28898
a01f19c8
CD
288992013-04-06 Carlos O'Donell <carlos@redhat.com>
28900
28901 [BZ #10060, #10062]
28902 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28903 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28904 fail configure if __sync_val_compare_and_swap is not inlined.
28905 * sysdeps/i386/configure: Regenerate.
28906 * configure.in: Build for i686 when configured for i386.
28907 * configure: Regenerate.
28908 * README: Remove i386 reference.
28909
b7a329a5
CD
289102013-04-06 Carlos O'Donell <carlos@redhat.com>
28911
28912 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28913 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28914
bf0f50df
TS
289152013-04-05 Thomas Schwinge <thomas@codesourcery.com>
28916
ee091edf
TS
28917 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28918 (lmsnanval): New variables.
28919 (F): Add conversion tests.
28920 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28921 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28922
a8b792d6
TS
28923 * stdio-common/tstdiomisc.c (F): Properly collect individual
28924 tests' results.
28925
a1cbf437
TS
28926 [BZ #14686, #15336]
28927 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28928 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28929 Instead, use input NaN values or generate a qNaN by arithmetic
28930 operation. Also fix bugs to comply with the standard.
28931 * math/libm-test.inc (remainder_test): Add more tests.
28932
8b43a0c9
TS
28933 [BZ #15335, #15342]
28934 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28935 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28936 input NaN values or generate a qNaN by arithmetic operation.
28937
d91da4ce
TS
28938 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28939 unreachable code.
28940
bf0f50df
TS
28941 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28942 definitions.
28943
05e166c8
JM
289442013-04-03 Joseph Myers <joseph@codesourcery.com>
28945
28946 [BZ #14478]
28947 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28948 underflowed result.
28949 * math/s_cexpf.c (__cexpf): Likewise.
28950 * math/s_cexpl.c (__cexpl): Likewise.
28951 * math/libm-test.inc (cexp_test): Add more tests.
28952
1cef1b19
AS
289532013-04-03 Andreas Schwab <schwab@suse.de>
28954
28955 [BZ #15330]
28956 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28957 order arrays from heap if bigger than alloca cutoff.
28958
74d87055
TS
289592013-04-03 Thomas Schwinge <thomas@codesourcery.com>
28960
28961 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28962 (SNAN_TESTS_double): Refer to GCC PR56831.
28963 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28964 GCC PR56828.
28965
d755bba4
SP
289662013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28967
90d5d5bb
SP
28968 * Rules (bench): Move bench.out after the run is complete.
28969
73e0cd5d
SP
28970 * Rules (bench): Echo currently running benchmark.
28971
64aabd4b
SP
28972 * benchtests/Makefile (bench): Add atan and slowatan.
28973 * benchtests/atan-inputs: New file.
28974 * benchtests/slowatan-inputs: New file.
28975 * benchtests/slowatan.c: New file.
28976
c871eccd
SP
28977 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28978 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28979 its value.
28980
d755bba4
SP
28981 [BZ #15305]
28982 * sysdeps/unix/sysv/linux/kernel-features.h
28983 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28984 __ASSUME_XFS_RESTRICTED_CHOWN.
28985 * sysdeps/unix/sysv/linux/pathconf.c
28986 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28987 Save and restore errno.
28988
52ce4860
JM
289892013-04-02 Joseph Myers <joseph@codesourcery.com>
28990
28991 [BZ #15327]
28992 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28993 arguments using __kernel_casinh.
28994 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28995 arguments using __kernel_casinhf.
28996 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28997 arguments using __kernel_casinhl.
28998 * math/libm-test.inc (cacosh_test): Add more tests.
28999 * sysdeps/i386/fpu/libm-test-ulps: Update.
29000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29001
81f311c2
SP
290022013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29003
e7906a47
SP
29004 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29005 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29006
92e3664b
SP
29007 * bench/Makefile (bench): Add sin and slowsin.
29008 * benchtests/sin-inputs: New file.
29009 * benchtests/slowsin-inputs: New file.
29010 * benchtests/slowsin.c: New file.
29011
81f311c2
SP
29012 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29013 (bench): Add slowexp and slowpow.
29014 (exp-ITER): Increase iterations.
29015 (pow-ITER): Likewise.
29016 * benchtests/exp-inputs: Change input.
29017 * benchtests/pow-inputs: Likewise.
29018 * benchtests/slowexp-inputs: New file.
29019 * benchtests/slowexp.c: New file.
29020 * benchtests/slowpow-inputs: New file.
29021 * benchtests/slowpow.c: New file.
29022
ab0f1aa9
AZ
290232013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29024
29025 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29026 instructions.
29027 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29028 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29029 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29030 * benchtests/Makefile: Add rint benchtest.
29031 * benchtests/rint-inputs: Input for rint benchtest.
29032
57267616
TS
290332013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29034
29035 * Versions.def (libm): Add GLIBC_2.18.
29036 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29037 hidden libm prototypes.
29038 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29039 * math/Makefile (libm-calls): Add s_issignaling.
29040 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29041 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29042 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29043 declaration.
29044 * math/math.h [__USE_GNU] (issignaling): New macro.
29045 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29046 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29047 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29048 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29049 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29050 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29051 * manual/arith.texi (issignaling): New section.
29052 * manual/libm-err-tab.pl (@all_functions): Update comment.
29053 * math/gen-libm-test.pl (parse_args): Apply special handling for
29054 issignaling.
29055 * math/libm-test.inc (print_float, issignaling_test): New
29056 functions.
29057 (check_float_internal): Add issignaling checks.
29058 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29059 default definition.
29060 * sysdeps/powerpc/math-tests.h: New file.
29061 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29062 tests.
29063 * math/test-snan.c (TEST_FUNC): Likewise.
29064
6142896d
DM
290652013-03-30 David S. Miller <davem@davemloft.net>
29066
29067 * po/de.po: Update from translation team.
29068
ccc8cadf
JM
290692013-03-30 Joseph Myers <joseph@codesourcery.com>
29070
29071 [BZ #10357]
29072 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29073 imaginary part less than 1.0 and real part less than 0.5
29074 specially.
29075 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29076 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29077 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29078 (cacos_test): Add more tests.
29079 (casin_test): Likewise.
29080 (casinh_test): Likewise.
29081 * sysdeps/i386/fpu/libm-test-ulps: Update.
29082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29083
0f6a8d4b
SP
290842013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29085
0d1029de
SP
29086 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29087 ONE with its value.
29088
c2d94018
SP
29089 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29090 (__pow_mp): Replace ONE and MONE with their values.
29091 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29092 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29093 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29094 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29095 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29096 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29097
27ec37f1
SP
29098 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29099
a64d7e0e
SP
29100 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29101 (__pow_mp): Replace ZERO and MZERO with their values.
29102 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29103 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29104 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29105 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29106 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29107 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29108 (__sqr): Likewise.
29109
d26dd3eb
SP
29110 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29111
0f6a8d4b
SP
29112 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29113
e57b0c61
RM
291142013-03-28 Roland McGrath <roland@hack.frob.com>
29115
29116 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29117 Declare with __attribute__ ((weak)).
29118 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29119 Call __call_tls_dtors only if it's not NULL.
29120
356b3480
RM
291212013-03-28 Roland McGrath <roland@hack.frob.com>
29122
288f7d79
RM
29123 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29124 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29125 magic __ehdr_start linker symbol if it's defined.
29126 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29127 them up here if it was already done.
29128
dc0a0263
RM
29129 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29130 (_dl_aux_init): Use const in cast when setting it.
29131 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29132 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29133 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29134
3d3436ae
RM
29135 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29136 Declare them here.
29137 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29138 * csu/libc-tls.c: Nor here.
29139 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29140
356b3480
RM
29141 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29142 (__libc_message): Never call vsyslog.
29143
b0f1246a
AM
291442013-03-28 Alan Modra <amodra@gmail.com>
29145
29146 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29147 Define as empty.
29148 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29149 Likewise.
29150
fbbe2b9a
AZ
291512013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29152
29153 [BZ #15214]
29154 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29155 underflow.
29156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29157
1728ab37
SP
291582013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29159
7a86be6e
SP
29160 [BZ #15304]
29161 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29162 Don't add gid passed as argument.
29163
1728ab37
SP
29164 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29165
3a7182a1
JM
291662013-03-27 Joseph Myers <joseph@codesourcery.com>
29167
29168 [BZ #15307]
29169 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29170 imaginary part between 1.0 and 1.5 and real part less than 0.5
29171 specially.
29172 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29173 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29174 * math/libm-test.inc (cacos_test): Add more tests.
29175 (casin_test): Likewise.
29176 (casinh_test): Likewise.
29177 * sysdeps/i386/fpu/libm-test-ulps: Update.
29178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29179
6f2e90e7
SP
291802013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29181
5739f705
SP
29182 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29183 constants.
29184 (norm): Likewise.
29185 (denorm): Likewise.
29186 (__dbl_mp): Likewise.
29187 (add_magnitudes): Likewise.
29188 (sub_magnitudes): Likewise.
29189 (__add): Likewise.
29190 (__sub): Likewise.
29191 (__mul): Likewise.
29192 (__sqr): Likewise.
29193 (__inv): Likewise.
29194 (__dvd): Likewise.
29195
e375e83d
SP
29196 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29197 commented code.
29198 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29199 (__dubcos): Likewise.
29200 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29201 (__ieee754_acos): Likewise.
29202 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29203 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29204 (__exp1): Likewise.
29205 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29206 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29207 (log1): Likewise.
29208 (my_log2): Likewise.
29209 (checkint): Likewise.
29210 * sysdeps/ieee754/dbl-64/e_remainder.c
29211 (__ieee754_remainder): Likewise.
29212 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29213 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29214 (bsloww): Likewise.
29215 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29216
6f2e90e7
SP
29217 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29218 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29219 MANTISSA_STORE_T to store computations on mantissa. Use
29220 macros for rounding and division.
29221 (denorm): Likewise.
29222 (__dbl_mp): Likewise.
29223 (add_magnitudes): Likewise.
29224 (sub_magnitudes): Likewise.
29225 (__mul): Likewise.
29226 (__sqr): Likewise.
29227 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29228 powers of two in terms of TWOPOW macro.
29229 (mp_no): Make type of mantissa as MANTISSA_T.
29230 [!RADIXI]: Define RADIXI.
29231 [!TWO52]: Define TWO52.
29232 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29233
fce14d4e
AZ
292342013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29235
29236 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29237 llroundl symbol when building for PPC32.
29238
9ad027fb
MW
292392013-03-24 Mark H Weaver <mhw@netris.org>
29240
29241 * manual/arith.texi (Normalization Functions): Fix prototypes for
29242 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29243
e42a38dd
AZ
292442013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29245
29246 [BZ #13889]
29247 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29248 high value to check if expl overflow.
29249 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29250 to check for underflow and overflow.
29251 * math/libm-test.inc: Add exp test.
29252
2e0fb521
DL
292532013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29254
29255 [BZ #11120]
29256 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29257 with NOT_IN_libc.
29258
b5784d95
AZ
292592013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29260
29261 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29262 symbol.
29263
5aa4a1a1
TS
292642013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29265
bdef0be7
TS
29266 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29267 wrap blocks consisting of several statements.
29268
5aa4a1a1
TS
29269 * sysdeps/generic/math-tests.h: New file.
29270 * sysdeps/i386/fpu/math-tests.h: Likewise.
29271 * math/test-snan.c: Include it.
29272 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29273
98c48fe5
JM
292742013-03-21 Joseph Myers <joseph@codesourcery.com>
29275
29276 [BZ #15285]
29277 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29278 (__ieee754_j0l): Do not improve calculations using cos of twice
29279 input for inputs above LDBL_MAX / 2.0L.
29280 (__ieee754_y0l): Likewise.
29281 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29282 (__ieee754_j1l): Do not improve calculations using cos of twice
29283 input for inputs above LDBL_MAX / 2.0L.
29284 (__ieee754_y1l): Likewise.
29285 * math/libm-test.inc (j0_test): Add another test.
29286 (j1_test): Likewise.
29287 (y0_test): Likewise.
29288 (y1_test): Likewise.
29289 * sysdeps/i386/fpu/libm-test-ulps: Update.
29290
3775a8bc
SP
292912013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29292
29293 * Rules ($(objpfx)bench-%.c): Include code from a C source
29294 file.
29295
0a1b2ae6
JM
292962013-03-21 Joseph Myers <joseph@codesourcery.com>
29297
29298 [BZ #15287]
29299 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29300 imaginary part 1.0 and real part less than 0.5 specially.
29301 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29302 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29303 * math/libm-test.inc (cacos_test): Add more tests.
29304 (casin_test): Likewise.
29305 (casinh_test): Likewise.
29306 * sysdeps/i386/fpu/libm-test-ulps: Update.
29307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29308
b33d4ce4
SP
293092013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29310
29311 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29312 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29313
bef0b507
JM
293142013-03-20 Joseph Myers <joseph@codesourcery.com>
29315
29316 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29317 * config.make.in (config-cflags-sse4): Remove variable.
29318 (config-cflags-avx): Likewise.
29319 (config-cflags-sse2avx): Likewise.
29320 (config-cflags-novzeroupper): Likewise.
29321 (config-asflags-i686): Likewise.
29322 (have-mfma4): Likewise.
29323 (have-as-vis3): Likewise.
29324 (MIG): Likewise.
29325 * configure.in (MIG): Do not AC_SUBST.
29326 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29327 (libc_cv_cc_sse4): Do not AC_SUBST.
29328 (libc_cv_cc_avx): Likewise.
29329 (libc_cv_cc_sse2avx): Likewise.
29330 (libc_cv_cc_novzeroupper): Likewise.
29331 (libc_cv_cc_fma4): Likewise.
29332 (libc_cv_as_i686): Likewise.
29333 (libc_cv_sparc_as_vis3): Likewise.
29334 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29335 LIBC_CONFIG_VAR.
29336 (config-asflags-i686): Likewise.
29337 (config-cflags-avx): Likewise.
29338 (config-cflags-sse2avx): Likewise.
29339 (have-mfma4): Likewise.
29340 (config-cflags-novzeroupper): Likewise.
29341 * sysdeps/mach/configure.in (MIG): Likewise.
29342 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29343 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29344 LIBC_CONFIG_VAR.
29345 (config-cflags-avx): Likewise.
29346 (config-cflags-sse2avx): Likewise.
29347 (have-mfma4): Likewise.
29348 (config-cflags-novzeroupper): Likewise.
29349 * configure: Regenerated.
29350 * sysdeps/i386/configure: Likewise.
29351 * sysdeps/mach/configure: Likewise.
29352 * sysdeps/sparc/configure: Likewise.
29353 * sysdeps/x86_64/configure: Likewise.
29354
912cc4b3
RM
293552013-03-20 Roland McGrath <roland@hack.frob.com>
29356
29357 [BZ #14812]
29358 * locale/programs/localedef.c (options): Put N_ translation marker
29359 on argument names, not just descriptions.
29360
04eed2b0
MS
293612013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29362
29363 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29364
a065ceff
OB
293652013-03-20 Ondřej Bílka <neleai@seznam.cz>
29366
9bb2a810 29367 [BZ #14176]
a065ceff
OB
29368 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29369
a600e5ce
RM
293702013-03-19 Roland McGrath <roland@hack.frob.com>
29371
29372 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29373 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29374 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29375 [!BEFORE_ABORT] (before_abort): New function.
29376 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29377 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29378 (writev_for_fatal): New function.
29379 (WRITEV_FOR_FATAL): New macro; call that.
29380 (backtrace_and_maps): New function.
29381 (BEFORE_ABORT): New macro; call that.
29382 (struct str_list): Type removed.
29383 (__libc_message, __libc_fatal): Functions removed.
29384 Include <sysdeps/posix/libc_fatal.c> instead.
29385
6b18bea6
JM
293862013-03-19 Joseph Myers <joseph@codesourcery.com>
29387
29388 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29389 constants.
29390 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29391 double constants.
29392
aaa8cb4b
AS
293932013-03-19 Andreas Schwab <schwab@suse.de>
29394
44673770
AS
29395 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29396 * sysdeps/gnu/configure: Regenerate.
29397
aaa8cb4b
AS
29398 * configure.in: Substitute libc_cv_rtlddir.
29399 * configure: Regenerate.
29400 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29401 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29402 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29403 * elf/Makefile (install-others, CFLAGS-interp.c)
29404 (ldso_install, common-ldd-rewrite): Likewise.
29405 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29406 $(inst_slibdir)/$(rtld-installed-name).
29407 * scripts/rellns-sh: Add -p option.
29408 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29409 for source.
29410
d3cfc668
SP
294112013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29412
29413 * manual/nptl.texi: Renamed to ...
29414 * manual/threads.texi: ... this.
29415 * manual/Makefile (chapters): Update.
29416
0e2b9cdd
RM
294172013-03-18 Roland McGrath <roland@hack.frob.com>
29418
29419 [BZ #14812]
29420 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29421 on argument names, not just descriptions.
0e2b9cdd
RM
29422 * malloc/memusagestat.c (options): Likewise.
29423 * nss/getent.c (options): Likewise.
63270c24
RM
29424
294252013-03-18 Benno Schulenberg <bensberg@justemail.net>
29426
29427 [BZ #14812]
29428 * iconv/iconv_prog.c (options): Put N_ translation marker
29429 on argument names, not just descriptions.
29430 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 29431
b2e1393c
OB
294322013-03-18 Ondrej Bilka <neleai@seznam.cz>
29433
29434 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29435 implementation which is faster on all x86_64 architectures.
29436 Tested on AMD, Intel Nehalem, SNB, IVB.
29437 * sysdeps/x86_64/strnlen.S: Likewise.
29438
29439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29440 Remove all multiarch strlen and strnlen versions.
29441 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29442 Remove strlen and strnlen related parts.
29443
29444 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29445 Inline strlen part.
29446 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29447
29448 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29449 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29450 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29451 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29452 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29453 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29454
ec4ff04d
CD
294552013-03-17 Carlos O'Donell <carlos@redhat.com>
29456
29457 * manual/memory.texi (Malloc Tunable Parameters):
29458 Sort parameters alphabetically. Add comments for missing entries.
29459
cd18e90a
DM
294602013-03-17 David S. Miller <davem@davemloft.net>
29461
29462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29463
2a185d32
JM
294642013-03-16 Joseph Myers <joseph@codesourcery.com>
29465
d2f9799e
JM
29466 [BZ #15283]
29467 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29468 for arguments at most half maximum finite value.
29469 * math/libm-test.inc (j0_test): Add more tests.
29470 (j1_test): Likewise.
29471 (y0_test): Likewise.
29472 (y1_test): Likewise.
29473 * sysdeps/i386/fpu/libm-test-ulps: Update.
29474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29475
2a185d32
JM
29476 [BZ #14155]
29477 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29478 1 / x and functions P and Q for arguments above 0x1p256L.
29479 (__ieee754_y0l): Likewise.
29480 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29481 (__ieee754_y1l): Likewise.
29482 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29483 (j1_test): Likewise.
29484 (y0_test): Likewise.
29485 (y1_test): Likewise.
29486
6cbec759
TS
294872013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29488
29489 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29490 variable.
29491
bc16e260
RM
294922013-03-15 Roland McGrath <roland@hack.frob.com>
29493
aefc9b8c
RM
29494 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29495 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29496 zero since it's initialized to EXEC_PAGESIZE.
29497
bc16e260
RM
29498 * sysdeps/unix/sysv/linux/ldsodefs.h
29499 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29500 * sysdeps/generic/ldsodefs.h: ... here.
29501
a57da955
TS
295022013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29503
af00a34d
TS
29504 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29505
495ded2c
TS
29506 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29507 math/test-snan.c.
29508 * math/test-snan.c: Renamed from
29509 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29510 * math/Makefile (tests): Add test-snan.
29511 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29512 test-powerpc-snan.
29513
777b0332
TS
29514 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29515 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29516 functions.
29517 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29518 __builtin_nan family of functions.
29519 * math/libm-test.inc (initialize): Initialize qnan_value with
29520 __builtin_nan family of functions.
29521 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29522 Remove variables.
29523 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29524 Remove functions.
29525 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29526 storage class. Initialize qNaN_var and sNaN_var with
29527 __builtin_nan and __builtin_nans families of functions,
29528 respectively.
29529
64d063b8
TS
29530 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29531 (sqrt_test): Remove duplicate test with qNaN input.
29532 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29533 (round_test, signbit_test, significand_test): Note missing +/-Inf
29534 as well as qNaN tests.
29535
67e971f1
TS
29536 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29537 qNaN_var. Fix a few strings, too.
29538 * math/libm-test.inc (nan_value): Rename to qnan_value.
29539 * math/gen-libm-test.pl (%beautify): Adjust to that.
29540 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29541 * math/test-misc.c (main): Likewise.
29542 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29543 to __qnan_bytes, and __qnan_union, respectively.
29544 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29545 Likewise.
29546 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29547 and lqnanval, respectively.
29548 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29549 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29550 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29551 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29552
64487e12
TS
29553 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29554 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29555 doubles.
29556
e015e27b
TS
29557 * math/test-misc.c (main): Fix copy'n'pastos.
29558 * misc/tst-efgcvt.c (special): Likewise.
29559
a57da955
TS
29560 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29561 Remove declarations.
29562
1e380345
SP
295632013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29564
29565 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29566 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29567 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29568 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29569
ef26eece
AZ
295702013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29571
29572 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29573 macro to return vdso values correctly in IFUNC implementations.
29574 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29575 Optimization by using IFUNC.
29576
8cfdb7e0
SP
295772013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29578 Richard Henderson <rth@redhat.com>
29579 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29580
29581 * Makefile.in (bench): New target.
29582 * NEWS: Mention the benchmark framework.
29583 * Rules (bench): Likewise.
29584 (binaries-bench): Generate binaries for functions to
29585 benchmark.
29586 * benchtests/Makefile: New makefile for benchmark tests.
29587 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29588 programs.
29589 * benchtests/exp-inputs: New input file for EXP function.
29590 * benchtests/pow-inputs: New input file for POW function.
29591 * scripts/bench.pl: New script to generate source files for
29592 benchmark programs.
29593
bcda9880
SP
295942013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29595
d22ca8cd
SP
29596 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29597 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29598 computations on mantissa. Use macros for rounding and
29599 division.
29600 (denorm): Likewise.
29601 (__dbl_mp): Likewise.
29602 (add_magnitudes): Likewise.
29603 (sub_magnitudes): Likewise.
29604 (__mul): Likewise.
29605 (__sqr): Likewise.
29606 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29607 powers of two in terms of TWOPOW macro.
29608 (mp_no): Make type of mantissa as MANTISSA_T.
29609 [!RADIXI]: Define RADIXI.
29610 [!TWO52]: Define TWO52.
29611 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29612
bcda9880
SP
29613 * manual/nptl.texi (cindex): Modify threads to pthreads.
29614
06d5adfb
JM
296152013-03-15 Joseph Myers <joseph@codesourcery.com>
29616
29617 * sysdeps/x86_64/preconfigure: Regenerated.
29618
41c7328e
JM
296192013-03-14 Joseph Myers <joseph@codesourcery.com>
29620
29621 [BZ #14155]
29622 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29623 0x1p28 and above.
29624 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29625 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29626 0x1p28 and above.
29627 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29628 * math/libm-test.inc (j0_test): Do not allow one spurious
29629 underflow exception.
29630 (y1_test): Likewise.
29631
e25cfa60
SP
296322013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29633
0409959c
SP
29634 * manual/Makefile (chapters): Add nptl.
29635 * manual/debug.texi (Debugging Support): Add link to Threads
29636 chapter.
29637 * manual/nptl.texi: New file.
29638
e25cfa60
SP
29639 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29640
58a1335e
PB
296412013-03-14 Petr Baudis <pasky@ucw.cz>
29642
29643 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29644 for non-NULL pointer before the memory validity test. Pointed
29645 out by Holger Brunck <holger.brunck@keymile.com>.
29646
9dc7c64f
AS
296472013-03-13 Andreas Schwab <schwab@suse.de>
29648
29649 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29650 instead of .os.
29651
54206aa6
JM
296522013-03-13 Joseph Myers <joseph@codesourcery.com>
29653
29654 * timezone/zic.c: Update from tzcode 2013b.
29655
e98cdb38
CD
296562013-03-12 Carlos O'Donell <carlos@redhat.com>
29657
29658 * manual/install.texi (Configuring and compiling):
29659 Mention i686 and i586.
29660 * INSTALL: Regenerate.
29661
9967e003
RM
296622013-03-12 Roland McGrath <roland@hack.frob.com>
29663
29664 * sysdeps/init_array/elf-init.c: New file.
29665 * csu/elf-init.c
29666 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29667 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29668
29669 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29670 __gmon_start__ as global, but as static with a .preinit_array pointer.
29671 * sysdeps/init_array/gmon-start.c: New file. Use that.
29672 * sysdeps/init_array/crti.S: New file, empty except for comments.
29673 * sysdeps/init_array/crtn.S: Likewise.
29674
e6b5a293 296752013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
29676
29677 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29678 definining bcopy.
80f844c9
OB
29679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29680 Remove Prefer_SSE_for_memop.
29681 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29682 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29683 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
29684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29685 memset-x86-64.
80f844c9 29686 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 29687 Remove bzero, memset ifunc support.
80f844c9
OB
29688 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29689 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29690 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29691 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29692
fb6b0fcb
AS
296932013-03-11 Andreas Schwab <schwab@suse.de>
29694
29695 [BZ #15234]
29696 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29697 by SHLIB_COMPAT.
29698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29699 (GLIBC_2.16): Remove pthread_atfork.
29700
3e6bd4b1
PP
297012013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29702
29703 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29704 (ptestcases.h): Likewise.
29705
222d7f00
RM
297062013-03-08 Roland McGrath <roland@hack.frob.com>
29707
29708 * Makeconfig ($(common-objpfx)config.status): Depend on
29709 sysdeps/*/preconfigure{,.in} too.
29710
1ba4f030
JM
297112013-03-08 Joseph Myers <joseph@codesourcery.com>
29712
a222d91a
JM
29713 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29714 (__free_hook): Use void * instead of __malloc_ptr_t.
29715 (__malloc_hook): Likewise.
29716 (__realloc_hook): Likewise.
29717 (__memalign_hook): Likewise.
29718 (__after_morecore_hook): Likewise.
29719 * malloc/arena.c (save_malloc_hook): Likewise.
29720 (save_free_hook): Likewise.
29721 * malloc/hooks.c (malloc_hook_ini): Likewise.
29722 (realloc_hook_ini): Likewise.
29723 (memalign_hook_ini): Likewise.
29724 * malloc/malloc.c (malloc_hook_ini): Likewise.
29725 (realloc_hook_ini): Likewise.
29726 (memalign_hook_ini): Likewise.
29727 (__free_hook): Likewise.
29728 (__malloc_hook): Likewise.
29729 (__realloc_hook): Likewise.
29730 (__memalign_hook): Likewise.
29731 (__libc_malloc): Likewise.
29732 (__libc_free): Likewise.
29733 (__libc_realloc): Likewise.
29734 (__libc_memalign): Likewise.
29735 (__libc_valloc): Likewise.
29736 (__libc_pvalloc): Likewise.
29737 (__libc_calloc): Likewise.
29738 (__posix_memalign): Likewise.
29739 * malloc/morecore.c (__sbrk): Likewise.
29740 (__default_morecore): Likewise.
29741
5cc45e10
JM
29742 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29743
dd54b864
JM
29744 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29745 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29746 __malloc_ptrdiff_t.
29747
1ba4f030
JM
29748 * malloc/malloc.h (__malloc_size_t): Remove macro.
29749 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29750 __malloc_size_t.
29751 (old_memalign_hook): Likewise.
29752 (old_realloc_hook): Likewise.
29753 (struct hdr): Likewise.
29754 (flood): Likewise.
29755 (mallochook): Likewise.
29756 (memalignhook): Likewise.
29757 (reallochook): Likewise.
29758 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29759 (tr_old_realloc_hook): Likewise.
29760 (tr_old_memalign_hook): Likewise.
29761 (tr_mallochook): Likewise.
29762 (tr_reallochook): Likewise.
29763 (tr_memalignhook): Likewise.
29764
edf66e57
AZ
297652013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29766
29767 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29768 default_ldbl_pack and using as default implementation.
29769 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29770 implementation.
29771 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29772 redundant definition.
29773 (ldbl_insert_mantissa): Likewise.
29774 (ldbl_canonicalize): Likewise.
29775 (ldbl_nearbyint): Likewise.
29776 (ldbl_pack): Rename to ldbl_pack_ppc.
29777 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29778 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29779 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29780
6d9145d8
SP
297812013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29782
29783 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29784 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29785 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29786 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29788 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29789 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29790 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29791
4dd4e157
AJ
297922013-03-07 Andreas Jaeger <aj@suse.de>
29793
29794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29795 bits/mman-linux.h.
29796
adbb8027
SP
297972013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29798
ce544b5b
SP
29799 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29800 Include mpa.h and declare __MPEXP.
29801 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29802 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29803 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29804 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29805 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29806 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29807 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29808
4cc149fd
SP
29809 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29810 (__slowpow): Use long double EXPL and LOGL functions to
29811 compute POW.
29812 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29813 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29814 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29815 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29816 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29817 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29818
e6ebd4a7
SP
29819 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29820 intermediate variable to calculate exponent.
29821 (__sqr): Likewise.
29822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29823 Likewise.
29824 (__sqr): Likewise.
29825
82a9811d
SP
29826 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29827 [!NO__SQR]: Define __sqr.
29828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29829 and NO__SQR. Remove all code except __mul and __sqr. Include
29830 sysdeps/ieee754/dbl-64/mpa.c.
29831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29832
adbb8027
SP
29833 [BZ #12723]
29834 * posix/Makefile (tests): Add tst-pathconf.
29835 * posix/tst-pathconf.c: New test case.
29836 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29837 _PC_PIPE_BUF.
29838 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29839
39120df9
PF
298402013-03-06 Patsy Franklin <pfrankli@redhat.com>
29841
29842 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29843
67525cb8
AJ
298442013-03-06 Andreas Jaeger <aj@suse.de>
29845
664a9ce4
AJ
29846 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29847 definition via __MAP_ANONYMOUS.
29848
8e39047d
AJ
29849 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29850 it's not part of Linux headers.
29851
67525cb8
AJ
29852 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29853 (MAP_HUGE_MASK): Define.
29854
29855 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29856 Define.
29857 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29858 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29859 Define.
29860 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29861 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29862 Define.
29863 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29864 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29865 Define.
29866 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29867
29868 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29869 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29870 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29871 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29872 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29873 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29874
29875 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29876 Handle f2fs.
29877
29878 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29879 Handle f2fs and efivarfs.
29880
29881 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29882 f2fs.
29883
29884 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29885 (EFIVARFS_MAGIC): Add.
29886 (F2FS_LINK_MAX): Add.
29887
e1b42695
PP
298882013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29889
29890 * stdio-common/vfprintf.c: Replace __builtin_expect with
29891 __glibc_unlikely.
29892
2d67d91a
JM
298932013-03-06 Joseph Myers <joseph@codesourcery.com>
29894
29895 [BZ #13550]
29896 * sysdeps/generic/bp-sym.h: Remove file.
29897 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29898 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29899 <bp-sym.h> and <bp-asm.h>.
29900 (__longjmp): Don't use BP_SYM.
29901 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29902 and <bp-asm.h>.
29903 (memcpy): Don't use BP_SYM.
29904 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29905 <bp-sym.h> and <bp-asm.h>.
29906 (memcpy): Don't use BP_SYM.
29907 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29908 <bp-asm.h>.
29909 (memcpy): Don't use BP_SYM.
29910 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29911 <bp-asm.h>.
29912 (memset): Don't use BP_SYM.
29913 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29914 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29915 (__bzero): Don't use BP_SYM.
29916 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29917 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29918 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29919 <bp-sym.h> and <bp-asm.h>.
29920 (memcmp): Don't use BP_SYM. Remove comment about bounded
29921 pointers.
29922 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29923 <bp-sym.h> and <bp-asm.h>.
29924 (memcpy): Don't use BP_SYM.
29925 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29926 <bp-sym.h> and <bp-asm.h>.
29927 (memset): Don't use BP_SYM.
29928 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29929 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29930 (__bzero): Don't use BP_SYM.
29931 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29932 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29933 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29934 <bp-sym.h> and <bp-asm.h>.
29935 (strncmp): Don't use BP_SYM. Remove comment about bounded
29936 pointers.
29937 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29938 <bp-sym.h> and <bp-asm.h>.
29939 (memcpy): Don't use BP_SYM.
29940 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29941 <bp-sym.h> and <bp-asm.h>.
29942 (memset): Don't use BP_SYM.
29943 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29944 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29945 (__bzero): Don't use BP_SYM.
29946 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29947 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29948 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29949 <bp-sym.h> and <bp-asm.h>.
29950 (__memchr): Don't use BP_SYM.
29951 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29952 <bp-sym.h> and <bp-asm.h>.
29953 (memcmp): Don't use BP_SYM. Remove comment about bounded
29954 pointers.
29955 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29956 <bp-sym.h> and <bp-asm.h>.
29957 (memcpy): Don't use BP_SYM.
29958 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29959 <bp-sym.h> and <bp-asm.h>.
29960 (__mempcpy): Don't use BP_SYM.
29961 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29962 <bp-sym.h> and <bp-asm.h>.
29963 (__memrchr): Don't use BP_SYM.
29964 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29965 <bp-sym.h> and <bp-asm.h>.
29966 (memset): Don't use BP_SYM.
29967 (__bzero): Likewise.
29968 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29969 <bp-sym.h> and <bp-asm.h>.
29970 (__rawmemchr): Don't use BP_SYM.
29971 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29972 <bp-sym.h> and <bp-asm.h>.
29973 (__STRCMP): Don't use BP_SYM.
29974 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29975 <bp-sym.h> and <bp-asm.h>.
29976 (strchr): Don't use BP_SYM.
29977 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29978 <bp-sym.h> and <bp-asm.h>.
29979 (__strchrnul): Don't use BP_SYM.
29980 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29981 <bp-sym.h> and <bp-asm.h>.
29982 (strlen): Don't use BP_SYM.
29983 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29984 <bp-sym.h> and <bp-asm.h>.
29985 (strncmp): Don't use BP_SYM. Remove comment about bounded
29986 pointers.
29987 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29988 <bp-sym.h> and <bp-asm.h>.
29989 (__strnlen): Don't use BP_SYM.
29990 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29991 <bp-sym.h> and <bp-asm.h>.
29992 (__GI__setjmp): Don't use BP_SYM.
29993 (_setjmp): Likewise.
29994 (__sigsetjmp): Likewise.
29995 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29996 (L(start_addresses)): Don't use BP_SYM.
29997 (_start): Likewise.
29998 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29999 <bp-asm.h>.
30000 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30001 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30002 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30003 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30004 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30005 <bp-asm.h>.
30006 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30007 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30008 about bounded pointers.
30009 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30010 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30011 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30012 <bp-asm.h>.
30013 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30014 about bounded pointers. Remove GKM FIXME comments.
30015 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30016 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30017 <bp-asm.h>.
30018 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30019 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30020 Remove GKM FIXME comments.
30021 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30022 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30023 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30024 <bp-asm.h>.
30025 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30026 about bounded pointers. Remove GKM FIXME comment.
30027 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30028 and <bp-asm.h>.
30029 (strncmp): Don't use BP_SYM. Remove comment about bounded
30030 pointers.
30031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30032 <bp-sym.h> and <bp-asm.h>.
30033 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30035 <bp-sym.h> and <bp-asm.h>.
30036 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30037 comment.
30038
cdcf361f
PP
300392013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30040
30041 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30042 call free(NULL).
30043
3c4a2b15
DM
300442013-03-05 David S. Miller <davem@davemloft.net>
30045
30046 * po/es.po: Update from translation team.
30047
cdcf361f 300482013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
30049
30050 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30051 <bits/mman-linux.h>.
30052 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30053 is fine.
30054 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30055 <bits/mman-linux.h> to end of file.
30056 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30057 is fine.
30058 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30059 <bits/mman-linux.h> to end of file.
30060 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30061 is fine.
30062 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30063 <bits/mman-linux.h> to end of file.
30064
30065 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30066 (MCL_CURRENT, MCL_FUTURE): Define here.
30067
5f67c04f
AK
300682013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30069
8a4473cc 30070 [BZ #15232]
5f67c04f
AK
30071 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30072 attribute_hidden.
30073 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30074
c3e94a95
AK
300752013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30076
30077 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30078 fourth parameter needed for rt_sigprocmask syscall.
30079 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30080 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30081 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30082 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30083 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30084 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30085
cfb6382a
JM
300862013-03-04 Joseph Myers <joseph@codesourcery.com>
30087
30088 [BZ #13550]
30089 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30090 comment about bounded pointers.
30091 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30092 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30093
539d8e01
AJ
300942013-03-04 Andreas Jaeger <aj@suse.de>
30095
30096 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30097 common definitions.
30098
30099 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30100 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30101 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30102 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30103 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
30104 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30105
2e167a70 301062013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
30107
30108 [BZ #15055]
30109 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30110 __ieee754_sqrl instead of __sqrl.
30111
68508633
JM
301122013-03-01 Joseph Myers <joseph@codesourcery.com>
30113
30114 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30115 * sysdeps/powerpc/fpu_control.h: ... here.
30116 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30117 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30118 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30119 * sysdeps/powerpc/bits/mathinline.h: ... here.
30120
7775448e
RM
301212013-03-01 Roland McGrath <roland@hack.frob.com>
30122
30123 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30124 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30125 to just [NEED_DL_SYSINFO_DSO].
30126 * elf/dl-support.c: Likewise.
30127 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30128 * elf/rtld.c (dl_main): Likewise.
30129 * elf/setup-vdso.h (setup_vdso): Likewise.
30130 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30131 * sysdeps/unix/sysv/linux/dl-sysdep.c
30132 (_dl_discover_osversion): Likewise.
30133
4e9b5995
CD
301342013-03-01 Carlos O'Donell <carlos@redhat.com>
30135
30136 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30137 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30138
e23872c8
SP
301392013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30140
e5c74c63
SP
30141 * NEWS: Mention libm performance improvements and non-x86 PI
30142 futex support.
30143
e23872c8
SP
30144 * csu/libc-start.c (__pthread_initialize_minimal): Change
30145 function arguments.
30146 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30147
b5510883
JM
301482013-02-28 Joseph Myers <joseph@codesourcery.com>
30149
30150 [BZ #13550]
30151 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30152 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30153 <bp-sym.h> and <bp-asm.h>.
30154 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30155 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30156 and <bp-asm.h>.
30157 (memcpy): Don't use BP_SYM.
30158 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30159 <bp-asm.h>.
30160 (__mpn_add_n): Don't use BP_SYM.
30161 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30162 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30163 and <bp-asm.h>.
30164 (__mpn_addmul_1): Don't use BP_SYM.
30165 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30166 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30167 <bp-sym.h>.
30168 (_setjmp): Don't use BP_SYM.
30169 (__novmx_setjmp): Likewise.
30170 (__GI__setjmp): Likewise.
30171 (__vmx_setjmp): Likewise.
30172 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30173 <bp-sym.h>.
30174 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30175 (__bzero): Don't use BP_SYM.
30176 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30177 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30178 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30179 <bp-sym.h> and <bp-asm.h>.
30180 (memcpy): Don't use BP_SYM.
30181 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30182 <bp-sym.h> and <bp-asm.h>.
30183 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30184 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30185 <bp-sym.h> and <bp-asm.h>.
30186 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30187 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30188 <bp-asm.h>.
30189 (__mpn_lshift): Don't use BP_SYM.
30190 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30191 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30192 <bp-asm.h>.
30193 (memset): Don't use BP_SYM.
30194 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30195 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30196 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30197 <bp-asm.h>.
30198 (__mpn_mul_1): Don't use BP_SYM.
30199 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30200 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30201 <bp-sym.h> and <bp-asm.h>.
30202 (memcmp): Don't use BP_SYM.
30203 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30204 <bp-sym.h> and <bp-asm.h>.
30205 (memcpy): Don't use BP_SYM.
30206 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30207 <bp-sym.h> and <bp-asm.h>.
30208 (memset): Don't use BP_SYM.
30209 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30210 <bp-sym.h> and <bp-asm.h>.
30211 (strncmp): Don't use BP_SYM.
30212 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30213 <bp-sym.h> and <bp-asm.h>.
30214 (memcpy): Don't use BP_SYM.
30215 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30216 <bp-sym.h> and <bp-asm.h>.
30217 (memset): Don't use BP_SYM.
30218 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30219 <bp-sym.h> and <bp-asm.h>.
30220 (__memchr): Don't use BP_SYM.
30221 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30222 <bp-sym.h> and <bp-asm.h>.
30223 (memcmp): Don't use BP_SYM.
30224 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30225 <bp-sym.h> and <bp-asm.h>.
30226 (memcpy): Don't use BP_SYM.
30227 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30228 <bp-sym.h> and <bp-asm.h>.
30229 (__mempcpy): Don't use BP_SYM.
30230 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30231 <bp-sym.h> and <bp-asm.h>.
30232 (__memrchr): Don't use BP_SYM.
30233 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30234 <bp-sym.h> and <bp-asm.h>.
30235 (memset): Don't use BP_SYM.
30236 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30237 <bp-sym.h> and <bp-asm.h>.
30238 (__rawmemchr): Don't use BP_SYM.
30239 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30240 <bp-sym.h> and <bp-asm.h>.
30241 (__STRCMP): Don't use BP_SYM.
30242 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30243 <bp-sym.h> and <bp-asm.h>.
30244 (strchr): Don't use BP_SYM.
30245 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30246 <bp-sym.h> and <bp-asm.h>.
30247 (__strchrnul): Don't use BP_SYM.
30248 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30249 <bp-sym.h> and <bp-asm.h>.
30250 (strlen): Don't use BP_SYM.
30251 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30252 <bp-sym.h> and <bp-asm.h>.
30253 (strncmp): Don't use BP_SYM.
30254 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30255 <bp-sym.h> and <bp-asm.h>.
30256 (__strnlen): Don't use BP_SYM.
30257 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30258 <bp-asm.h>.
30259 (__mpn_rshift): Don't use BP_SYM.
30260 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30261 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30262 <bp-sym.h> and <bp-asm.h>.
30263 (__sigsetjmp): Don't use BP_SYM.
30264 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30265 (L(start_addresses)): Don't use BP_SYM.
30266 (_start): Likewise.
30267 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30268 <bp-asm.h>.
30269 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30270 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30271 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30272 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30273 <bp-asm.h>.
30274 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30275 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30276 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30277 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30278 <bp-asm.h>.
30279 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30280 comments.
30281 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30282 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30283 <bp-asm.h>.
30284 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30285 FIXME comments.
30286 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30287 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30288 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30289 <bp-asm.h>.
30290 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30291 comment.
30292 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30293 and <bp-asm.h>.
30294 (strncmp): Don't use BP_SYM,
30295 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30296 <bp-asm.h>.
30297 (__mpn_sub_n): Don't use BP_SYM.
30298 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30299 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30300 and <bp-asm.h>.
30301 (__mpn_submul_1): Don't use BP_SYM.
30302 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30304 <bp-sym.h> and <bp-asm.h>.
30305 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30307 <bp-sym.h> and <bp-asm.h>.
30308 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30309 comment.
30310
8d19fe64
SP
303112013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30312
30313 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30314 Use ZK to minimize writes to Z.
30315 (sub_magnitudes): Simplify code a bit.
30316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30317 Use ZK to minimize writes to Z.
30318 (sub_magnitudes): Simplify code a bit.
30319
85bd816a
RM
303202013-02-27 Roland McGrath <roland@hack.frob.com>
30321
30322 * csu/gmon-start.c: Add special exception to license text.
30323
b5977bf2
RH
303242013-02-27 Richard Henderson <rth@redhat.com>
30325
30326 * scripts/config.guess: Update from config.git.
30327 * scripts/config.sub: Likewise.
30328
11d6e2f2
SP
303292013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30330
09c14ed2
SP
30331 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30332
a688864e
SP
30333 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30334
6295157a
SP
30335 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30336
b8de2202
SP
30337 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30338
11d6e2f2
SP
30339 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30340
7e80ddb8
RM
303412013-02-26 Roland McGrath <roland@hack.frob.com>
30342
30343 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30344 [$(build-shared = yes].
7e80ddb8 30345
7da6d9ed
SP
303462013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30347
45f05884
SP
30348 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30349 (__mul): Reduce iterations for calculating mantissa.
30350
2236d359
SP
30351 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30352 MPTWO.
30353 (__mpranred): Likewise.
30354
7da6d9ed
SP
30355 [BZ #15160]
30356 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30357 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30358
b7688c42
PE
303592013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30360
30361 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30362 Define __attribute__.
30363
53a5c423
SP
303642013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30365
30366 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30367 unused.
30368 * posix/regex_internal.h (__attribute): Remove.
30369 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30370 (re_string_context_at): Likewise.
30371 (bitset_not): Use __attribute__ and mark function as possibly
30372 unused.
30373 (bitset_merge): Likewise.
30374 (bitset_mask): Likewise.
30375 (re_string_char_size_at): Likewise.
30376 (re_string_wchar_at): Likewise.
30377 (re_string_elem_size_at): Likewise.
30378
60f5a8b5
SP
303792013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30380
2a983a2e
SP
30381 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30382 code.
30383 (cc32): Likewise.
30384
e69804d1
SP
30385 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30386 (__acr): Likewise.
30387 (__cpy): Likewise.
30388 (norm): Likewise.
30389 (denorm): Likewise.
30390 (__dbl_mp): Likewise.
30391 (add_magnitudes): Likewise.
30392 (sub_magnitudes): Likewise.
30393 (__mul): Likewise.
30394 (__inv): Likewise.
30395
2f22a1e8
SP
30396 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30397 style.
30398
8930ddc7
SP
30399 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30400 style.
30401
dc60cb11
SP
30402 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30403 code.
30404
60f5a8b5
SP
30405 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30406 up changes with default code.
30407 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30408 Likewise.
30409
b4d1fd33
AM
304102013-02-24 Allan McRae <allan@archlinux.org>
30411
faf6f8bc
AM
30412 * manual/socket.texi (The Internet Namespace): Order menu items
30413 to match that in the file.
30414
b4d1fd33
AM
30415 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30416 node listing of the info page menu.
30417
2366713d
JM
304182013-02-21 Joseph Myers <joseph@codesourcery.com>
30419
30420 [BZ #13550]
30421 * sysdeps/i386/bp-asm.h: Remove file.
30422 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30423 (PARMS): Do not use macros from bp-asm.h.
30424 (S1): Likewise.
30425 (S2): Likewise.
30426 (SIZE): Likewise.
30427 (__mpn_add_n): Do not use BP_SYM
30428 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30429 "bp-asm.h".
30430 (PARMS): Do not use macros from bp-asm.h.
30431 (S1): Likewise.
30432 (SIZE): Likewise.
30433 (__mpn_addmul_1): Do not use BP_SYM
30434 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30435 "bp-asm.h".
30436 (PARMS): Do not use macros from bp-asm.h.
30437 (SIGMSK): Likewise.
30438 (_setjmp): Likewise. Do not use BP_SYM.
30439 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30440 "bp-asm.h".
30441 (PARMS): Do not use macros from bp-asm.h.
30442 (SIGMSK): Likewise.
30443 (setjmp): Likewise. Do not use BP_SYM.
30444 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30445 "bp-asm.h".
30446 (PARMS): Do not use macros from bp-asm.h.
30447 (__frexp): Do not use BP_SYM.
30448 (frexp): Likewise.
30449 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30450 "bp-asm.h".
30451 (PARMS): Do not use macros from bp-asm.h.
30452 (__frexpf): Do not use BP_SYM.
30453 (frexpf): Likewise.
30454 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30455 "bp-asm.h".
30456 (PARMS): Do not use macros from bp-asm.h.
30457 (__frexpl): Do not use BP_SYM.
30458 (frexpl): Likewise.
30459 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30460 "bp-asm.h".
30461 (PARMS): Do not use macros from bp-asm.h.
30462 (__remquo): Do not use BP_SYM.
30463 (remquo): Likewise.
30464 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30465 "bp-asm.h".
30466 (PARMS): Do not use macros from bp-asm.h.
30467 (__remquof): Do not use BP_SYM.
30468 (remquof): Likewise.
30469 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30470 "bp-asm.h".
30471 (PARMS): Do not use macros from bp-asm.h.
30472 (__remquol): Do not use BP_SYM.
30473 (remquol): Likewise.
30474 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30475 "bp-asm.h".
30476 (PARMS): Do not use macros from bp-asm.h.
30477 (DEST): Likewise.
30478 (SRC): Likewise.
30479 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30480 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30481 "bp-asm.h".
30482 (PARMS): Do not use macros from bp-asm.h.
30483 (strlen): Do not use BP_SYM.
30484 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30485 "bp-asm.h".
30486 (PARMS): Do not use macros from bp-asm.h.
30487 (S1): Likewise.
30488 (S2): Likewise.
30489 (SIZE): Likewise.
30490 (__mpn_add_n): Do not use BP_SYM.
30491 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30492 "bp-asm.h".
30493 (PARMS): Do not use macros from bp-asm.h.
30494 (S1): Likewise.
30495 (SIZE): Likewise.
30496 (__mpn_addmul_1): Do not use BP_SYM.
30497 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30498 weak_alias.
30499 (bzero): Likewise.
30500 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30501 "bp-asm.h".
30502 (PARMS): Do not use macros from bp-asm.h.
30503 (S): Likewise.
30504 (SIZE): Likewise.
30505 (__mpn_lshift): Do not use BP_SYM.
30506 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30507 "bp-asm.h".
30508 (PARMS): Do not use macros from bp-asm.h.
30509 (DEST): Likewise.
30510 (SRC): Likewise.
30511 (LEN): Likewise.
30512 (memcpy): Likewise. Do not use BP_SYM.
30513 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30514 libc_hidden_def and weak_alias.
30515 (mempcpy): Do not use BP_SYM in weak_alias.
30516 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30517 "bp-asm.h".
30518 (PARMS): Do not use macros from bp-asm.h.
30519 (DEST): Likewise.
30520 (LEN): Likewise.
30521 [!BZERO_P] (CHR): Likewise.
30522 (memset): Likewise. Do not use BP_SYM.
30523 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30524 "bp-asm.h".
30525 (PARMS): Do not use macros from bp-asm.h.
30526 (S1): Likewise.
30527 (SIZE): Likewise.
30528 (__mpn_mul_1): Do not use BP_SYM.
30529 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30530 "bp-asm.h".
30531 (PARMS): Do not use macros from bp-asm.h.
30532 (S): Likewise.
30533 (SIZE): Likewise.
30534 (__mpn_rshift): Do not use BP_SYM.
30535 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30536 "bp-asm.h".
30537 (PARMS): Do not use macros from bp-asm.h.
30538 (STR): Likewise.
30539 (CHR): Likewise.
30540 (strchr): Likewise. Do not use BP_SYM.
30541 (index): Do not use BP_SYM in weak_alias.
30542 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30543 "bp-asm.h".
30544 (PARMS): Do not use macros from bp-asm.h.
30545 (DEST): Likewise.
30546 (SRC): Likewise.
30547 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30548 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30549 "bp-asm.h".
30550 (PARMS): Do not use macros from bp-asm.h.
30551 (strlen): Do not use BP_SYM.
30552 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30553 "bp-asm.h".
30554 (PARMS): Do not use macros from bp-asm.h.
30555 (S1): Likewise.
30556 (S2): Likewise.
30557 (SIZE): Likewise.
30558 (__mpn_sub_n): Do not use BP_SYM.
30559 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30560 "bp-asm.h".
30561 (PARMS): Do not use macros from bp-asm.h.
30562 (S1): Likewise.
30563 (SIZE): Likewise.
30564 (__mpn_submul_1): Do not use BP_SYM.
30565 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30566 "bp-asm.h".
30567 (PARMS): Do not use macros from bp-asm.h.
30568 (S1): Likewise.
30569 (S2): Likewise.
30570 (SIZE): Likewise.
30571 (__mpn_add_n): Do not use BP_SYM.
30572 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30573 weak_alias.
30574 (bzero): Likewise.
30575 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30576 "bp-asm.h".
30577 (PARMS): Do not use macros from bp-asm.h.
30578 (BLK2): Likewise.
30579 (LEN): Likewise.
30580 (memcmp): Do not use BP_SYM.
30581 (bcmp): Do not use BP_SYM in weak_alias.
30582 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30583 "bp-asm.h".
30584 (PARMS): Do not use macros from bp-asm.h.
30585 (DEST): Likewise.
30586 (SRC): Likewise.
30587 (LEN): Likewise.
30588 (memcpy): Likewise. Do not use BP_SYM.
30589 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30590 "bp-asm.h".
30591 (PARMS): Do not use macros from bp-asm.h.
30592 (DEST): Likewise.
30593 (SRC): Likewise.
30594 (LEN): Likewise.
30595 (memmove): Likewise. Do not use BP_SYM.
30596 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30597 "bp-asm.h".
30598 (PARMS): Do not use macros from bp-asm.h.
30599 (DEST): Likewise.
30600 (SRC): Likewise.
30601 (LEN): Likewise.
30602 (__mempcpy): Likewise. Do not use BP_SYM.
30603 (mempcpy): Do not use BP_SYM in weak_alias.
30604 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30605 "bp-asm.h".
30606 (PARMS): Do not use macros from bp-asm.h.
30607 (DEST): Likewise.
30608 (LEN): Likewise.
30609 [!BZERO_P] (CHR): Likewise.
30610 (memset): Likewise. Do not use BP_SYM.
30611 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30612 "bp-asm.h".
30613 (PARMS): Do not use macros from bp-asm.h.
30614 (STR2): Likewise.
30615 (strcmp): Do not use BP_SYM.
30616 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30617 "bp-asm.h".
30618 (PARMS): Do not use macros from bp-asm.h.
30619 (STR): Likewise.
30620 (DELIM): Likewise.
30621 [USE_AS_STRTOK_R] (SAVE): Likewise.
30622 (FUNCTION): Likewise. Do not use BP_SYM.
30623 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30624 aliases.
30625 (strtok_r): Likewise.
30626 (__GI___strtok_r): Likewise.
30627 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30628 (PARMS): Do not use macros from bp-asm.h.
30629 (S): Likewise.
30630 (SIZE): Likewise.
30631 (__mpn_lshift): Do not use BP_SYM.
30632 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30633 (PARMS): Do not use macros from bp-asm.h.
30634 (STR): Likewise.
30635 (CHR): Likewise.
30636 (__memchr): Do not use BP_SYM.
30637 (memchr): Do not use BP_SYM in weak_alias.
30638 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30639 (PARMS): Do not use macros from bp-asm.h.
30640 (BLK2): Likewise.
30641 (LEN): Likewise.
30642 (memcmp): Do not use BP_SYM.
30643 (bcmp): Do not use BP_SYM in weak_alias.
30644 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30645 (PARMS): Do not use macros from bp-asm.h.
30646 (S1): Likewise.
30647 (SIZE): Likewise.
30648 (__mpn_mul_1): Do not use BP_SYM.
30649 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30650 "bp-asm.h".
30651 (PARMS): Do not use macros from bp-asm.h.
30652 (STR): Likewise.
30653 (CHR): Likewise.
30654 (__rawmemchr): Do not use BP_SYM.
30655 (rawmemchr): Do not use BP_SYM in weak_alias.
30656 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30657 (PARMS): Do not use macros from bp-asm.h.
30658 (S): Likewise.
30659 (SIZE): Likewise.
30660 (__mpn_rshift): Do not use BP_SYM.
30661 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30662 (PARMS): Do not use macros from bp-asm.h.
30663 (SIGMSK): Likewise.
30664 (__sigsetjmp): Likewise. Do not use BP_SYM.
30665 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30666 (_start): Do not use BP_SYM.
30667 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30668 (PARMS): Do not use macros from bp-asm.h.
30669 (DEST): Likewise.
30670 (SRC): Likewise.
30671 (__stpcpy): Likewise. Do not use BP_SYM.
30672 (stpcpy): Do not use BP_SYM in weak_alias.
30673 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30674 "bp-asm.h".
30675 (PARMS): Do not use macros from bp-asm.h.
30676 (DEST): Likewise.
30677 (SRC): Likewise.
30678 (LEN): Likewise.
30679 (__stpncpy): Likewise. Do not use BP_SYM.
30680 (stpncpy): Do not use BP_SYM in weak_alias.
30681 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30682 (PARMS): Do not use macros from bp-asm.h.
30683 (STR): Likewise.
30684 (CHR): Likewise.
30685 (strchr): Likewise. Do not use BP_SYM.
30686 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30687 "bp-asm.h".
30688 (PARMS): Do not use macros from bp-asm.h.
30689 (STR): Likewise.
30690 (CHR): Likewise.
30691 (__strchrnul): Likewise. Do not use BP_SYM.
30692 (strchrnul): Do not use BP_SYM in weak_alias.
30693 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30694 "bp-asm.h".
30695 (PARMS): Do not use macros from bp-asm.h.
30696 (STOP): Likewise.
30697 (strcspn): Do not use BP_SYM.
30698 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30699 "bp-asm.h".
30700 (PARMS): Do not use macros from bp-asm.h.
30701 (STR): Likewise.
30702 (STOP): Likewise.
30703 (strpbrk): Likewise. Do not use BP_SYM.
30704 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30705 "bp-asm.h".
30706 (PARMS): Do not use macros from bp-asm.h.
30707 (STR): Likewise.
30708 (CHR): Likewise.
30709 (strrchr): Likewise. Do not use BP_SYM.
30710 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30711 (PARMS): Do not use macros from bp-asm.h.
30712 (SKIP): Likewise.
30713 (strspn): Do not use BP_SYM.
30714 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30715 (PARMS): Do not use macros from bp-asm.h.
30716 (STR): Likewise.
30717 (DELIM): Likewise.
30718 (SAVE): Likewise.
30719 (FUNCTION): Likewise. Do not use BP_SYM.
30720 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30721 aliases.
30722 (strtok_r): Likewise.
30723 (__GI___strtok_r): Likewise.
30724 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30725 (PARMS): Do not use macros from bp-asm.h.
30726 (S1): Likewise.
30727 (S2): Likewise.
30728 (SIZE): Likewise.
30729 (__mpn_sub_n): Do not use BP_SYM.
30730 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30731 "bp-asm.h".
30732 (PARMS): Do not use macros from bp-asm.h.
30733 (S1): Likewise.
30734 (SIZE): Likewise.
30735 (__mpn_submul_1): Do not use BP_SYM.
30736 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30737 <bp-sym.h>.
30738 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30739 and <bp-asm.h>.
30740 (PARMS): Do not use macros from bp-asm.h.
30741 (FLAGS): Likewise.
30742 (PTID): Likewise.
30743 (TLS): Likewise.
30744 (CTID): Likewise.
30745 (__clone): Do not use BP_SYM.
30746 (clone): Do not use BP_SYM in weak_alias.
30747 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30748 and <bp-asm.h>.
30749 (PARMS): Do not use macros from bp-asm.h.
30750 (LEN): Likewise.
30751 (__mmap64): Do not use BP_SYM.
30752 (mmap64): Do not use BP_SYM in weak_alias.
30753 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30754 <bp-sym.h> and <bp-asm.h>.
30755 (PARMS): Do not use macros from bp-asm.h.
30756 (__posix_fadvise64_l64): Do not use BP_SYM.
30757 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30758 (PARMS): Do not use macros from bp-asm.h.
30759 (NSOPS): Likewise.
30760 (semtimedop): Do not use BP_SYM.
30761 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30762 and <bp-asm.h>.
30763
582a3cff
AM
307642013-02-21 Allan McRae <allan@archlinux.org>
30765
30766 * manual/message.texi (Charset conversion in gettext):
30767 Move @end statement to beginning of line.
30768
bab8a695
SP
307692013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30770
80945231
SP
30771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30772 static.
30773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30774 Likewise.
30775
bab8a695
SP
30776 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30777 (denorm): Likewise.
30778 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30780
e21d7aa7
AK
307812013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30782
30783 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30784 tail-call to the resolved function if pltexit isn't needed.
30785
4c7a4263
SP
307862013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30787
30788 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30789 or Y being zero as being unlikely.
30790 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30791 Likewise.
30792
41f49342
CD
307932013-02-20 Carlos O'Donell <carlos@redhat.com>
30794
30795 * manual/nss.texi (System Databases and Name Service Switch):
30796 Remove frobnicate @pxref.
30797
50022a93
TS
307982013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30799
30800 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30801 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30802
08cbd996
PM
308032013-02-20 Petr Machata <pmachata@redhat.com>
30804
30805 * elf/elf.h (R_ARM_TARGET1): New macro.
30806 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30807 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30808 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30809 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30810 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30811 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30812 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30813 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30814 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30815 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30816 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30817 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30818 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30819 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30820 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30821 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30822 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30823 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30824 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30825 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30826 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30827 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30828 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30829 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30830 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30831 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30832 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30833 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30834 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30835 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30836 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30837 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30838 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30839 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30840 (R_ARM_THM_GOT_BREL12): Likewise.
30841 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30842 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30843 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30844 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30845 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30846 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30847 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30848 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30849 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30850
c7b275d6
TS
308512013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30852
30853 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30854 __attribute_used__ to __attribute__ ((unused)).
30855
20cd7fb3
SP
308562013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30857
30858 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30859 powerpc mpa.c.
30860 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30861 comment formatting.
30862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30863
92945b52
JM
308642013-02-19 Joseph Myers <joseph@codesourcery.com>
30865
30866 [BZ #13550]
30867 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30868 Remove macro.
30869 (ENTER): Remove both macro definitions.
30870 (LEAVE): Likewise.
30871 (CHECK_BOUNDS_LOW): Likewise.
30872 (CHECK_BOUNDS_HIGH): Likewise.
30873 (CHECK_BOUNDS_BOTH): Likewise.
30874 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30875 (RETURN_BOUNDED_POINTER): Likewise.
30876 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30877 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30878 (POP_ERRNO_LOCATION_RETURN): Likewise.
30879 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30880 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30881 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30882 macros.
30883 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30884 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30885 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30886 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30887 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30888 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30889 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30890 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30891 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30892 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30893 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30894 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30895 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30896 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30897 removed macros.
30898 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30899 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30900 macros.
30901 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30902 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30903 * sysdeps/i386/i586/memset.S (memset): Likewise.
30904 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30905 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30906 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30907 macros.
30908 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30909 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30910 Change uses of L(2) to L(out).
30911 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30912 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30913 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30914 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30915 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30916 removed macros.
30917 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30918 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30919 macros.
30920 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30921 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30922 (RETURN): Do not use macro LEAVE.
30923 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30924 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30925 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30926 * sysdeps/i386/i686/memset.S (memset): Likewise.
30927 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30928 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30929 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30930 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30931 Likewise.
30932 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30933 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
30934 L(1_2) and L(1_3) into L(1).
30935 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30936 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30937 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30938 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30939 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30940 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30941 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30942 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30943 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30944 macros.
30945 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30946 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30947 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30948 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30949 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30950 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30951 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30952 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30953 * sysdeps/i386/strcspn.S (strcspn): Likewise.
30954 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30955 * sysdeps/i386/strrchr.S (strrchr): Likewise.
30956 * sysdeps/i386/strspn.S (strspn): Likewise.
30957 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30958 conditional code.
30959 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30960 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30961 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30962 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
30963 L(1_3) into L(1_1).
30964 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30965 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30966 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30967 macros.
30968 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30969
2389741a
JJ
309702013-02-19 Jakub Jelinek <jakub@redhat.com>
30971
30972 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30973 macro.
30974
2016b3cd
SP
309752013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30976
e4f22324
SP
30977 * math/atest-exp.c (exp_mpn): Remove ROUND.
30978 * math/atest-exp2.c (exp_mpn): Likewise.
30979 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30980
2016b3cd
SP
30981 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30982 * stdlib/tst-tls-atexit-lib.c: Likewise.
30983 * stdlib/tst-tls-atexit.c: Likewise.
30984
4be9b544
MF
309852013-02-18 Mike Frysinger <vapier@gentoo.org>
30986
30987 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30988 and __attribute_alloc_size__.
30989
2f62b9ee
MF
309902013-02-18 Mike Frysinger <vapier@gentoo.org>
30991
30992 * include/programs/xmalloc.h: Change __attribute_alloc_size to
30993 __attribute_alloc_size__.
30994 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30995 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30996
6ff444c4
MF
309972013-02-18 Mike Frysinger <vapier@gentoo.org>
30998
30999 * include/programs/xmalloc.h: New file.
31000 * catgets/gencat.c: Include it.
31001 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31002 * elf/pldd.c: Likewise.
31003 * iconv/iconv_charmap.c: Likewise.
31004 * iconv/iconvconfig.c: Likewise.
31005 * iconv/strtab.c: Likewise.
31006 * locale/programs/locale.c: Likewise.
31007 * locale/programs/localedef.h: Likewise.
31008 * locale/programs/simple-hash.c: Likewise.
31009 * nscd/nscd.h: Likewise.
31010 * nss/makedb.c: Likewise.
31011 * sysdeps/generic/ldconfig.h: Likewise.
31012
be179c8a
SP
310132013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31014
ba384f6e
SP
31015 * Versions.def: Add GLIBC_2.18.
31016 * include/link.h (struct link_map): New member l_tls_dtor_count.
31017 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31018 (__call_tls_dtors): Likewise.
31019 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31020 __cxa_thread_atexit_impl.
31021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31022 Likewise.
31023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31024 Likewise.
31025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31026 Likewise.
31027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31028 Likewise.
31029 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31031 Likewise.
31032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31033 Likewise.
31034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31036 Likewise.
31037 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31038 (tests): Add test case tst-tls-atexit.
31039 (modules-names): Add shared library for tst-tls-atexit.
85891aca 31040 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
31041 (GLIBC_PRIVATE): Add __call_tls_dtors.
31042 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31043 for libstdc++.
31044 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31045 * stdlib/tst-tls-atexit.c: New test case.
31046 * stdlib/tst-tls-atexit-lib.c: New test case.
31047
ffaa74cf 31048 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 31049
be179c8a
SP
31050 * elf/Versions (ld): Add _dl_find_dso_for_object.
31051 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31052 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31053 (dl_open_worker): Use _dl_find_dso_for_object.
31054 * elf/dl-sym.c (do_sym): Likewise.
31055 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31056
f78b5caa
AK
310572013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31058
31059 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31060 Syntactic changes only.
31061 (_dl_runtime_profile): Do a tail-call to the resolved function.
31062
29691210
JM
310632013-02-17 Joseph Myers <joseph@codesourcery.com>
31064
31065 [BZ #13550]
31066 * sysdeps/x86_64/bp-asm.h: Remove file.
31067 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31068 <bp-sym.h> and <bp-asm.h>.
31069 (__clone): Do not use BP_SYM.
31070 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31071 <bp-sym.h> and <bp-asm.h>.
31072 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31073 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31074 "bp-asm.h".
31075 (_setjmp): Do not use BP_SYM.
31076 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31077 "bp-asm.h".
31078 (setjmp): Do not use BP_SYM.
31079 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31080 libc_hidden_def.
31081 (mempcpy): Do not use BP_SYM in weak_alias.
31082 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31083 "bp-asm.h".
31084 (strchr): Do not use BP_SYM.
31085 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31086 "bp-asm.h".
31087 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31088 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31089 (_start): Do not use BP_SYM.
31090 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31091 "bp-asm.h".
31092 (strcat): Do not use BP_SYM.
31093 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31094 "bp-asm.h".
31095 (STRCMP): Do not use BP_SYM.
31096 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31097 "bp-asm.h".
31098 (STRCPY): Do not use BP_SYM.
31099 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31100 "bp-asm.h".
31101 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31102 "bp-asm.h".
31103 (FUNCTION): Do not use BP_SYM.
31104 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31105 weak_alias.
31106 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31107
f238fd19
AJ
311082013-02-17 Andreas Jaeger <aj@suse.de>
31109
31110 * time/Versions: Sort entries.
31111 * string/Versions: Likewise.
31112 * resolv/Versions: Likewise.
31113 * posix/Versions: Likewise.
31114 * iconv/Versions: Likewise.
31115 * elf/Versions: Likewise.
31116 * wcsmbs/Versions: Likewise.
31117
bd07f23c 311182013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 31119
22af19f9
SP
31120 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31121 loop termination condition.
31122
4709fe76
SP
31123 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31124 variable to calculate EZ.
31125 (__sqr): Likewise.
2d0e0f29
SP
31126
31127 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31128 the lower precision input.
31129
daaa7713
JM
311302013-02-15 Joseph Myers <joseph@codesourcery.com>
31131
31132 [BZ #13550]
31133 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31134 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31135 (run-via-rtld-prefix): Do not handle %-bp tests.
31136 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31137 (all-object-suffixes): Remove .ob.
31138 (bppfx): Remove variable.
31139 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31140 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31141 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31142 [$(build-bounded) = yes] (libtype.ob): Likewise.
31143 * Makerules (elide-routines.ob): Remove variable.
31144 (do-tests-clean): Do not handle *-bp.out.
31145 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31146 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31147 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31148 (tests): Do not include $(tests-bp.out).
31149 (xtests): Do not include $(xtests-bp.out).
31150 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31151 [$(build-bounded) = yes] ($(addprefix
31152 $(objpfx),$(binaries-bounded))): Remove rule.
31153 ($(objpfx)%-bp.out): Remove rule.
31154 * config.make.in (build-bounded): Remove variable.
31155 * crypt/Makefile [$(build-bounded) = yes]
31156 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31157 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31158 append to variable.
31159 [$(build-bounded) = yes] (install-lib): Likewise.
31160 [$(build-bounded) = yes] (generated): Likewise.
31161 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31162 Remove rule.
31163 * intl/Makefile [$(build-bounded) = yes]
31164 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31165 * math/Makefile [$(build-bounded) = yes]
31166 ($(tests:%=$(objpfx)%-bp): Likewise.
31167 * misc/Makefile [$(build-bounded) = yes]
31168 ($(objpfx)tst-tsearch-bp): Likewise.
31169 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31170 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31171 Remove dependency.
31172 * string/Makefile (o-objects.ob): Remove variable.
31173 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31174 (CFLAGS-.ob): Remove variable.
31175 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31176 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31177 both definitions of variable.
31178 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31179 (ASFLAGS-.ob): Remove variable.
31180
e97ed6dd
JM
311812013-02-14 Joseph Myers <joseph@codesourcery.com>
31182
2bdd4ca6
JM
31183 [BZ #13550]
31184 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31185 Remove __BOUNDED_POINTERS__ from condition.
31186 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31187 * string/bits/string2.h [!__NO_STRING_INLINES &&
31188 !__BOUNDED_POINTERS__]: Likewise.
31189 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31190 Likewise.
31191 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31192 Remove conditional code.
31193 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31194 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31195 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31196 condition.
31197
e97ed6dd
JM
31198 [BZ #13550]
31199 * csu/libc-start.c: Do not include <bp-sym.h>.
31200 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31201 * elf/dl-open.c: Do not include <bp-sym.h>.
31202 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31203 * math/fegetenv.c: Do not include <bp-sym.h>.
31204 (fegetenv): Do not use BP_SYM in versioned symbols.
31205 * nptl/sysdeps/pthread/bits/libc-lockP.h
31206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31207 <bp-sym.h>.
31208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31209 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31211 (__pthread_mutex_destroy): Likewise.
31212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31213 (__pthread_mutex_lock): Likewise.
31214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31215 (__pthread_mutex_trylock): Likewise.
31216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31217 (__pthread_mutex_unlock): Likewise.
31218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31219 (__pthread_mutexattr_init): Likewise.
31220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31221 (__pthread_mutexattr_destroy): Likewise.
31222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31223 (__pthread_mutexattr_settype): Likewise.
31224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31225 (__pthread_rwlock_init): Likewise.
31226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31227 (__pthread_rwlock_destroy): Likewise.
31228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31229 (__pthread_rwlock_rdlock): Likewise.
31230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31231 (__pthread_rwlock_tryrdlock): Likewise.
31232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31233 (__pthread_rwlock_wrlock): Likewise.
31234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31235 (__pthread_rwlock_trywrlock): Likewise.
31236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31237 (__pthread_rwlock_unlock): Likewise.
31238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31239 (__pthread_key_create): Likewise.
31240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31241 (__pthread_setspecific): Likewise.
31242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31243 (__pthread_getspecific): Likewise.
31244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31245 Likewise.
31246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31247 (_pthread_cleanup_push_defer): Likewise.
31248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31249 (_pthread_cleanup_pop_restore): Likewise.
31250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31251 (pthread_setcancelstate): Likewise.
31252 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31253 <bp-sym.h>.
31254 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31255 (memchr): Do not use BP_SYM in weak_alias.
31256 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31257 (fegetenv): Do not use BP_SYM in versioned symbols.
31258 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31259 (fesetenv): Do not use BP_SYM in versioned symbols.
31260 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31261 (feupdateenv): Do not use BP_SYM in versioned symbols.
31262 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31263 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31264 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31265 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31266 (open64): Do not use BP_SYM in weak_alias.
31267 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31268 (fegetenv): Do not use BP_SYM in versioned symbols.
31269 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31270 (fesetenv): Do not use BP_SYM in versioned symbols.
31271 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31272 (feupdateenv): Do not use BP_SYM in versioned symbols.
31273 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31274 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31275 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31276 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31277 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31278 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31279 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31280 <bp-sym.h>.
31281 (__libc_start_main): Do not use BP_SYM.
31282
d6752ccd
SP
312832013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31284
cb57ce60
SP
31285 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31286 redundant return line.
31287 (norm): Likewise.
31288 (denorm): Likewise.
31289 (dbl_mp): Likewise.
31290 (sub_magnitudes): Likewise.
31291 (__add): Likewise.
31292 (__sub): Likewise.
31293 (__mul): Likewise.
31294 (__inv): Likewise.
31295 (__dvd): Likewise.
31296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31297 (norm): Likewise.
31298 (denorm): Likewise.
31299 (dbl_mp): Likewise.
31300 (sub_magnitudes): Likewise.
31301 (__add): Likewise.
31302 (__sub): Likewise.
31303 (__mul): Likewise.
31304 (__inv): Likewise.
31305 (__dvd): Likewise.
31306
f414520d
SP
31307 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31308 instead of __mul.
31309 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31310 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31311 (cc32): Likewise.
31312
d6752ccd
SP
31313 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31314 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31315 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31316 of __mul for squares.
31317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31318 function
31319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31320 Likewise.
31321 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31322 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31323
70d9946a
JM
313242013-02-13 Joseph Myers <joseph@codesourcery.com>
31325
31326 [BZ #13550]
31327 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31328 code.
31329 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31330 prototype or function definition. Rename ubp_* variables and
31331 parameters. Remove argv definitions conditional on
31332 [__BOUNDED_POINTERS__].
31333 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31334 * elf/dl-runtime.c (_dl_fixup): Likewise.
31335 * include/set-hooks.h (RUN_HOOK): Likewise.
31336 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31337 definition.
31338 * string/strcpy.c (strcpy): Do not use __unbounded.
31339 * sysdeps/generic/frame.h (struct layout): Likewise.
31340 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31341 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31342 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31343 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31344 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31345 (__backtrace): Likewise.
31346 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31347 use __ptrvalue.
31348 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31349 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31350 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31351 Likewise.
31352 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31353 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31354 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31355 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31356 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31357 Do not use __unbounded.
31358 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31359 Rename __unboundedrlimits parameter to rlimits in prototype.
31360 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31361 Do not use __unbounded.
31362 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31363 not use __ptrvalue.
31364 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31365 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31366 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31367 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31368 __ptrvalue or __unbounded.
31369 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31370 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31371 use __unbounded.
31372 (__new_msgctl): Do not use __ptrvalue.
31373 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31374 __unbounded.
31375 (__libc_msgrcv): Do not use __ptrvalue.
31376 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31377 startup_info): Do not use __unbounded.
31378 (__libc_start_main): Likewise. Rename ubp_* variables and
31379 parameters. Remove argv definitions conditional on
31380 [__BOUNDED_POINTERS__].
31381 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31382 __ptrvalue.
31383 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31384 use __unbounded.
31385 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31386 or __ptrvalue.
31387 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31388 use __unbounded.
31389 (__new_shmctl): Do not use __ptrvalue.
31390 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31391 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31392 Likewise.
31393 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31394 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31395 (__libc_sigaction): Likewise.
31396 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31397 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31398 Likewise.
31399 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31400
cc7834d6
OB
314012013-02-13 Ondřej Bílka <neleai@seznam.cz>
31402
ffb1ec7b 31403 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
31404
31405 * string/mempcpy.c: Implement by calling memcpy.
31406
bdf02814
SP
314072013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31408
c2af38aa
SP
31409 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31410
4e92d59e
SP
31411 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31412 evaluation.
31413
909279a5
SP
31414 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31415 values in the mantissa.
31416
bdf02814
SP
31417 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31418 minimize writes to Z.
31419 (sub_magnitudes): Simplify code a bit.
31420
cd525923
RM
314212013-02-12 Roland McGrath <roland@hack.frob.com>
31422
31423 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31424 from the message. The linker prefixes all warnings with that already.
31425
7e2f0d2d
AS
314262013-02-12 Andreas Schwab <schwab@suse.de>
31427
a445af0b
AS
31428 [BZ #15078]
31429 * posix/regexec.c (extend_buffers): Add parameter min_len.
31430 (check_matching): Pass minimum needed length.
31431 (clean_state_log_if_needed): Likewise.
31432 (get_subexp): Likewise.
31433 * posix/Makefile (tests): Add bug-regex34.
31434 (bug-regex34-ENV): Define.
31435 * posix/bug-regex34.c: New file.
31436
7e2f0d2d
AS
31437 [BZ #11561]
31438 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31439 elements compare against the byte sequence of it, not its name.
31440 * posix/Makefile (tests): Add bug-regex35.
31441 (bug-regex35-ENV): Define.
31442 * posix/bug-regex35.c: New file.
31443
a175b684
TV
314442013-02-11 Tom de Vries <tom@codesourcery.com>
31445
31446 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31447 comment.
31448 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31449 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31450 (CHECK_EOL): Add undef.
31451
310998fe 314522013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
31453
31454 * bits/stdlib-bsearch.h: New file.
31455 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 31456 * stdlib/stdlib.h: Likewise.
41eda41d 31457
8ded91fb
RM
314582013-02-11 Roland McGrath <roland@hack.frob.com>
31459
31460 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31461 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31462 declaration.
31463 * manual/search.texi (Array Search Function): Add missing const in
31464 lfind prototype.
31465 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31466 declaration to use rlim_t.
31467 (Basic Scheduling Functions): Remove erroneous const from
31468 sched_getparam prototype. Remove erroneous * from
31469 sched_get_priority_max and sched_get_priority_min prototypes.
31470 (Resource Usage): Fix summary @comment on vtimes to refer to
31471 sys/vtimes.h rather than vtimes.h.
31472 Add missing *s in vtimes prototype.
31473 (Limits on Resources): Fix ulimit prototype to return long int.
31474 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31475 prototypes to use long int rather than double.
31476 (BSD Random): Fix initstate and setstate to use char *, not void *.
31477 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31478 prototype to make second argument 'struct aiocb64 *const[]'.
31479 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31480 (Status of AIO Operations): Remove erroneous const in aio_return and
31481 aio_return64 prototypes.
31482 (Synchronizing I/O): Fix sync prototype to return void.
31483 * manual/startup.texi (Suboptions): Remove an erroneous const in
31484 getsubopt prototype.
31485 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31486 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31487 use size_t rather than int.
31488 (Scanning All Users): Likewise for getpwent_r.
31489 (Setting Groups): Add missing const to setgroups prototype.
31490 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31491 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31492 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31493 'const void *' rather than 'const char *'.
31494 (Host Address Functions): Likewise for inet_ntop.
31495 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31496 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31497 ssize_t for return value.
31498 (Sending Data): Likewise for send, sendto, sendmsg.
31499 (Socket Option Functions): Add a missing const in setsockopt prototype.
31500 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31501 use wchar_t for the argument.
31502 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31503 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31504 take no arguments.
31505 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31506 double/float/long double for second argument.
31507 Fix return types of significand, significandf, significandl.
31508 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31509 argument in fchmod prototype.
31510 (File Owner): Use uid_t and gid_t in fchown prototype.
31511 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31512 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31513 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31514 use 'const struct dirent **' as argument types to CMP function pointer
31515 argument.
31516 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31517 (File Times): Fix summary magic @comment for struct utimbuf and utime
31518 to refer to utime.h, not time.h.
31519 * manual/string.texi (Argz Functions): Add missing const in
31520 argz_extract and argz_next prototypes.
31521 (Finding Tokens in a String): Likewise for basename.
31522 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31523 (Copying and Concatenation): Fix typo in wmemmove prototype.
31524 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31525 (Signal Stack): Remove erroneous const in sigstack prototype.
31526 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31527 prototype.
31528 (Simple Calendar Time): Likewise for stime.
31529 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31530 prototype.
31531 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31532 say sys/sysctl.h instead.
31533 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31534 and vsyslog prototypes.
31535
fe77fe6d
TV
315362013-02-11 Tom de Vries <tom@codesourcery.com>
31537
31538 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31539 Remove.
31540
3a09b620
RM
315412013-02-11 Roland McGrath <roland@hack.frob.com>
31542
31543 * misc/sys/mman.h: Fix typo in mremap comment.
31544
550a0b89
RM
315452013-02-08 Roland McGrath <roland@hack.frob.com>
31546
31547 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31548 the '\0' terminator.
31549
a2da1673
JM
315502013-02-08 Joseph Myers <joseph@codesourcery.com>
31551
31552 [BZ #13550]
31553 * debug/segfault.c: Don't include <bp-checks.h>.
31554 * sysdeps/generic/bp-checks.h: Remove file.
31555 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31556 (__GETDENTS): Don't use CHECK_N.
31557 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31558 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31559 (__getgroups): Don't use CHECK_N.
31560 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31561 (setgroups): Don't use CHECK_N.
31562 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31563 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31564 (__libc_msgrcv): Don't use CHECK_N.
31565 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31566 (__libc_msgsnd): Don't use CHECK_N.
31567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31568 <bp-checks.h>.
31569 (__libc_pread): Don't use CHECK_N.
31570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31571 include <bp-checks.h>.
31572 (__libc_pread64): Don't use CHECK_N.
31573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31574 include <bp-checks.h>.
31575 (__libc_pwrite): Don't use CHECK_N.
31576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31577 include <bp-checks.h>.
31578 (__libc_pwrite64): Don't use CHECK_N.
31579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31580 <bp-checks.h>.
31581 (__libc_pread): Don't use CHECK_N.
31582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31583 include <bp-checks.h>.
31584 (__libc_pread64): Don't use CHECK_N.
31585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31586 include <bp-checks.h>.
31587 (__libc_pwrite): Don't use CHECK_N.
31588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31589 include <bp-checks.h>.
31590 (__libc_pwrite64): Don't use CHECK_N.
31591 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31592 (do_pread): Don't use CHECK_N.
31593 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31594 (do_pread64): Don't use CHECK_N.
31595 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31596 (do_pwrite): Don't use CHECK_N.
31597 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31598 (do_pwrite64): Don't use CHECK_N.
31599 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31600 (__libc_readv): Don't use CHECK_N.
31601 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31602 (semop): Don't use CHECK_N.
31603 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31604 <bp-checks.h>.
31605 (semtimedop): Don't use CHECK_N.
31606 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31607 (__libc_pread): Don't use CHECK_N.
31608 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31609 <bp-checks.h>.
31610 (__libc_pread64): Don't use CHECK_N.
31611 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31612 <bp-checks.h>.
31613 (__libc_pwrite): Don't use CHECK_N.
31614 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31615 <bp-checks.h>.
31616 (__libc_pwrite64): Don't use CHECK_N.
31617 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31618 <bp-checks.h>.
31619 (__libc_msgrcv): Don't use CHECK_N.
31620 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31621 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31622 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31623 (__libc_writev): Don't use CHECK_N.
31624
b84660a8
RM
316252013-02-08 Roland McGrath <roland@hack.frob.com>
31626
7f3e75f8
RM
31627 * string/strcpy.c: Removed unused variable.
31628
b84660a8
RM
31629 * Makeconfig (+sysdep-includes): Define with := rather than =.
31630 Use an existing include/ subdir of each sysdeps dir before it.
31631
471514d3
CD
316322013-02-08 Carlos O'Donell <carlos@redhat.com>
31633
31634 * nscd/connection.c (register_traced_file): Comment function.
31635 [HAVE_INOTIFY] (union __inev): Define.
31636 [HAVE_INOTIFY] (inotify_check_files): New function.
31637 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31638 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31639 clear_db_cache.
31640 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31641
b2d3c3be
CD
316422013-02-08 Carlos O'Donell <carlos@redhat.com>
31643
31644 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31645 loaded if not already and that a failure is permanent.
31646
b39949d2
CD
316472013-02-08 Carlos O'Donell <carlos@redhat.com>
31648
ddacd1db 31649 [BZ #15006]
b39949d2
CD
31650 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31651 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31652
b2c9eff4
JM
316532013-02-08 Joseph Myers <joseph@codesourcery.com>
31654
f3aae3f3
JM
31655 [BZ #13550]
31656 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31657 (CHECK_1_NULL_OK): Likewise.
31658 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31659 (__fxstat): Do not use CHECK_1.
31660 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31661 <bp-checks.h>.
31662 (___fxstat64): Do not use CHECK_1.
31663 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31664 <bp-checks.h>.
31665 (__fxstatat): Do not use CHECK_1.
31666 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31667 <bp-checks.h>.
31668 (__fxstatat64): Do not use CHECK_1.
31669 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31670 <bp-checks.h>.
31671 (__fxstat): Do not use CHECK_1.
31672 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31673 <bp-checks.h>.
31674 (__fxstatat): Do not use CHECK_1.
31675 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31676 <bp-checks.h>.
31677 (__getresgid): Do not use CHECK_1.
31678 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31679 <bp-checks.h>.
31680 (__getresuid): Do not use CHECK_1.
31681 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31682 <bp-checks.h>.
31683 (__lxstat): Do not use CHECK_1.
31684 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31685 <bp-checks.h>.
31686 (__old_msgctl): Do not use CHECK_1.
31687 (__new_msgctl): Likewise.
31688 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31689 <bp-checks.h>.
31690 (__new_setrlimit): Do not use CHECK_1.
31691 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31692 <bp-checks.h>.
31693 (__old_shmctl): Do not use CHECK_1.
31694 (__new_shmctl): Likewise.
31695 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31696 <bp-checks.h>.
31697 (__xstat): Do not use CHECK_1.
31698 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31699 (__lxstat): Do not use CHECK_1.
31700 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31701 <bp-checks.h>.
31702 (___lxstat64): Do not use CHECK_1.
31703 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31704 (__old_msgctl): Do not use CHECK_1.
31705 (__new_msgctl): Likewise.
31706 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31707 <bp-checks.h>.
31708 (__gettimeofday): Do not use CHECK_1.
31709 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31710 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31711 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31712 <bp-checks.h>.
31713 (__gettimeofday): Do not use CHECK_1.
31714 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31715 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31716 (__new_shmctl): Do not use CHECK_1.
31717 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31718 <bp-checks.h>.
31719 (do_sigtimedwait): Do not use CHECK_1.
31720 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31721 <bp-checks.h>.
31722 (do_sigwaitinfo): Do not use CHECK_1.
31723 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31724 <bp-checks.h>.
31725 (msgctl): Do not use CHECK_1.
31726 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31727 <bp-checks.h>.
31728 (shmctl): Do not use CHECK_1.
31729 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31730 (ustat): Do not use CHECK_1.
31731 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31732 <bp-checks.h>.
31733 (__fxstat): Do not use CHECK_1.
31734 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31735 <bp-checks.h>.
31736 (__fxstatat): Do not use CHECK_1.
31737 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31738 <bp-checks.h>.
31739 (__lxstat): Do not use CHECK_1.
31740 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31741 <bp-checks.h>.
31742 (__xstat): Do not use CHECK_1.
31743 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31744 (__xstat): Do not use CHECK_1.
31745 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31746 (___xstat64): Do not use CHECK_1.
31747
b2c9eff4
JM
31748 [BZ #13550]
31749 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31750 definitions.
31751 (CHECK_BOUNDS_HIGH): Likewise.
31752 * string/strcpy.c: Do not include <bp-checks.h>.
31753 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31754
f1d70dad
RM
317552013-02-07 Roland McGrath <roland@hack.frob.com>
31756
31757 * nscd/nscd-client.h (__nscd_drop_map_ref):
31758 Add __attribute__ ((unused)).
31759 * nis/nss-nisplus.h (niserr2nss): Likewise.
31760
31761 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31762 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31763
31764 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31765 Remove inline keyword.
31766 * include/rounding-mode.h (round_away): Likewise.
31767 * libio/wfileops.c (adjust_wide_data): Likewise.
31768 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31769 (__m128i_strloadu_tolower): Likewise.
31770 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31771 (__m128i_strloadu_tolower): Likewise.
31772 * time/mktime.c (ydhms_diff): Likewise.
31773 * locale/elem-hash.h (elem_hash): Likewise.
31774 * locale/setlocale.c (setdata): Likewise.
31775 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31776 (re_string_wchar_at): Likewise.
31777 (bitset_not, bitset_merge, bitset_mask): Likewise.
31778 [!(__GNUC__ > 3)] (inline): Remove macro.
31779 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31780 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31781 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31782 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31783 * string/memcmp.c (memcmp_bytes): Likewise.
31784 * locale/programs/locarchive.c (compute_hashval): Likewise.
31785 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31786 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31787 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31788 * nss/getent.c (print_rpc, print_protocols): Likewise.
31789 (print_passwd, print_group, print_aliases): Likewise.
31790 * nis/nss-nisplus.h (niserr2nss): Likewise.
31791 * nscd/connections.c (restart_p): Likewise.
31792 Change return type to bool.
31793
eab55bfb
RM
317942013-02-05 Roland McGrath <roland@hack.frob.com>
31795
7bd642f5
RM
31796 * Makeconfig (all-Depend-files): Add existing
31797 $(sorted-subdirs:=/Depend) files.
31798 (all-subdirs): Remove nss.
31799 * sysdeps/unix/inet/Subdirs: Add it here instead.
31800 * hesiod/Depend: New file.
31801
573c29b2
RM
31802 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31803 instead of calling alloca.
31804
b2e25af0
RM
31805 * io/lseek.c (__lseek): Rename to __libc_lseek.
31806 Define __lseek as an alias.
31807
eab55bfb
RM
31808 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31809
9a0d1941
CD
318102013-02-04 Carlos O'Donell <carlos@redhat.com>
31811
31812 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31813 else clause and remove check for non-standard endianness.
31814
b83bbec4
DM
318152013-02-04 David S. Miller <davem@davemloft.net>
31816
31817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31818
6277fdab
JM
318192013-02-04 Joseph Myers <joseph@codesourcery.com>
31820
31821 [BZ #13550]
31822 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31823 (__ubp_memchr): Remove prototype.
31824 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31825 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31826 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31827 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31828 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31829 Remove alias.
31830 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31831 (__ubp_memchr): Likewise.
31832 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31833 (__ubp_memchr): Likewise.
31834 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31835 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31836 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31837 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31838 CHECK_STRING.
31839 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31840 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31841 (__getcwd): Do not use CHECK_STRING.
31842 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31843 <bp-checks.h>.
31844 (__real_chown): Do not use CHECK_STRING.
31845 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31846 <bp-checks.h>.
31847 (fchownat): Do not use CHECK_STRING.
31848 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31849 CHECK_STRING.
31850 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31851 <bp-checks.h>.
31852 (__lchown): Do not use CHECK_STRING.
31853 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31854 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31855 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31856 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31858 include <bp-checks.h>.
31859 (truncate64): Do not use CHECK_STRING.
31860 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31861 <bp-checks.h>.
31862 (__real_chown): Do not use CHECK_STRING.
31863 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31864 <bp-checks.h>.
31865 (__lchown): Do not use CHECK_STRING.
31866 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31867 <bp-checks.h>.
31868 (__chown): Do not use CHECK_STRING.
31869 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31870 <bp-checks.h>.
31871 (truncate64): Do not use CHECK_STRING.
31872 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31873 Likewise.
31874 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31875 (__xmknod): Do not use CHECK_STRING.
31876 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31877 <bp-checks.h>.
31878 (__xmknodat): Do not use CHECK_STRING.
31879 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31880 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31881
903ae060
AS
318822013-02-04 Andreas Schwab <schwab@suse.de>
31883
31884 [BZ #14142]
31885 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31886 * include/netdb.h: Likewise for h_errno.
31887 * elf/tst-stackguard1.c: Include <tls.h>.
31888
542f9466
JK
318892013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31890
31891 * elf/link.h (struct link_map): Extend the l_addr comment.
31892 * include/link.h (struct link_map): Likewise.
31893
e782a927
JM
318942013-02-01 Joseph Myers <joseph@codesourcery.com>
31895
31896 [BZ #13550]
31897 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31898 (BOUNDED_1): Remove macro.
31899 * debug/backtrace.c: Don't include <bp-checks.h>.
31900 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31901 (__backtrace): Likewise.
31902 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31903 <bp-checks.h>.
31904 (__backtrace): Don't use BOUNDED_1.
31905 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31906 <bp-checks.h>.
31907 (__backtrace): Don't use BOUNDED_1.
31908 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31909 (__backtrace): Don't use BOUNDED_1.
31910 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31911 (shmat): Don't use BOUNDED_N.
31912
8cf28c5e
JM
319132013-01-31 Joseph Myers <joseph@codesourcery.com>
31914
3a7ac8a0
JM
31915 [BZ #13550]
31916 * sysdeps/generic/bp-start.h: Remove file.
31917 * csu/libc-start.c: Don't include <bp-start.h>.
31918 (LIBC_START_MAIN): Set up __environ directly instead of using
31919 INIT_ARGV_and_ENVIRON.
31920 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31921 <bp-start.h>.
31922
f3499f95
JM
31923 [BZ #13550]
31924 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31925 definitions.
31926 (CHECK_FCNTL): Likewise.
31927 (CHECK_N_PAGES): Likewise.
31928
32a45bea
JM
31929 [BZ #13550]
31930 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31931 definitions.
31932 (CHECK_SIGSET_NULL_OK): Likewise.
31933 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31934 <bp-checks.h>.
31935 (sigpending): Don't use CHECK_SIGSET.
31936 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31937 <bp-checks.h>.
31938 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31939 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31940 <bp-checks.h>.
31941 (do_sigsuspend): Don't use CHECK_SIGSET.
31942 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31943 use CHECK_SIGSET.
31944 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31945 (do_sigwait): Don't use CHECK_SIGSET.
31946 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31947 use CHECK_SIGSET.
31948 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31949 include <bp-checks.h>.
31950 (sigpending): Don't use CHECK_SIGSET.
31951 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31952 include <bp-checks.h>.
31953 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31954 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31955 <bp-checks.h>.
31956 (sigpending): Don't use CHECK_SIGSET.
31957 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31958 <bp-checks.h>.
31959 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31960
2e8a5c8c
JM
31961 [BZ #13550]
31962 * sysdeps/generic/bp-semctl.h: Remove file.
31963 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31964 <bp-checks.h> and <bp-semctl.h>.
31965 (__old_semctl): Don't use CHECK_SEMCTL.
31966 (__new_semctl): Likewise.
31967 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31968 and <bp-semctl.h>.
31969 (__old_semctl): Don't use CHECK_SEMCTL.
31970 (__new_semctl): Likewise.
31971 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31972 <bp-checks.h> and <bp-semctl.h>.
31973 (__old_semctl): Don't use CHECK_SEMCTL.
31974 (__new_semctl): Likewise.
31975 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31976 <bp-checks.h> and <bp-semctl.h>.
31977 (semctl): Don't use CHECK_SEMCTL.
31978
c2d54929
JM
31979 [BZ #13550]
31980 * Makerules (elide-bp-thunks): Remove variable.
31981 (elide-routines.oS): Don't use $(elide-bp-thunks).
31982 (elide-routines.os): Likewise.
31983 (elide-routines.o): Likewise.
31984 (elide-routines.op): Likewise.
31985 (elide-routines.og): Likewise.
31986 (objects): Don't use $(bp-thunks).
31987 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31988 include.
31989 (common-generated): Do not add s-proto-bp.d.
31990 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31991 (int): Likewise.
31992 (typ): Likewise.
31993 Do not generate makefile rules for bounded-pointer thunks.
31994 * sysdeps/generic/bp-thunks.h: Remove file.
31995 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31996 * sysdeps/unix/s-proto-bp.S: Likewise.
31997
8cf28c5e
JM
31998 [BZ #15062]
31999 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32000 parts of result separately when argument is not close to line from
32001 -i to i and one part of argument is small.
32002 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32003 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32004 * math/libm-test.inc (cacos_test): Add more tests.
32005 (casin_test): Likewise.
32006 (casinh_test): Likewise.
32007 * sysdeps/i386/fpu/libm-test-ulps: Update.
32008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32009
c4e33b8d
DM
320102013-01-31 David S. Miller <davem@davemloft.net>
32011
32012 * po/de.po: Update from translation team.
32013
3b60b421
MK
320142013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32015
32016 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32017
bb931195
TS
320182013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32019
b5a5da23
TS
32020 * configure.in (_AC_PROG_CC_C89): New definition.
32021 * configure: Regenerate.
32022
bb931195
TS
32023 * configure.in (AC_PROG_CPP): New definition.
32024 * configure: Regenerate.
32025
8c53a12c
JM
320262013-01-23 Joseph Myers <joseph@codesourcery.com>
32027
32028 * debug/tst-backtrace.h: New file.
32029 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32030 (ret): Remove variable.
32031 (x): Likewise.
32032 (FAIL): Remove macro.
32033 (NO_INLINE): Likewise.
32034 (fn1): Use match function instead of strstr.
32035 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32036 (ret): Remove variable.
32037 (x): Likewise.
32038 (FAIL): Remove macro.
32039 (NO_INLINE): Likewise.
32040 (fn): Use match function instead of strstr.
32041 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32042 (ret): Remove variable.
32043 (x): Likewise.
32044 (FAIL): Remove macro.
32045 (NO_INLINE): Likewise.
32046 (handle_signal): Use match function instead of strstr.
32047 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32048 (ret): Remove variable.
32049 (x): Likewise.
32050 (FAIL): Remove macro.
32051 (NO_INLINE): Likewise.
32052 (handle_signal): Use match function instead of strstr.
32053
4858fa2a
RM
320542013-01-23 Roland McGrath <roland@hack.frob.com>
32055
32056 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32057
bae8e7f5
DM
320582013-01-23 David S. Miller <davem@davemloft.net>
32059
32060 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32061 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32062 argument of CAS if possible.
32063 * sysdeps/sparc/sparc64/bits/atomic.h
32064 (__arch_compare_and_exchange_val_32_acq): Likewise.
32065 (__arch_compare_and_exchange_val_64_acq): Likewise.
32066
9cbbc4ae
PT
320672013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32068
32069 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32070 * sysdeps/posix/ulimit.c: ... this.
92a601b8 32071 Include <limits.h>.
67b3f58c 32072 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 32073
5655a0b5
AC
320742013-01-23 Adam Conrad <adconrad@0c3.net>
32075
32076 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32077 (LDFLAGS-tst-array5): Likewise.
32078
052aff95
JM
320792013-01-23 Joseph Myers <joseph@codesourcery.com>
32080
32081 [BZ #15036]
32082 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32083 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32084 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32085 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32086
7c1e01aa
DM
320872013-01-21 David S. Miller <davem@davemloft.net>
32088
32089 * sysdeps/sparc/backtrace.c: New file.
32090 * sysdeps/sparc/sparc32/backtrace.h: New file.
32091 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32092 * sysdeps/sparc/sparc64/backtrace.h: New file.
32093 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32094 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32095 -funwind-tables.
32096
ab087e0a
AS
320972013-01-21 Andreas Schwab <schwab@suse.de>
32098
32099 [BZ #15020]
32100 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32101 closed its stdout.
32102
ed689c2f
AS
321032013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32104
32105 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32106 "mpa2.h".
32107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32108
31d470ac
JM
321092013-01-18 Joseph Myers <joseph@codesourcery.com>
32110 Mark Mitchell <mark@codesourcery.com>
32111 Tom de Vries <tom@codesourcery.com>
32112 Paul Pluzhnikov <ppluzhnikov@google.com>
32113
32114 * debug/tst-backtrace2.c: New file.
32115 * debug/tst-backtrace3.c: Likewise.
32116 * debug/tst-backtrace4.c: Likewise.
32117 * debug/tst-backtrace5.c: Likewise.
32118 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32119 (CFLAGS-tst-backtrace3.c): Likewise.
32120 (CFLAGS-tst-backtrace4.c): Likewise.
32121 (CFLAGS-tst-backtrace5.c): Likewise.
32122 (LDFLAGS-tst-backtrace2): Likewise.
32123 (LDFLAGS-tst-backtrace3): Likewise.
32124 (LDFLAGS-tst-backtrace4): Likewise.
32125 (LDFLAGS-tst-backtrace5): Likewise.
32126 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32127 tst-backtrace4 and tst-backtrace5.
32128
90567f30 321292013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
32130 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32131
32132 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32133 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32134 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32135 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32137 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32138 "+r" and remove output regs list as redundant. Add explicit inline
32139 asm to specify register of return val to work around compiler codegen
32140 bug. Remove (int) cast on return value. Add return type parameter to
32141 use in macro so that this macro does not truncate return value for
32142 64-bit values.
32143 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32144 pass to INTERNAL_VSYSCALL_NCS.
32145 (INLINE_VSYSCALL): Add 'long int' as return type to
32146 INTERNAL_VSYSCALL_NCS macro invocation.
32147 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32148 INTERNAL_VSYSCALL_NCS macro invocation.
32149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32150
d3b9ea61
SP
321512013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32152
0b57daeb
SP
32153 [BZ #14496]
32154 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32155 Fix application of SIMD FP exception mask.
32156
caa99d06
SP
32157 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32158 mp_no from a power of two.
32159 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32160 __mpexp_twomm1. Use __pow_mp.
32161
d3b9ea61
SP
32162 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32163 multiplication.
32164
1dbaee3c
DM
321652013-01-17 David S. Miller <davem@davemloft.net>
32166
32167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32168
728d7b43
JM
321692013-01-17 Joseph Myers <joseph@codesourcery.com>
32170
32171 [BZ #15023]
32172 * include/complex.h: Condition contents on [!_COMPLEX_H].
32173 (__kernel_casinhf): New prototype.
32174 (__kernel_casinh): Likewise.
32175 (__kernel_casinhl): Likewise.
32176 * math/Makefile (libm_calls): Add k_casinh.
32177 * math/k_casinh.c: New file.
32178 * math/k_casinhf.c: Likewise.
32179 * math/k_casinhl.c: Likewise.
32180 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32181 finite nonzero arguments.
32182 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32183 finite nonzero arguments.
32184 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32185 finite nonzero arguments.
32186 * math/s_casinh.c: Do not include <float.h>.
32187 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32188 * math/s_casinhf.c: Do not include <float.h>.
32189 (__casinhf): Move code for finite nonzero arguments to
32190 k_casinhf.c.
32191 * math/s_casinhl.c: Do not include <float.h>.
32192 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32193 redefine.
32194 (__casinhl): Move code for finite nonzero arguments to
32195 k_casinhl.c.
32196 * math/libm-test.inc (cacos_test): Add more tests.
32197 * sysdeps/i386/fpu/libm-test-ulps: Update.
32198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32199
2a26ef3a
PT
322002013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32201
32202 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32203 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32204 [!HAVE_MREMAP]: Remove [defined linux] case.
32205 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32206
a897655d
SP
322072013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32208
32209 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32210
881ebe89 322112013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
32212
32213 * elf/elf.h (R_386_SIZE32): New relocation.
32214 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32215 R_386_SIZE32.
32216 (elf_machine_rela): Likewise.
32217 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32218 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32219
59981e9b
JM
322202013-01-17 Joseph Myers <joseph@codesourcery.com>
32221
32222 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32223 (FP_FAST_FMA): Do not define.
32224 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32225 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32226 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32227 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32228 !_SOFT_FLOAT]: Likewise.
32229 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32230 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32231 value.
32232 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32233 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32234 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32235 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32236 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32237 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32238 file.
32239
cfa8054f
AS
322402013-01-16 Andreas Schwab <schwab@suse.de>
32241
32242 [BZ #14327]
32243 * include/stdlib.h (__mktemp): Add declaration.
32244 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32245 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32246
dd930cc5
SP
322472013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32248
881ebe89
SP
32249 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32250 definitions.
32251 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32252 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32253 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32254 definitions here.
32255 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32256 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32257 definitions.
32258 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32259 and ONE.
32260 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32261 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32262 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32263 definitions.
32264 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32265 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32266 definitions.
32267 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 32268
dd930cc5
SP
32269 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32270
c19a9f89
DM
322712013-01-15 David S. Miller <davem@davemloft.net>
32272
1aa61767
DM
32273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32274 trunc{,f} to libm-sysdep_routes.
32275 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32277 file.
32278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32280 file.
32281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32282 file.
32283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32285 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32286 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32287 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32288 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32289 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32290 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32291
c42d5e98
DM
32292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32293 nearbyint{,f} to libm-sysdep_routes.
32294 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32296 New file.
32297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32298 file.
32299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32300 New file.
32301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32302 file.
32303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32305 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32306 file.
32307 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32308 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32309 file.
32310 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32311 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32312 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32313
c19a9f89
DM
32314 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32315 libc_feholdexcept and libc_fesetenv.
32316
357679d2
MF
323172013-01-15 Mike Frysinger <vapier@gentoo.org>
32318
32319 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32320
65a82e3d
DM
323212013-01-14 David S. Miller <davem@davemloft.net>
32322
8b954ab9
DM
32323 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32324 (SPARC_ASM_VIS2_IFUNC): Likewise.
32325 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32327 use of 'siam' instruction.
32328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32329 Likewise.
32330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32331 Likewise.
32332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32333 Likewise.
32334 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32335 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32336 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32339 file.
32340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32341 file.
32342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32343 file.
32344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32345 file.
32346 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32347 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32349 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32351 new VIS2 routines.
32352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32355 Likewise.
32356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32357 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32358 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32359 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32361 routines to libm-sysdep_routines.
32362 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32363
65a82e3d
DM
32364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32365 fdim/fdimf to libm-sysdep_routines.
32366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32367 file.
32368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32370 file.
32371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32374 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32375 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32376 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32377 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32378
e34ab705
SP
323792013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32380
2a91b573
SP
32381 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32382 to optimize copies.
32383
1066a534
SP
32384 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32385 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32387
e34ab705
SP
32388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32389 local variable MPTWO.
32390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32391 Likewise.
32392
aba5e596
MF
323932013-01-13 Mike Frysinger <vapier@gentoo.org>
32394
32395 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32396 GLOB_NOESCAPE.
32397
e557e9e5
MF
323982013-01-13 Mike Frysinger <vapier@gentoo.org>
32399
32400 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32401
0428cec9
MF
324022013-01-13 Mike Frysinger <vapier@gentoo.org>
32403
32404 * manual/pattern.texi (glob_t): Document gl_flags.
32405 (glob64_t): Likewise.
32406
8794a964
DM
324072013-01-11 David S. Miller <davem@davemloft.net>
32408
66438c3f
RM
32409 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32410 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32411 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
32412 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32413 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32414 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32415 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32416 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32417 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32418 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32419 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32420 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32421 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32422
4ae4244d
DM
32423 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32424 sparc V9 rather than using V8 code.
32425 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32426 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32427
8794a964
DM
32428 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32429 Move to...
32430 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32431 Here.
32432
6270516e
RM
324332013-01-11 Roland McGrath <roland@hack.frob.com>
32434
32435 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32436 not in the main loop.
32437 * configure: Regenerated.
32438
6a57d931
JM
324392013-01-11 Joseph Myers <joseph@codesourcery.com>
32440
32441 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32442 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32443 to just #else.
32444 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32445 [!__GLIBC_HAVE_LONG_LONG] case.
32446 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32447 condition to just #else.
32448 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32449 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32450 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32451 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32452 unconditional.
32453 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32454 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32455 #elif condition to just #else.
32456 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32457 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32458 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32459 #elif condition to just #else.
32460
0e8529e9
SE
324612013-01-11 Steve Ellcey <sellcey@mips.com>
32462
32463 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32464 (EF_MIPS_ARCH_64): Fix value.
32465 (EF_MIPS_ARCH_32R2): New.
32466 (EF_MIPS_ARCH_64R2): New.
32467
740b3dbe
L
324682013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32469
32470 * Makeconfig (+link-pie-before-libc): New.
32471 (+link-pie-after-libc): Likewise.
32472 (+link-pie-tests): Likewise.
32473 (+link-pie): Rewritten.
32474 (link-before-libc): Remove $(config-LDFLAGS).
32475 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32476 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32477 (config-LDFLAGS): Renamed to ...
32478 (rtld-LDFLAGS): This.
32479 (rtld-tests-LDFLAGS): New macro.
32480 (link-libc-rpath-link): Likewise.
32481 (link-libc-tests-rpath-link): Likewise.
32482 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32483 (link-libc): Prepand $(link-libc-rpath-link).
32484 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32485 (test-program-prefix): New macro.
32486 (test-via-rtld-prefix): Likewise.
32487 (test-program-cmd): Likewise.
32488 (host-test-program-cmd): Likewise.
32489 * Makefile ($(common-objpfx)testrun.sh): Replace
32490 $(run-program-prefix) with $(test-program-prefix).
32491 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32492 $(rtld-LDFLAGS).
32493 ($(common-objpfx)shlib.lds): Likewise.
32494 (build-module-helper): Likewise.
32495 ($(common-objpfx)format.lds): Likewise.
32496 * Rules (binaries-pie-tests): New.
32497 (binaries-pie-notests): Likewise.
32498 (binaries-pie): Rewritten.
32499 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32500 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32501 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32502 (make-test-out): Replace $(host-built-program-cmd) with
32503 $(host-test-program-cmd).
32504 * config.make.in (build-hardcoded-path-in-tests): New variable.
32505 * configure.in (--enable-hardcoded-path-in-tests): New configure
32506 option.
32507 (hardcoded_path_in_tests): New AC_SUBST.
32508 * configure: Regenerated.
32509 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32510 $(built-program-cmd) with $(test-program-cmd).
32511 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32512 (test_program_cmd): This.
32513 * elf/Makefile ($(objpfx)order.out): Run test with
32514 $(test-program-prefix).
32515 ($(objpfx)order2.out): Likewise.
32516 ($(objpfx)tst-initorder.out): Likewise.
32517 ($(objpfx)tst-initorder2.out): Likewise.
32518 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32519 $(test-program-cmd).
32520 ($(objpfx)tst-array1-static.out): Likewise.
32521 ($(objpfx)tst-array2.out): Likewise.
32522 ($(objpfx)tst-array3.out): Likewise.
32523 ($(objpfx)tst-array4.out): Likewise.
32524 ($(objpfx)tst-array5.out): Likewise.
32525 ($(objpfx)tst-array5-static.out): Likewise.
32526 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32527 $(test-program-cmd).
32528 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32529 $(run-program-prefix) with $(test-program-prefix).
32530 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32531 (test_program_prefix): This.
32532 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32533 $(run-program-prefix) with $(test-program-prefix).
32534 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32535 (test_program_prefix): This.
32536 * iconvdata/tst-tables.sh: Likewise.
32537 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32538 $(run-program-prefix) with $(test-program-prefix).
32539 ($(objpfx)tst-translit.out): Likewise.
32540 ($(objpfx)tst-gettext2.out): Likewise.
32541 ($(objpfx)tst-gettext4.out): Likewise.
32542 ($(objpfx)tst-gettext6.out): Likewise.
32543 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32544 (test_program_prefix): This.
32545 * intl/tst-gettext2.sh: Likewise.
32546 * intl/tst-gettext4.sh Likewise.
32547 * intl/tst-gettext6.sh: Likewise.
32548 * intl/tst-translit.sh: Likewise.
32549 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32550 with $(test-program-cmd).
32551 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32552 $(run-program-prefix) with $(test-program-prefix).
32553 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32554 (test_program_prefix): This.
32555 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32556 $(run-program-prefix) with $(test-program-prefix).
32557 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32558 (test_program_prefix): This.
32559 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32560 * posix/Makefile ($(objpfx)globtest.out): Replace
32561 $(run-via-rtld-prefix) and $(test-wrapper) with
32562 $(test-program-prefix) and $(test-via-rtld-prefix).
32563 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32564 $(test-program-prefix).
32565 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32566 $(host-test-program-cmd).
32567 (tst-spawn-ARGS): Likewise.
32568 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32569 $(test-program-prefix).
32570 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32571 (test_via_rtld_prefix): This.
32572 (test_wrapper): Renamed to ...
32573 (test_program_prefix): This.
32574 (run_program_prefix): Replaced by test_program_prefix.
32575 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32576 (test_program_prefix): This.
32577 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32578 with $(host-test-program-cmd).
32579 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32580 $(run-program-prefix) with $(test-program-prefix).
32581 ($(objpfx)tst-printf.out): Likewise.
32582 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32583 $(test-program-cmd).
32584 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32585 (test_program_prefix): This.
32586 * stdio-common/tst-unbputc.sh: Likewise.
32587 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32588 $(run-program-prefix) with $(test-program-prefix).
32589 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32590 (test_program_prefix): This.
32591 * string/Makefile ($(objpfx)tst-svc.out): Replace
32592 $(built-program-cmd) with $(test-program-cmd).
32593
c6fe55cf
AJ
325942013-01-11 Andreas Jaeger <aj@suse.de>
32595
32596 [BZ #15003]
32597 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32598 value. Sync with Linux 3.7.
32599
9e6919c8
DM
326002013-01-10 David S. Miller <davem@davemloft.net>
32601
32602 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32603 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32604 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32605
1c9f1a02
RM
326062013-01-10 Roland McGrath <roland@hack.frob.com>
32607
32608 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32609 never set.
32610 * configure: Regenerated.
32611
b9de2dde
DM
326122013-01-10 David S. Miller <davem@davemloft.net>
32613
32614 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32615 sparc V9 rather than using V8 code.
32616 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32617 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32618
e7f68ef4
RM
326192013-01-10 Roland McGrath <roland@hack.frob.com>
32620
32621 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32622 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32623 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32624 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32625 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32626 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32627 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32628 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32629 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32630 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32631 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32632 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32633 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32634 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32635 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32636 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32637 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32638 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32639 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32640 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32641 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32642 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32643 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32644 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32645 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32646 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32647 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32648
5a47cc9c
DM
326492013-01-10 David S. Miller <davem@davemloft.net>
32650
32651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32652
4cf8f209
L
326532013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32654
32655 * posix/Makefile (tests-static): New variable.
32656 (tests): Add $(tests-static).
32657 (tst-exec-static-ARGS): New variable.
32658 (tst-spawn-static-ARGS): Likewise.
32659 * posix/tst-exec-static.c: New file.
32660 * posix/tst-spawn-static.c: Likewise.
32661 * posix/tst-exec.c: Support run directly.
32662 * posix/tst-spawn.c: Likewise.
32663
fed0faa1
JM
326642013-01-10 Joseph Myers <joseph@codesourcery.com>
32665
828beb13
JM
32666 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32667 long.
32668 * math/bits/mathcalls.h (llrint): Likewise.
32669 (llround): Likewise.
32670 * stdlib/stdlib.h (struct drand48_data): Likewise.
32671 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32672 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32673 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32674 Likewise.
32675 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32676 Likewise.
32677 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32678 (elf_greg_t): Likewise.
32679 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32680 (__jmp_buf): Likewise.
32681 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32682 definitions.
32683 (llrint): Likewise, for all definitions.
32684 (llrintl): Likewise.
32685
fed0faa1
JM
32686 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32687 Remove [__GNUC__] condition.
32688 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32689 condition to just [__USE_ISOC99].
32690 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32691
1a20cb20
L
326922013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32693
32694 [BZ #14200]
32695 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32696 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32697 defined.
32698 (_POSIX_V6_ILP32_OFF32): Likewise.
32699 (_XBS5_ILP32_OFF32): Likewise.
32700 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32701 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32702
751b85f7
SP
327032013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32704
7490eb81
SP
32705 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32706
751b85f7
SP
32707 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32708 doubles __mpexp_twomm1. Adjust usage.
32709 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32710 Remove.
32711
988197f0
AS
327122013-01-10 Andreas Schwab <schwab@suse.de>
32713
32714 [BZ #14964]
32715 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32716 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32717
e83d7298
DM
327182013-01-09 David S. Miller <davem@davemloft.net>
32719
034ed64b 32720 [BZ #15003]
57f41c40
AS
32721 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32722 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32723 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32724 (TCP_FASTOPEN): Define.
e83d7298
DM
32725 (tcp_repair_opt): New structure.
32726 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32727 enum values.
57f41c40
AS
32728 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32729 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32730 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
32731 (tcp_cookie_transactions): New structure.
32732
d5e0b9bd
AB
327332013-01-09 Anton Blanchard <anton@samba.org>
32734
32735 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32736 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32737 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32738 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32739
0c07e3ea
JM
327402013-01-09 Joseph Myers <joseph@codesourcery.com>
32741
32742 * include/features.h (__USE_ANSI): Remove.
32743
232f7002
RM
327442013-01-09 Roland McGrath <roland@hack.frob.com>
32745
ad98e30c
RM
32746 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32747
232f7002
RM
32748 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32749
950c99ca
SP
327502013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32751
b5792741
SP
32752 * sysdeps/s390/fpu/libm-test-ulps: Update.
32753
47cf2278
SP
32754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32755
950c99ca
SP
32756 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32757 (__acr): Likewise.
32758 (__cpy): Likewise.
32759 (norm): Likewise.
32760 (denorm): Likewise.
32761 (__mp_dbl): Likewise.
32762 (__dbl_mp): Likewise.
32763 (add_magnitudes): Likewise.
32764 (sub_magnitudes): Likewise.
32765 (__add): Likewise.
32766 (__sub): Likewise.
32767 (__mul): Likewise.
32768 (__inv): Likewise.
32769 (__dvd): Likewise.
32770 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32771 (__acr): Likewise.
32772 (__cpy): Likewise.
32773 (norm): Likewise.
32774 (denorm): Likewise.
32775 (__mp_dbl): Likewise.
32776 (__dbl_mp): Likewise.
32777 (add_magnitudes): Likewise.
32778 (sub_magnitudes): Likewise.
32779 (__add): Likewise.
32780 (__sub): Likewise.
32781 (__mul): Likewise.
32782 (__inv): Likewise.
32783 (__dvd): Likewise.
32784 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32785 (__acr): Likewise.
32786 (__cpy): Likewise.
32787 (norm): Likewise.
32788 (denorm): Likewise.
32789 (__mp_dbl): Likewise.
32790 (__dbl_mp): Likewise.
32791 (add_magnitudes): Likewise.
32792 (sub_magnitudes): Likewise.
32793 (__add): Likewise.
32794 (__sub): Likewise.
32795 (__mul): Likewise.
32796 (__inv): Likewise.
32797 (__dvd): Likewise.
32798
eede9df9
JM
327992013-01-08 Joseph Myers <joseph@codesourcery.com>
32800
32801 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32802 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32803 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32804 2 && __USE_EXTERN_INLINES]: Likewise.
32805
c40ea3d9
AJ
328062013-01-08 Andreas Jaeger <aj@suse.de>
32807
32808 [BZ# 14985]
32809 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32810 Remove.
32811 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32812 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32813
2ccdea26
AB
328142013-01-07 Anton Blanchard <anton@samba.org>
32815
32816 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32817 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32818 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32819 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32820 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32821 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32822 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32823 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32824 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32825 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32826 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32827 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32828 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32829 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32830 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32831 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32832 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32833 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32834 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32835 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32836 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32837 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32838 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32839 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32840 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32841 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32842 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32843 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32844 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32845 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32846 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32848 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32849 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32850 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32851 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32852 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32853 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32854 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32855 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32856 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32857 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32858 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32859
a9708fed
JM
328602013-01-07 Joseph Myers <joseph@codesourcery.com>
32861
375607b9
JM
32862 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32863 (__MALLOC_PMT): Likewise.
32864 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32865 [__GNUC__], only on [_LIBC].
32866 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32867 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32868 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32869 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32870 forward declaration.
32871 (realloc_hook_ini): Likewise.
32872 (memalign_hook_ini): Likewise.
32873 (__libc_memalign): Do not use __MALLOC_PMT in variable
32874 declaration.
32875 (__libc_valloc): Likewise.
32876 (__libc_pvalloc): Likewise.
32877 (__libc_calloc): Likewise.
32878 (__posix_memalign): Likewise.
32879
a9708fed
JM
32880 [BZ #14996]
32881 * math/s_casinh.c: Include <float.h>.
32882 (__casinh): Do not do computation with squaring and square root
32883 for large arguments.
32884 * math/s_casinhf.c: Include <float.h>.
32885 (__casinhf): Do not do computation with squaring and square root
32886 for large arguments.
32887 * math/s_casinhl.c: Include <float.h>.
32888 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32889 (__casinhl): Do not do computation with squaring and square root
32890 for large arguments.
32891 * math/libm-test.inc (casin_test): Add more tests.
32892 (casinh_test): Likewise.
32893 * sysdeps/i386/fpu/libm-test-ulps: Update.
32894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32895
afec409a
L
328962013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32897
32898 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32899 (__x86_64_raw_data_cache_size): Likewise.
32900 (__x86_64_data_cache_size_half): Likewise.
32901 (__x86_64_raw_data_cache_size_half): Likewise.
32902 (__x86_64_shared_cache_size): Likewise.
32903 (__x86_64_raw_shared_cache_size): Likewise.
32904 (__x86_64_shared_cache_size_half): Likewise.
32905 (__x86_64_raw_shared_cache_size_half): Likewise.
32906 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32907 to ...
32908 (__x86_data_cache_size): This.
32909 (__x86_64_raw_data_cache_size): Renamed to ...
32910 (__x86_raw_data_cache_size): This.
32911 (__x86_64_data_cache_size_half): Renamed to ...
32912 (__x86_data_cache_size_half): This.
32913 (__x86_64_raw_data_cache_size_half): Renamed to ...
32914 (__x86_raw_data_cache_size_half): This.
32915 (__x86_64_shared_cache_size): Renamed to ...
32916 (__x86_shared_cache_size): This.
32917 (__x86_64_raw_shared_cache_size): Renamed to ...
32918 (__x86_raw_shared_cache_size): This.
32919 (__x86_64_shared_cache_size_half): Renamed to ...
32920 (__x86_shared_cache_size_half): This.
32921 (__x86_64_raw_shared_cache_size_half): Renamed to ...
32922 (__x86_raw_shared_cache_size_half): This.
32923 * sysdeps/x86_64/memcpy.S: Updated.
32924 * sysdeps/x86_64/memset.S: Likewise.
32925 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32926 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32927 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32928
0b3986d0
DM
329292013-01-04 David S. Miller <davem@davemloft.net>
32930
32931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32932
e47686e9
AS
329332013-01-04 Andreas Schwab <schwab@linux-m68k.org>
32934
d643bac1
AS
32935 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32936 1 to avoid redefinition warning.
32937 (__USE_GNU): Don't define.
32938 (init_signaling_nan): Protoize.
32939
e47686e9
AS
32940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32941
b18decba
SP
329422013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32943
fffb407f
SP
32944 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32946 (__cpymn): Likewise.
32947 (norm): Remove commented code.
32948 (denorm): Likewise.
32949 (__mp_dbl): Likewise.
32950 (__inv): Likewise.
32951 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32952 (__cpymn): Likewise.
32953 (norm): Remove commented code.
32954 (denorm): Likewise.
32955 (__mp_dbl): Likewise.
32956 (__inv): Likewise.
32957
b18decba
SP
32958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32959 mp_no value for 1.0 and 2.0.
32960 (norm): Use RADIXI instead of radixi.d.
32961 (denorm): Likewise.
32962 (__mul): Use 0.0 instead of zero.d.
32963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32964 mp_no value for 1.0 and 2.0.
32965 (norm): Use RADIXI instead of radixi.d.
32966 (denorm): Likewise.
32967 (__mul): Use 0.0 instead of zero.d.
32968
cdc1c96f
JM
329692013-01-04 Joseph Myers <joseph@codesourcery.com>
32970
32971 [BZ #14994]
32972 * math/s_casinh.c (__casinh): Reduce finite argument to first
32973 quadrant then set signs of results at the end.
32974 * math/s_casinhf.c (__casinhf): Likewise.
32975 * math/s_casinhl.c (__casinhl): Likewise.
32976 * math/libm-test.inc (casin_test): Add more tests.
32977 (casinh_test): Likewise.
32978 * sysdeps/i386/fpu/libm-test-ulps: Update.
32979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32980
302913e1
SP
329812013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32982
6420d207
SP
32983 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32984
a9e48ab4
SP
32985 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32986
b7837264
SP
32987 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32988 declarations.
32989 (denorm): Likewise.
32990 (__mp_dbl): Likewise.
32991 (__inv): Likewise.
32992
f8af25d2
SP
32993 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32994 and adjust the header comment.
32995
302913e1
SP
32996 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32997 variable name from declaration.
32998
5d7dd1ca
L
329992013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33000
33001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33002 Initialize COMMON_CPUID_INDEX_7 element.
33003 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33004 (CPUID_RTM): Likewise.
33005 (HAS_RTM): Likewise.
33006 (COMMON_CPUID_INDEX_7): New enum.
33007
2f5f40f4
AS
330082013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33009
33010 [BZ #14981]
33011 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33012 size is zero, record memory as freed.
33013
4056f4a0
AJ
330142013-01-03 Andreas Jaeger <aj@suse.de>
33015
33016 * po/ia.po: Add new Interlingua translation.
33017
ab15736f 330182012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
33019
33020 * locale/programs/localedef.c: Fix description of '--posix' flag.
33021
568035b7
JM
330222013-01-02 Joseph Myers <joseph@codesourcery.com>
33023
e6898b8d
JM
33024 * NEWS: Update dates in second copyright notice.
33025 * README: Update copyright dates in example.
33026 * manual/libc.texinfo: Update copyright dates.
33027 * scripts/test-installation.pl: Update copyright date in --version
33028 output.
33029
0e2f9562
JM
33030 * hurd/ctty-input.c: Fix copyright notice formatting.
33031 * hurd/ctty-output.c: Likewise.
33032 * hurd/dtable.c: Likewise.
33033 * hurd/hurd-raise.c: Likewise.
33034 * hurd/hurdprio.c: Likewise.
33035 * hurd/msgportdemux.c: Likewise.
33036 * misc/sys/file.h: Likewise.
33037 * misc/sys/ioctl.h: Likewise.
33038 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33039 * sysdeps/mach/hurd/chdir.c: Likewise.
33040 * sysdeps/mach/hurd/fchdir.c: Likewise.
33041 * sysdeps/mach/hurd/rename.c: Likewise.
33042 * sysdeps/mach/hurd/rmdir.c: Likewise.
33043 * sysdeps/mach/hurd/seekdir.c: Likewise.
33044 * sysdeps/mach/hurd/setsid.c: Likewise.
33045 * sysdeps/posix/wait3.c: Likewise.
33046
568035b7
JM
33047 * All files with FSF copyright notices: Update copyright dates
33048 using scripts/update-copyrights.
33049 * intl/plural.c: Regenerated.
33050 * locale/programs/charmap-kw.h: Likewise.
33051 * locale/programs/locfile-kw.h: Likewise.
33052
da08f647
SP
330532013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33054
0f5477af
SP
33055 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33056 four values.
33057
44e0d4c2
SP
33058 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33059 calculation loop and add branch prediction.
33060
4d55b4e5
SP
33061 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33062 check access beyond bounds of m1np.
33063
da08f647
SP
33064 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33065 MPTWO.
33066 (__inv): Remove local variable MPTWO to use the global
33067 constant.
33068 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33069 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33070 variable MPTWO.
33071 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33072 MP3HALFS static const.
33073
8e051029
DM
330742013-01-01 David S. Miller <davem@davemloft.net>
33075
33076 * po/ca.po: Update from translation team.
33077
f4cf5f2d
JM
330782013-01-01 Joseph Myers <joseph@codesourcery.com>
33079
33080 * scripts/update-copyrights: New file.
33081 * Makeconfig: Reformat copyright notice.
33082 * ctype/ctype.h: Likewise.
33083 * debug/swprintf_chk.c: Likewise.
33084 * elf/dl-cache.c: Likewise.
33085 * elf/dl-debug.c: Likewise.
33086 * elf/dl-object.c: Likewise.
33087 * grp/initgroups.c: Likewise.
33088 * hurd/Makefile: Likewise.
33089 * hurd/hurd/signal.h: Likewise.
33090 * hurd/hurdfault.c: Likewise.
33091 * hurd/hurdioctl.c: Likewise.
33092 * hurd/hurdlookup.c: Likewise.
33093 * hurd/intr-msg.c: Likewise.
33094 * iconv/gconv_open.c: Likewise.
33095 * libio/swprintf.c: Likewise.
33096 * locale/lc-ctype.c: Likewise.
33097 * locale/nl_langinfo.c: Likewise.
33098 * mach/Machrules: Likewise.
33099 * mach/Makefile: Likewise.
33100 * malloc/obstack.h: Likewise.
33101 * manual/Makefile: Likewise.
33102 * manual/tsort.awk: Likewise.
33103 * misc/bits/stab.def: Likewise.
33104 * nis/nis_print_group_entry.c: Likewise.
33105 * nis/nis_table.c: Likewise.
33106 * nis/nss_compat/compat-pwd.c: Likewise.
33107 * nis/nss_compat/compat-spwd.c: Likewise.
33108 * po/Makefile: Likewise.
33109 * posix/fnmatch.c: Likewise.
33110 * posix/regex.h: Likewise.
33111 * resolv/Makefile: Likewise.
33112 * resolv/nss_dns/dns-network.c: Likewise.
33113 * resolv/res_hconf.c: Likewise.
33114 * scripts/gen-sorted.awk: Likewise.
33115 * soft-fp/soft-fp.h: Likewise.
33116 * stdio-common/printf.h: Likewise.
33117 * stdlib/monetary.h: Likewise.
33118 * stdlib/random.c: Likewise.
33119 * stdlib/random_r.c: Likewise.
33120 * sysdeps/generic/Makefile: Likewise.
33121 * sysdeps/gnu/Makefile: Likewise.
33122 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33123 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33124 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33125 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33126 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33127 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33128 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33129 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33130 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33131 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33132 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33133 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33134 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33135 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33136 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33137 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33138 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33139 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33140 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33141 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33142 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33143 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33144 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33145 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33146 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33147 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33148 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33149 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33150 * sysdeps/mach/hurd/errnos.awk: Likewise.
33151 * sysdeps/mach/hurd/fork.c: Likewise.
33152 * sysdeps/mach/hurd/getcwd.c: Likewise.
33153 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33154 * sysdeps/mach/hurd/mmap.c: Likewise.
33155 * sysdeps/mach/hurd/utimes.c: Likewise.
33156 * sysdeps/mach/hurd/xmknod.c: Likewise.
33157 * sysdeps/posix/profil.c: Likewise.
33158 * sysdeps/posix/readdir_r.c: Likewise.
33159 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33160 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33161 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33162 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33163 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33164 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33165 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33166 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33168 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33169 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33170 * sysdeps/pthread/lio_listio.c: Likewise.
33171 * sysdeps/sparc/dl-procinfo.h: Likewise.
33172 * sysdeps/unix/i386/sysdep.S: Likewise.
33173 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33174 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33175 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33176 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33178 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33179 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33180 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33181 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33182 * sysdeps/wordsize-32/divdi3.c: Likewise.
33183 * time/sys/time.h: Likewise.
33184 * wcsmbs/Makefile: Likewise.
33185
0549fbba
DM
331862013-01-01 David S. Miller <davem@davemloft.net>
33187
a141f1a7
DM
33188 * po/fr.po: Update from translation team.
33189
0549fbba
DM
33190 * catgets/gencat.c: Update copyright year.
33191 * csu/version.c: Likewise.
33192 * debug/catchsegv.sh: Likewise.
33193 * debug/pcprofiledump.c: Likewise.
33194 * debug/xtrace.sh: Likewise.
33195 * elf/ldconfig.c: Likewise.
33196 * elf/ldd.bash.in: Likewise.
33197 * elf/pldd.c: Likewise.
33198 * elf/sotruss.ksh: Likewise.
33199 * elf/sprof.c: Likewise.
33200 * iconv/iconv_prog.c: Likewise.
33201 * iconv/iconvconfig.c: Likewise.
33202 * locale/programs/locale.c: Likewise.
33203 * locale/programs/localedef.c: Likewise.
33204 * login/programs/pt_chown.c: Likewise.
33205 * malloc/memusage.sh: Likewise.
33206 * malloc/memusagestat.c: Likewise.
33207 * malloc/mtrace.pl: Likewise.
33208 * nscd/nscd.c: Likewise.
33209 * nss/getent.c: Likewise.
33210 * nss/makedb.c: Likewise.
33211 * posix/getconf.c: Likewise.
33212
18ea052c
SP
332132012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33214
33215 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33216 numbers.
33217
9c89fca6
MF
332182012-12-30 Mike Frysinger <vapier@gentoo.org>
33219
33220 * math/bits/mathcalls.h (modf): Use __nonnull.
33221
085ec079
SP
332222012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33223
33224 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33225 (split): Use macro CN instead of the bare value.
33226 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33227 could be used.
33228 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33229 instead of the bare value.
33230 (power1): Likewise.
33231
6d9f97e1
SP
332322012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33233
d63f73be
SP
33234 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33235 __ATAN_TWOM.
33236 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33237
6d9f97e1
SP
33238 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33239 their values.
33240 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33241 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33242 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33243 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33244
4c4febf5
AJ
332452012-12-28 Andreas Jaeger <aj@suse.de>
33246
af5843ef
AJ
33247 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33248 values are from Linux 3.7.
33249
4c4febf5
AJ
33250 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33251 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33252
99136f82
SP
332532012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33254
2f216c3c 33255 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
33256 TRUE case.
33257
99136f82
SP
33258 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33259 (norm): Likewise.
33260 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33261 variables with preprocessor constants.
33262 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33263 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33264 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33265
7fffbdff
BH
332662012-12-27 Bruno Haible <bruno@clisp.org>
33267
33268 [BZ #14317]
33269 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33270 only if needed.
33271
b76eb5f0
SP
332722012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33273
31a7fe5c
SP
33274 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33275 and use variable directly.
33276 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33277
b76eb5f0
SP
33278 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33279 MPONE.
33280 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33281 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33282 variable MPONE.
33283 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33284 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33285 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33286 include directive. Remove local variable MPONE.
33287 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33288 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33289 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33290
2c8bfe7d
DM
332912012-12-25 David S. Miller <davem@davemloft.net>
33292
33293 * version.h (RELEASE): Set to "development".
33294 (VERSION): Set to "2.17.90".
33295 * NEWS: Add 2.18 section.
33296
147d03b0
DM
332972012-12-21 David S. Miller <davem@davemloft.net>
33298
33299 * po/hr.po: Update from translation team.
33300
a8ebb2b9
AK
333012012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33302
33303 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33304
95b4f1b6
SE
333052012-12-19 Steve Ellcey <sellcey@mips.com>
33306
b2d94007 33307 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 33308
cedb2a90
MS
333092012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33310
33311 * manual/contrib.texi (Contributors): Spelling correction.
33312
bbf527d6
DM
333132012-12-15 David S. Miller <davem@davemloft.net>
33314
33315 * po/ru.po: Update from translation team.
33316
bc38c906
DM
333172012-12-13 David S. Miller <davem@davemloft.net>
33318
85429b1a
DM
33319 * NEWS: Mention IFUNC testsuite enhancements.
33320
d283e353
DM
33321 * po/pl.po: Update from translation team.
33322 * po/bg.po: Likewise.
33323
bc38c906
DM
33324 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33325 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33326
a181b0d7
DM
333272012-12-11 David S. Miller <davem@davemloft.net>
33328
4641d57e
DM
33329 * po/sv.po: Update from translation team.
33330
f7bc6495
DM
33331 * po/vi.po: Update from translation team.
33332
6fc9048f
DM
33333 * po/cs.po: Update from translation team.
33334
a181b0d7
DM
33335 * po/de.po: Update from translation team.
33336 * po/eo.po: Likewise.
33337 * po/nl.po: Likewise.
33338
f70bfe80
SP
333392012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33340
3c8b4190
SP
33341 [BZ #14246]
33342 * manual/argp.texi (Argp Helper Functions): Move node to follow
33343 Argp Parsing State.
33344
f70bfe80
SP
33345 [BZ #14872]
33346 * manual/conf.texi (Limits on File System Capacity): Mention if
33347 terminating null is included in the max size.
33348
188f0adf
AJ
333492012-12-10 Andreas Jaeger <aj@suse.de>
33350
33351 * po/cs.po: Update from translation team.
33352
56e7d3ad
SP
333532012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33354
33355 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33356 void pointer and cast to uintptr_t.
33357 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33358 path.
33359 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33360 * sysdeps/s390/s390-64/memset.S: Likewise.
33361
76f2d2ea 333622012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
33363
33364 [BZ #14833]
33365 * menual/message.texi (Message Translation): Fix typos.
33366 (Helper programs for gettext): Likewise.
33367
67cbf9a2
AS
333682012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33369
33370 [BZ #14898]
33371 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33372 Change to -1.
33373
682d0e9a
DM
333742012-12-07 David S. Miller <davem@davemloft.net>
33375
33376 * po/libc.pot: Update.
33377
573cd484
RH
333782012-12-07 Richard Henderson <rth@redhat.com>
33379
7e9da188 33380 [BZ #10114]
573cd484
RH
33381 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33382 normal/normal case to before the switch.
33383 (_FP_DIV): Likewise.
33384
e933a943
MF
333852012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33386 Mike Frysinger <vapier@gentoo.org>
33387
33388 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33389 check for __NR_fadvise64_64.
33390
82123268
CM
333912012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33392
33393 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33394 0, not just to plain "0" as a statement.
33395 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33396 with cw.
33397
d9814526
JM
333982012-12-06 Joseph Myers <joseph@codesourcery.com>
33399
33400 * NEWS: Use sourceware.org in Bugzilla URL.
33401
7728c574
SP
334022012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33403
f16946dd
SP
33404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33405 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33406
5704bbcb
SP
33407 * stdio-common/tst-put-error.c (do_test): Add newline to the
33408 padded test to ensure flush.
33409
17aa0516
JL
334102012-12-05 Jeff Law <law@redhat.com>
33411
33412 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33413
363313b5
JM
334142012-12-05 Joseph Myers <joseph@codesourcery.com>
33415
effbd42a
JM
33416 * README: Don't refer to ports add-on as distributed separately.
33417 Mention AArch64 in list of systems supported in the ports add-on.
33418
87600365
JM
33419 * LICENSES: Add more non-FSF copyright and license notices.
33420
a0d7066a
JM
33421 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33422 ((unused)).
33423
66ca5a5b
JM
33424 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33425
363313b5
JM
33426 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33427 10000 as width of padded output.
33428
b37984ad
JM
334292012-12-04 Joseph Myers <joseph@codesourcery.com>
33430
9003570a
JM
33431 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33432
b37984ad
JM
33433 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33434 variable LX with __attribute__ ((unused)).
33435 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33436 Likewise.
33437 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33438 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33439 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33440 with __attribute__ ((unused)).
33441
c8df52ec
DM
334422012-12-04 David S. Miller <davem@abraco.davemloft.net>
33443
33444 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33445
b3b099af
JM
334462012-12-04 Joseph Myers <joseph@codesourcery.com>
33447
c33aa6e3
JM
33448 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33449 (CFLAGS-nldbl-acos.c): New variable.
33450 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33451 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33452 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33453 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33454 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33455 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33456 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33457 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33458 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33459 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33460 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33461 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33462 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33463 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33464 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33465 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33466 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33467 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33468 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33469 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33470 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33471 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33472 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33473 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33474 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33475 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33476 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33477 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33478 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33479 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33480 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33481 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33482 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33483 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33484 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33485 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33486 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33487 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33488 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33489 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33490 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33491 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33492 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33493 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33494 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33495 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33496 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33497 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33498 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33499 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33500 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33501 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33502 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33503 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33504 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33505 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33506 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33507 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33508 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33509 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33510 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33511 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33512 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33513 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33514 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33515 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33516 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33517 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33518 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33519 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33520 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33521 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33522 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33523 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33524 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33525 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33526 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33527 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33528 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33529 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33530 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33531 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33532 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33533 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33534 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33535 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33536 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33537 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33538 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33539 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33540 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33541 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33542 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33543 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33544 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33545 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33546 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33547
20f0018d
JM
33548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33549 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33550
b3b099af
JM
33551 [BZ #14914]
33552 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33553 whole low double instead of just low 47 bits when splitting values
33554 into two parts.
33555
029264d1
AM
335562012-12-03 Allan McRae <allan@archlinux.org>
33557
33558 * manual/stdio.texi (Predefined Printf Handlers): Remove
33559 @hsep and @vsep usage.
33560
c9d6789e
MF
335612012-12-03 Mike Frysinger <vapier@gentoo.org>
33562
33563 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33564 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33565
4b7634a5
JL
335662012-12-03 Jeff Law <law@redhat.com>
33567
33568 * time/sys/time.h (settimeofday): Do not mark TV argument
33569 as __nonnull.
33570
eb6cbd24
MF
335712012-12-01 Mike Frysinger <vapier@gentoo.org>
33572
33573 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33574 when currently writing and seek to current position when not.
33575 * libio/Makefile (tests): Remove bug-fclose1.
33576 * libio/bug-fclose1.c: Delete.
33577
f638872a
JM
335782012-12-01 Joseph Myers <joseph@codesourcery.com>
33579
33580 * manual/arith.texi (feenableexcept): Fix typo.
33581 (fedisableexcept): Likewise.
33582
48085d14
RM
335832012-11-30 Roland McGrath <roland@hack.frob.com>
33584
33585 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33586 second, differently-typed declaration, rather than a cast.
33587
1a538b9f
SP
335882012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33589
33590 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33591 * include/rpc/svc.h: ... here.
33592
d07f2ff1 335932012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
33594
33595 [BZ #13013]
33596 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33597 depending n and resplen2 to catch cases where answer
33598 equals answerp2.
33599
c93ec1f0
CD
336002012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33601
33602 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33603 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33604
37db69de
MF
336052012-11-29 Mike Frysinger <vapier@gentoo.org>
33606
33607 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33608
e10c4e4f
RM
336092012-11-29 Roland McGrath <roland@hack.frob.com>
33610
33611 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33612
2af1b328
JL
336132012-11-28 Jeff Law <law@redhat.com>
33614
33615 [BZ #13761]
33616 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33617 dataset_temporary. Track alloca usage into alloca_used.
33618 If dataset is large allocate and release it via malloc/free.
33619
111db5b1
FW
336202012-06-04 Florian Weimer <fweimer@redhat.com>
33621
f06cc227 33622 [BZ #14197]
111db5b1
FW
33623 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33624
dd694abd
DM
336252012-11-28 David S. Miller <davem@davemloft.net>
33626
33627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33628
9984dd01
JM
336292012-11-28 Joseph Myers <joseph@codesourcery.com>
33630
33631 [BZ #14803]
33632 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33633 of pi/2 rounded to nearest to 64 bits.
33634 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33635 nearest to 64 bits.
33636 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33637 bits.
33638
14bc93a9
JL
336392012-11-28 Jeff Law <law@redhat.com>
33640 Martin Osvald <mosvald@redhat.com>
33641
33642 [BZ #14889]
33643 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33644 * sunrpc/svc.c: Include time.h.
33645 (__svc_accept_failed): New function.
33646 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33647 any reason other than EINTR, call __svc_accept_failed.
33648 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33649 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33650
e3c6aa3a
AS
336512012-11-28 Andreas Schwab <schwab@suse.de>
33652
33653 * scripts/abilist.awk: Also handle indirect functions in .opd
33654 section.
33655
1bead169
JM
336562012-11-28 Joseph Myers <joseph@codesourcery.com>
33657
33658 [BZ #13881]
33659 * sysdeps/x86/fpu/powl_helper.c: New file.
33660 * sysdeps/x86/fpu/Makefile: Likewise.
33661 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33662 (p3): New object.
33663 (__ieee754_powl): Use __powl_helper for finite arguments except
33664 integer exponents below 8.
33665 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33666 (p3): New object.
33667 (__ieee754_powl): Use __powl_helper for finite arguments except
33668 integer exponents below 8.
33669 * math/libm-test.inc (pow_test): Add more tests and enable some
33670 previously disabled tests.
33671 * sysdeps/i386/fpu/libm-test-ulps: Update.
33672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33673
0817d63d
SP
336742012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33675 Carlos O'Donell <carlos_odonell@mentor.com>
33676
33677 * nss/makedb.c (is_prime): Assert that input is odd and greater
33678 than 4. Note that fact in a comment too.
33679 (next_prime): Add 4 to input.
33680
de2fd463
SP
336812012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33682
33683 [BZ #11741]
33684 * libio/Makefile (tests): Add test case tst-fwrite-error.
33685 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33686 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33687 * libio/tst-fwrite-error.c: New test case.
33688
c515fb51
L
336892012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33690
33691 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33692 before casting to void *.
33693 * include/libc-internal.h (__pointer_type): New macro.
33694 (__integer_if_pointer_type_sub): Likewise.
33695 (__integer_if_pointer_type): Likewise.
33696 (cast_to_integer): Likewise.
33697 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33698 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33699 before casting to atomic64_t.
33700 (atomic_exchange_acq): Likewise.
33701 (__arch_exchange_and_add_body): Likewise.
33702 (__arch_add_body): Likewise.
33703 (atomic_add_negative): Likewise.
33704 (atomic_add_zero): Likewise.
33705
4cf77aa9
JM
337062012-11-26 Joseph Myers <joseph@codesourcery.com>
33707
33708 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33709 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33710 (add_fdes): Likewise.
33711 (linear_search_fdes): Likewise.
33712 (binary_search_unencoded_fdes): Likewise.
33713
d260b3b4
AS
337142012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33715
33716 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33717
67060746
AC
337182012-11-24 Adam Conrad <adconrad@0c3.net>
33719
33720 * configure.in: Autodetect C++ header directories.
33721 * configure: Regenerated.
33722
800938a1
MF
337232012-11-23 Mike Frysinger <vapier@gentoo.org>
33724
33725 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33726
4e6e34e6
AS
337272012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33728
33729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33730
7c7feb47
JM
337312012-11-22 Joseph Myers <joseph@codesourcery.com>
33732
7184dcdf
JM
33733 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33734 LDBL_MANT_DIG == 106]: Disable some tests.
33735 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33736 Likewise.
33737 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33738 Likewise.
33739
0a42601f
JM
33740 [BZ #14871]
33741 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33742 input for small inputs. Return +/- pi/2 for large inputs.
33743 * math/libm-test.inc (atan_test): Add more tests.
33744
79c9b9fe
JM
33745 * sysdeps/generic/unwind-dw2-fde-glibc.c
33746 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33747 __attribute__ ((unused)).
33748
c60d3bf2
JM
33749 [BZ #14645]
33750 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33751 x * y if x and y are nonzero and z is zero.
33752
ef1e0867
JM
33753 [BZ #14811]
33754 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33755 nonzero exponents with absolute value below 0x1p-117 to +/-
33756 0x1p-117.
33757
1468ded3
JM
33758 [BZ #14869]
33759 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33760 up arguments below 2**-450, not just those below 2**-500.
33761 * math/libm-test.inc (hypot_test): Add another test.
33762
8e27e3cc
JM
33763 [BZ #14868]
33764 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33765 Return a+b for ratio over 2**120, not 2**60.
33766 * math/libm-test.inc (hypot_test): Add another test.
33767
c9c0279b
JM
33768 * math/libm-test.inc (clog_test): Use
33769 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33770 (clog10_test): Likewise.
33771
7c7feb47
JM
33772 [BZ #6778]
33773 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33774
fff1530e
AS
337752012-11-22 Andreas Schwab <schwab@suse.de>
33776
33777 * sysdeps/i386/fpu/libm-test-ulps: Update.
33778
94558d30
PT
337792012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33780
33781 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33782 printf output with newline.
33783
7e1be741
L
337842012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33785
6bfea974
L
33786 [BZ #14865]
33787 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33788 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33789 -z nodlopen, -z initfirst and -z execstack support.
33790 * configure: Regenerated.
33791
7e1be741
L
33792 * elf/elf.h (DF_1_NODIRECT): New macro.
33793 (DF_1_IGNMULDEF): Likewise.
33794 (DF_1_NOKSYMS): Likewise.
33795 (DF_1_NOHDR): Likewise.
33796 (DF_1_EDITED): Likewise.
33797 (DF_1_NORELOC): Likewise.
33798 (DF_1_SYMINTPOSE): Likewise.
33799 (DF_1_GLOBAUDIT): Likewise.
33800 (DF_1_SINGLETON): Likewise.
33801 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33802 DT_1_SUPPORTED_MASK bits.
33803 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33804
105ce2ce
CD
338052012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33806
33807 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33808
123be9de
TS
338092012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33810
d072f3f7
TS
33811 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33812 macro.
33813
123be9de
TS
33814 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33815 (sendmmsg): Move declarations...
33816 * socket/sys/socket.h: ... here.
33817 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33818 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33819 include it from...
33820 * socket/recvmmsg.c: ... this new file.
33821 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33822 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33823 definition of __sendmmsg hidden.
33824 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33825 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33826 Move ENOSYS stub into and include it from...
33827 * socket/sendmmsg.c: ... this new file.
33828 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33829 (sysdep_routines): Move recvmmsg and sendmmsg...
33830 * socket/Makefile (routines): ... here.
33831 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33832 (GLIBC_PRIVATE): Add __sendmmsg.
33833 * include/sys/socket.h (__sendmmsg): Add declarations.
33834 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33835 sendmmsg.
33836
cf9a5d18
JM
338372012-11-20 Joseph Myers <joseph@codesourcery.com>
33838
33839 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33840 variable I1 with __attribute__ ((unused)).
33841 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33842
ecd4caf9
JM
338432012-11-19 Joseph Myers <joseph@codesourcery.com>
33844
be14d48f
JM
33845 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33846 DUMMY variables with __attribute__ ((unused)).
33847
ecd4caf9
JM
33848 * bits/byteswap.h: Include <bits/types.h>.
33849 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33850
986cab95
PT
338512012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33852
33853 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33854 string_t. Do not manually set errno.
33855 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33856 length with __strnlen. Make sure to both set errno and return it on
33857 failure.
33858
6d33cc9d
DM
338592012-11-19 David S. Miller <davem@davemloft.net>
33860
33861 With help from Joseph Myers.
33862 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33863 very large arguments properly.
33864 * math/libm-test.inc (atan_test): New tests.
33865 (atan2_test): New tests.
33866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33867 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33868
ee663277
JM
338692012-11-19 Joseph Myers <joseph@codesourcery.com>
33870
877f2d8e
JM
33871 [BZ #14856]
33872 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33873 Define to 3.
33874
116fc08a
JM
33875 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33876 [POSIX] (EADDRNOTAVAIL): Likewise.
33877 [POSIX] (EAFNOSUPPORT): Likewise.
33878 [POSIX] (EALREADY): Likewise.
33879 [POSIX] (ECONNABORTED): Likewise.
33880 [POSIX] (ECONNREFUSED): Likewise.
33881 [POSIX] (ECONNRESET): Likewise.
33882 [POSIX] (EDESTADDRREQ): Likewise.
33883 [POSIX] (EDQUOT): Likewise.
33884 [POSIX] (EHOSTUNREACH): Likewise.
33885 [POSIX] (EIDRM): Likewise.
33886 [POSIX] (EISCONN): Likewise.
33887 [POSIX] (ELOOP): Likewise.
33888 [POSIX] (EMULTIHOP): Likewise.
33889 [POSIX] (ENETDOWN): Likewise.
33890 [POSIX] (ENETUNREACH): Likewise.
33891 [POSIX] (ENOBUFS): Likewise.
33892 [POSIX] (ENODATA): Likewise.
33893 [POSIX] (ENOLINK): Likewise.
33894 [POSIX] (ENOMSG): Likewise.
33895 [POSIX] (ENOPROTOOPT): Likewise.
33896 [POSIX] (ENOSR): Likewise.
33897 [POSIX] (ENOSTR): Likewise.
33898 [POSIX] (ENOTCONN): Likewise.
33899 [POSIX] (ENOTSOCK): Likewise.
33900 [POSIX] (EOPNOTSUPP): Likewise.
33901 [POSIX] (EOVERFLOW): Likewise.
33902 [POSIX] (EPROTO): Likewise.
33903 [POSIX] (EPROTONOSUPPORT): Likewise.
33904 [POSIX] (EPROTOTYPE): Likewise.
33905 [POSIX] (ESTALE): Likewise.
33906 [POSIX] (ETIME): Likewise.
33907 [POSIX] (ETXTBSY): Likewise.
33908 [POSIX] (EWOULDBLOCK): Likewise.
33909 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33910 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33911 [POSIX] (SEEK_CUR): Likewise.
33912 [POSIX] (SEEK_END): Likewise.
33913 [POSIX || UNIX98] (mode_t): Do not require.
33914 [POSIX] (off_t): Likewise.
33915 [POSIX] (pid_t): Likewise.
33916 [POSIX] (sys/stat.h): Do not allow header.
33917 [POSIX] (unistd.h): Likewise.
33918 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33919 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33920 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33921 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33922 require.
33923 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33924 sigevent): Specify elements.
33925 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33926 entry.
33927 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33928 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33929
a483863f
JM
33930 * conform/data/cpio.h-data [POSIX]: Disable whole file.
33931 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33932 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33933 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33934 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33935 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33936 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33937 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33938 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33939 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33940 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33941 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33942 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33943 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33944 Likewise.
33945 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33946 Likewise.
33947 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33948 Likewise.
33949 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33950 Likewise.
33951 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33952 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33953 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33954 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33955 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33956 Specify lower bound on value.
33957 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33958 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33959 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33960 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33961 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33962 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33963 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33964 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33965 value.
33966 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33967 as optional.
33968 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33969 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33970 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33971 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33972 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33973 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33974 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33975 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33976 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33977 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33978 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33979 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33980 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33981 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33982 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33983 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33984 entry.
33985 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33986 optional.
33987 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33988 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33989 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33990 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33991 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33992 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33993 Likewise.
33994 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33995 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33996 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33997 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33998 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
33999 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34000 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34001 as optional.
34002 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34003 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34004 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34005 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34006 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34007 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34008 specify as optional.
34009 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34010 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34011 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34012 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34013 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34014 [XPG3] (NL_LANGMAX): Likewise.
34015 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34016 [POSIX || XPG3] (NL_NMAX): Likewise.
34017 [POSIX || XPG3] (NL_SETMAX): Likewise.
34018 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34019 [XPG3] (NZERO): Likewise.
34020 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34021 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34022 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34023 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34024 (REG_ERANGE): Expect.
34025 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34026 optional-constant.
34027 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34028 Use (void) in prototype.
34029 [POSIX] (*_t): Allow.
34030 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34031 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34032 (WRDE_BADVAL): Expect.
34033
5ba924e3
JM
34034 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34035 expect.
34036 [XPG3 || XPG4] (O_RSYNC): Likewise.
34037 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34038 Likewise.
34039 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34040 [XPG3 || XPG4] (sigqueue): Likewise.
34041 [XPG3 || XPG4] (sigtimedwait): Likewise.
34042 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34043 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34044 [XPG3 || XPG4] (vsnprintf): Likewise.
34045 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34046 Likewise.
34047 [XPG3 || XPG4] (blksize_t): Likewise.
34048 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34049 Likewise.
34050 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34051 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34052 [XPG3 || XPG4] (struct itimerspec): Likewise.
34053 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34054 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34055 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34056 [XPG3 || XPG4] (clockid_t): Likewise.
34057 [XPG3 || XPG4] (timer_t): Likewise.
34058 [XPG3 || XPG4] (clock_getres): Likewise.
34059 [XPG3 || XPG4] (clock_gettime): Likewise.
34060 [XPG3 || XPG4] (clock_settime): Likewise.
34061 [XPG3 || XPG4] (nanosleep): Likewise.
34062 [XPG3 || XPG4] (timer_create): Likewise.
34063 [XPG3 || XPG4] (timer_delete): Likewise.
34064 [XPG3 || XPG4] (timer_gettime): Likewise.
34065 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34066 [XPG3 || XPG4] (timer_settime): Likewise.
34067 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34068 [XPG3 || XPG4] (getlogin_r): Likewise.
34069 [XPG3 || XPG4] (pread): Likewise.
34070 [XPG3 || XPG4] (pthread_atfork): Likewise.
34071 [XPG3 || XPG4] (pwrite): Likewise.
34072
ee663277
JM
34073 [BZ #14835]
34074 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34075 <bits/siginfo.h>.
34076
942caa16
PT
340772012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34078
e19af380
PT
34079 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34080 finalizing MALLSTREAM.
34081
942caa16
PT
34082 * sysdeps/mach/hurd/syncfs.c: New file.
34083
cfde9b46
SP
340842012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34085
34086 [BZ #14719]
34087 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34088 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34089 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34090 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34091 (_nss_dns_gethostbyname4_r): Likewise.
34092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34093 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34094
f6da27e5
PH
340952012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34096
34097 [BZ #13763]
34098 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34099
6665d4a2
SM
341002012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34101
1f51ee92
SM
34102 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34103 * elf/cache.c (print_entry): Print ",AArch64" for
34104 FLAG_AARCH64_LIB64
34105
6665d4a2
SM
34106 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34107 * elf/cache.c (print_entry): Print ",hard-float" for
34108 FLAG_ARM_LIBHF.
34109
05b227bd
DM
341102012-11-18 David S. Miller <davem@davemloft.net>
34111
34112 With help from Joseph Myers.
34113 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34114 cutoff to 2**-13.
34115 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34116 cutoff to 2**-25.
34117 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34118 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34119 small.
34120 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34121 * math/libm-test.inc (y0_test): New tests.
34122 (y1_test): New tests.
34123 * sysdeps/i386/fpu/libm-test-ulps: Update.
34124 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34126
786b0b67
AS
341272012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34128
34129 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34130 64-bit targets.
34131 * configure: Regenerated.
34132
8e18b86d
DM
341332012-11-17 David S. Miller <davem@davemloft.net>
34134
34135 [BZ #14811]
34136 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34137 nonzero exponents with absolute value below 0x1p-128 to +/-
34138 0x1p-128.
34139
531f1ae0
JM
341402012-11-17 Joseph Myers <joseph@codesourcery.com>
34141
12df29e2
JM
34142 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34143
150dc1a0
JM
34144 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34145
531f1ae0
JM
34146 * posix/getconf-speclist.c: New file.
34147 * posix/posix-envs.def: Likewise.
34148 * posix/confstr.c (START_ENV_GROUP): New macro.
34149 (END_ENV_GROUP): Likewise.
34150 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34151 (KNOWN_PRESENT_ENV_STRING): Likewise.
34152 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34153 (UNKNOWN_ENVIRONMENT): Likewise.
34154 (confstr): Include posix-envs.def instead of handling
34155 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34156 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34157 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34158 (END_ENV_GROUP): Likewise.
34159 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34160 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34161 (UNKNOWN_ENVIRONMENT): Likewise.
34162 (__sysconf): Include posix-envs.def instead of handling associated
34163 cases directly here.
34164 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34165 preprocessing getconf-speclist.c rather than running getconf or
34166 generating empty file.
34167
a93f9cbc
PT
341682012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34169
34170 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34171
d64d9f87
AL
341722012-11-16 Andrej Lajovic <natrij@gmail.com>
34173
34174 [BZ #14672]
34175 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34176
447885eb
DM
341772012-11-16 David S. Miller <davem@davemloft.net>
34178
34179 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34180 smaller than LDBL_EPSILON/2.0L, just return xm1.
34181
bcbf9830
L
341822012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34183
34184 * elf/tst-array1.c (init): Set constructor priority to 1000.
34185 (fini): Set destructor priority to 1000.
34186 * elf/tst-array2dep.c: Likewise.
34187
2b766585
SP
341882012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34189
34190 [BZ #11741]
34191 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34192 (_IO_new_file_xsputn): Also return EOF if none of the input
34193 data was written when overflow failed.
34194 * libio/iopadn.c (_IO_padn): Likewise.
34195 * libio/iowpadn.c (_IO_wpadn): Likewise.
34196 * stdio-common/tst-put-error.c: Add copyright notice.
34197 (do_test): Add case for printing padded string.
34198 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34199 _IO_padn returned error.
34200 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34201 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34202 return EOF.
34203
b1848fde
SP
342042012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34205
34206 * libio/libioP.h: Add comment note that the references to C++
34207 bits are now obsolete.
34208
2fd89785
MS
342092012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34210
34211 * math/libm-test.inc (check_complex): Use asprintf.
34212
e3ea5409
JM
342132012-11-14 Joseph Myers <joseph@codesourcery.com>
34214
34215 * debug/pcprofiledump.c (print_version): Update copyright year.
34216 * malloc/memusagestat.c (print_version): Likewise.
34217
2e64d265
L
342182012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34219
34220 [BZ #14831]
34221 * elf/Makefile (tests): Add tst-audit8.
34222 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34223 ($(objpfx)tst-audit8.out): New target.
34224 (tst-audit8-ENV): New variable.
34225 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34226 audit if l_reloc_result is NULL.
34227 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34228 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34229 * elf/tst-audit8.c: New file.
34230
c485e4d2
MS
342312012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34232
34233 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34234 * misc/Makefile (CFLAGS-select.c): Define.
34235 * posix/Makefile (CFLAGS-pause.c): Define.
34236
3a0d900a
DM
342372012-11-13 David S. Miller <davem@davemloft.net>
34238
34239 * crypt/Makefile: Move test targets after toplevel Rules
34240 inclusion. Grab any necessary sysdep routines when linking.
34241 * crypt/md5.c (md5_process_block): Remove define, we will always
34242 name it __md5_process_block.
34243 (md5_finish_ctx): Update md5_process_block call.
34244 (md5_stream): Likewise.
34245 (md5_process_bytes): Likewise.
34246 (md5_process_block): Rename to __md5_process_block and move to ...
34247 * crypt/md5-block.c: ... here.
34248 * crypt/sha256.c (sha256_process_block): Move to ...
34249 * crypt/sha256-block.c: ... here.
34250 * crypt/sha512.c (sha512_process_block): Move to ...
34251 * crypt/sha512-block.c: ... here.
34252 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34253 path.
34254 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34255 * sysdeps/sparc/sparc64/multiarch/Makefile
34256 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34257 crypt subdir.
34258 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34259 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34260 multiarch changes.
34261 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34262 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34263 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34264 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34265 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34266 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34267 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34268 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34269 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34270 file.
34271 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34272 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34273 file.
34274 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34275
8ca89318
JM
342762012-11-13 Joseph Myers <joseph@codesourcery.com>
34277
e27d476a
JM
34278 * timezone/tzselect.ksh: Update from tzcode git revision
34279 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34280 * timezone/zdump.c: Likewise.
34281 * timezone/zic.c: Likewise.
34282 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34283 in TZVERSION setting, not $(PKGVERSION).
34284 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34285 REPORT_BUGS_TO settings.
34286
8ca89318
JM
34287 [BZ #14838]
34288 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34289 macro.
34290
47594329
MS
342912012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34292
34293 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34294 detection to immediately after _FP_ROUND().
34295 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34296 bits are 0.
34297
640ac3f1
DM
342982012-11-11 David S. Miller <davem@davemloft.net>
34299
34300 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34301 inttypes.h
34302 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34303 __close rather than their public counterparts.
34304
3d2577bb
JM
343052012-11-10 Joseph Myers <joseph@codesourcery.com>
34306
34307 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34308 file.
34309 [UNIX98] (sem_timedwait): Do not expect.
34310 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34311 [XPG4 || UNIX98] (sockatmark): Do not expect.
34312 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34313 (clock_getcpuclockid): Do not expect.
34314 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34315 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34316 Do not expect.
34317 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34318 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34319 [UNIX98] (vwscanf): Likewise.
34320 [UNIX98] (vswscanf): Likewise.
34321
fb1ae1ee
JM
343222012-11-09 Joseph Myers <joseph@codesourcery.com>
34323
9ec6f8bd
JM
34324 * timezone/version.h: Remove file.
34325 * timezone/README: Do not refer to version.h.
34326 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34327 $(objpfx)version.h.
34328 ($(objpfx)zdump.o): Likewise.
c3f81911 34329 ($(objpfx)version.h): New target.
9ec6f8bd 34330
0aa8f8a1
JM
34331 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34332 2012i.
34333 * timezone/README: Don't mention modification to tzselect.ksh.
34334 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34335 work on unmodified tzselect.ksh. Substitute version numbers in
34336 tzselect.ksh.
34337
4e87147f
JM
34338 * Makefile (format-me): Remove.
34339 (INSTALL): Adjust indentation. Use commands directly instead of
34340 using $(format-me).
34341
8b748aed
JM
34342 * aclocal.m4 (ACX_PKGVERSION): New macro.
34343 (ACX_BUGURL): Likewise.
34344 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34345 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34346 (REPORT_BUGS_TO): Likewise.
34347 * configure: Regenerated.
34348 * config.h.in (PKGVERSION): New macro.
34349 (REPORT_BUGS_TO): Likewise.
34350 * config.make.in (PKGVERSION): New variable.
34351 (PKGVERSION_TEXI): Likewise.
34352 (REPORT_BUGS_TO): Likewise.
34353 (REPORT_BUGS_TEXI): Likewise.
34354 * Makefile (format-me): Use -I$(common-objpfx)manual.
34355 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34356 ($(common-objpfx)manual/%): New target.
34357 (manual/%): Remove target.
34358 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34359 (print_version): Use PKGVERSION.
34360 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34361 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34362 and REPORT_BUGS_TO.
34363 ($(objpfx)xtrace): Likewise.
34364 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34365 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34366 (print_version): Use PKGVERSION.
34367 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34368 (do_version): Use PKGVERSION.
34369 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34370 REPORT_BUGS_TO.
34371 (common-ldd-rewrite): Likewise.
34372 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34373 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34374 (print_version): Use PKGVERSION.
34375 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34376 * elf/pldd.c (argp_program_bug_address): Remove variable.
34377 (more_help): New function.
34378 (argp): Use more_help.
34379 (print_version): Use PKGVERSION.
34380 * elf/sln.c (main): Use PKGVERSION.
34381 (usage): Use REPORT_BUGS_TO.
34382 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34383 (top level): Use PKGVERSION.
34384 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34385 (print_version): Use PKGVERSION.
34386 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34387 (print_version): Use PKGVERSION.
34388 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34389 (print_version): Use PKGVERSION.
34390 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34391 (print_version): Use PKGVERSION.
34392 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34393 (print_version): Use PKGVERSION.
34394 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34395 (print_version): Use PKGVERSION.
34396 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34397 and BUGURL.
34398 ($(objpfx)memusage): Likewise.
34399 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34400 (do_version): Use PKGVERSION.
34401 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34402 (print_version): Use PKGVERSION.
34403 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34404 ($PKGVERSION): New variable.
34405 ($REPORT_BUGS_TO): Likewise.
34406 (usage): Use $REPORT_BUGS_TO.
34407 (top level): Use $PKGVERSION.
34408 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34409 ($(objpfx)pkgvers.texi): New rule.
34410 ($(objpfx)stamp-pkgvers): Likewise.
34411 * manual/install.texi: Include pkgvers.texi.
34412 (--with-pkgversion): Document new configure option.
34413 (--with-bugurl): Likewise.
34414 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34415 than necessarily for this particular distribution. Use
34416 REPORT_BUGS_TO for where to report bugs.
34417 * INSTALL: Regenerated.
34418 * manual/libc.texinfo: Include pkgvers.texi.
34419 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34420 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34421 (print_version): Use PKGVERSION.
34422 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34423 (print_version): Use PKGVERSION.
34424 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34425 (print_version): Use PKGVERSION.
34426 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34427 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34428 macro.
34429 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34430 (print_version): Use PKGVERSION.
34431 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34432 (print_version): Use PKGVERSION.
34433 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34434 and PKGVERSION.
34435
92e4b6a9
JM
34436 * timezone/checktab.awk: Update from tzcode 2012i.
34437 * timezone/ialloc.c: Likewise.
34438 * timezone/private.h: Likewise.
34439 * timezone/scheck.c: Likewise.
34440 * timezone/tzfile.h: Likewise.
34441 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34442 (TZVERSION): Hardcode tzcode version number.
34443 * timezone/zdump.c: Update from tzcode 2012i.
34444 * timezone/zic.c: Likewise.
34445 * timezone/version.h: New file.
34446 * timezone/README: Describe version.h. Update upstream location.
34447
9bde902c
JM
34448 [BZ #14824]
34449 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34450 (mktemp): Enable declaration.
34451 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34452 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34453 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34454 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34455 Likewise.
34456 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34457 Likewise.
34458 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34459 Likewise.
34460 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34461 Likewise.
34462 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34463 Likewise.
34464 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34465 Likewise.
34466
fb1ae1ee
JM
34467 [BZ #14821]
34468 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34469 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34470 for copies of such integer values.
34471 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34472 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34473
2c1adbcb
AJ
344742012-11-09 Andreas Jaeger <aj@suse.de>
34475
34476 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34477 definitions and declarations that are provided by
34478 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34479
d0f8457e
AK
344802012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34481
3a235abb 34482 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
34483 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34484 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34485 definition.
34486
57241e26
MS
344872012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34488
34489 * elf/elf.h: Update comment before AArch64 relocations.
34490
60e8270d
DM
344912012-11-07 David S. Miller <davem@davemloft.net>
34492
34493 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34494 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34495 (__start_context): Declare.
34496 (__makecontext_ret): Delete.
34497 (__makecontext): Hook up __start_context instead of
34498 __makecontext_ret.
34499 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34500 (sysdep_routines): Add __start_context when in stdlib.
34501
0fbb0fbc
JM
345022012-11-07 Joseph Myers <joseph@codesourcery.com>
34503
34504 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34505 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34506 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34507 hardcoded "nm".
34508 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34509 (READELF): New variable. Use it instead of hardcoded "readelf".
34510
eb48db7e
L
345112012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34512
34513 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34514 * sysdeps/x86/Makefile: Here.
34515 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34516 * sysdeps/x86/tst-xmmymm.sh: This.
34517
05bcf62a
JM
345182012-11-07 Joseph Myers <joseph@codesourcery.com>
34519
c4b6cf53
JM
34520 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34521 expectations.
34522 [UNIX98] (pthread_barrier_t): Do not expect.
34523 [UNIX98] (pthread_barrierattr_t): Likewise.
34524 [UNIX98] (pthread_spinlock_t): Likewise.
34525 [UNIX98] (pthread_barrier_destroy): Likewise.
34526 [UNIX98] (pthread_barrier_init): Likewise.
34527 [UNIX98] (pthread_barrier_wait): Likewise.
34528 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34529 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34530 [UNIX98] (pthread_barrierattr_init): Likewise.
34531 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34532 [UNIX98] (pthread_getcpuclockid): Likewise.
34533 [UNIX98] (pthread_mutex_timedlock): Likewise.
34534 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34535 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34536 [UNIX98] (pthread_sigmask): Likewise.
34537 [UNIX98] (pthread_spin_destroy): Likewise.
34538 [UNIX98] (pthread_spin_init): Likewise.
34539 [UNIX98] (pthread_spin_lock): Likewise.
34540 [UNIX98] (pthread_spin_trylock): Likewise.
34541 [UNIX98] (pthread_spin_unlock): Likewise.
34542 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34543 Do not expect.
34544 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34545 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34546 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34547 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34548 [XPG3 || XPG4] (pthread_key_t): Likewise.
34549 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34550 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34551 [XPG3 || XPG4] (pthread_once_t): Likewise.
34552 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34553 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34554 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34555 [XPG3 || XPG4] (pthread_t): Likewise.
34556
cbe6e120
JM
34557 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34558 not expect.
34559 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34560
1b126443
JM
34561 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34562 Change function return type to int.
34563
b961a573
JM
34564 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34565 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34566 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34567 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34568 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34569 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34570 [!POSIX] (posix_madvise): Likewise.
34571 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34572 && !UNIX98].
34573 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34574 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34575 (mode_t): Likewise.
34576 (posix_mem_offset): Likewise.
34577 (posix_typed_mem_get_info): Likewise.
34578 (posix_typed_mem_open): Likewise.
34579
9e188909
JM
34580 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34581 Change condition to [XOPEN2K8].
34582
05bcf62a
JM
34583 * conform/conformtest.pl: Preprocess allow-header data with -x c
34584 instead of from stdin.
34585 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34586 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34587 [C99-based standards] (cerfc): Likewise.
34588 [C99-based standards] (cexp2): Likewise.
34589 [C99-based standards] (cexpm1): Likewise.
34590 [C99-based standards] (clog10): Likewise.
34591 [C99-based standards] (clog1p): Likewise.
34592 [C99-based standards] (clog2): Likewise.
34593 [C99-based standards] (clgamma): Likewise.
34594 [C99-based standards] (ctgamma): Likewise.
34595 [C99-based standards] (cerff): Likewise.
34596 [C99-based standards] (cerfcf): Likewise.
34597 [C99-based standards] (cexp2f): Likewise.
34598 [C99-based standards] (cexpm1f): Likewise.
34599 [C99-based standards] (clog10f): Likewise.
34600 [C99-based standards] (clog1pf): Likewise.
34601 [C99-based standards] (clog2f): Likewise.
34602 [C99-based standards] (clgammaf): Likewise.
34603 [C99-based standards] (ctgammaf): Likewise.
34604 [C99-based standards] (cerfl): Likewise.
34605 [C99-based standards] (cerfcl): Likewise.
34606 [C99-based standards] (cexp2l): Likewise.
34607 [C99-based standards] (cexpm1l): Likewise.
34608 [C99-based standards] (clog10l): Likewise.
34609 [C99-based standards] (clog1pl): Likewise.
34610 [C99-based standards] (clog2l): Likewise.
34611 [C99-based standards] (clgammal): Likewise.
34612 [C99-based standards] (ctgammal): Likewise.
34613 * conform/data/inttypes.h-data [C99-based standards]: Include
34614 stdint.h-data. Remove all expectations for stdint.h contents.
34615 [C99-based standards] (PRI*): Do not allow.
34616 [C99-based standards] (SCN*): Likewise.
34617 [C99-based standards] (*_t): Likewise.
34618 [C99-based-standards] (PRId8): Expect macro.
34619 [C99-based-standards] (PRIi8): Likewise.
34620 [C99-based-standards] (PRIo8): Likewise.
34621 [C99-based-standards] (PRIu8): Likewise.
34622 [C99-based-standards] (PRIx8): Likewise.
34623 [C99-based-standards] (PRIX8): Likewise.
34624 [C99-based-standards] (SCNd8): Likewise.
34625 [C99-based-standards] (SCNi8): Likewise.
34626 [C99-based-standards] (SCNo8): Likewise.
34627 [C99-based-standards] (SCNu8): Likewise.
34628 [C99-based-standards] (SCNx8): Likewise.
34629 [C99-based-standards] (PRIdLEAST8): Likewise.
34630 [C99-based-standards] (PRIiLEAST8): Likewise.
34631 [C99-based-standards] (PRIoLEAST8): Likewise.
34632 [C99-based-standards] (PRIuLEAST8): Likewise.
34633 [C99-based-standards] (PRIxLEAST8): Likewise.
34634 [C99-based-standards] (PRIXLEAST8): Likewise.
34635 [C99-based-standards] (SCNdLEAST8): Likewise.
34636 [C99-based-standards] (SCNiLEAST8): Likewise.
34637 [C99-based-standards] (SCNoLEAST8): Likewise.
34638 [C99-based-standards] (SCNuLEAST8): Likewise.
34639 [C99-based-standards] (SCNxLEAST8): Likewise.
34640 [C99-based-standards] (PRIdFAST8): Likewise.
34641 [C99-based-standards] (PRIiFAST8): Likewise.
34642 [C99-based-standards] (PRIoFAST8): Likewise.
34643 [C99-based-standards] (PRIuFAST8): Likewise.
34644 [C99-based-standards] (PRIxFAST8): Likewise.
34645 [C99-based-standards] (PRIXFAST8): Likewise.
34646 [C99-based-standards] (SCNdFAST8): Likewise.
34647 [C99-based-standards] (SCNiFAST8): Likewise.
34648 [C99-based-standards] (SCNoFAST8): Likewise.
34649 [C99-based-standards] (SCNuFAST8): Likewise.
34650 [C99-based-standards] (SCNxFAST8): Likewise.
34651 [C99-based-standards] (PRId16): Likewise.
34652 [C99-based-standards] (PRIi16): Likewise.
34653 [C99-based-standards] (PRIo16): Likewise.
34654 [C99-based-standards] (PRIu16): Likewise.
34655 [C99-based-standards] (PRIx16): Likewise.
34656 [C99-based-standards] (PRIX16): Likewise.
34657 [C99-based-standards] (SCNd16): Likewise.
34658 [C99-based-standards] (SCNi16): Likewise.
34659 [C99-based-standards] (SCNo16): Likewise.
34660 [C99-based-standards] (SCNu16): Likewise.
34661 [C99-based-standards] (SCNx16): Likewise.
34662 [C99-based-standards] (PRIdLEAST16): Likewise.
34663 [C99-based-standards] (PRIiLEAST16): Likewise.
34664 [C99-based-standards] (PRIoLEAST16): Likewise.
34665 [C99-based-standards] (PRIuLEAST16): Likewise.
34666 [C99-based-standards] (PRIxLEAST16): Likewise.
34667 [C99-based-standards] (PRIXLEAST16): Likewise.
34668 [C99-based-standards] (SCNdLEAST16): Likewise.
34669 [C99-based-standards] (SCNiLEAST16): Likewise.
34670 [C99-based-standards] (SCNoLEAST16): Likewise.
34671 [C99-based-standards] (SCNuLEAST16): Likewise.
34672 [C99-based-standards] (SCNxLEAST16): Likewise.
34673 [C99-based-standards] (PRIdFAST16): Likewise.
34674 [C99-based-standards] (PRIiFAST16): Likewise.
34675 [C99-based-standards] (PRIoFAST16): Likewise.
34676 [C99-based-standards] (PRIuFAST16): Likewise.
34677 [C99-based-standards] (PRIxFAST16): Likewise.
34678 [C99-based-standards] (PRIXFAST16): Likewise.
34679 [C99-based-standards] (SCNdFAST16): Likewise.
34680 [C99-based-standards] (SCNiFAST16): Likewise.
34681 [C99-based-standards] (SCNoFAST16): Likewise.
34682 [C99-based-standards] (SCNuFAST16): Likewise.
34683 [C99-based-standards] (SCNxFAST16): Likewise.
34684 [C99-based-standards] (PRId32): Likewise.
34685 [C99-based-standards] (PRIi32): Likewise.
34686 [C99-based-standards] (PRIo32): Likewise.
34687 [C99-based-standards] (PRIu32): Likewise.
34688 [C99-based-standards] (PRIx32): Likewise.
34689 [C99-based-standards] (PRIX32): Likewise.
34690 [C99-based-standards] (SCNd32): Likewise.
34691 [C99-based-standards] (SCNi32): Likewise.
34692 [C99-based-standards] (SCNo32): Likewise.
34693 [C99-based-standards] (SCNu32): Likewise.
34694 [C99-based-standards] (SCNx32): Likewise.
34695 [C99-based-standards] (PRIdLEAST32): Likewise.
34696 [C99-based-standards] (PRIiLEAST32): Likewise.
34697 [C99-based-standards] (PRIoLEAST32): Likewise.
34698 [C99-based-standards] (PRIuLEAST32): Likewise.
34699 [C99-based-standards] (PRIxLEAST32): Likewise.
34700 [C99-based-standards] (PRIXLEAST32): Likewise.
34701 [C99-based-standards] (SCNdLEAST32): Likewise.
34702 [C99-based-standards] (SCNiLEAST32): Likewise.
34703 [C99-based-standards] (SCNoLEAST32): Likewise.
34704 [C99-based-standards] (SCNuLEAST32): Likewise.
34705 [C99-based-standards] (SCNxLEAST32): Likewise.
34706 [C99-based-standards] (PRIdFAST32): Likewise.
34707 [C99-based-standards] (PRIiFAST32): Likewise.
34708 [C99-based-standards] (PRIoFAST32): Likewise.
34709 [C99-based-standards] (PRIuFAST32): Likewise.
34710 [C99-based-standards] (PRIxFAST32): Likewise.
34711 [C99-based-standards] (PRIXFAST32): Likewise.
34712 [C99-based-standards] (SCNdFAST32): Likewise.
34713 [C99-based-standards] (SCNiFAST32): Likewise.
34714 [C99-based-standards] (SCNoFAST32): Likewise.
34715 [C99-based-standards] (SCNuFAST32): Likewise.
34716 [C99-based-standards] (SCNxFAST32): Likewise.
34717 [C99-based-standards] (PRId64): Likewise.
34718 [C99-based-standards] (PRIi64): Likewise.
34719 [C99-based-standards] (PRIo64): Likewise.
34720 [C99-based-standards] (PRIu64): Likewise.
34721 [C99-based-standards] (PRIx64): Likewise.
34722 [C99-based-standards] (PRIX64): Likewise.
34723 [C99-based-standards] (SCNd64): Likewise.
34724 [C99-based-standards] (SCNi64): Likewise.
34725 [C99-based-standards] (SCNo64): Likewise.
34726 [C99-based-standards] (SCNu64): Likewise.
34727 [C99-based-standards] (SCNx64): Likewise.
34728 [C99-based-standards] (PRIdLEAST64): Likewise.
34729 [C99-based-standards] (PRIiLEAST64): Likewise.
34730 [C99-based-standards] (PRIoLEAST64): Likewise.
34731 [C99-based-standards] (PRIuLEAST64): Likewise.
34732 [C99-based-standards] (PRIxLEAST64): Likewise.
34733 [C99-based-standards] (PRIXLEAST64): Likewise.
34734 [C99-based-standards] (SCNdLEAST64): Likewise.
34735 [C99-based-standards] (SCNiLEAST64): Likewise.
34736 [C99-based-standards] (SCNoLEAST64): Likewise.
34737 [C99-based-standards] (SCNuLEAST64): Likewise.
34738 [C99-based-standards] (SCNxLEAST64): Likewise.
34739 [C99-based-standards] (PRIdFAST64): Likewise.
34740 [C99-based-standards] (PRIiFAST64): Likewise.
34741 [C99-based-standards] (PRIoFAST64): Likewise.
34742 [C99-based-standards] (PRIuFAST64): Likewise.
34743 [C99-based-standards] (PRIxFAST64): Likewise.
34744 [C99-based-standards] (PRIXFAST64): Likewise.
34745 [C99-based-standards] (SCNdFAST64): Likewise.
34746 [C99-based-standards] (SCNiFAST64): Likewise.
34747 [C99-based-standards] (SCNoFAST64): Likewise.
34748 [C99-based-standards] (SCNuFAST64): Likewise.
34749 [C99-based-standards] (SCNxFAST64): Likewise.
34750 [C99-based-standards] (PRIdMAX): Likewise.
34751 [C99-based-standards] (PRIiMAX): Likewise.
34752 [C99-based-standards] (PRIoMAX): Likewise.
34753 [C99-based-standards] (PRIuMAX): Likewise.
34754 [C99-based-standards] (PRIxMAX): Likewise.
34755 [C99-based-standards] (PRIXMAX): Likewise.
34756 [C99-based-standards] (SCNdMAX): Likewise.
34757 [C99-based-standards] (SCNiMAX): Likewise.
34758 [C99-based-standards] (SCNoMAX): Likewise.
34759 [C99-based-standards] (SCNuMAX): Likewise.
34760 [C99-based-standards] (SCNxMAX): Likewise.
34761 [C99-based-standards] (PRIdPTR): Likewise.
34762 [C99-based-standards] (PRIiPTR): Likewise.
34763 [C99-based-standards] (PRIoPTR): Likewise.
34764 [C99-based-standards] (PRIuPTR): Likewise.
34765 [C99-based-standards] (PRIxPTR): Likewise.
34766 [C99-based-standards] (PRIXPTR): Likewise.
34767 [C99-based-standards] (SCNdPTR): Likewise.
34768 [C99-based-standards] (SCNiPTR): Likewise.
34769 [C99-based-standards] (SCNoPTR): Likewise.
34770 [C99-based-standards] (SCNuPTR): Likewise.
34771 [C99-based-standards] (SCNxPTR): Likewise.
34772 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34773 allow.
34774 * conform/data/stdint.h-data: Update comments to clarify
34775 requirements.
34776 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34777 type.
34778 [C99-based standards] (INT8_MAX): Likewise.
34779 [C99-based standards] (INT16_MIN): Likewise.
34780 [C99-based standards] (INT16_MAX): Likewise.
34781 [C99-based standards] (INT32_MIN): Likewise.
34782 [C99-based standards] (INT32_MAX): Likewise.
34783 [C99-based standards] (INT64_MIN): Likewise.
34784 [C99-based standards] (INT64_MAX): Likewise.
34785 [C99-based standards] (UINT8_MAX): Likewise.
34786 [C99-based standards] (UINT16_MAX): Likewise.
34787 [C99-based standards] (UINT32_MAX): Likewise.
34788 [C99-based standards] (UINT64_MAX): Likewise.
34789 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34790 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34791 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34792 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34793 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34794 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34795 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34796 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34797 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34798 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34799 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34800 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34801 [C99-based standards] (INT_FAST8_MIN): Likewise.
34802 [C99-based standards] (INT_FAST8_MAX): Likewise.
34803 [C99-based standards] (INT_FAST16_MIN): Likewise.
34804 [C99-based standards] (INT_FAST16_MAX): Likewise.
34805 [C99-based standards] (INT_FAST32_MIN): Likewise.
34806 [C99-based standards] (INT_FAST32_MAX): Likewise.
34807 [C99-based standards] (INT_FAST64_MIN): Likewise.
34808 [C99-based standards] (INT_FAST64_MAX): Likewise.
34809 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34810 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34811 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34812 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34813 [C99-based standards] (INTPTR_MIN): Likewise.
34814 [C99-based standards] (INTPTR_MAX): Likewise.
34815 [C99-based standards] (UINTPTR_MAX): Likewise.
34816 [C99-based standards] (INTMAX_MIN): Likewise.
34817 [C99-based standards] (INTMAX_MAX): Likewise.
34818 [C99-based standards] (UINTMAX_MAX): Likewise.
34819 [C99-based standards] (PTRDIFF_MIN): Likewise.
34820 [C99-based standards] (PTRDIFF_MAX): Likewise.
34821 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34822 [C99-based standards] (SIZE_MAX): Likewise.
34823 [C99-based standards] (WCHAR_MAX): Likewise.
34824 [C99-based standards] (WINT_MAX): Likewise.
34825 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34826 constraint on value.
34827 [C99-based standards] (WCHAR_MIN): Likewise.
34828 [C99-based standards] (WINT_MIN): Likewise.
34829 [C99-based standards] (*_t): Allow.
34830 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34831 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34832 Include math.h-data and complex.h-data. Remove all expectations
34833 of math.h and complex.h contents.
34834 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34835 at end of line.
34836 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34837 (struct tm): Expect tag.
34838 [C99-based-standards] (wcstof): Expect function.
34839 [C99-based-standards] (wcstold): Likewise.
34840 [C99-based-standards] (wcstoll): Likewise.
34841 [C99-based-standards] (wcstoull): Likewise.
34842 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34843 macro-int-constant. Specify type.
34844 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34845 constraint on value.
34846 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34847 Specify type.
34848 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34849 Specify value.
34850 [ISO C standards]: Do not allow headers.
34851 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34852 wcs[abcdefghijklmnopqrstuvwxyz]*.
34853 [ISO C standards] (*_t): Do not allow.
34854 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34855 Expect function.
34856 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34857 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34858 Specify type.
34859 [ISO C standards]: Do not allow headers.
34860 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34861 is[abcdefghijklmnopqrstuvwxyz]*.
34862 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34863 to[abcdefghijklmnopqrstuvwxyz]*.
34864 [ISO C standards] (*_t): Do not allow.
34865 * conform/data/stdalign.h-data: New file.
34866 * conform/data/stdbool.h-data: Likewise.
34867 * conform/data/stdnoreturn.h-data: Likewise.
34868
7514feb8
RM
348692012-11-07 Roland McGrath <roland@hack.frob.com>
34870
34871 [BZ #14815]
34872 * manual/filesys.texi (Directory Entries): Typo fix.
34873 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34874
19b2ecfc
MS
348752012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34876
34877 * elf/elf.h (EM_AARCH64): New macro.
34878 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34879 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34880 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34881 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34882 (R_AARCH64_TLSDESC): Likewise.
34883 (NT_ARM_TLS): Likewise.
34884 (NT_ARM_HW_BREAK): Likewise.
34885 (NT_ARM_HW_WATCH): Likewise.
34886
60e235ee
JM
348872012-11-07 Joseph Myers <joseph@codesourcery.com>
34888
34889 [BZ #14811]
34890 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34891 (__ieee754_powl): Saturate nonzero exponents with absolute value
34892 below 0x1p-79 to +/- 0x1p-79.
34893 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34894 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34895 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34896 nonzero exponents with absolute value below 0x1p-32 to +/-
34897 0x1p-32.
34898 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34899 (__ieee754_powl): Saturate nonzero exponents with absolute value
34900 below 0x1p-79 to +/- 0x1p-79.
34901 * math/libm-test.inc (pow_test): Add more tests.
34902
0ab234b7
AK
349032012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34904
34905 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34906 _dl_s390_cap_flags with kernel. Increase string length.
34907 (_dl_s390_platforms): Add z196 and zEC12.
34908
45832f74
JM
349092012-11-07 Joseph Myers <joseph@codesourcery.com>
34910
34911 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34912 Change XOPEN21K to XOPEN2K.
34913
19218757
MK
349142012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
34915
34916 * string/memmove.c: Use memcpy when possible.
34917
c5f45721
AJ
349182012-11-06 Andreas Jaeger <aj@suse.de>
34919
34920 * po/eo.po: Update from translation team.
34921
82477c28
JM
349222012-11-06 Joseph Myers <joseph@codesourcery.com>
34923
34924 [BZ #14793]
34925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34926 exponent and small x and y exponents, scale x or y up. Increase
34927 by 2 the exponent used in scaling up.
34928 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34929 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34930 * math/libm-test.inc (fma_test): Add more tests.
34931 (fma_test_towardzero): Likewise.
34932 (fma_test_downward): Likewise.
34933 (fma_test_upward): Likewise.
34934
99252c8c
JM
349352012-11-05 Joseph Myers <joseph@codesourcery.com>
34936
acfa885f
JM
34937 [BZ #14805]
34938 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34939 fenv_t *.
34940
99252c8c
JM
34941 [BZ #14801]
34942 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34943 namespace for names of struct fields.
34944 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34945 fenv_t fields.
34946 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34947 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34948
d6d98dea
ST
349492012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
34950
34951 [BZ #3665]
34952 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34953
e10bb107
TS
349542012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34955
34956 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34957 PTR_DEMANGLE.
34958
34959 [BZ #5246]
34960 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34961 PTR_DEMANGLE.
34962
a0c2940d
JM
349632012-11-04 Joseph Myers <joseph@codesourcery.com>
34964
34965 [BZ #14797]
34966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34967 definitely overflow as x * y not x * y + z.
34968 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34969 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34970 * math/libm-test.inc (fma_test): Add more tests.
34971 (fma_test_towardzero): Likewise.
34972 (fma_test_downward): Likewise.
34973 (fma_test_upward): Likewise.
34974
b830319d
TS
349752012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34976
34977 [BZ #157]
34978
34979 * include/stub-tag.h: Remove file.
34980 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34981 '#include' of it.
34982 * manual/maint.texi (Porting): Don't reference it.
34983 * Makerules ($(objpfx)stubs): Likewise.
34984 * dirent/closedir.c: Don't include <stub-tag.h>.
34985 * dirent/dirfd.c: Likewise.
34986 * dirent/fdopendir.c: Likewise.
34987 * dirent/getdents.c: Likewise.
34988 * dirent/getdents64.c: Likewise.
34989 * dirent/opendir.c: Likewise.
34990 * dirent/readdir.c: Likewise.
34991 * dirent/readdir64.c: Likewise.
34992 * dirent/readdir64_r.c: Likewise.
34993 * dirent/readdir_r.c: Likewise.
34994 * dirent/rewinddir.c: Likewise.
34995 * dirent/seekdir.c: Likewise.
34996 * dirent/telldir.c: Likewise.
34997 * gmon/profil.c: Likewise.
34998 * grp/setgroups.c: Likewise.
34999 * inet/if_index.c: Likewise.
35000 * io/access.c: Likewise.
35001 * io/chdir.c: Likewise.
35002 * io/chmod.c: Likewise.
35003 * io/chown.c: Likewise.
35004 * io/close.c: Likewise.
35005 * io/dup.c: Likewise.
35006 * io/dup2.c: Likewise.
35007 * io/dup3.c: Likewise.
35008 * io/euidaccess.c: Likewise.
35009 * io/faccessat.c: Likewise.
35010 * io/fchdir.c: Likewise.
35011 * io/fchmod.c: Likewise.
35012 * io/fchmodat.c: Likewise.
35013 * io/fchown.c: Likewise.
35014 * io/fchownat.c: Likewise.
35015 * io/fcntl.c: Likewise.
35016 * io/flock.c: Likewise.
35017 * io/fstatfs.c: Likewise.
35018 * io/fstatfs64.c: Likewise.
35019 * io/fstatvfs.c: Likewise.
35020 * io/fstatvfs64.c: Likewise.
35021 * io/futimens.c: Likewise.
35022 * io/fxstat.c: Likewise.
35023 * io/fxstat64.c: Likewise.
35024 * io/fxstatat.c: Likewise.
35025 * io/fxstatat64.c: Likewise.
35026 * io/getcwd.c: Likewise.
35027 * io/isatty.c: Likewise.
35028 * io/lchmod.c: Likewise.
35029 * io/lchown.c: Likewise.
35030 * io/link.c: Likewise.
35031 * io/linkat.c: Likewise.
35032 * io/lseek.c: Likewise.
35033 * io/lseek64.c: Likewise.
35034 * io/lxstat64.c: Likewise.
35035 * io/mkdir.c: Likewise.
35036 * io/mkdirat.c: Likewise.
35037 * io/mkfifo.c: Likewise.
35038 * io/mkfifoat.c: Likewise.
35039 * io/open.c: Likewise.
35040 * io/open64.c: Likewise.
35041 * io/openat.c: Likewise.
35042 * io/openat64.c: Likewise.
35043 * io/pipe.c: Likewise.
35044 * io/pipe2.c: Likewise.
35045 * io/poll.c: Likewise.
35046 * io/posix_fadvise.c: Likewise.
35047 * io/posix_fadvise64.c: Likewise.
35048 * io/posix_fallocate.c: Likewise.
35049 * io/posix_fallocate64.c: Likewise.
35050 * io/read.c: Likewise.
35051 * io/readlink.c: Likewise.
35052 * io/readlinkat.c: Likewise.
35053 * io/rmdir.c: Likewise.
35054 * io/sendfile.c: Likewise.
35055 * io/sendfile64.c: Likewise.
35056 * io/statfs.c: Likewise.
35057 * io/statfs64.c: Likewise.
35058 * io/statvfs.c: Likewise.
35059 * io/statvfs64.c: Likewise.
35060 * io/symlink.c: Likewise.
35061 * io/symlinkat.c: Likewise.
35062 * io/ttyname.c: Likewise.
35063 * io/ttyname_r.c: Likewise.
35064 * io/umask.c: Likewise.
35065 * io/unlink.c: Likewise.
35066 * io/unlinkat.c: Likewise.
35067 * io/utime.c: Likewise.
35068 * io/utimensat.c: Likewise.
35069 * io/write.c: Likewise.
35070 * io/xmknod.c: Likewise.
35071 * io/xmknodat.c: Likewise.
35072 * io/xstat.c: Likewise.
35073 * io/xstat64.c: Likewise.
35074 * login/getpt.c: Likewise.
35075 * login/grantpt.c: Likewise.
35076 * login/unlockpt.c: Likewise.
35077 * math/e_acoshl.c: Likewise.
35078 * math/e_acosl.c: Likewise.
35079 * math/e_asinl.c: Likewise.
35080 * math/e_atan2l.c: Likewise.
35081 * math/e_atanhl.c: Likewise.
35082 * math/e_coshl.c: Likewise.
35083 * math/e_expl.c: Likewise.
35084 * math/e_fmodl.c: Likewise.
35085 * math/e_gammal_r.c: Likewise.
35086 * math/e_hypotl.c: Likewise.
35087 * math/e_j0l.c: Likewise.
35088 * math/e_j1l.c: Likewise.
35089 * math/e_jnl.c: Likewise.
35090 * math/e_lgammal_r.c: Likewise.
35091 * math/e_log10l.c: Likewise.
35092 * math/e_log2l.c: Likewise.
35093 * math/e_logl.c: Likewise.
35094 * math/e_powl.c: Likewise.
35095 * math/e_rem_pio2l.c: Likewise.
35096 * math/e_sinhl.c: Likewise.
35097 * math/e_sqrtl.c: Likewise.
35098 * math/fclrexcpt.c: Likewise.
35099 * math/fedisblxcpt.c: Likewise.
35100 * math/feenablxcpt.c: Likewise.
35101 * math/fegetenv.c: Likewise.
35102 * math/fegetexcept.c: Likewise.
35103 * math/fegetround.c: Likewise.
35104 * math/feholdexcpt.c: Likewise.
35105 * math/fesetenv.c: Likewise.
35106 * math/fesetround.c: Likewise.
35107 * math/feupdateenv.c: Likewise.
35108 * math/fgetexcptflg.c: Likewise.
35109 * math/fraiseexcpt.c: Likewise.
35110 * math/fsetexcptflg.c: Likewise.
35111 * math/ftestexcept.c: Likewise.
35112 * math/k_cosl.c: Likewise.
35113 * math/k_rem_pio2l.c: Likewise.
35114 * math/k_sinl.c: Likewise.
35115 * math/k_tanl.c: Likewise.
35116 * math/s_asinhl.c: Likewise.
35117 * math/s_atanl.c: Likewise.
35118 * math/s_cbrtl.c: Likewise.
35119 * math/s_erfl.c: Likewise.
35120 * math/s_expm1l.c: Likewise.
35121 * math/s_log1pl.c: Likewise.
35122 * math/s_tanhl.c: Likewise.
35123 * misc/acct.c: Likewise.
35124 * misc/brk.c: Likewise.
35125 * misc/chflags.c: Likewise.
35126 * misc/chroot.c: Likewise.
35127 * misc/fchflags.c: Likewise.
35128 * misc/fgetxattr.c: Likewise.
35129 * misc/flistxattr.c: Likewise.
35130 * misc/fremovexattr.c: Likewise.
35131 * misc/fsetxattr.c: Likewise.
35132 * misc/fsync.c: Likewise.
35133 * misc/ftruncate.c: Likewise.
35134 * misc/futimes.c: Likewise.
35135 * misc/futimesat.c: Likewise.
35136 * misc/getdomain.c: Likewise.
35137 * misc/getdtsz.c: Likewise.
35138 * misc/gethostid.c: Likewise.
35139 * misc/gethostname.c: Likewise.
35140 * misc/getloadavg.c: Likewise.
35141 * misc/getpagesize.c: Likewise.
35142 * misc/getsysstats.c: Likewise.
35143 * misc/getxattr.c: Likewise.
35144 * misc/gtty.c: Likewise.
35145 * misc/ioctl.c: Likewise.
35146 * misc/lgetxattr.c: Likewise.
35147 * misc/listxattr.c: Likewise.
35148 * misc/llistxattr.c: Likewise.
35149 * misc/lremovexattr.c: Likewise.
35150 * misc/lsetxattr.c: Likewise.
35151 * misc/lutimes.c: Likewise.
35152 * misc/madvise.c: Likewise.
35153 * misc/mincore.c: Likewise.
35154 * misc/mlock.c: Likewise.
35155 * misc/mlockall.c: Likewise.
35156 * misc/mmap.c: Likewise.
35157 * misc/mprotect.c: Likewise.
35158 * misc/msync.c: Likewise.
35159 * misc/munlock.c: Likewise.
35160 * misc/munlockall.c: Likewise.
35161 * misc/munmap.c: Likewise.
35162 * misc/preadv.c: Likewise.
35163 * misc/preadv64.c: Likewise.
35164 * misc/ptrace.c: Likewise.
35165 * misc/pwritev.c: Likewise.
35166 * misc/pwritev64.c: Likewise.
35167 * misc/readv.c: Likewise.
35168 * misc/reboot.c: Likewise.
35169 * misc/remap_file_pages.c: Likewise.
35170 * misc/removexattr.c: Likewise.
35171 * misc/revoke.c: Likewise.
35172 * misc/select.c: Likewise.
35173 * misc/setdomain.c: Likewise.
35174 * misc/setegid.c: Likewise.
35175 * misc/seteuid.c: Likewise.
35176 * misc/sethostid.c: Likewise.
35177 * misc/sethostname.c: Likewise.
35178 * misc/setregid.c: Likewise.
35179 * misc/setreuid.c: Likewise.
35180 * misc/setxattr.c: Likewise.
35181 * misc/sstk.c: Likewise.
35182 * misc/stty.c: Likewise.
35183 * misc/swapoff.c: Likewise.
35184 * misc/swapon.c: Likewise.
35185 * misc/sync.c: Likewise.
35186 * misc/syncfs.c: Likewise.
35187 * misc/syscall.c: Likewise.
35188 * misc/truncate.c: Likewise.
35189 * misc/ualarm.c: Likewise.
35190 * misc/usleep.c: Likewise.
35191 * misc/ustat.c: Likewise.
35192 * misc/utimes.c: Likewise.
35193 * misc/vhangup.c: Likewise.
35194 * misc/writev.c: Likewise.
35195 * posix/_exit.c: Likewise.
35196 * posix/alarm.c: Likewise.
35197 * posix/execve.c: Likewise.
35198 * posix/fexecve.c: Likewise.
35199 * posix/fork.c: Likewise.
35200 * posix/fpathconf.c: Likewise.
35201 * posix/getaddrinfo.c: Likewise.
35202 * posix/getegid.c: Likewise.
35203 * posix/geteuid.c: Likewise.
35204 * posix/getgid.c: Likewise.
35205 * posix/getgroups.c: Likewise.
35206 * posix/getlogin.c: Likewise.
35207 * posix/getlogin_r.c: Likewise.
35208 * posix/getpgid.c: Likewise.
35209 * posix/getpid.c: Likewise.
35210 * posix/getppid.c: Likewise.
35211 * posix/getresgid.c: Likewise.
35212 * posix/getresuid.c: Likewise.
35213 * posix/getsid.c: Likewise.
35214 * posix/getuid.c: Likewise.
35215 * posix/glob64.c: Likewise.
35216 * posix/nanosleep.c: Likewise.
35217 * posix/pathconf.c: Likewise.
35218 * posix/pause.c: Likewise.
35219 * posix/posix_madvise.c: Likewise.
35220 * posix/pread.c: Likewise.
35221 * posix/pread64.c: Likewise.
35222 * posix/pwrite.c: Likewise.
35223 * posix/pwrite64.c: Likewise.
35224 * posix/sched_getaffinity.c: Likewise.
35225 * posix/sched_getp.c: Likewise.
35226 * posix/sched_gets.c: Likewise.
35227 * posix/sched_primax.c: Likewise.
35228 * posix/sched_primin.c: Likewise.
35229 * posix/sched_rr_gi.c: Likewise.
35230 * posix/sched_setaffinity.c: Likewise.
35231 * posix/sched_setp.c: Likewise.
35232 * posix/sched_sets.c: Likewise.
35233 * posix/sched_yield.c: Likewise.
35234 * posix/setgid.c: Likewise.
35235 * posix/setlogin.c: Likewise.
35236 * posix/setpgid.c: Likewise.
35237 * posix/setresgid.c: Likewise.
35238 * posix/setresuid.c: Likewise.
35239 * posix/setsid.c: Likewise.
35240 * posix/setuid.c: Likewise.
35241 * posix/sleep.c: Likewise.
35242 * posix/spawni.c: Likewise.
35243 * posix/sysconf.c: Likewise.
35244 * posix/times.c: Likewise.
35245 * posix/wait.c: Likewise.
35246 * posix/wait3.c: Likewise.
35247 * posix/wait4.c: Likewise.
35248 * posix/waitpid.c: Likewise.
35249 * resolv/gai_sigqueue.c: Likewise.
35250 * resource/getpriority.c: Likewise.
35251 * resource/getrlimit.c: Likewise.
35252 * resource/getrusage.c: Likewise.
35253 * resource/nice.c: Likewise.
35254 * resource/setpriority.c: Likewise.
35255 * resource/setrlimit.c: Likewise.
35256 * resource/ulimit.c: Likewise.
35257 * rt/aio_cancel.c: Likewise.
35258 * rt/aio_fsync.c: Likewise.
35259 * rt/aio_read.c: Likewise.
35260 * rt/aio_sigqueue.c: Likewise.
35261 * rt/aio_suspend.c: Likewise.
35262 * rt/aio_write.c: Likewise.
35263 * rt/clock_getres.c: Likewise.
35264 * rt/clock_gettime.c: Likewise.
35265 * rt/clock_nanosleep.c: Likewise.
35266 * rt/clock_settime.c: Likewise.
35267 * rt/lio_listio.c: Likewise.
35268 * rt/mq_close.c: Likewise.
35269 * rt/mq_getattr.c: Likewise.
35270 * rt/mq_notify.c: Likewise.
35271 * rt/mq_open.c: Likewise.
35272 * rt/mq_receive.c: Likewise.
35273 * rt/mq_send.c: Likewise.
35274 * rt/mq_setattr.c: Likewise.
35275 * rt/mq_timedreceive.c: Likewise.
35276 * rt/mq_timedsend.c: Likewise.
35277 * rt/mq_unlink.c: Likewise.
35278 * rt/shm_open.c: Likewise.
35279 * rt/shm_unlink.c: Likewise.
35280 * rt/timer_create.c: Likewise.
35281 * rt/timer_delete.c: Likewise.
35282 * rt/timer_getoverr.c: Likewise.
35283 * rt/timer_gettime.c: Likewise.
35284 * rt/timer_settime.c: Likewise.
35285 * setjmp/__longjmp.c: Likewise.
35286 * setjmp/setjmp.c: Likewise.
35287 * signal/kill.c: Likewise.
35288 * signal/killpg.c: Likewise.
35289 * signal/raise.c: Likewise.
35290 * signal/sigaction.c: Likewise.
35291 * signal/sigaltstack.c: Likewise.
35292 * signal/sigblock.c: Likewise.
35293 * signal/sigignore.c: Likewise.
35294 * signal/sigintr.c: Likewise.
35295 * signal/signal.c: Likewise.
35296 * signal/sigpause.c: Likewise.
35297 * signal/sigpending.c: Likewise.
35298 * signal/sigqueue.c: Likewise.
35299 * signal/sigreturn.c: Likewise.
35300 * signal/sigset.c: Likewise.
35301 * signal/sigsetmask.c: Likewise.
35302 * signal/sigstack.c: Likewise.
35303 * signal/sigsuspend.c: Likewise.
35304 * signal/sigtimedwait.c: Likewise.
35305 * signal/sigvec.c: Likewise.
35306 * signal/sigwait.c: Likewise.
35307 * signal/sigwaitinfo.c: Likewise.
35308 * signal/sysv_signal.c: Likewise.
35309 * socket/accept.c: Likewise.
35310 * socket/accept4.c: Likewise.
35311 * socket/bind.c: Likewise.
35312 * socket/connect.c: Likewise.
35313 * socket/getpeername.c: Likewise.
35314 * socket/getsockname.c: Likewise.
35315 * socket/getsockopt.c: Likewise.
35316 * socket/isfdtype.c: Likewise.
35317 * socket/listen.c: Likewise.
35318 * socket/recv.c: Likewise.
35319 * socket/recvfrom.c: Likewise.
35320 * socket/recvmsg.c: Likewise.
35321 * socket/send.c: Likewise.
35322 * socket/sendmsg.c: Likewise.
35323 * socket/sendto.c: Likewise.
35324 * socket/setsockopt.c: Likewise.
35325 * socket/shutdown.c: Likewise.
35326 * socket/sockatmark.c: Likewise.
35327 * socket/socket.c: Likewise.
35328 * socket/socketpair.c: Likewise.
35329 * stdio-common/ctermid.c: Likewise.
35330 * stdio-common/cuserid.c: Likewise.
35331 * stdio-common/remove.c: Likewise.
35332 * stdio-common/rename.c: Likewise.
35333 * stdio-common/renameat.c: Likewise.
35334 * stdio-common/tempname.c: Likewise.
35335 * stdlib/getcontext.c: Likewise.
35336 * stdlib/makecontext.c: Likewise.
35337 * stdlib/setcontext.c: Likewise.
35338 * stdlib/swapcontext.c: Likewise.
35339 * stdlib/system.c: Likewise.
35340 * streams/fattach.c: Likewise.
35341 * streams/fdetach.c: Likewise.
35342 * streams/getmsg.c: Likewise.
35343 * streams/getpmsg.c: Likewise.
35344 * streams/putmsg.c: Likewise.
35345 * streams/putpmsg.c: Likewise.
35346 * sysdeps/unix/bsd/getpt.c: Likewise.
35347 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35348 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35349 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35351 Likewise.
35352 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35353 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35354 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35355 * sysvipc/msgctl.c: Likewise.
35356 * sysvipc/msgget.c: Likewise.
35357 * sysvipc/msgrcv.c: Likewise.
35358 * sysvipc/msgsnd.c: Likewise.
35359 * sysvipc/semctl.c: Likewise.
35360 * sysvipc/semget.c: Likewise.
35361 * sysvipc/semop.c: Likewise.
35362 * sysvipc/semtimedop.c: Likewise.
35363 * sysvipc/shmat.c: Likewise.
35364 * sysvipc/shmctl.c: Likewise.
35365 * sysvipc/shmdt.c: Likewise.
35366 * sysvipc/shmget.c: Likewise.
35367 * termios/tcdrain.c: Likewise.
35368 * termios/tcflow.c: Likewise.
35369 * termios/tcflush.c: Likewise.
35370 * termios/tcgetattr.c: Likewise.
35371 * termios/tcgetpgrp.c: Likewise.
35372 * termios/tcsendbrk.c: Likewise.
35373 * termios/tcsetattr.c: Likewise.
35374 * termios/tcsetpgrp.c: Likewise.
35375 * time/adjtime.c: Likewise.
35376 * time/clock.c: Likewise.
35377 * time/getitimer.c: Likewise.
35378 * time/gettimeofday.c: Likewise.
35379 * time/setitimer.c: Likewise.
35380 * time/settimeofday.c: Likewise.
35381 * time/stime.c: Likewise.
35382 * time/time.c: Likewise.
35383
353842012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 35385
a20492cf
PT
35386 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35387 /usr/old/bin.
35388
72e182e3
PT
35389 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35390 instead of spaces.
35391 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35392
fbeafede
JM
353932012-11-03 Joseph Myers <joseph@codesourcery.com>
35394
5b5b04d6
JM
35395 [BZ #14796]
35396 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35397 FE_TONEAREST before applying Dekker multiplication and Knuth
35398 addition. Clear inexact exceptions and check for exact zero
35399 results afterwards.
35400 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35401 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35402 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35403 * math/libm-test.inc (fma_test): Add more tests.
35404 (fma_test_towardzero): Likewise.
35405 (fma_test_downward): Likewise.
35406 (fma_test_upward): Likewise.
35407 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35408 function.
35409 (libc_fesetround): New macro.
35410 (libc_fesetroundf): Likewise.
35411 (libc_fesetroundl): Likewise.
35412 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35413 function.
35414 (libc_fesetround_387): Likewise.
35415 (libc_fesetroundf): New macro.
35416 (libc_fesetround): Likewise.
35417 (libc_fesetroundl): Likewise.
35418 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35419 function.
35420 (libc_fesetroundf): New macro.
35421 (libc_fesetround): Likewise.
35422 (libc_fesetroundl): Likewise.
35423 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35424 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35425 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35426 libm_hidden_ver.
35427 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35428 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35429 libm_hidden_def.
35430 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35431 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35432 libm_hidden_ver.
35433 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35434 libm_hidden_def.
35435
fbeafede
JM
35436 [BZ #3439]
35437 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35438 integer constant usable in #if and use that to give value to enum
35439 constant.
35440 (FE_DIVBYZERO): Likewise.
35441 (FE_UNDERFLOW): Likewise.
35442 (FE_OVERFLOW): Likewise.
35443 (FE_INVALID): Likewise.
35444 (FE_INVALID_SNAN): Likewise.
35445 (FE_INVALID_ISI): Likewise.
35446 (FE_INVALID_IDI): Likewise.
35447 (FE_INVALID_ZDZ): Likewise.
35448 (FE_INVALID_IMZ): Likewise.
35449 (FE_INVALID_COMPARE): Likewise.
35450 (FE_INVALID_SOFTWARE): Likewise.
35451 (FE_INVALID_SQRT): Likewise.
35452 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35453 (FE_TONEAREST): Likewise.
35454 (FE_TOWARDZERO): Likewise.
35455 (FE_UPWARD): Likewise.
35456 (FE_DOWNWARD): Likewise.
35457 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35458 (FE_DIVBYZERO): Likewise.
35459 (FE_OVERFLOW): Likewise.
35460 (FE_UNDERFLOW): Likewise.
35461 (FE_INEXACT): Likewise.
35462 (FE_TONEAREST): Likewise.
35463 (FE_DOWNWARD): Likewise.
35464 (FE_UPWARD): Likewise.
35465 (FE_TOWARDZERO): Likewise.
35466 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35467 (FE_UNDERFLOW): Likewise.
35468 (FE_OVERFLOW): Likewise.
35469 (FE_DIVBYZERO): Likewise.
35470 (FE_INVALID): Likewise.
35471 (FE_TONEAREST): Likewise.
35472 (FE_TOWARDZERO): Likewise.
35473 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35474 (FE_OVERFLOW): Likewise.
35475 (FE_UNDERFLOW): Likewise.
35476 (FE_DIVBYZERO): Likewise.
35477 (FE_INEXACT): Likewise.
35478 (FE_TONEAREST): Likewise.
35479 (FE_TOWARDZERO): Likewise.
35480 (FE_UPWARD): Likewise.
35481 (FE_DOWNWARD): Likewise.
35482 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35483 (FE_DIVBYZERO): Likewise.
35484 (FE_OVERFLOW): Likewise.
35485 (FE_UNDERFLOW): Likewise.
35486 (FE_INEXACT): Likewise.
35487 (FE_TONEAREST): Likewise.
35488 (FE_DOWNWARD): Likewise.
35489 (FE_UPWARD): Likewise.
35490 (FE_TOWARDZERO): Likewise.
35491
105ca950
CM
354922012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35493
35494 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35495
a542b389
AS
354962012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35497
35498 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35499 commands. Quote $PWD.
35500 (blacklist_exports): Don't use remove_newlines. Replace "declare
35501 -x" by "export".
35502 (remove_newlines): Remove.
35503
f62c8abc
L
355042012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35505
35506 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35507 * stdlib/stdlib.h (atof): Moved to ...
35508 * include/bits/stdlib-float.h: Here. New file.
35509 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35510 * stdlib/bits/stdlib-float.h: New file.
35511 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35512 -mno-sse -mno-mmx.
35513 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35514 <xmmintrin.h>.
35515
0155d5b2
JM
355162012-11-02 Joseph Myers <joseph@codesourcery.com>
35517
a68d0680
JM
35518 * conform/conformtest.pl (@headers): Add fenv.h.
35519 * conform/data/fenv.h-data: New file.
35520 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35521 include of <math/fenv.h>.
35522
caf7f573
JM
35523 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35524 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35525 && !UNIX98]. Enables tests for XOPEN2K8.
35526 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35527 POSIX2008]: Likewise.
35528
6c073ad6
JM
35529 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35530 (struct rusage): Do not expect type or its members.
35531
0155d5b2
JM
35532 [BZ #3439]
35533 * math/math.h (FP_NAN): Define macro to integer constant usable in
35534 #if and use that to give value to enum constant.
35535 (FP_INFINITE): Likewise.
35536 (FP_ZERO): Likewise.
35537 (FP_SUBNORMAL): Likewise.
35538 (FP_NORMAL): Likewise.
35539
b5dcacb4
AS
355402012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35541
35542 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35543 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35544 arguments.
35545
f7934be8
RM
355462012-11-02 Roland McGrath <roland@hack.frob.com>
35547
35548 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35549 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35550 autoconf-time if not.
35551 * configure.in: Remove AC_PREREQ.
35552
d7d08bde
TMQMF
355532012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35554
35555 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35556 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35557 of the internal implementation.
35558
dcdae19a
JM
355592012-11-02 Joseph Myers <joseph@codesourcery.com>
35560
35561 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35562 except include of <misc/sys/syslog.h>.
35563
d6cffd3e
AS
355642012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35565
35566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35567 function returns with a NULL context exit with zero.
35568
b3563932
TMQMF
355692012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35570
35571 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35572
b288a93d
L
355732012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35574
35575 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35576 (run_program_cmd): This.
35577 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35578 (tst_langinfo): New variable. Use it.
35579
a2421a68
SAS
355802012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35581
35582 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35583 floating point opcodes.
35584
6f796e1b
TS
355852012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35586
7402596b
TS
35587 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35588 variable.
35589
d0d4f868
TS
35590 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35591
6f796e1b
TS
35592 * sysdeps/mach/hurd/powerpc: Remove directory.
35593 * sysdeps/mach/powerpc: Likewise.
35594
4da224a2
AS
355952012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35596
35597 * scripts/check-local-headers.sh: Ignore c++ headers.
35598
341dd673
TS
355992012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35600
35601 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35602 __libc_cleanup_region_start argument.
35603
473611b2
JM
356042012-11-01 Joseph Myers <joseph@codesourcery.com>
35605
35606 [BZ #14784]
35607 [BZ #14785]
35608 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35609 x * y using scaling, not as x * y + z.
35610 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35611 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35612 * math/libm-test.inc (fma_test): Add more tests.
35613 (fma_test_towardzero): Likewise.
35614 (fma_test_downward): Likewise.
35615 (fma_test_upward): Likewise.
35616
4078da3d
TS
356172012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35618
35619 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35620
903252aa
JM
356212012-10-31 Joseph Myers <joseph@codesourcery.com>
35622
35623 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35624 New variable.
35625
cbc818d0
TS
356262012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35627
35628 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35629
5a03cb1e
AS
356302012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35631
35632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35633 Fix sort order.
35634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35635 Likewise.
35636
90aff2ff
TMQMF
356372012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35638
35639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35640 Fix the order of the list for glibc 2.17.
35641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35642 Likewise.
35643
1818fcb7
AS
356442012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35645
35646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35647
ef82f4da
JM
356482012-10-31 Joseph Myers <joseph@codesourcery.com>
35649
16a0e2ec
JM
35650 [BZ #14610]
35651 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35652 for low part of x being zero before using __atanl (y).
35653 * math/libm-test.inc (atan2_test): Add another test.
35654
0eb69512
JM
35655 * manual/install.texi (Configuring and compiling): Document
35656 general use of test-wrapper and test-wrapper-env.
35657 * INSTALL: Regenerated.
35658
ef82f4da
JM
35659 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35660 (__fma): Do not extract and scale down low bits on after-rounding
35661 systems when result rounded to normal precision would have normal
35662 exponent.
35663 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35664 (__fmal): Do not extract and scale down low bits on after-rounding
35665 systems when result rounded to normal precision would have normal
35666 exponent.
35667 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35668 (__fmal): Do not extract and scale down low bits on after-rounding
35669 systems when result rounded to normal precision would have normal
35670 exponent.
35671 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35672 macro.
35673 (fma_test): Add more tests.
35674 (fma_test_towardzero): Likewise.
35675 (fma_test_downward): Likewise.
35676 (fma_test_upward): Likewise.
35677
954ef0d9
L
356782012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35679
35680 * sysdeps/i386/tininess.h: Renamed to ...
35681 * sysdeps/x86/tininess.h: This.
35682 * sysdeps/x86_64/tininess.h: Removed.
35683
df61ffb2
JM
356842012-10-30 Joseph Myers <joseph@codesourcery.com>
35685
35686 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35687 input. Use $(build-program-cmd).
35688 ($(objpfx)tst-array1-static.out): Likewise.
35689 ($(objpfx)tst-array2.out): Likewise.
35690 ($(objpfx)tst-array3.out): Likewise.
35691 ($(objpfx)tst-array4.out): Likewise.
35692 ($(objpfx)tst-array5.out): Likewise.
35693 ($(objpfx)tst-array5-static.out): Likewise.
35694
01767843
CM
356952012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35696
47cc1490
CM
35697 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35698 if defined.
35699
01767843
CM
35700 * nss/nsswitch.h (nss_interface_function): Provide new
35701 macro for use with NSS functions.
35702 * grp/initgroups.c: Use new macro.
35703 * nss/getXXbyYY.c: Likewise.
35704 * nss/getXXbyYY_r.c: Likewise.
35705 * nss/getXXent.c: Likewise.
35706 * nss/getXXent_r.c: Likewise.
35707 * sysdeps/posix/getaddrinfo.c: Likewise.
35708
8321aa97
AJ
357092012-10-30 Andreas Jaeger <aj@suse.de>
35710
35711 * po/ru.po: Update Russion translation from translation project.
35712
2a27fd6d
JM
357132012-10-30 Joseph Myers <joseph@codesourcery.com>
35714
8627a232
JM
35715 [BZ #14152]
35716 [BZ #14783]
35717 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35718 result and shift together with sticky bit instead of replicating
35719 round-to-nearest rounding.
35720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35721 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35722 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35723 missing underflow exceptions.
35724 (fma_test_towardzero): Add more tests.
35725 (fma_test_downward): Likewise.
35726 (fma_test_upward): Likewise.
35727
2a27fd6d
JM
35728 [BZ #14047]
35729 * sysdeps/generic/tininess.h: New file.
35730 * sysdeps/i386/tininess.h: Likewise.
35731 * sysdeps/sh/tininess.h: Likewise.
35732 * sysdeps/x86_64/tininess.h: Likewise.
35733 * stdlib/tst-strtod-underflow.c: Likewise.
35734 * stdlib/tst-tininess.c: Likewise.
35735 * stdlib/strtod_l.c: Include <tininess.h>.
35736 (round_and_return): Do not set errno for exact underflow cases.
35737 Force an underflow exception when setting errno for underflow.
35738 Determine underflow based on rounding to normal precision if
35739 TININESS_AFTER_ROUNDING.
35740 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35741 ERANGE for exact underflow cases.
35742 * stdlib/Makefile (tests): Add tst-tininess and
35743 tst-strtod-underflow.
35744 ($(objpfx)tst-tininess): Use $(link-libm).
35745 ($(objpfx)tst-strtod-underflow): Likewise.
35746
e7170363
AJ
357472012-10-30 Andreas Jaeger <aj@suse.de>
35748
e5088dc6
AJ
35749 [BZ#14767]
35750 * elf/Makefile (tests): Remove conditional for have-initfini-array
35751 since this is now always required and the variable does not exist
35752 anymore.
35753 (tests-static): Likewise.
35754 (modules-names): Likewise.
35755
e7170363 35756 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
35757
35758 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35759 merged with constructor/destructor.
35760 (init_array): Likewise.
35761 * elf/tst-array2dep.c (fini_array): Likewise.
35762 (init_array): Likewise.
35763
60457d8a
MF
357642012-10-29 Mike Frysinger <vapier@gentoo.org>
35765
35766 * manual/message.texi: Delete @cartouche tags.
35767
8bece752
PT
357682012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35769
94ce799f
PT
35770 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35771 EOPNOTSUPP.
35772 * sysdeps/mach/hurd/fsync.c: Likewise.
35773
8bece752
PT
35774 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35775 [_POSIX_REALTIME_SIGNALS]: Change condition to
35776 [_POSIX_REALTIME_SIGNALS > 0].
35777
86ebe6b1
AJ
357782012-10-27 Andreas Jaeger <aj@suse.de>
35779
35780 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35781 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35783 [__WORDSIZE != 64]: Likewise.
35784
54399c08
L
357852012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35786
35787 * iconvdata/tst-table.sh: Remove ${SHELL}.
35788 * iconvdata/tst-tables.sh: Likewise.
35789
e2211bed
DM
357902012-10-25 David S. Miller <davem@davemloft.net>
35791
35792 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35793 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35794 of strtoull.
35795
f303f97c
DM
35796 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35797 ifunc-impl-list.c
35798 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35799 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35800 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35801 file.
35802
1e9d84cd
RM
358032012-10-25 Roland McGrath <roland@hack.frob.com>
35804
35805 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35806 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35807 __getdirentries.
35808
df381762
JM
358092012-10-25 Joseph Myers <joseph@codesourcery.com>
35810 Jim Blandy <jimb@codesourcery.com>
35811
35812 * scripts/cross-test-ssh.sh: New file.
35813 * manual/install.texi (Configuring and compiling): Document use of
35814 cross-test-ssh.sh.
35815 * INSTALL: Regenerated.
35816
bff64913
PT
358172012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35818
35819 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35820 EOPNOTSUPP.
35821
25fe8932
JM
358222012-10-25 Joseph Myers <joseph@codesourcery.com>
35823
35824 * Makeconfig (run-program-prefix): Fix comment.
35825
cc1290d0
JM
358262012-10-24 Joseph Myers <joseph@codesourcery.com>
35827 Jim Blandy <jimb@codesourcery.com>
35828
35829 * Makeconfig (test-wrapper): New variable,
35830 (test-wrapper-env): Likewise.
35831 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35832 (run-built-tests): Define to yes.
35833 (run-program-prefix): Use $(test-wrapper).
35834 (built-program-cmd): Likewise.
35835 * Rules (make-test-out): Use $(test-wrapper-env) and
35836 $(host-built-program-cmd).
35837 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35838 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35839 tst-pathopt.sh.
35840 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35841 $(test-wrapper-env) to tst-rtld-load-self.sh.
35842 ($(objpfx)order2.out): Use $(test-wrapper).
35843 ($(objpfx)tst-initorder.out): Likewise.
35844 ($(objpfx)tst-initorder2.out): Likewise.
35845 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35846 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35847 (test_wrapper_env): New variable. Use it to run ld.so.
35848 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35849 Use it to run ld.so.
35850 (test_wrapper_env): Likewise.
35851 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35852 $(test-wrapper) to run-iconv-test.sh.
35853 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35854 (ICONV): Use $test_wrapper.
35855 * posix/Makefile ($(objpfx)globtest.out): Pass
35856 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35857 globtest.sh, not $(run-program-prefix).
35858 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35859 (test_wrapper): Likewise.
35860 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35861 set together with run_via_rtld_prefix.
35862 (run_program_prefix): Define in terms of test_wrapper and
35863 run_via_rtld_prefix.
35864
6e6249d0
RM
358652012-10-24 Roland McGrath <roland@hack.frob.com>
35866
35867 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35868 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35869 Targets removed.
35870
35871 [BZ #14743]
35872 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35873 Declare __clock_getres, __clock_gettime, __clock_settime,
35874 __clock_nanosleep, and __clock_getcpuclockid.
35875 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35876 Remove librt_hidden_def (clock_gettime).
35877 * sysdeps/unix/clock_gettime.c: Likewise.
35878 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35879 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35880 * rt/clock_getres.c: Define __clock_getres as an alias.
35881 * sysdeps/posix/clock_getres.c: Likewise.
35882 * rt/clock_settime.c: Define __clock_settime as an alias.
35883 * sysdeps/unix/clock_settime.c: Likewise.
35884 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35885 * sysdeps/unix/clock_nanosleep.c: Likewise.
35886 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35887 * rt/clock-compat.c: New file.
35888 * rt/Makefile (librt-routines): Add clock-compat and move
35889 $(clock-routines) to ...
35890 (routines): ... here, new variable.
35891 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35892 Don't add get_clockfreq here.
35893 * rt/Versions (libc: GLIBC_2.17): New version set.
35894 Add clock_* symbols here.
35895 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35896 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35897 (GLIBC_2.17): Add clock_* symbols.
35898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35900 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35902 Likewise.
35903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35904 Likewise.
35905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35909 * NEWS: Mention the move.
35910
35911 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35912 Use __open, __read, __close rather than their public counterparts.
35913 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35914 (__get_clockfreq_via_cpuinfo): Likewise.
35915 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35916 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35917
35918 * config.h.in (HAVE_IFUNC): New #undef.
35919 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35920 was successful.
35921 * configure: Regenerated.
35922
0cae3f4b
MF
359232012-10-24 Mike Frysinger <vapier@gentoo.org>
35924
35925 * configure.in: Move READELF check to start of file.
35926 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35927 libc_cv_asm_gnu_indirect_function in the process.
35928 * configure: Regenerated.
35929
8175a253
MF
359302012-10-24 Mike Frysinger <vapier@gentoo.org>
35931
35932 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35933 send the output to /dev/null.
35934 (libc_cv_cc_with_libunwind): Likewise.
35935 (libc_cv_as_noexecstack): Likewise.
35936 * configure: Regenerate.
35937
0708a7d1
JM
359382012-10-24 Joseph Myers <joseph@codesourcery.com>
35939
10b40d85
JM
35940 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35941
0708a7d1
JM
35942 * posix/globtest.sh (TMPDIR): Do not set.
35943 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35944 (testout): Likewise.
35945
9fddec1a
AJ
359462012-10-24 Andreas Jaeger <aj@suse.de>
35947
3a8db22f
AJ
35948 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35949 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35950 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35951 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35952 posix_fadvise64, posix_fallocate64.
35953
9fddec1a
AJ
35954 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35955 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35956 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35957 Likewise.
35958 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35959 Likewise.
35960 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35961
35962 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35963 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35964 <bits/fcntl-linux.h>.
35965 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35966
35967 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35968 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35969 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35970 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35971 [__WORDSIZE != 64]: Likewise.
35972
ebfd1bbd
JM
359732012-10-23 Joseph Myers <joseph@codesourcery.com>
35974
03ac099f
JM
35975 * Makeconfig (run-built-tests): New variable.
35976 * Rules [$(cross-compiling) = yes]: Change condition to
35977 [$(run-built-tests) = no].
35978 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35979 to [$(run-built-tests) = yes].
35980 * elf/Makefile [$(cross-compiling) = no]: Likewise
35981 * grp/Makefile [$(cross-compiling) = no]: Likewise.
35982 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35983 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35984 * intl/Makefile [$(cross-compiling) = no]: Likewise.
35985 * io/Makefile [$(cross-compiling) = no]: Likewise.
35986 * libio/Makefile [$(cross-compiling) = no]: Likewise.
35987 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35988 * misc/Makefile [$(cross-compiling) = no]: Likewise.
35989 * posix/Makefile [$(cross-compiling) = no]: Likewise.
35990 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35991 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35992 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35993 * string/Makefile [$(cross-compiling) = no]: Likewise.
35994
ebfd1bbd
JM
35995 * posix/Makefile ($(objpfx)globtest.out): Pass
35996 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35997 $(rtld-installed-name).
35998 * posix/globtest.sh (elf_objpfx): Remove variable.
35999 (rtld_installed_name): Likewise.
36000 (library_path): Likewise.
36001 (run_program_prefix): New variable. Use for running globtest
36002 binary.
36003
166bca24
JB
360042012-10-23 Jim Blandy <jimb@codesourcery.com>
36005 Joseph Myers <joseph@codesourcery.com>
36006
36007 * Makeconfig (host-built-program-cmd): New variable.
36008 * elf/Makefile (tst-stackguard1-ARGS): Use
36009 $(host-built-program-cmd).
36010 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36011 (tst-spawn-ARGS): Likewise.
36012 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36013
88866099
JM
360142012-10-23 Joseph Myers <joseph@codesourcery.com>
36015 Jim Blandy <jimb@codesourcery.com>
36016
36017 * Makeconfig (run-via-rtld-prefix): New variable.
36018 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36019 (built-program-cmd): Likewise.
36020
b4b4c296
AJ
360212012-10-22 Andreas Jaeger <aj@suse.de>
36022
36023 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36024 __O_RSYNC if it exists, otherwise to O_SYNC.
36025
6fb54a22
JB
360262012-10-22 Jim Blandy <jimb@codesourcery.com>
36027 Joseph Myers <joseph@codesourcery.com>
36028
36029 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36030 /dev/null.
36031 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36032 from /dev/null
36033 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36034 /dev/null.
36035
481b90b9
AJ
360362012-10-22 Andreas Jaeger <aj@suse.de>
36037
2a0e2669
AJ
36038 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36039 Define always.
36040 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36041
76e38f9a
AJ
36042 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36043 bits/fcntl-linux.h.
36044
7cd37b43
AJ
36045 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36046 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36047
481b90b9
AJ
36048 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36049 to __O_LARGEFILE.
36050 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36051 to __O_LARGEFILE.
36052
aba75984
JB
360532012-10-21 Jim Blandy <jimb@codesourcery.com>
36054 Joseph Myers <joseph@codesourcery.com>
36055
36056 * config.make.in (NM): New variable.
36057
88d4247f
AJ
360582012-10-21 Andreas Jaeger <aj@suse.de>
36059
36060 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36061 definitions and declarations that are provided by
36062 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36063
f2eed205
L
360642012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36065
36066 [BZ #14683]
36067 * elf/Makefile (tests-static): Add tst-leaks1-static.
36068 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36069 ($(objpfx)tst-leaks1-static): New rule.
36070 ($(objpfx)tst-leaks1-static-mem): Likewise.
36071 (tst-leaks1-static-ENV): New macro.
36072 * elf/dl-open.c (dl_open_worker): Check the main application
36073 only if SHARED is defined.
36074 * elf/tst-leaks1-static.c: New file.
36075
335e6931
AJ
360762012-10-20 Andreas Jaeger <aj@suse.de>
36077
36078 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36079 generic values for Linux.
36080 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36081 and declarations that are provided by <bits/fcntl-linux.h> and
36082 include <bits/fcntl-linux.h>.
36083 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36085
ac5c94d3
RM
360862012-10-20 Roland McGrath <roland@hack.frob.com>
36087
36088 * io/fcntl.h: Move include of <bits/types.h> to the top and
36089 include it unconditionally.
36090
de54b33a
L
360912012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36092
228cfb01
L
36093 * wcsmbs/Makefile (tests-ifunc): New variable.
36094 (tests): Add $(tests-ifunc).
36095 * wcsmbs/test-wcschr-ifunc.c: New file.
36096 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36097 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36098 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36099 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36100 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36101
69f07e5f
L
36102 * string/Makefile (tests-ifunc): New variable.
36103 (tests): Add $(tests-ifunc).
36104 * string/test-memccpy.c (TEST_NAME): New macro.
36105 * string/test-memchr.c (TEST_NAME): Likewise.
36106 * string/test-memcmp.c (TEST_NAME): Likewise.
36107 * string/test-memcpy.c (TEST_NAME): Likewise.
36108 * string/test-memmem.c (TEST_NAME): Likewise.
36109 * string/test-memmove.c (TEST_NAME): Likewise.
36110 * string/test-memset.c (TEST_NAME): Likewise.
36111 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36112 * string/test-stpcpy.c (TEST_NAME): Likewise.
36113 * string/test-stpncpy.c (TEST_NAME): Likewise.
36114 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36115 * string/test-strcasestr.c (TEST_NAME): Likewise.
36116 * string/test-strcat.c (TEST_NAME): Likewise.
36117 * string/test-strchr.c (TEST_NAME): Likewise.
36118 * string/test-strcmp.c(TEST_NAME): Likewise.
36119 * string/test-strcpy.c (TEST_NAME): Likewise.
36120 * string/test-strcspn.c (TEST_NAME): Likewise.
36121 * string/test-strlen.c (TEST_NAME): Likewise.
36122 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36123 * string/test-strncmp.c (TEST_NAME): Likewise.
36124 * string/test-strncpy.c (TEST_NAME): Likewise.
36125 * string/test-strnlen.c (TEST_NAME): Likewise.
36126 * string/test-strpbrk.c (TEST_NAME): Likewise.
36127 * string/test-strrchr.c (TEST_NAME): Likewise.
36128 * string/test-strspn.c (TEST_NAME): Likewise.
36129 * string/test-strstr.c (TEST_NAME): Likewise.
36130 * string/test-bcopy-ifunc.c: New file.
36131 * string/test-bzero-ifunc.c: Likewise.
36132 * string/test-memccpy-ifunc.c: Likewise.
36133 * string/test-memchr-ifunc.c: Likewise.
36134 * string/test-memcmp-ifunc.c: Likewise.
36135 * string/test-memcpy-ifunc.c: Likewise.
36136 * string/test-memmem-ifunc.c: Likewise.
36137 * string/test-memmove-ifunc.c: Likewise.
36138 * string/test-mempcpy-ifunc.c: Likewise.
36139 * string/test-memset-ifunc.c: Likewise.
36140 * string/test-rawmemchr-ifunc.c: Likewise.
36141 * string/test-stpcpy-ifunc.c: Likewise.
36142 * string/test-stpncpy-ifunc.c: Likewise.
36143 * string/test-strcasecmp-ifunc.c: Likewise.
36144 * string/test-strcasestr-ifunc.c: Likewise.
36145 * string/test-strcat-ifunc.c: Likewise.
36146 * string/test-strchr-ifunc.c: Likewise.
36147 * string/test-strchrnul-ifunc.c: Likewise.
36148 * string/test-strcmp-ifunc.c: Likewise.
36149 * string/test-strcpy-ifunc.c: Likewise.
36150 * string/test-strcspn-ifunc.c: Likewise.
36151 * string/test-strlen-ifunc.c: Likewise.
36152 * string/test-strncasecmp-ifunc.c: Likewise.
36153 * string/test-strncat-ifunc.c: Likewise.
36154 * string/test-strncmp-ifunc.c: Likewise.
36155 * string/test-strncpy-ifunc.c: Likewise.
36156 * string/test-strnlen-ifunc.c: Likewise.
36157 * string/test-strpbrk-ifunc.c: Likewise.
36158 * string/test-strrchr-ifunc.c: Likewise.
36159 * string/test-strspn-ifunc.c: Likewise.
36160 * string/test-strstr-ifunc.c: Likewise.
36161
de54b33a
L
36162 * debug/Makefile (tests-ifunc): New variable.
36163 (tests): Add $(tests-ifunc).
36164 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36165 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36166 * debug/test-stpcpy_chk-ifunc.c: New file.
36167 * debug/test-strcpy_chk-ifunc.c: Likewise.
36168
88481c16
SP
361692012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36170
36171 [BZ #13601]
36172 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36173 header is not read in.
36174
135948bd
JM
361752012-10-19 Joseph Myers <joseph@codesourcery.com>
36176
89f1c388
JM
36177 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36178 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36179 directly. Pass built executable to script as
36180 $(built-program-cmd).
36181 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36182 $testprogram without using LD_LIBRARY_PATH and $ldso.
36183
e40a0d21
JM
36184 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36185 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36186 $(rtld-installed-name).
36187 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36188 (rtld_installed_name): Likewise.
36189 (library_path): Likewise.
36190 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36191 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36192 $(run-program-prefix) to tst-tables.sh.
36193 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36194 it to run tst-table-from and tst-table-to.
36195 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36196 Pass it to tst-table.sh.
36197 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36198 $(run-program-prefix) to tst-gettext.sh.
36199 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36200 tst-translit.sh.
36201 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36202 tst-gettext2.sh.
36203 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36204 to run tst-gettext.
36205 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36206 to run tst-gettext2.
36207 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36208 to run tst-translit.
36209 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36210 $(run-program-prefix) to tst-mtrace.sh.
36211 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36212 to run tst-mtrace.
36213 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36214 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36215 $(rtld-installed-name).
36216 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36217 (rtld_installed_name): Likewise.
36218 (run_program_prefix): New variable. Use it to run wordexp-test.
36219
728e272a
JM
36220 * Makeconfig (ARCH): Remove all definitions.
36221 (machine): Likewise.
36222 [ARCH]: Remove conditional code.
36223 [!objdir]: Give error.
36224 [!objdir] (objpfx): Remove.
36225 [!objdir] (common-objpfx): Likewise.
36226 [!objdir] (common-objdir): Likewise.
36227 * configure.in (config_makefile): Remove. Hardcode Makefile in
36228 AC_CONFIG_FILES call.
36229 * configure: Regenerated.
36230
d528cdcf
JM
36231 [BZ #13888]
36232 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36233 or TMPDIR.
36234 (testout): Likewise.
36235
135948bd
JM
36236 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36237 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36238 $(rtld-installed-name).
36239 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36240 (rtld_installed_name): Likwise.
36241 (runit): Remove function.
36242 (run_getconf): New variable, Use it for running getconf binary.
36243
38c78296
L
362442012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36245
36246 [BZ #14716]
36247 * string/test-memmem.c (check_result): New function.
36248 (do_one_test): Use it.
36249 (check1): New function.
36250 (test_main): Use it.
36251
d077f65f
MT
362522012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36253
36254 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36255
ced52c71
JM
362562012-10-18 Joseph Myers <joseph@codesourcery.com>
36257
36258 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36259 (_G_LSEEK64): Likewise.
36260 (_G_MMAP64): Likewise.
36261 (_G_FSTAT64): Likewise.
36262 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36263 (_G_LSEEK64): Likewise.
36264 (_G_MMAP64): Likewise.
36265 (_G_FSTAT64): Likewise.
36266 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36267 unconditional. Call __mmap64 directly.
36268 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36269 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36270 __lseek64 directly.
36271 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36272 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36273 __mmap64 directly.
36274 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36275 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36276 __lseek64 directly.
36277 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36278 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36279 __lseek64 directly.
36280 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36281 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36282 __lseek64 directly.
36283 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36284 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36285 __fxstat64 directly.
36286 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36287 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36288 unconditional.
36289 (freopen64) [!_G_OPEN64]: Remove conditional code.
36290 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36291 unconditional.
36292 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36293 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36294 unconditional.
36295 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36296 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36297 unconditional.
36298 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36299 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36300 unconditional.
36301 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36302 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36303 unconditional.
36304 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36305 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36306 unconditional.
36307 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36308 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36309 unconditional.
36310 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36311
b741de23
SP
363122012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36313
36314 [BZ #12140]
36315 * manual/memory.texi (Malloc Tunable Parameters): Add note
36316 about free list pointers overwriting some perturb bytes.
36317 Wording suggested by Roland McGrath.
36318
f9b9d9c9
JM
363192012-10-17 Joseph Myers <joseph@codesourcery.com>
36320
36321 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36322 (lgamma_test): Likewise.
36323 (tgamma_test): Likewise.
36324
172a631a
FW
363252012-10-16 Florian Weimer <fweimer@redhat.com>
36326
36327 [BZ #14700]
36328 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36329 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36330
e9f37252
MK
363312012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36332
36333 * NEWS: Mention BZ #14716.
36334 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36335 when removing AVAILABLE1_USES_J macro.
36336
d394eb74
L
363372012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36338
36339 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36340 (__bswap_64): __uint64_t for unsigned 64-bit int.
36341
ca38dc17
AS
363422012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36343
36344 * include/string.h (memmem): Declare libc hidden alias.
36345 * string/memmem.c (memmem): Define libc hidden alias.
36346 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36347 __read, __close instead of open, read, close.
36348
9a387d1f
L
363492012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36350
ac49ecaf
L
36351 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36352 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36353 global and hidden.
36354 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36355 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36356 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36357 Likewise.
36358 (__rawmemchr_sse2): Likewise.
36359 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36360 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36361 (__strchr_sse2): Likewise.
36362 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36363 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36364 (__strcasecmp_sse2): Likewise.
36365 (__strncasecmp_sse2): Likewise.
36366 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36367 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36368 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36369 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36370 (__strrchr_sse2): Likewise.
36371 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36372 ifunc-impl-list.c.
36373 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36374 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36375 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36376 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36377 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36378 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36379 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36380 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36381 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36382 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36383 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36384 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36385 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36386 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36387 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36388 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36389 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36390 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36391 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36392 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36393 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36394 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36395 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36396 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36397 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36398 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36399 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36400 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36401 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36402 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36403
b090e8ea
L
36404 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36405 global and hidden.
36406 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36407 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36408 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36409 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36410 Likewise.
36411 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36412 Likewise.
36413 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36414 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36415 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36416 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36417 ifunc-impl-list.c.
36418 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36419 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36420 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36421 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36422 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36423 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36424 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36425 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36426 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36427 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36428 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36429 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36430 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36431 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36432 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36433 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36434 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36435 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36436 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36437 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36438 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36439 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36440 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36441 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36442 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36443 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36444 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36445 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36446 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36447 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36448 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36449 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36450 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36451 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36452 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36453 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36454 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36455 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36456 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36457 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36458 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36459
11dd4af6
L
36460 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36461 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36462 * include/ifunc-impl-list.h: New file.
36463 * misc/ifunc-impl-list.c: Likewise.
36464 * misc/Makefile (routines): Add ifunc-impl-list.
36465 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36466 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
36467 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36468 TEST_NAME]: New variables.
11dd4af6
L
36469 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36470 are defined.
36471 (test_init): Call __libc_ifunc_impl_list to initialize
36472 func_list if TEST_IFUNC and TEST_NAME are defined.
36473
9a387d1f
L
36474 * string/Makefile (strop-tests): Add bcopy and bzero.
36475 * string/test-bcopy.c: New file.
36476 * string/test-bzero.c: Likewise.
36477 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36478 defined.
36479 * string/test-memset.c: Support bzero test if TEST_BZERO is
36480 defined.
36481 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36482 __libc_memmove.
36483 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36484 __libc_memset.
36485 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36486 of memset.
36487
472371b9
JM
364882012-10-10 Joseph Myers <joseph@codesourcery.com>
36489
1e4a9536
JM
36490 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36491 * configure: Regenerated.
36492
d173d12e
JM
36493 * Makeconfig (+link-static-before-libc): Don't include
36494 $(link-static-libc).
36495
472371b9
JM
36496 * libio/libio.h (_IO_pos_t): Remove.
36497
89a3ad0b
AO
364982012-10-10 Alexandre Oliva <aoliva@redhat.com>
36499
36500 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36501 McGrath.
36502
e7451425
AO
365032012-10-10 Alexandre Oliva <aoliva@redhat.com>
36504
36505 * crypt/crypt-entry.c: Include fips-private.h.
36506 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36507 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36508 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36509 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36510
4ba74a35
AO
365112012-10-10 Alexandre Oliva <aoliva@redhat.com>
36512
36513 * crypt/crypt-private.h: Include stdbool.h.
36514 (_ufc_setup_salt_r): Return bool.
36515 * crypt/crypt-entry.c: Include errno.h.
36516 (__crypt_r): Return NULL with EINVAL for bad salt.
36517 * crypt/crypt_util.c (bad_for_salt): New.
36518 (_ufc_setup_salt_r): Check that salt is long enough and within
36519 the specified alphabet.
36520 * crypt/badsalttest.c: New file.
36521 * crypt/Makefile (tests): Add it.
36522 ($(objpfx)badsalttest): New.
36523
f96f1242
MK
365242012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36525
36526 * NEWS: Add entry for BZ #14602.
36527
0e8e0c1c
JM
365282012-10-09 Joseph Myers <joseph@codesourcery.com>
36529
36530 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36531 type-generic.
36532 * math/libm-test.inc: Update comment listing what functions and
36533 macros are tested.
36534 (isgreater_test): New function.
36535 (isgreaterequal_test): Likewise.
36536 (isless_test): Likewise.
36537 (islessequal_test): Likewise.
36538 (islessgreater_test): Likewise.
36539 (isunordered_test): Likewise.
36540 (main): Call the new functions.
36541
273edc5e
RM
365422012-10-09 Roland McGrath <roland@hack.frob.com>
36543
b8493de0
RM
36544 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36545 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36546 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36547 * sysdeps/i386/configure: Regenerated.
36548 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36549 * sysdeps/mach/configure: Regenerated.
36550 * sysdeps/mach/hurd/configure: Regenerated.
36551 * sysdeps/powerpc/configure: Regenerated.
36552 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36553 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36554 * sysdeps/s390/s390-32/configure: Regenerated.
36555 * sysdeps/s390/s390-64/configure: Regenerated.
36556 * sysdeps/sh/configure: Regenerated.
36557 * sysdeps/sparc/configure: Regenerated.
36558 * sysdeps/unix/sysv/linux/configure: Regenerated.
36559 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36560 * sysdeps/x86_64/configure: Regenerated.
36561
273edc5e
RM
36562 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36563 defined. Don't check if MAP is NULL.
36564
c8450f70
JM
365652012-10-09 Joseph Myers <joseph@codesourcery.com>
36566
36567 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36568 (_G_stat64): Likewise.
36569 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36570 (_G_stat64): Likewise.
36571 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36572 instead of struct _G_stat64.
36573 * libio/fileops.c (mmap_remap_check): Likewise.
36574 (decide_maybe_mmap): Likewise.
36575 (_IO_new_file_seekoff): Likewise.
36576 (_IO_file_stat): Likewise.
36577 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36578 _G_off64_t.
36579 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36580 instead of struct _G_stat64.
36581 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36582
57e605ba
MK
365832012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36584
36585 [BZ #14602]
36586 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36587 Replace with ...
36588 (CHECK_EOL): New macro.
36589 (two_way_short_needle): Check beginning of haystack for EOL. Use
36590 CHECK_EOL.
36591 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36592 Replace with CHECK_EOL.
36593 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36594 Replace with CHECK_EOL.
36595
ef1bb361
JM
365962012-10-08 Joseph Myers <joseph@codesourcery.com>
36597
36598 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36599 type-generic.
36600 * math/libm-test.inc: Update comment listing what functions and
36601 macros are tested.
36602 (finite_test): New function.
36603 (isinf_test): Likewise.
36604 (isnan_test): Likewise.
36605 (fpclassify_test): Test subnormal input.
36606 (isfinite_test): Likewise.
36607 (isnormal_test): Likewise.
36608 (main): Call the new functions.
36609
55f11534
JN
366102012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36611
36612 [BZ #14660]
36613 * Makerules (%.dynsym): Force C locale when running
36614 $(OBJDUMP) --dynamic-syms.
36615
1ab29350
AS
366162012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36617
36618 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36619 <stdint.h>.
36620
f1ecb7ef
DM
366212012-10-06 David S. Miller <davem@davemloft.net>
36622
36623 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36624 upper 32-bits of the length value in %o2 since we use branch-on-register
36625 tests which consider the entire 64-bit register.
36626
5d41d91a
L
366272012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36628
36629 * string/test-strstr.c (check2): Add a test for page boundary.
36630
3baddb72
DM
366312012-10-05 David S. Miller <davem@davemloft.net>
36632
36633 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36634 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36635 file.
36636 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36637 sysdep_routines.
36638 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36639 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36640 and bzero when HWCAP_SPARC_CRYPTO is present.
36641
9cee5585
L
366422012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36643
d7e0dab9
L
36644 [BZ #14602]
36645 * string/test-strstr.c (check2): New function.
36646 (test_main): Call check2.
36647
03759f47
L
36648 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36649 and bug-strchr1.
36650 * string/bug-strcasestr1.c (do_test): Moved to ...
36651 * string/test-strcasestr.c (check1): Here. New function.
36652 (do_one_test): Break out result checking code into ...
36653 (check_result): This. New function.
36654 (do_one_test): Call check_result.
36655 (test_main): Call check1.
36656 * string/bug-strchr1.c (do_test): Moved to ...
36657 * string/test-strchr.c (check1): Here. New function.
36658 (do_one_test): Break out result checking code into ...
36659 (check_result): This. New function.
36660 (do_one_test): Call check_result.
36661 (test_main): Call check1.
36662 * string/bug-strstr1.c (main): Moved to ...
046f153e 36663 * string/test-strstr.c (check1): Here. New function.
03759f47
L
36664 (do_one_test): Break out result checking code into ...
36665 (check_result): This. New function.
36666 (do_one_test): Call check_result.
36667 (test_main): Call check1.
36668 * string/bug-strcasestr1.c: Removed.
36669 * string/bug-strchr1.c: Likewise.
36670 * string/bug-strstr1.c: Likewise.
36671
53cea63e
L
36672 * elf/Makefile (dl-routines): Add hwcaps.
36673 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36674 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36675 (_dl_important_hwcaps): Moved to ...
36676 * elf/dl-hwcaps.c: Here. New file.
36677 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36678
9cee5585 36679 [BZ #14557]
bb859b06
L
36680 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36681 if IS_IN_rtld isn't defined.
36682
9cee5585
L
36683 * elf/dl-support.c (_dl_sysinfo_map): New.
36684 Include "get-dynamic-info.h" and "setup-vdso.h".
36685 (_dl_non_dynamic_init): Call setup_vdso.
36686 * elf/dynamic-link.h: Don't include <assert.h>.
36687 (elf_get_dynamic_info): Moved to ...
36688 * elf/get-dynamic-info.h: Here. New file.
36689 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36690 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36691 * elf/setup-vdso.h: Here. New file.
36692 * elf/rtld.c: Include "setup-vdso.h".
36693 (dl_main): Call setup_vdso.
36694
23c31b76
JM
366952012-10-05 Joseph Myers <joseph@codesourcery.com>
36696
28234b07
JM
36697 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36698 creal in comment listing functions tested. List finite, isinf,
36699 isnan, isless, islessequal, isgreater, isgreaterequal,
36700 islessgreater, isunordered, lgamma_r and pow10 as functions and
36701 macros not tested. Mention which functions not tested are aliases
36702 for other functions. Fix typo. Note that signs of NaNs are not
36703 tested.
36704
23c31b76
JM
36705 * scripts/config.guess: Update from config.git.
36706 * scripts/config.sub: Likewise.
36707
9043e228
RM
367082012-10-04 Roland McGrath <roland@hack.frob.com>
36709
36710 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36711 * misc/madvise.c (madvise): Renamed to __madvise.
36712 Make madvise a weak alias.
36713 * include/sys/mman.h: Declare __madvise.
36714 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36715 * sysdeps/unix/syscalls.list
36716 (madvise): Make __madvise the strong name, and madvise a weak alias.
36717 * sysdeps/unix/sysv/linux/syscalls.list
36718 (madvise, mmap): Remove redundant entries.
36719 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36720 * malloc/malloc.c (mtrim): Likewise.
36721 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36722
f57f8055
RM
367232012-10-03 Roland McGrath <roland@hack.frob.com>
36724
36725 * sysdeps/mach/hurd/dl-cache.c: File removed.
36726 * config.h.in (USE_LDCONFIG): New #undef.
36727 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36728 * configure: Regenerated.
36729 * elf/Makefile (dl-routines): Add dl-cache only under
36730 [$(use-ldconfig) = yes].
36731 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36732 cache on [USE_LDCONFIG].
36733 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36734 [USE_LDCONFIG].
36735 * elf/rtld.c (dl_main): Likewise.
36736
5bb0c10a
PT
367372012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36738
36739 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36740 _SC_LEVEL4_CACHE_LINESIZE.
36741
010188c6
RM
367422012-10-03 Roland McGrath <roland@hack.frob.com>
36743
36744 * sysdeps/unix/bsd/confstr.h: File removed.
36745
b6c5ec07
AO
367462012-10-02 Alexandre Oliva <aoliva@redhat.com>
36747
36748 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36749 sys/sdt-config.h.
36750
408223d4
RM
367512012-10-02 Roland McGrath <roland@hack.frob.com>
36752
36753 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36754 Make 'mapoff' field ElfW(Off) rather than off_t.
36755
bb9510dc
DL
367562012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36757
fc997c6e
DL
36758 * nscd/Makefile: Remove nscd-cflags and all its users.
36759 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36760 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36761
bb9510dc
DL
36762 [BZ #10631]
36763 * malloc.c (malloc_printerr): Clarify error message.
36764
05699367
L
367652012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36766
36767 [BZ #14648]
36768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36769 Set bit_FMA_Usable if FMA is supported.
36770 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36771 macro.
36772 (bit_FMA4_Usable): Updated.
36773 (index_FMA_Usable): New macro.
36774 (CPUID_FMA): Likewise
36775 (HAS_FMA): Defined with bit_FMA_Usable.
36776
51367701
RM
367772012-10-01 Roland McGrath <roland@hack.frob.com>
36778
36779 * bits/types.h (__swblk_t): Type removed.
36780 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36781 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36782 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36783 (__SWBLK_T_TYPE): Likewise.
36784 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36785 (__SWBLK_T_TYPE): Likewise.
36786 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36787 (__SWBLK_T_TYPE): Likewise.
36788 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36789 (__SWBLK_T_TYPE): Likewise.
36790
4d57bf63 367912012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 36792 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
36793
36794 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36795 (xdr_mapname): Use YPMAXMAP as maxsize.
36796 (xdr_peername): Use YPMAXPEER as maxsize.
36797 (xdr_keydat): Use YPAXRECORD as maxsize.
36798 (xdr_valdat): Use YPMAXRECORD as maxsize.
36799
93c65d43
RM
368002012-10-01 Roland McGrath <roland@hack.frob.com>
36801
497a03d6
RM
36802 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36803
93c65d43
RM
36804 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36805 * csu/init-first.c: ... here.
36806 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36807 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36808 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36809 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36810 * sysdeps/i386/init-first.c: File removed.
36811 * sysdeps/sh/init-first.c: File removed.
36812
bec749fd
JM
368132012-10-01 Joseph Myers <joseph@codesourcery.com>
36814
36815 [BZ #14645]
36816 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36817 if x * y might underflow to zero and z is zero.
36818 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36819 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36820 * math/libm-test.inc (min_subnorm_value): New variable.
36821 (fma_test): Add more tests.
36822 (fma_test_towardzero): Likewise.
36823 (fma_test_downward): Likewise
36824 (fma_test_upward): Likewise.
36825 (initialize): Set min_subnorm_value.
36826
8ec5b013
JM
368272012-09-29 Joseph Myers <joseph@codesourcery.com>
36828
36829 [BZ #14638]
36830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36831 0 + 0.
36832 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36833 mode for addition resulting in exact zero.
36834 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36835 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36836 exact 0 + 0.
36837 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36838 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36839 * math/libm-test.inc (fma_test): Add more tests.
36840 (fma_test_towardzero): New function.
36841 (fma_test_downward): Likewise.
36842 (fma_test_upward): Likewise.
36843 (main): Call the new functions.
36844
b1fa802e
DM
368452012-09-28 David S. Miller <davem@davemloft.net>
36846
36847 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36848
d3b9fd9e
RM
368492012-09-28 Roland McGrath <roland@hack.frob.com>
36850
ea4d37b3
RM
36851 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36852 instead of SIGALRM.
36853
ac51c949
RM
36854 * sysdeps/gnu/_G_config.h: Moved to ...
36855 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36856 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36857 * sysdeps/generic/_G_config.h: ... here.
36858
28c195f7
RM
36859 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36860
848917f9
RM
36861 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36862
6bacf05b
RM
36863 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36864 Conditionalize target on [libnss_test1.so-version].
36865
91363dbb
RM
36866 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36867
cc87f7d8
RM
36868 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36869 (elfobjdir): Move out of conditionals.
36870
b1c608fe
RM
36871 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36872 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36873 (__nss_lookup_function): Conditionalize label remove_from_tree on
36874 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 36875
1d9a6d96
DM
368762012-09-28 David S. Miller <davem@davemloft.net>
36877
36878 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36879 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36880 file.
36881 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36882 sysdep_routines.
36883 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36884 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36885 when HWCAP_SPARC_CRYPTO is present.
36886
72581615
PT
368872012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36888
36889 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36890
715a900c
JL
368912012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36892
36893 [BZ #6530]
36894 * stdio-common/vfprintf.c (process_string_arg): Revert
36895 2000-07-22 change.
36896
368972011-09-28 Jonathan Nieder <jrnieder@gmail.com>
36898
36899 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36900 for testcase.
36901 * stdio-common/tst-sprintf.c: Include <locale.h>
36902 (main): Test sprintf's handling of incomplete multibyte
36903 characters.
36904
9bac1d86
L
369052012-09-28 H.J. Lu <hongjiu.lu@intel.com>
36906
36907 * elf/dl-runtime.c (VERSYMIDX): Removed.
36908 * elf/dl-version.c (VERSYMIDX): Likewise.
36909 * elf/do-rel.h (VERSYMIDX): Likewise.
36910 (VALIDX): Likewise.
36911 * elf/dynamic-link.h (VERSYMIDX): Likewise.
36912 * elf/rtld.c (VALIDX): Likewise.
36913 (ADDRIDX): Likewise.
9bac1d86
L
36914 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36915 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36916 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
36917 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36918 (VALIDX): Likewise.
36919 (ADDRIDX): Likewise.
9bac1d86 36920
b31606c0
PT
369212012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36922
36923 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36924
11541177
JL
369252012-09-28 Dmitry V. Levin <ldv@altlinux.org>
36926
36927 [BZ #11438]
36928 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36929 to global scope.
36930 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36931 addresses are in the same scope as 192.0.2/24.
36932 * posix/gai.conf: Document new scope table defaults.
36933
adb26fae
SP
369342012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36935
36936 [BZ #5298]
36937 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36938 for ftell. Compute offsets from write pointers instead.
36939 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36940
4573c6b0
SP
369412012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36942
36943 [BZ #14543]
36944 * libio/Makefile (tests): New test case tst-fseek.
36945 * libio/tst-fseek.c: New test case to verify that fseek/ftell
36946 combination works in wide mode.
36947 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36948 state when the external buffer state changes.
36949
aa9bbfe6
DM
369502012-09-27 David S. Miller <davem@davemloft.net>
36951
36952 [BZ #14376]
36953 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36954 pass reloc->r_addend in as the 'high' argument to
36955 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36956
784421e7
DM
36957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36958
c39bc8b8
PT
369592012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36960
36961 * rt/tst-aio2.c: Include <pthread.h>.
36962 * rt/tst-aio3.c: Likewise.
36963
1ccc2399
SE
369642012-09-27 Steve Ellcey <sellcey@mips.com>
36965
36966 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36967
31ed4153
L
369682012-09-27 H.J. Lu <hongjiu.lu@intel.com>
36969
25f5f885
L
36970 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36971 contents on [SHARED].
31ed4153 36972
b7bfe116
MP
369732012-09-26 Marek Polacek <polacek@redhat.com>
36974
36975 [BZ #14530]
36976 [BZ #13741]
36977 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36978 for C++ and GCC <4.3 as well as for non GCC compilers.
36979
43c4edba
MT
369802012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36981
36982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36983
6a1bf82f
RM
369842012-09-25 Roland McGrath <roland@hack.frob.com>
36985
36986 * Makefile.in (all, install): Declare with .PHONY.
36987 Reported by Michael Hope <michael.hope@linaro.org>.
36988
8ad11b9a
TMQMF
369892012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36990
36991 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36992 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36993 system header.
36994 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36995 Likewise.
36996 (sydep_routines): Add the new and the internal functions.
36997 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36998 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37000 (GLIBC_2.17): Add the new function.
37001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37002 (GLIBC_2.17): Likewise.
37003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37004 (GLIBC_2.17): Likewise.
37005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37006 (GLIBC_2.17): Likewise.
37007 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37008
7e2fca8d
AM
370092012-09-25 Alan Modra <amodra@gmail.com>
37010
37011 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37012 Add release barrier before setting once_control to say
37013 initialisation is done. Add hints on lwarx. Use macro in
37014 place of isync.
37015 (clear_once_control): Add release barrier.
37016
b87c4b24
JM
370172012-09-25 Joseph Myers <joseph@codesourcery.com>
37018
d032e0d2
JM
37019 [BZ #13629]
37020 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37021 specially.
37022 * math/s_clog10.c (__clog10): Likewise.
37023 * math/s_clog10f.c (__clog10f): Likewise.
37024 * math/s_clog10l.c (__clog10l): Likewise.
37025 * math/s_clogf.c (__clogf): Likewise.
37026 * math/s_clogl.c (__clogl): Likewise.
37027 * math/Makefile (libm-calls): Add x2y2m1.
37028 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37029 (__x2y2m1): Likewise.
37030 (__x2y2m1l): Likewise.
37031 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37032 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37033 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37034 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37035 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37036 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37037 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37038 * sysdeps/i386/fpu/libm-test-ulps: Update.
37039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37040
b87c4b24
JM
37041 [BZ #14621]
37042 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37043 int as type of variable DEPTH.
37044 (glob): Use size_t instead of int as type of variables NEWCOUNT
37045 and OLD_PATHC.
37046
6d3bf199
LD
370472012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37048
22bf5c17
LD
37049 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37050 Add s_sincosf-sse2.
37051 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37052 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37053 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37054 macros for using routine as __sincosf_ia32.
37055 Use macro for function declaration and weak_alias.
37056 * sysdeps/i386/fpu/libm-test-ulps: Update.
37057
37058 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37059 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37060
37061 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
37062 subnormal argument.
37063 * math/s_cexpf.c (__cexpf): Likewise.
37064 * math/s_csinf.c (__csinf): Likewise.
37065 * math/s_csinhf.c (__csinhf): Likewise.
37066 * math/s_ctanf.c (__ctanf): Likewise.
37067 * math/s_ctanhf.c (__ctanhf): Likewise.
37068 * math/s_ccosh.c (__ccoshf): Likewise.
37069 * math/s_cexp.c (__cexpl): Likewise.
37070 * math/s_csin.c (__csin): Likewise.
37071 * math/s_csinh.c (__csinh): Likewise.
37072 * math/s_ctan.c (__ctan): Likewise.
37073 * math/s_ctanh.c (ctanh): Likewise.
37074 * math/s_ccoshl.c (__ccoshl): Likewise.
37075 * math/s_cexpl.c (__cexpl): Likewise.
37076 * math/s_csinl.c (__csinl): Likewise.
37077 * math/s_csinhl.c (__csinhl): Likewise.
37078 * math/s_ctanl.c (__ctanl): Likewise.
37079 * math/s_ctanhl.c (__ctanhl): Likewise.
37080
203e5603
JM
370812012-09-25 Joseph Myers <joseph@codesourcery.com>
37082
37083 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37084 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37085 (_IO_off_t): Define to __off_t, not _G_off_t.
37086 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37087 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37088 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37089 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37090 type of __dummy and __dummy2 fields.
37091 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37092 (_G_ssize_t): Likewise.
37093 (_G_off_t): Likewise.
37094 (_G_pid_t): Likewise.
37095 (_G_uid_t): Likewise.
37096 (_G_wchar_t): Likewise.
37097 (_G_wint_t): Likewise.
37098 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37099 (_G_ssize_t): Likewise.
37100 (_G_off_t): Likewise.
37101 (_G_pid_t): Likewise.
37102 (_G_uid_t): Likewise.
37103 (_G_wchar_t): Likewise.
37104 (_G_wint_t): Likewise.
37105 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37106 (_G_ssize_t): Likewise.
37107 (_G_off_t): Likewise.
37108 (_G_pid_t): Likewise.
37109 (_G_uid_t): Likewise.
37110 (_G_wchar_t): Likewise.
37111 (_G_wint_t): Likewise.
37112
9fab36eb
SP
371132012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37114
37115 * malloc/arena.c: Include malloc-sysdep.h.
37116 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37117 is sufficient to shrink the heap or an unmap is needed.
37118 * sysdeps/generic/malloc-sysdep.h: New file. Define
37119 new function check_may_shrink_heap.
37120 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37121 new function check_may_shrink_heap.
37122
2b4f00d1
SP
371232012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37124
37125 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37126 comments.
37127
9a9028b1
DL
371282012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37129
57c69bef
DL
37130 * catgets/test-gencat.sh: Add "set -e".
37131 * elf/tst-pathopt.sh: Likewise.
37132 * grp/tst_fgetgrent.sh: Likewise.
37133 * iconvdata/run-iconv-test.sh: Likewise.
37134 * intl/tst-gettext.sh: Likewise.
37135 * intl/tst-gettext2.sh: Likewise.
37136 * intl/tst-gettext4.sh: Likewise.
37137 * intl/tst-gettext6.sh: Likewise.
37138 * intl/tst-translit.sh: Likewise.
37139 * io/ftwtest-sh: Likewise.
37140 * libio/test-freopen.sh: Likewise.
37141 * malloc/tst-mtrace.sh: Likewise.
37142 * posix/globtest.sh: Likewise.
37143 * posix/tst-getconf.sh: Likewise.
37144 * posix/wordexp-tst.sh: Likewise.
37145 * stdio-common/tst-printf.sh: Likewise.
37146 * stdio-common/tst-unbputc.sh: Likewise.
37147 * stdlib/tst-fmtmsg.sh: Likewise.
37148 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37149 * catgets/Makefile: Do not specify -e option when running
37150 testsuite shell scripts.
37151 * elf/Makefile: Likewise.
37152 * grp/Makefile: Likewise.
37153 * iconvdata/Makefile: Likewise.
37154 * intl/Makefile: Likewise.
37155 * io/Makefile: Likewise.
37156 * libio/Makefile: Likewise.
37157 * malloc/Makefile: Likewise.
37158 * posix/Makefile: Likewise.
37159 * stdio-common/Makefile: Likewise.
37160 * stdlib/Makefile: Likewise.
37161 * sysdeps/x86_64/Makefile: Likewise.
37162
9a9028b1
DL
37163 * io/ftwtest-sh: Add copyright header.
37164 * posix/globtest.sh: Likewise.
37165 * posix/tst-getconf.sh: Likewise.
37166 * posix/wordexp-tst.sh: Likewise.
37167 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37168
ced6f16e
L
371692012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37170
94b32c39
L
37171 [BZ #13679]
37172 * Makeconfig (+link): Defined as $(+link-static) if
37173 $(build-shared) isn't yes.
37174 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37175 isn't yes.
37176 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37177
189e935b
L
37178 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37179
ced6f16e
L
37180 [BZ #14562]
37181 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37182 new chunk size with MALLOC_ALIGN_MASK.
37183
a9f8e53a
JM
371842012-09-24 Joseph Myers <joseph@codesourcery.com>
37185
37186 [BZ #5044]
37187 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37188 <rounding-mode.h>.
37189 (__printf_fphex): Determine rounding using get_rounding_mode and
37190 round_away.
37191 * stdio-common/tst-printf-round.c (struct hex_test): New
37192 structure.
37193 (hex_tests): New variable.
37194 (test_hex_in_one_mode): New function.
37195 (do_test): Also run tests for hex float output.
37196
43153109
JM
371972012-09-21 Joseph Myers <joseph@codesourcery.com>
37198
37199 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37200 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37201 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37202 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37203 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37204 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37205 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37206 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37207
8a26625d
JM
372082012-09-20 Joseph Myers <joseph@codesourcery.com>
37209
37210 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37211 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37212 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37213 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37214
f3fd569c
DL
372152012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37216
37217 [BZ #14579]
37218 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37219 mode only.
37220 * elf/tst-rtld-load-self.sh: New test.
37221 * elf/Makefile: Run it.
37222
63bbedd4
JM
372232012-09-18 Joseph Myers <joseph@codesourcery.com>
37224
37225 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37226 (tst-writev-ENV): Remove.
37227 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37228
626f8b6a
CM
372292012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37230
37231 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37232
b7aaa4d6
JM
372332012-09-17 Joseph Myers <joseph@codesourcery.com>
37234
37235 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37236 unconditional.
37237 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37238 Likewise.
37239 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37240 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37241 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37242 Likewise.
37243
65513990
L
372442012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37245
37246 [BZ #14587]
37247 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37248 * config.make.in (have-cpp-asm-debuginfo): Removed.
37249 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37250 * configure: Regenerated.
37251
784761be
JM
372522012-09-14 Joseph Myers <joseph@codesourcery.com>
37253
37254 [BZ #5044]
37255 * stdio-common/printf_fp.c: Include <stdbool.h> and
37256 <rounding-mode.h>.
37257 (___printf_fp): Determine rounding using get_rounding_mode and
37258 round_away.
37259 * stdio-common/tst-printf-round.c: New file.
37260 * stdio-common/Makefile (tests): Add tst-printf-round.
37261 (link-libm): New variable.
37262 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37263
9503345f
L
372642012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37265
37266 [BZ #14576]
37267 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37268 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37269 Likewise.
37270 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37271 Likewise.
37272
ad35fc00
JM
372732012-09-13 Joseph Myers <joseph@codesourcery.com>
37274
37275 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37276 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37277 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37278 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37279
6c9b0f68
JM
372802012-09-12 Joseph Myers <joseph@codesourcery.com>
37281
37282 [BZ #14518]
37283 * include/rounding-mode.h: New file.
37284 * sysdeps/generic/get-rounding-mode.h: Likewise.
37285 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37286 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37287 (MAX_VALUE): New macro.
37288 (MIN_VALUE): Likewise.
37289 (overflow_value): New function.
37290 (underflow_value): Likewise.
37291 (round_and_return): Use overflow_value and underflow_value to
37292 determine return values in overflow and underflow cases. Use
37293 round_away to determine rounding depending on rounding mode.
37294 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37295 determine return values in overflow and underflow cases.
37296 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37297 (struct test_results): New structure.
37298 (struct test): Use struct test_results to store expected results
37299 for all rounding modes.
37300 (TEST): Include expected results for all rounding modes.
37301 (test_in_one_mode): New function.
37302 (do_test): Use test_in_one_mode to compute and check results.
37303 Check results for all rounding modes.
37304 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37305 $(link-libm).
37306
19fcedd5
AM
373072012-12-09 Allan McRae <allan@archlinux.org>
37308
1e9d84cd 37309 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 37310
8bbfd2f1
JM
373112012-09-11 Joseph Myers <joseph@codesourcery.com>
37312
37313 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37314 (_G_int32_t): Likewise.
37315 (_G_uint16_t): Likewise.
37316 (_G_uint32_t): Likewise.
37317 (_G_HAVE_BOOL): Likewise.
37318 (_G_HAVE_ATEXIT): Likewise.
37319 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37320 (_G_HAVE_IO_FILE_OPEN): Likewise.
37321 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37322 (_G_int32_t): Likewise.
37323 (_G_uint16_t): Likewise.
37324 (_G_uint32_t): Likewise.
37325 (_G_HAVE_BOOL): Likewise.
37326 (_G_HAVE_ATEXIT): Likewise.
37327 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37328 (_G_HAVE_IO_FILE_OPEN): Likewise.
37329 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37330 (_G_int32_t): Likewise.
37331 (_G_uint16_t): Likewise.
37332 (_G_uint32_t): Likewise.
37333 (_G_HAVE_BOOL): Likewise.
37334 (_G_HAVE_ATEXIT): Likewise.
37335 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37336 (_G_HAVE_IO_FILE_OPEN): Likewise.
37337
b1dc5912
L
373382012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37339
37340 * csu/libc-tls.c: Update copyright years.
37341
0e886ef9
JM
373422012-09-10 Joseph Myers <joseph@codesourcery.com>
37343
28361c5e
JM
37344 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37345 [!_G_USING_THUNKS]: Remove conditional code.
37346 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37347 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37348
0e886ef9
JM
37349 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37350 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37351 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37352 (_G_VTABLE_LABEL_PREFIX): Likewise.
37353 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37354 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37355 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37356 (_G_VTABLE_LABEL_PREFIX): Likewise.
37357 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37358 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37359 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37360 (_G_VTABLE_LABEL_PREFIX): Likewise.
37361 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37362
bcba7aa2
L
373632012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37364
37365 * libio/Makefile: Include ../Makeconfig before tests.
37366 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37367 only if $(build-shared) is yes.
37368
06585ee8
L
37369 * iconv/gconv_db.c: Update copyright years.
37370
80ccd52c
LD
373712012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37372
37373 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37374 unwind info if defined PIC. Fix special cases description.
37375 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37376
37377 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37378 DP_HI_MASK entry.
37379 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37380
691bc9c1
L
373812012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37382
3d9b46b3
L
37383 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37384
de2139a9
L
37385 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37386 is NULL.
37387
5ca78dd0
L
37388 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37389 (LDLIBS-tst-chk4): This.
37390 (LDFLAGS-tst-chk5): Renamed to ...
37391 (LDLIBS-tst-chk5): This.
37392 (LDFLAGS-tst-chk6): Renamed to ...
37393 (LDLIBS-tst-chk6): This.
37394 (LDFLAGS-tst-lfschk4): Renamed to ...
37395 (LDLIBS-tst-lfschk4): This.
37396 (LDFLAGS-tst-lfschk5): Renamed to ...
37397 (LDLIBS-tst-lfschk5): This.
37398 (LDFLAGS-tst-lfschk6): Renamed to ...
37399 (LDLIBS-tst-lfschk6): This.
37400
691bc9c1
L
37401 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37402 on $(common-objpfx)soversions.mk.
37403
65cafb1c
JM
374042012-09-07 Joseph Myers <joseph@codesourcery.com>
37405
37406 [BZ #10014]
37407 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37408 example host name.
37409
c78ab094
SP
374102012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37411
37412 * malloc/arena.c (arena_get_retry): New function that gets
37413 another arena for the caller to try its request on.
37414 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37415 current arena cannot fulfill the request.
37416 (__libc_memalign): Likewise.
37417 (__libc_memalign): Likewise.
37418 (__libc_pvalloc): Likewise.
37419 (__libc_calloc): Likewise.
37420
01f49f59
JT
374212012-09-05 John Tobey <john.tobey@gmail.com>
37422
37423 [BZ #13542]
37424 * manual/arith.texi (Operations on Complex): Fix description
37425 of carg branch cut.
37426
4c23fed5
JM
374272012-09-06 Joseph Myers <joseph@codesourcery.com>
37428
1d3c8572
JM
37429 [BZ #10014]
37430 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37431 host name.
37432
4c23fed5
JM
37433 [BZ #10038]
37434 * manual/memory.texi (Memory): Make order of menu items match
37435 order of sections.
37436
04570aaa
L
374372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37438
37439 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37440 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37441 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37442
b80af2f4
L
374432012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37444
37445 * csu/libc-tls.c (static_dtv): Renamed to ...
37446 (_dl_static_dtv): This. Make it global.
37447 (_dl_initial_dtv): Removed.
37448 (__libc_setup_tls): Updated.
37449 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37450 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37451 DL_INITIAL_DTV.
37452
2abe9f15
PM
374532012-09-06 Petr Machata <pmachata@redhat.com>
37454
37455 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37456 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37457 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37458 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37459
0948c3af
L
374602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37461
37462 [BZ #14545]
37463 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37464 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37465 freeing dtv[-1].
37466
a5055ad1
L
374672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37468
37469 [BZ #14544]
37470 * Makeconfig (link-static-before-libc): Replace $(+prector)
37471 with $(+prectorT).
37472 (link-static-after-libc): Replace $(+postctor) with
37473 $(+postctorT).
37474 (link-bounded): Replace $(+prector)/$(+postctor) with
37475 $(+prectorT)/$(+postctorT).
37476 (+prectorT): New macro.
37477 (+postctorT): Likewise.
37478
ed8c2ecd
JM
374792012-09-06 Joseph Myers <joseph@codesourcery.com>
37480
37481 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37482 (round_str): Handle values above the maximum for IBM long double
37483 as inexact.
37484 * stdlib/tst-strtod-round.c (tests): Regenerated.
37485
14c996c8
AK
374862012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37487
37488 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37489 assembler flag.
37490 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37491 zarch_nohighgprs around the zarch optimized routines.
37492 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37493 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37494 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37495 for zarch.
37496
430d6ce6
DM
374972012-09-05 David S. Miller <davem@davemloft.net>
37498
37499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37500
57f41c40
AS
37501 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37502 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
37503 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37504 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37505 entries.
37506
24d4e01b
AO
375072012-09-05 Alexandre Oliva <aoliva@redhat.com>
37508
37509 * malloc/arena.c: Fold copyright years.
37510 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37511
61d58174
AO
375122012-09-05 Alexandre Oliva <aoliva@redhat.com>
37513
37514 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37515
20196a5e
AO
375162012-09-05 Alexandre Oliva <aoliva@redhat.com>
37517
37518 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37519
5c447383
AO
375202012-09-05 Alexandre Oliva <aoliva@redhat.com>
37521
37522 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37523 change internal state upon failure.
37524
fad64255
AO
375252012-09-05 Alexandre Oliva <aoliva@redhat.com>
37526
37527 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37528 * malloc/memusage.c (mmap): Likewise.
37529 (mmap64, mremap): Likewise. Adjust name in comment.
37530
1ffb8c90
SP
375312012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37532
37533 * libio/fileops.c: Fix typos in comments.
37534 * libio/oldfileops.c: Likewise.
37535 * libio/wfileops.c: Likewise.
37536
6ef9cc37
SP
375372012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37538
37539 [BZ #1349]
37540 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37541 (tst-malloc-usable-ENV): Set environment for test case.
37542 * malloc/hooks.c (malloc_check_get_size): New function to get
37543 requested size.
37544 * malloc/malloc.c (musable): Use malloc_check_get_size.
37545 * malloc/tst-malloc-usable.c: New test case.
37546
4d038ae3
AS
375472012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37548
37549 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37550
c4e85184
AM
375512012-09-05 Allan McRae <allan@archlinux.org>
37552
b9dafc56 37553 [BZ #13966]
c4e85184
AM
37554 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37555 determine header location.
37556 * configure: Regenerated.
37557
e1343020
AS
375582012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37559
37560 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37561 float format.
37562 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
37563 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37564 format.
e1343020
AS
37565 (test): Regenerate.
37566
0a9f1987
DM
375672012-09-04 David S. Miller <davem@davemloft.net>
37568
37569 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37570 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37571 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37572
29237804
FW
375732012-09-04 Florian Weimer <fweimer@redhat.com>
37574
37575 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37576 failures.
37577
edb3cb88
FW
37578 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37579
60160d83
JM
375802012-09-04 Joseph Myers <joseph@codesourcery.com>
37581
37582 [BZ #9914]
37583 * libio/iogetdelim.c: Include <limits.h>.
37584 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37585 + len + 1 would overflow.
37586
bcd6c8dc
AJ
375872012-09-03 Andreas Jaeger <aj@suse.de>
37588
37589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37590 * sysdeps/i386/fpu/libm-test-ulps: Update.
37591
4ffffbd2
LD
375922012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37593
37594 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37595 Add s_sinf-sse2, s_conf-sse2.
37596
37597 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37598 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37599 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37600 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37601
37602 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37603 for using routine as __sinf_ia32.
37604 Use macro for function declaration and weak_alias.
37605 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37606 for using routine as __cosf_ia32.
37607 Use macro for function declaration and weak_alias.
37608
37609 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37610 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37611
37612 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37613 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37614 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37615
37616 * math/libm-test.inc (cos_test): Add more test cases.
37617 (sin_test): Likewise.
37618 (sincos_test): Likewise.
37619
511fa286
AK
376202012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37621
37622 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37623 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37624 hidden.
37625 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37626
5f30cfec
L
376272012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37628
37629 [BZ #14538]
37630 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37631 first element of the GOT.
37632 (elf_machine_load_address): Return the difference between
37633 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37634
0786794f
AM
376352012-09-01 Allan McRae <allan@archlinux.org>
37636
5f30cfec
L
37637 [BZ #13412]
37638 * configure.in (AWK): Require gawk version 3.0 or later.
37639 * configure: Regenerated.
0786794f 37640
26889eac
JM
376412012-09-01 Joseph Myers <joseph@codesourcery.com>
37642
37643 * sysdeps/unix/sysv/linux/kernel-features.h
37644 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37645 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37646 [__NR_clock_getres]: Make code unconditional.
37647 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37648 (clock_getcpuclockid): Remove code left unreachable by removal of
37649 conditionals.
37650 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37651 code unconditional.
37652 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37653 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37654 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37655 Make code unconditional.
37656 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37657 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37658 * sysdeps/unix/sysv/linux/clock_settime.c
37659 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37660 conditional code.
37661 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37662 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37663
d22e28b0
L
376642012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37665
37666 [BZ #14476]
37667 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37668 scripts/test-installation.pl.
37669
37670 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37671 and $ld_so_version if it is set.
37672
050af9c4
SP
376732012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37674
37675 [BZ #14516]
37676 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37677 failure if reading from procfs failed.
37678 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37679
ad845c0b
JM
376802012-08-27 Joseph Myers <joseph@codesourcery.com>
37681
37682 * sysdeps/unix/sysv/linux/kernel-features.h
37683 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37684 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37685 Remove conditional code.
37686 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37687 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37688 Remove conditional code.
37689 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37690 * sysdeps/unix/sysv/linux/i386/fxstat.c
37691 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37692 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37693 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37694 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37695 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37696 * sysdeps/unix/sysv/linux/i386/lxstat.c
37697 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37698 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37699 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37700 Remove conditional code.
37701 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37702 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37703 Remove conditional code.
37704 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37705 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37706 <kernel-features.h>.
37707 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37708 Remove.
37709 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37710 Remove conditional code.
37711 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37712 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37713 Remove conditional.
37714
5dbf56af
MF
377152012-08-27 Mike Frysinger <vapier@gentoo.org>
37716
37717 [BZ #5400]
37718 * NEWS: Add fixed bug number.
37719
d6e70f43
JM
377202012-08-27 Joseph Myers <joseph@codesourcery.com>
37721
7efb4737
JM
37722 [BZ #14519]
37723 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37724 underflowing exponent in case of negative sign.
37725 * stdlib/tst-strtod-round-data: Add more tests.
37726 * stdlib/tst-strtod-round.c (tests): Regenerated.
37727
af92131a
JM
37728 [BZ #3479]
37729 * stdlib/strtod_l.c (NDIG): Remove.
37730 (HEXNDIG): Likewise.
37731 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37732 smallest representable value.
37733 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37734 lie within an exact representation of 1/2 ulp of the result.
37735 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37736 unconditionally.
37737 (TENS_P9_IDX): Define unconditionally.
37738 (TENS_P9_SIZE): Likewise.
37739 (TENS_P10_IDX): Likewise.
37740 (TENS_P10_SIZE): Likewise.
37741 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37742 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37743 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37744 entries for 10^2^13 and 10^2^14.
37745 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37746 (TENS_P13_IDX): Define.
37747 (TENS_P13_SIZE): Likewise.
37748 (TENS_P14_IDX): Likewise.
37749 (TENS_P14_SIZE): Likewise.
37750 (_fpioconst_pow10): Change array size to
37751 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37752 unconditional.
37753 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37754 1024]: Add entries for 10^2^13 and 10^2^14.
37755 [LAST_POW10 > _LAST_POW10]: Remove #error.
37756 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37757 (_fpioconst_pow10): Change array size to
37758 FPIOCONST_POW10_ARRAY_SIZE.
37759 * stdlib/gen-fpioconst.c: New file.
37760 * stdlib/gen-tst-strtod-round.c: Likewise.
37761 * stdlib/tst-strtod-round-data: Likewise.
37762 * stdlib/tst-strtod-round.c: Likewise.
37763 * stdlib/Makefile (tests): Add tst-strtod-round.
37764
d6e70f43
JM
37765 [BZ #14459]
37766 * stdlib/strtod_l.c: Include <stdint.h>.
37767 (NDEBUG): Do not define.
37768 (round_and_return): Change EXPONENT parameter to type intmax_t.
37769 Rearrange calculations to avoid internal overflow possibilities.
37770 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37771 Rearrange calculations to avoid internal overflow possibilities.
37772 Assert that number fits inside MPNSIZE limbs.
37773 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37774 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37775 calculations and add assertions to avoid internal overflow
37776 possibilities. Add casts to avoid signed/unsigned operations.
37777 * stdlib/tst-strtod-overflow.c: New file.
37778 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37779
1f529f7d
MP
377802012-08-25 Marek Polacek <polacek@redhat.com>
37781
37782 * time/time.h: Fix some typos in comments.
37783
59a629f1
RM
377842012-08-23 Roland McGrath <roland@hack.frob.com>
37785
37786 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37787 * posix/tst-rfc3484-2.c: Likewise.
37788 * posix/tst-rfc3484-3.c: Likewise.
37789
d3bafbc9
SM
377902012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37791
37792 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37793 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37794
4efcc022
JM
377952012-08-23 Joseph Myers <joseph@codesourcery.com>
37796
37797 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37798 #include of fxstatat64.c.
37799
3cc3ef96
RM
378002012-08-22 Roland McGrath <roland@hack.frob.com>
37801
f04e2132
RM
37802 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37803 * shadow/getspent_r.c: Likewise.
37804 * shadow/getspnam.c: Likewise.
37805 * shadow/getspnam_r.c: Likewise.
37806 * gshadow/getsgent.c: Likewise.
37807 * gshadow/getsgent_r.c: Likewise.
37808 * gshadow/getsgnam.c: Likewise.
37809 * gshadow/getsgnam_r.c: Likewise.
37810 * inet/getnetbyad.c: Likewise.
37811 * inet/getnetbyad_r.c: Likewise.
37812 * inet/getnetbynm.c: Likewise.
37813 * inet/getnetbynm_r.c: Likewise.
37814 * inet/getnetent.c: Likewise.
37815 * inet/getnetent_r.c: Likewise.
37816 * inet/getproto.c: Likewise.
37817 * inet/getproto_r.c: Likewise.
37818 * inet/getprtent.c: Likewise.
37819 * inet/getprtent_r.c: Likewise.
37820 * inet/getprtname.c: Likewise.
37821 * inet/getprtname_r.c: Likewise.
37822 * inet/getrpcbyname.c: Likewise.
37823 * inet/getrpcbyname_r.c: Likewise.
37824 * inet/getrpcbynumber.c: Likewise.
37825 * inet/getrpcbynumber_r.c: Likewise.
37826 * inet/getrpcent.c: Likewise.
37827 * inet/getrpcent_r.c: Likewise.
37828 * inet/getaliasent.c: Likewise.
37829 * inet/getaliasent_r.c: Likewise.
37830 * inet/getaliasname.c: Likewise.
37831 * inet/getaliasname_r.c: Likewise.
37832 * nscd/getgrgid_r.c: Likewise.
37833 * nscd/getgrnam_r.c: Likewise.
37834 * nscd/gethstbyad_r.c: Likewise.
37835 * nscd/gethstbynm3_r.c: Likewise.
37836 * nscd/getpwnam_r.c: Likewise.
37837 * nscd/getpwuid_r.c: Likewise.
37838 * nscd/getsrvbynm_r.c: Likewise.
37839 * nscd/getsrvbypt_r.c: Likewise.
37840 * nscd/gai.c: Likewise.
37841
c53d909c
RM
37842 * configure.in (build_nscd): New substituted variable, set
37843 by --disable-build-nscd and defaults to $use_nscd.
37844 * configure: Regenerated.
37845 * config.make.in (build-nscd): New substituted variable.
37846 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37847 Change conditional to require [$(build-nscd) = yes] as well.
37848 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37849
3cc3ef96
RM
37850 [BZ# 13696]
37851 * configure.in (use_nscd): New substituted variable, set by
37852 --disable-nscd. If enabled, define USE_NSCD.
37853 * configure: Regenerated.
37854 * config.h.in: Add USE_NSCD.
37855 * config.make.in (use-nscd): New substituted variable.
37856 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37857 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37858 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37859 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37860 (CFLAGS-getgrnam_r.c): Likewise.
37861 (CFLAGS-initgroups.c): Likewise.
37862 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37863 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37864 Variables removed.
37865 * inet/getnetgrent_r.c
37866 (nscd_setnetgrent): New function, broken out of ...
37867 (setnetgrent): ... here. Call it.
37868 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37869 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37870 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37871 * nscd/Makefile (routines, aux): Move definitions after include of
37872 Makeconfig. Conditionalize on [$(use-nscd) != no].
37873 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37874 Conditionalize on [USE_NSCD].
37875 (is_nscd, nscd_init_cb): Likewise.
37876 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37877 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37878 * nss/nss_db/db-init.c: Likewise.
37879 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37880 [USE_NSCD].
37881 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37882 (make_request): Use it.
37883 (cache_valid_p): New function.
37884 (__check_pf): Use it.
37885 * NEWS: Add item for --disable-nscd.
37886
07e51550
DL
378872012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37888
37889 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37890 to support sed >= 4.2.1-20-ga9bf076.
37891 * configure: Regenerated.
37892
35a5b08b
RM
378932012-08-22 Roland McGrath <roland@hack.frob.com>
37894
37895 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37896 Conditionalize whole body on [IREL].
37897
8479f23a
JL
378982012-08-22 Jeff Law <law@redhat.com>
37899
37900 [BZ #14505]
37901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37902 if the family is PF_UNSPEC.
37903
48da0b21
MF
379042012-08-22 Mike Frysinger <vapier@gentoo.org>
37905
37906 * Makerules (lib-version): Rename from V.
37907 (install-lib-nosubdir): Change V to lib-version.
37908
15d0da8c
WS
379092012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
37910
37911 [BZ #14252]
37912 * powerpc32/power6/wcschr.c: New file.
37913 * powerpc32/power6/wcscpy.c: New file.
37914 * powerpc32/power6/wcsrchr.c: New file.
37915 * powerpc64/power6/wcschr.c: New file.
37916 * powerpc64/power6/wcscpy.c: New file.
37917 * powerpc64/power6/wcsrchr.c: New file.
37918
bcca0895
MK
379192012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37920
37921 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37922 (two_way_short_needle): Use it.
5a4aaa33
RM
37923 * string/strstr.c (AVAILABLE1_USES_J): Define.
37924 * string/strcasestr.c: Likewise.
99677e57
MK
37925
37926 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37927 array references.
37928 * string/strcasestr.c (TOLOWER): Make side-effect safe.
37929
400726de
MK
37930 [BZ #11607]
37931 * NEWS: Add an entry.
37932 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37933 define their defaults.
37934 (two_way_short_needle): Detect end-of-string on-the-fly.
37935 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37936 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37937 * string/bug-strcasestr1.c: New test.
37938 * string/Makefile: Run it.
37939
20a71f2c
MK
379402012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37941
37942 [BZ #11607]
37943 * string/str-two-way.h (two_way_short_needle): Optimize matching of
37944 the first character.
37945
21ad0558
RM
379462012-08-21 Roland McGrath <roland@hack.frob.com>
37947
37948 * csu/elf-init.c (__libc_csu_irel): Function removed.
37949 * csu/libc-start.c (apply_irel): New function.
37950 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37951
0e1d9911
JM
379522012-08-21 Joseph Myers <joseph@codesourcery.com>
37953
37954 * sysdeps/unix/sysv/linux/kernel-features.h
37955 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37956 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37957 <kernel-features.h>.
37958 [__NR_fadvise64_64]: Make code unconditional.
37959 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37960 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37961 !__NR_fadvise64_64)]: Likewise.
37962 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37963 !__NR_fadvise64_64))]: Likewise.
37964 [__NR_fadvise64]: Make code unconditional.
37965 [!__NR_fadvise64]: Remove conditional code.
37966 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37967 <kernel-features.h>.
37968 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37969 unconditional.
37970 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37971 conditional code.
37972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37973 not include <kernel-features.h>.
37974 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37975 unconditional.
37976 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37977 conditional code.
37978 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37979 include <kernel-features.h>.
37980 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37981 unconditional.
37982 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37983 conditional code.
37984
14a50c9d
WS
379852012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37986
37987 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37988 slight instruction rearrangements per scrollpipe analysis.
37989 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37990
c0f4faf0
RM
379912012-08-20 Roland McGrath <roland@hack.frob.com>
37992
696da859
RM
37993 * manual/syslog.texi (syslog; vsyslog, closelog):
37994 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37995 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37996
c0f4faf0
RM
37997 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37998 DSOCAPS to match condition on defining it.
37999
348363b2
JM
380002012-08-20 Joseph Myers <joseph@codesourcery.com>
38001
a35cbf28
JM
38002 * sysdeps/unix/sysv/linux/kernel-features.h
38003 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38005 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38006 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38008 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38009 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38011 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38012 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38013
445f7ecd
JM
38014 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38015 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38016
348363b2
JM
38017 * sysdeps/unix/sysv/linux/kernel-features.h
38018 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38019 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38020 unconditional.
38021 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38022 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38023 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38024 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38025 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38026 Make code unconditional.
38027 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38028 (__mmap64) [!__NR_mmap2]: Likewise.
38029 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38030 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38031 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38032 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38033 [__NR_mmap2]: Make code unconditional.
38034 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38035 (__mmap64) [!__NR_mmap2]: Likewise.
38036
bc5bc0e5
AK
380372012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38038
38039 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38040
88d506de
AJ
380412012-08-18 Andreas Jaeger <aj@suse.de>
38042
38043 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38044
493387d2
MF
380452012-08-18 Mike Frysinger <vapier@gentoo.org>
38046
38047 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38048 * include/unistd.h (__have_sock_cloexec): Likewise.
38049 (__have_pipe2): Likewise.
38050 (__have_dup3): Likewise.
38051
a277af22
MF
380522012-08-18 Mike Frysinger <vapier@gentoo.org>
38053
38054 [BZ #9685]
38055 * include/unistd.h (__have_pipe2): Change define into an extern int.
38056 (__have_dup3): Likewise.
38057 * socket/have_sock_cloexec.c: Include fcntl.h.
38058 (__have_pipe2): New variable.
38059 (__have_dup3): Likewise.
38060
fdab8fd3
MF
380612012-08-17 Mike Frysinger <vapier@gentoo.org>
38062
38063 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38064
31035e80
MP
380652012-08-17 Marek Polacek <polacek@redhat.com>
38066
38067 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38068 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38069
3bd9e993
RM
380702012-08-17 Roland McGrath <roland@hack.frob.com>
38071
c91c505f
RM
38072 * configure.in: Add AC_SUBST for sysheaders.
38073 * configure: Regenerated.
38074 * config.make.in (sysheaders): New substituted variable.
38075
7c6f9d53
RM
38076 * sysdeps/unix/mkfifo.c: Moved ...
38077 * sysdeps/posix/mkfifo.c: ... here.
38078 * sysdeps/unix/mkfifoat.c: Moved ...
38079 * sysdeps/posix/mkfifoat.c: ... here.
38080
38081 * sysdeps/unix/utime.c: Moved ...
38082 * sysdeps/posix/utime.c: ... here.
38083
38084 * sysdeps/unix/time.c: Moved ...
38085 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
38086 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38087 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
38088
38089 * sysdeps/unix/nice.c: Moved ...
38090 * sysdeps/posix/nice.c: ... here.
38091
38092 * sysdeps/unix/alarm.c: Moved ...
38093 * sysdeps/posix/alarm.c: ... here.
38094
3bd9e993
RM
38095 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38096
d1f09384
JL
380972012-08-17 Jeff Law <law@redhat.com>
38098
38099 * intl/Makefile (codeset_mo): New variable.
38100 ($(codeset_mo)): New target.
38101 (tst-codeset.out): Depend on that. Remove explicit rule.
38102 (tst-gettext3.out, tst-gettext5.out): Likewise.
38103 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38104 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38105 * intl/tst-codeset.sh: Remove.
38106 * intl/tst-gettext3.sh: Likewise.
38107 * intl/tst-gettext5.sh: Likewise.
38108
2ae1ae5c
RM
381092012-08-17 Roland McGrath <roland@hack.frob.com>
38110
c31fdb83
RM
38111 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38112 * sysdeps/unix/syscalls.list: ... here.
38113
a0844057
RM
38114 * sysdeps/posix/getaddrinfo.c
38115 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38116 (gaiconf_init, gaiconf_reload): Use them.
38117 [!_STATBUF_ST_NSEC]
38118 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38119 Define using time_t rather than struct timespec.
38120
750c1f2a
RM
38121 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38122 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38123 Macros removed.
38124 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38125 [!NO_THREADS].
38126 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38127 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38128 Likewise.
38129
2ae1ae5c
RM
38130 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38131 __libc_cleanup_push argument.
38132
e66a42f5
RM
38133 * bits/param.h: New file.
38134 * misc/sys/param.h: New file.
38135 * include/sys/param.h: New file.
38136 * misc/Makefile (headers): Add bits/param.h.
38137 * sysdeps/generic/sys/param.h: File removed.
38138 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38139 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38140 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 38141 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 38142
b7c08a66
RM
38143 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38144 last change.
38145
b2e1c562
RM
38146 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38147 [_IO_MTSAFE_IO].
38148 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38149 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38150 New macros.
38151
c75ccd4c
RM
38152 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38153 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38154 rather than -D_IO_MTSAFE_IO conditionally.
38155 * stdio-common/Makefile (CPPFLAGS): Likewise.
38156 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38157 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38158 Use $(libio-mtsafe).
38159 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38160 of -D_IO_MTSAFE_IO.
38161 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38162 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38163 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38164 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38165 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38166 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38167 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38168 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38169 (CFLAGS-fread_u_chk.c): Likewise.
38170 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38171 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38172 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38173 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38174 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38175 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38176 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38177 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38178 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38179
38180 * libio/Makefile: Test [$(libc-reentrant) = yes]
38181 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38182
38183 * Makeconfig
38184 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38185 * sysdeps/pthread/configure: File removed.
38186 * sysdeps/pthread/Makeconfig: New file.
38187 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38188 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38189
d9195db8
GB
381902012-08-16 Gary Benson <gbenson@redhat.com>
38191
38192 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38193 unmapping the first object in a namespace.
38194
86466cd9
RM
381952012-08-16 Roland McGrath <roland@hack.frob.com>
38196
38197 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38198 (__internal_setnetgrent): ... this. Add internal_function to
38199 definition. Add libc_hidden_def.
38200 (setnetgrent): Update caller.
38201 (internal_endnetgrent): Renamed to ...
38202 (__internal_endnetgrent): ... this. Add internal_function to
38203 definition. Add libc_hidden_def.
38204 (endnetgrent): Update caller.
38205 (internal_getnetgrent_r): Renamed to ...
38206 (__internal_getnetgrent_r): ... this. Add internal_function to
38207 definition. Add libc_hidden_def.
38208 (__getnetgrent_r): Update caller.
38209 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38210
c3c8283c
JM
382112012-08-16 Joseph Myers <joseph@codesourcery.com>
38212
38213 * stdlib/longlong.h: Update from GCC.
38214
db1ee0a8
RM
382152012-08-16 Roland McGrath <roland@hack.frob.com>
38216
38217 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38218 on _QL, which is set by umul_ppmm but never used.
38219 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38220 variables, which are set by GMP macros but never used.
38221 * stdio-common/_itowa.c (_itowa): Likewise.
38222 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38223 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38224
30f69637
CD
382252012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38226
38227 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38228 struct La_sh_regs is not constant.
38229 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38230 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38231 and struct La_sparc64_regs are not constant.
38232
93a78ac4
JM
382332012-08-16 Joseph Myers <joseph@codesourcery.com>
38234
38235 * sysdeps/unix/sysv/linux/kernel-features.h
38236 (__ASSUME_POSIX_TIMERS): Remove.
38237 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38238 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38239 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38240 Make code unconditional.
38241 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38242 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38243 Make code unconditional.
38244 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38245 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38246 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38247 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38248 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38249 Make code unconditional.
38250 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38251 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38252 (__libc_missing_posix_timers): Remove.
38253
dd924cd7
RM
382542012-08-15 Roland McGrath <roland@hack.frob.com>
38255
4b4f2771
RM
38256 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38257 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38258
601c888b
RM
38259 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38260
176790a7
RM
38261 * elf/dl-sym.c: Include <stdlib.h>.
38262
329bc018
RM
38263 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38264 constants, which avoids warnings in 32-bit builds.
38265
e04e272d
RM
38266 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38267 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38268
952bf94a
RM
38269 * misc/lseek.c: File moved to ...
38270 * io/lseek.c: ... here.
38271
7c99b50a
RM
38272 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38273
dd924cd7
RM
38274 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38275 shifting LEN more than 31 bits at once.
38276
b3f479a8
LD
382772012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38278
38279 [BZ #14195]
8c4ae0d4
RM
38280 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38281 segmentation fault for a case of two empty input strings.
b3f479a8
LD
38282 * string/test-strncasecmp.c (check1): Renamed to...
38283 (bz12205): ...this.
38284 (bz14195): Add new testcase for two empty input strings and N > 0.
38285 (test_main): Call new testcase, adapt for renamed function.
38286
9c55864e
AJ
382872012-08-15 Andreas Jaeger <aj@suse.de>
38288
38289 [BZ #14090]
38290 * crypt/md5test2.c: New test, based on test supplied by Serge
38291 Belyshev <belyshev@depni.sinp.msu.ru>.
38292 * crypt/Makefile (xtests): Add md5test-giant..
38293 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38294
02dcb6c5
PE
382952012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38296
38297 [BZ #14090]
38298 * crypt/md5.c (md5_process_block): Don't assume the buffer
38299 length is less than 2**32.
38300 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38301 length is less than 2**64.
38302
a3f95dcc
RM
383032012-08-15 Roland McGrath <roland@hack.frob.com>
38304
be75d758
RM
38305 * string/str-two-way.h: Include <sys/param.h>.
38306 (MAX): Macro removed.
38307
7312ca90
RM
38308 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38309 Move #define and #undef of memmove to just before and after
38310 including <string.h>.
38311
9a0a5486
RM
38312 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38313 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38314 and after including <string.h>. Move declarations of
38315 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38316 to before #include "string/memmove.c".
38317
67cc348d
RM
38318 * include/dirent.h: Declare __getdirentries.
38319
a3f95dcc
RM
38320 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38321 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38322
ca98e171
MF
383232012-08-14 Mike Frysinger <vapier@gentoo.org>
38324
38325 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38326 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38327 * sysdeps/i386/configure: Regenerated.
38328 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38329 STABS_CURRENT_FILE, and STABS_FUN.
38330 (END): Remove call to STABS_FUN_END.
38331 (STABS_CURRENT_FILE1): Delete.
38332 (STABS_CURRENT_FILE): Likewise.
38333 (STABS_FUN): Likewise.
38334 (STABS_FUN_END): Likewise.
38335 (STABS_FUN2): Likewise.
38336 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38337 * sysdeps/x86_64/configure: Regenerated.
38338
5908bf46
RM
383392012-08-14 Roland McGrath <roland@hack.frob.com>
38340
38341 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 38342 * elf/dl-lookup.c: Likewise.
5908bf46 38343
f2c05b9e
JM
383442012-08-14 Joseph Myers <joseph@codesourcery.com>
38345
38346 * sysdeps/unix/sysv/linux/kernel-features.h
38347 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38348 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38349 unconditionally.
38350 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38351 unconditionally.
38352 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38353 condition on __ASSUME_CLONE_THREAD_FLAGS.
38354
e11f5155
AJ
383552012-08-14 Andreas Jaeger <aj@suse.de>
38356
38357 * sysdeps/i386/fpu/libm-test-ulps: Update.
38358
51a9ba86
MK
383592012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38360
2fdd4f78
AJ
38361 * include/atomic.h (atomic_exchange_and_add): Split into ...
38362 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38363 New atomic macros.
51a9ba86 38364
ba6cba9e
MT
383652012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38366
38367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38368
42443a47
JL
383692012-08-13 Jeff Law <law@redhat.com>
38370
38371 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38372 null byte in the output string.
38373
121dce05
JM
383742012-08-10 Joseph Myers <joseph@codesourcery.com>
38375
38376 * sysdeps/unix/sysv/linux/kernel-features.h
38377 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38378 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38379 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38380 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38381 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38382 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38383 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38384
bf51f568
JL
383852012-08-09 Jeff Law <law@redhat.com>
38386
38387 [BZ #13939]
38388 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38389 When avoid_arena is set, don't retry in the that arena. Pick the
38390 next one, whatever it might be.
38391 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38392 (arena_lock): Pass in new parameter to arena_get2.
38393 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38394 arena_get2.
38395 (__libc_malloc): Unify retrying after main arena failure with
38396 __libc_memalign version.
38397 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38398
f85fa270
L
383992012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38400
38401 [BZ #14166]
38402 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38403 to __redirect_strstr.
38404 (__strstr_sse42): Use typeof __redirect_strstr.
38405 (__strstr_ia32): Likewise.
38406 (__libc_strstr): New prototype.
38407 (strstr): Renamed to ...
38408 (__libc_strstr): This.
38409 (strstr): New strong alias of __libc_strstr.
38410 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38411 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38412 __redirect_time.
38413 Include <time.h>.
38414 (__libc_time): New prototype.
38415 (time_ifunc): Replace time with __libc_time.
38416 (time): New strong alias and hidden definition of __libc_time.
38417 (__GI_time): Remove strong alias.
38418 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38419 Include <stddef.h>.
38420 (memmove): Redefined to __redirect_memmove.
38421 (__memmove_sse2): Use typeof __redirect_memmove.
38422 (__memmove_ssse3): Likewise.
38423 (__memmove_ssse3_back): Likewise.
38424 (__libc_memmove): New prototype.
38425 (memmove): Renamed to ...
38426 (__libc_memmove): This.
38427 (memmove): New strong alias of __libc_memmove.
38428
33b4a91e
MS
384292012-08-08 Mark Salter <msalter@redhat.com>
38430
38431 * elf/elf.h
38432 (R_MN10300_TLS_GD): Define.
38433 (R_MN10300_TLS_LD): Likewise.
38434 (R_MN10300_TLS_LDO): Likewise.
38435 (R_MN10300_TLS_GOTIE): Likewise.
38436 (R_MN10300_TLS_IE): Likewise.
38437 (R_MN10300_TLS_LE): Likewise.
38438 (R_MN10300_TLS_DTPMOD): Likewise.
38439 (R_MN10300_TLS_DTPOFF): Likewise.
38440 (R_MN10300_TLS_TPOFF): Likewise.
38441 (R_MN10300_SYM_DIFF): Likewise.
38442 (R_MN10300_ALIGN): Likewise.
38443 (R_MN10300_NUM): Update.
38444
b36137f1
JM
384452012-08-08 Joseph Myers <joseph@codesourcery.com>
38446
38447 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38448 Remove.
38449
cdd915fd
RM
384502012-08-08 Roland McGrath <roland@hack.frob.com>
38451
a2433aac
RM
38452 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38453
cdd915fd
RM
38454 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38455 sysdeps/unix -> sysdeps/posix move.
38456 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38457
bf9b740a
AM
384582012-08-07 Allan McRae <allan@archlinux.org>
38459
38460 [BZ #14303]
38461 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38462 (SUNOS_CPP): Likewise.
38463 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38464 not found.
38465 (open_input): Call CPP using execvp.
38466
93df14ee
JM
384672012-08-07 Joseph Myers <joseph@codesourcery.com>
38468
38469 * sysdeps/unix/sysv/linux/kernel-features.h
38470 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38471 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38472 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38473 (__ASSUME_WAITID_SYSCALL): Likewise.
38474 * sysdeps/unix/sysv/linux/dl-execstack.c
38475 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38476 code unconditional.
38477 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38478 conditional code.
38479 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38480 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38481 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38482 code.
38483 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38484 unconditional.
38485 [__ASSUME_WAITID_SYSCALL]: Likewise.
38486 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38487
d34689de
RM
384882012-08-07 Roland McGrath <roland@hack.frob.com>
38489
a281decc
RM
38490 * sysdeps/unix/closedir.c: Renamed to ...
38491 * sysdeps/posix/closedir.c: ... here.
38492 * sysdeps/unix/dirfd.c: Renamed to ...
38493 * sysdeps/posix/dirfd.c: ... here.
38494 * sysdeps/unix/dirstream.h: Renamed to ...
38495 * sysdeps/posix/dirstream.h: ... here.
38496 * sysdeps/unix/fdopendir.c: Renamed to ...
38497 * sysdeps/posix/fdopendir.c: ... here.
38498 * sysdeps/unix/opendir.c: Renamed to ...
38499 * sysdeps/posix/opendir.c: ... here.
38500 * sysdeps/unix/readdir.c: Renamed to ...
38501 * sysdeps/posix/readdir.c: ... here.
38502 * sysdeps/unix/readdir_r.c: Renamed to ...
38503 * sysdeps/posix/readdir_r.c: ... here.
38504 * sysdeps/unix/rewinddir.c: Renamed to ...
38505 * sysdeps/posix/rewinddir.c: ... here.
38506 * sysdeps/unix/seekdir.c: Renamed to ...
38507 * sysdeps/posix/seekdir.c: ... here.
38508 * sysdeps/unix/telldir.c: Renamed to ...
38509 * sysdeps/posix/telldir.c: ... here.
38510 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38511 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38512 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38513 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38514
22895b47
RM
38515 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38516 * bits/fcntl.h: ... here.
38517
707a53b6
RM
38518 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38519 not 0.
38520 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38521 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38522 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38523 (struct flock): Move l_start, l_len to the beginning.
38524 Use __pid_t for l_pid.
38525 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38526 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38527 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38528 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38529 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38530 [__USE_LARGEFILE64] (struct flock64): New type.
38531 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38532
f0bd3e25
RM
38533 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38534 * bits/dirent.h: ... here.
38535
d34689de
RM
38536 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38537 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38538
6dad2c06
JM
385392012-08-07 Joseph Myers <joseph@codesourcery.com>
38540
38541 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38542 Change from 2.6.0 to 2.6.16.
38543 * sysdeps/unix/sysv/linux/configure: Regenerated.
38544 * sysdeps/unix/sysv/linux/kernel-features.h
38545 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38546 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38547 version.
38548 (__ASSUME_UTIMES): Likewise.
38549 (__ASSUME_CLONE_STOPPED): Remove.
38550 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38551 architectures, not kernel version.
38552 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38553 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38554 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38555 (__ASSUME_WAITID_SYSCALL): Likewise.
38556 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38557 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38558 * README: State 2.6.16 as minimum Linux kernel version. Do not
38559 refer to older versions.
38560
03af9520
RM
385612012-08-06 Roland McGrath <roland@hack.frob.com>
38562
8e49df1d
RM
38563 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38564 Define alphasort64 as an alias.
38565 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38566 Define versionsort64 as an alias.
38567 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38568 Define scandir64 as an alias.
38569 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38570 Define scandirat64 as an alias.
38571 * dirent/alphasort64.c (alphasort64):
38572 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38573 * dirent/versionsort64.c: Likewise.
38574 * dirent/scandir64.c: Likewise.
38575 * dirent/scandirat64.c: Likewise.
38576 * sysdeps/wordsize-64/alphasort.c: File removed.
38577 * sysdeps/wordsize-64/alphasort64.c: File removed.
38578 * sysdeps/wordsize-64/scandir.c: File removed.
38579 * sysdeps/wordsize-64/scandir64.c: File removed.
38580 * sysdeps/wordsize-64/scandirat.c: File removed.
38581 * sysdeps/wordsize-64/scandirat64.c: File removed.
38582 * sysdeps/wordsize-64/versionsort.c: File removed.
38583 * sysdeps/wordsize-64/versionsort64.c: File removed.
38584 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38585 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38586 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38587 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38588 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38589 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38590 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38591 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38592
38593 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38594 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38595 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38596 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38597 [defined __arch64__ || defined __sparcv9]
38598 (__INO_T_MATCHES_INO64_T): New macro.
38599 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38600 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38601 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38602 * sysdeps/unix/sysv/linux/bits/dirent.h
38603 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38604 (_DIRENT_MATCHES_DIRENT64): New macro.
38605
03af9520
RM
38606 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38607 Define lockf64 as an alias.
38608 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38609 Define fseeko64 as an alias.
38610 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38611 Define ftello64 as an alias.
38612 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38613 Define _IO_fgetpos64 and fgetpos64 as aliases.
38614 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38615 Define _IO_fsetpos64 and fsetpos64 as aliases.
38616 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38617 Conditionalize body on this.
38618 * libio/fseeko64.c: Likewise.
38619 * libio/ftello64.c: Likewise.
38620 * libio/iofgetpos64.c: Likewise.
38621 * libio/iofsetpos64.c: Likewise.
38622 * sysdeps/wordsize-64/lockf.c: File removed.
38623 * sysdeps/wordsize-64/lockf64.c: File removed.
38624 * sysdeps/wordsize-64/fseeko.c: File removed.
38625 * sysdeps/wordsize-64/fseeko64.c: File removed.
38626 * sysdeps/wordsize-64/ftello.c: File removed.
38627 * sysdeps/wordsize-64/ftello64.c: File removed.
38628 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38629 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38630 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38631 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38632 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38633 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38634 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38635 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38636 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38637 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38638 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38639 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38640 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38641 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38642
38643 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38644 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38645 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38646 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38647 [defined __arch64__ || defined __sparcv9]
38648 (__OFF_T_MATCHES_OFF64_T): New macro.
38649 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38650 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38651 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38652 (__OFF_T_MATCHES_OFF64_T): New macro.
38653
c5757acd
L
386542012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38655
38656 * stdlib/secure-getenv.c (__secure_getenv): Replace
38657 GLIBC_2_16 with GLIBC_2_17.
38658
3a31811e
L
386592012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38660
38661 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38662 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38663
faa2bccb
DM
386642012-08-03 David S. Miller <davem@davemloft.net>
38665
38666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38667
85fe1997
JM
386682012-08-03 Joseph Myers <joseph@codesourcery.com>
38669
38670 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38671 Remove.
38672 (__ASSUME_CORRECT_SI_PID): Likewise.
38673 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38674 (__ASSUME_TMPFS_NAME): Likewise.
38675 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38676 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38677 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38678 (HAVE_AUX_SECURE): Make definition unconditional.
38679 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38680 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38681
4f75b7a0
RM
386822012-08-03 Roland McGrath <roland@hack.frob.com>
38683
38684 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38685 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38686 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38687 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38688 __eloop_threshold instead of SYMLOOP_MAX.
38689
38690 * sysdeps/generic/eloop-threshold.h: New file.
38691 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38692 of MAXSYMLINKS.
38693 * elf/chroot_canon.c (chroot_canon): Likewise.
38694
7aab07e4
JM
386952012-08-03 Joseph Myers <joseph@codesourcery.com>
38696
38697 [BZ #13717]
38698 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38699 Change to 2.6.0 everywhere.
38700 * sysdeps/unix/sysv/linux/configure: Regenerated.
38701 * sysdeps/unix/sysv/linux/kernel-features.h
38702 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38703 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38704 kernel versions.
38705 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38706 (__ASSUME_FUTEX_REQUEUE): Remove.
38707 (__ASSUME_STATFS64): Define unconditionally.
38708 (__ASSUME_AT_SECURE): Likewise.
38709 (__ASSUME_CORRECT_SI_PID): Likewise.
38710 (__ASSUME_TGKILL): Define without depending on kernel version for
38711 i386.
38712 (__ASSUME_UTIMES): Likewise.
38713 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38714 kernel version.
38715 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38716 (__ASSUME_TMPFS_NAME): Likewise.
38717 * README: Update reference to Linux kernel versions.
38718
b67e9372
MP
387192012-08-02 Marek Polacek <polacek@redhat.com>
38720
1f529f7d 38721 [BZ# 14150]
b67e9372
MP
38722 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38723 libc_cv_asm_type_prefix with %.
38724 * configure: Regenerated.
d2441631
RM
38725 * include/libc-symbols.h: Remove comment about
38726 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
38727 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38728 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38729 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38730 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38731 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38732 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38733 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38734 * elf/tst-unique2mod1.c: Likewise.
38735 * elf/tst-unique1mod2.c: Likewise.
38736 * elf/tst-unique1mod1.c: Likewise.
38737 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38738 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38739 Replace ASM_TYPE_DIRECTIVE with .type.
38740 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38741 * sysdeps/i386/sysdep.h: Likewise.
38742 * sysdeps/x86_64/sysdep.h: Likewise.
38743 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
38744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38745 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 38746 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
38747 * sysdeps/powerpc/powerpc32/sysdep.h:
38748 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
38749 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38750 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38751 * sysdeps/i386/fpu/e_powf.S: Likewise.
38752 * sysdeps/i386/fpu/e_expl.S: Likewise.
38753 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38754 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38755 * sysdeps/i386/fpu/e_pow.S: Likewise.
38756 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38757 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38758 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38759 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38760 * sysdeps/i386/fpu/e_log2.S: Likewise.
38761 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38762 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38763 * sysdeps/i386/fpu/e_powl.S: Likewise.
38764 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38765 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38766 * sysdeps/i386/fpu/e_logl.S: Likewise.
38767 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38768 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38769 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38770 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38771 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38772 * sysdeps/i386/fpu/e_log.S: Likewise.
38773 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38774 * sysdeps/i386/fpu/e_logf.S: Likewise.
38775 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38776 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38777 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38778 * sysdeps/i386/fpu/e_log10.S: Likewise.
38779 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38780 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38781 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38782 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38783 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38784 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38785 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38786 * sysdeps/i386/i686/strtok.S: Likewise.
38787 * sysdeps/i386/i386-mcount.S: Likewise.
38788 * sysdeps/i386/strtok.S: Likewise.
38789 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38790 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38791 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38792 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38793 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38794 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38795 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38796 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38797 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38798 * sysdeps/x86_64/_mcount.S: Likewise.
38799 * sysdeps/x86_64/strtok.S: Likewise.
38800 * sysdeps/sh/_mcount.S: Likewise.
38801
2747bf9a
RM
388022012-08-01 Roland McGrath <roland@hack.frob.com>
38803
38804 * libio/iofopen.c: Include <fcntl.h>.
38805 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38806 (_IO_fopen64, fopen64): Define as aliases.
38807 * libio/iofopen64.c: Include <fcntl.h>.
38808 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38809 Conditionalize body on this.
38810 * sysdeps/wordsize-64/iofopen.c: File removed.
38811 * sysdeps/wordsize-64/iofopen64.c: File removed.
38812
3fb791b8
MP
388132012-08-01 Marek Polacek <polacek@redhat.com>
38814
38815 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38816 Use dlfcn directly instead of a variable.
38817 (binfmt-subdir): Do not define.
38818 (dlfcn): Likewise.
38819
a9f1039f
JM
388202012-08-01 Joseph Myers <joseph@codesourcery.com>
38821
23bddc06
JM
38822 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38823 Remove all definitions.
38824 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38825 <kernel-features.h>.
38826 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38827 (miss_F_GETOWN_EX): Remove all definitions.
38828 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38829 macro definition.
38830 [!__ASSUME_FCNTL64]: Remove conditional code.
38831 [__ASSUME_FCNTL64]: Make code unconditional.
38832 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38833 <kernel-features.h>.
38834 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38835 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38836 (lockf64) [__NR_fcntl64]: Make code unconditional.
38837 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38838
a9f1039f
JM
38839 * sysdeps/unix/sysv/linux/kernel-features.h
38840 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38841 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38842 Make code unconditional.
38843 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38844 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38846 [__NR_vfork]: Make code unconditional.
38847 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38848 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38850 [__NR_vfork]: Make code unconditional.
38851 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38852 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38853
09c0ee5f
RM
388542012-08-01 Roland McGrath <roland@hack.frob.com>
38855
48aec5b9
RM
38856 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38857 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38858
cd97c966
RM
38859 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38860 Define mkstemp64 as an alias.
3f55550c
RM
38861 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38862 Define mkstemps64 as an alias.
cd97c966
RM
38863 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38864 Define mkostemp64 as an alias.
b8625cfc
RM
38865 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38866 Define mkostemps64 as an alias.
cd97c966
RM
38867 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38868 Conditionalize body on this.
38869 * misc/mkostemp64.c: Likewise.
b8625cfc 38870 * misc/mkostemps64.c: Likewise.
3f55550c 38871 * misc/mkstemps64.c: Likewise.
cd97c966
RM
38872 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38873 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38874 * sysdeps/wordsize-64/mkostemp.c: File removed.
38875 * sysdeps/wordsize-64/mkstemp.c: File removed.
38876 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38877 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38878 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38879 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38880
09c0ee5f
RM
38881 [BZ #14138]
38882 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38883 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38884 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38885 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38886
38887 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38888 compat_symbol macros from <shlib-compat.h> rather than the underlying
38889 default_symbol_version and symbol_version macros, so that DEFAULT
38890 lines in shlib-versions are respected.
38891 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38892
7e66ee51
FW
388932012-08-01 Florian Weimer <fweimer@redhat.com>
38894
38895 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38896 Declare with warn_unused_result.
38897 (setgid, setregid, setegid, setresgid): Likewise.
38898 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38899 Likewise.
38900 * WUR-REPORT: Remove set*id functions.
38901
d2a54255
PT
389022012-07-31 Pino Toscano <toscano.pino@tiscali.it>
38903
38904 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38905
7ecdb005
RM
389062012-07-31 Roland McGrath <roland@hack.frob.com>
38907
b4180a5e 38908 [BZ #10191]
789bd351
RM
38909 * include/sys/socket.h (__libc_accept, __libc_accept4):
38910 Add attribute_hidden.
38911 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38912
40ce302d
RM
38913 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38914 use of PTR_MANGLE.
38915 * inet/getnetgrent_r.c (setup): Likewise.
38916
7ecdb005
RM
38917 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38918
e2eabb2c
DM
389192012-07-31 David S. Miller <davem@davemloft.net>
38920
38921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38922
d0419dbf
JM
389232012-07-31 Joseph Myers <joseph@codesourcery.com>
38924
38925 [BZ #13629]
38926 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38927 value between 1.0 and 2.0 and smaller part has absolute value less
38928 than 1.0.
38929 * math/s_clog10.c (__clog10): Likewise.
38930 * math/s_clog10f.c (__clog10f): Likewise.
38931 * math/s_clog10l.c (__clog10l): Likewise.
38932 * math/s_clogf.c (__clogf): Likewise.
38933 * math/s_clogl.c (__clogl): Likewise.
38934 * math/libm-test.inc (clog_test): Add more tests.
38935 (clog10_test): Likewise.
38936 * sysdeps/i386/fpu/libm-test-ulps: Update.
38937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38938
2bc13872
FW
389392012-07-31 Florian Weimer <fweimer@redhat.com>
38940
38941 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38942 Exit with zero in case no suitable GID is found, and write a
38943 message to standard error.
38944
bea9b193
RM
389452012-07-30 Roland McGrath <roland@hack.frob.com>
38946
38947 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38948 rather than to 1.
38949 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38950 (MAXPATHLEN): Removed.
38951 (NOGROUP, NODEV): New macros.
38952 (setbit, clrbit, isset, isclr): New macros.
38953 (howmany, roundup, powerof2): New macros.
38954 (DEV_BSIZE): New macro.
38955
38956 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38957 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38958
38959 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38960 definition on [!__NO_LONG_DOUBLE_MATH].
38961
38962 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38963 PTR_MANGLE and PTR_DEMANGLE.
38964
38965 * socket/accept4.c (accept4): Rename to __libc_accept4.
38966 Define accept4 as a weak alias.
38967
38968 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38969 on [_DIRENT_HAVE_D_TYPE].
38970 * io/ftw.c (ftw_dir): Likewise.
38971
38972 * io/xmknod.c (__xmknod): Don't check PATH for being null.
38973
38974 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38975
38976 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38977 Use the BSD numbers rather than the arbitrary ones we had.
38978 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38979 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38980 (SIGXCPU, SIGXFSZ): New macros.
38981 (_NSIG): Now 32.
38982
38983 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38984 initializer on [_LIBC_REENTRANT].
38985
38986 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38987 definitions inside [_POSIX_MAPPED_FILES].
38988
38989 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38990
38991 * dirent/opendir.c: Include <fcntl.h>.
38992
38993 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38994 (__libc_getspecific): Likewise.
38995 (__libc_key_create): Likewise.
38996
38997 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38998 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38999 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39000 (tmpfile64): Define as alias.
39001 * sysdeps/wordsize-64/tmpfile.c: File removed.
39002 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39003 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39004 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39005
39006 * stdio-common/vfscanf.c: Include <stdbool.h>.
39007 * nss/makedb.c: Likewise.
39008 * stdio-common/_i18n_number.h: Likewise.
39009 * argp/argp-help.c: Likewise.
39010 * posix/wordexp.c: Likewise.
39011 * sysdeps/posix/spawni.c: Likewise.
39012 * nss/nss_files/files-initgroups.c: Likewise.
39013 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39014 * nss/nss_files/files-initgroups.c: Likewise.
39015 * nss/nss_db/db-netgrp.c: Likewise.
39016 * nss/nss_db/db-initgroups.c: Likewise.
39017 * io/fchmodat.c: Include <sys/stat.h>.
39018
39019 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39020 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39021
39022 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39023 [HAVE_MMAP].
39024
39025 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39026 Add multiple inclusion protection.
39027
e5abc686
DM
390282012-07-27 David S. Miller <davem@davemloft.net>
39029
39030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39031
815e6fa3
GB
390322012-07-27 Gary Benson <gbenson@redhat.com>
39033
39034 [BZ #14298]
39035 * elf/rtld.c: Include <stap-probe.h>.
39036 (dl_main): Added static probes "init_start" and "init_complete".
39037 * elf/dl-load.c: Include <stap-probe.h>.
39038 (lose): Take new parameter "nsid".
39039 Added static probe "map_failed".
39040 (_dl_map_object_from_fd): Pass namespace id to lose.
39041 Added static probe "map_start".
39042 (open_verify): Pass namespace id to lose.
39043 * elf/dl-open.c: Include <stap-probe.h>.
39044 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39045 and "reloc_complete".
39046 * elf/dl-close.c: Include <stap-probe.h>.
39047 (_dl_close_worker): Added static probes "unmap_start" and
39048 "unmap_complete".
39049 * elf/rtld-debugger-interface.txt: New file documenting the above.
39050
9f98c16c
RM
390512012-07-26 Roland McGrath <roland@hack.frob.com>
39052
39053 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39054 rather than a string variable.
39055 * sunrpc/rpc_main.c (h_output): Likewise.
39056 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39057
f3c22df3
PT
390582012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39059
39060 * inet/check_native.c: New file.
39061
3129cfc6
JM
390622012-07-26 Joseph Myers <joseph@codesourcery.com>
39063
da865e95
JM
39064 [BZ #13629]
39065 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39066 if larger part has absolute value 1.0.
39067 * math/s_clog10.c (__clog10): Likewise.
39068 * math/s_clog10f.c (__clog10f): Likewise.
39069 * math/s_clog10l.c (__clog10l): Likewise.
39070 * math/s_clogf.c (__clogf): Likewise.
39071 * math/s_clogl.c (__clogl): Likewise.
39072 * math/libm-test.inc (clog_test): Add more tests.
39073 (clog10_test): Likewise.
39074 * sysdeps/i386/fpu/libm-test-ulps: Update.
39075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39076
3129cfc6
JM
39077 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39078 (pltexit): Likewise.
39079 (La_regs): Likewise.
39080 (La_retval): Likewise.
39081 (int_retval): Likewise.
39082 Update #error for removed macros to refer only to definitions in
39083 tst-audit.h.
39084 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39085 macro.
39086 (pltexit): Likewise.
39087 (La_regs): Likewise.
39088 (La_retval): Likewise.
39089 (int_retval): Likewise.
39090 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39091 macro.
39092 (pltexit): Likewise.
39093 (La_regs): Likewise.
39094 (La_retval): Likewise.
39095 (int_retval): Likewise.
39096 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39097 macro.
39098 (pltexit): Likewise.
39099 (La_regs): Likewise.
39100 (La_retval): Likewise.
39101 (int_retval): Likewise.
39102 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39103 macro.
39104 (pltexit): Likewise.
39105 (La_regs): Likewise.
39106 (La_retval): Likewise.
39107 (int_retval): Likewise.
39108 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39109 macro.
39110 (pltexit): Likewise.
39111 (La_regs): Likewise.
39112 (La_retval): Likewise.
39113 (int_retval): Likewise.
39114 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39115 macro.
39116 (pltexit): Likewise.
39117 (La_regs): Likewise.
39118 (La_retval): Likewise.
39119 (int_retval): Likewise.
39120 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39121 macro definitions in tst-audit.h.
39122 * sysdeps/i386/tst-audit.h: New file.
39123 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39124 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39125 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39126 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39127 * sysdeps/sh/tst-audit.h: Likewise.
39128 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39129 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39130 * sysdeps/x86_64/tst-audit.h: Likewise.
39131
bfc07087
AJ
391322012-07-26 Andreas Jaeger <aj@suse.de>
39133
b1b2aaf8
AJ
39134 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39135 ptrace.
39136
39137 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39138 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39139 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39140 PTRACE_O_MASK.
39141 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39142 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39143 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39144
bfc07087
AJ
39145 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39146 value.
39147
39148 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39149 _sigsys.
39150 (si_call_addr, si_syscall, si_arch): Define new macro.
39151 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39152 _sigsys.
39153 (si_call_addr, si_syscall, si_arch): Define new marcro.
39154 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39155 _sigsys.
39156 (si_call_addr, si_syscall, si_arch): Define new macro.
39157 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39158 _sigsys.
39159 (si_call_addr, si_syscall, si_arch): Define new macro.
39160
89b4b02f
JM
391612012-07-25 Joseph Myers <joseph@codesourcery.com>
39162
39163 [BZ #13717]
39164 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39165 Change to 2.4.21 where previously 2.4.1.
39166 * sysdeps/unix/sysv/linux/configure: Regenerated.
39167 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39168 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39169 Linux kernel version.
39170 (__ASSUME_STD_AUXV): Remove.
39171 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39172 kernel version.
39173 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39174 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39175 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39176 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39177 (__ASSUME_NETLINK_SUPPORT): Likewise.
39178 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39179 (__no_netlink_support): Remove conditional definition.
39180 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39181 Remove.
39182 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39183 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39184 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39185 (if_nameindex_ioctl): Remove.
39186 (if_nameindex_netlink): Do not handle __no_netlink_support.
39187 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39188 code.
39189 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39190 Remove conditional code.
39191 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39192 code.
39193 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39194 unconditional.
39195 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39196 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39197 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39198 Remove.
39199 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39200 [!__ASSUME_STD_AUXV]: Remove conditional code.
39201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39202 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39203 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39205 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39206 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39207 code.
39208 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39210 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39211 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39212 conditional code.
39213 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39215 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39216 code.
39217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39218 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39219 conditional code.
39220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39221 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39222 code unconditional.
39223 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39224 conditional code.
39225 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39226 unconditional.
39227 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39228 conditional code.
39229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39230 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39231 unconditional.
39232 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39233 conditional code.
39234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39235 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39236 code unconditional.
39237 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39238 conditional code.
39239 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39240 unconditional.
39241 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39242 conditional code.
39243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39244 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39245 code unconditional.
39246 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39247 conditional code.
39248 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39249 unconditional.
39250 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39251 conditional code.
39252
842a39cd
AS
392532012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39254
39255 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39256 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39257 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39258 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39259 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39260 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39261 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39262 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39263 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39264 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39265 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39266 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39267 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39268 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39269 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39270 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39271 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39272 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39273 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39274 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39275 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39276 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39277 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39278
84b3fd84
FW
392792012-07-25 Florian Weimer <fweimer@redhat.com>
39280
39281 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
39282 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39283 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39284 Introduce __libc_secure_getenv.
0c7936d5
FW
39285 * stdlib/Versions (2.17): Add secure_getenv
39286 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39287 * stdlib/secure-getenv.c: Rename __secure_getenv to
39288 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39289 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
39290 * stdlib/tst-secure-getenv.c: New.
39291 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
39292 * manual/startup.texi (Environment Access): Document
39293 secure_getenv.
84b3fd84
FW
39294 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39295 __libc_secure_getenv.
39296 * inet/ruserpass.c (ruserpass): Likewise.
39297 * malloc/mtrace.c (mtrace): Likewise.
39298 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 39299 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
39300 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39301 * sysdeps/posix/tempname.c: Likewise. Evaluate
39302 HAVE_SECURE_GETENV.
39303 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 39304 __secure_getenv to __libc_secure_getenv.
84b3fd84 39305 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
39306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39307 Likewise.
39308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39309 Likewise.
39310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39312 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 39317
56e49b71
JM
393182012-07-25 Joseph Myers <joseph@codesourcery.com>
39319
39320 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39321 (struct La_i86_retval): Likewise.
39322 (struct La_x86_64_regs): Likewise.
39323 (struct La_x86_64_retval): Likewise.
39324 (struct La_x32_regs): Likewise.
39325 (struct La_x32_retval): Likewise.
39326 (struct La_ppc32_regs): Likewise.
39327 (struct La_ppc32_retval): Likewise.
39328 (struct La_ppc64_regs): Likewise.
39329 (struct La_ppc64_retval): Likewise.
39330 (struct La_sh_regs): Likewise.
39331 (struct La_sh_retval): Likewise.
39332 (struct La_s390_32_regs): Likewise.
39333 (struct La_s390_32_retval): Likewise.
39334 (struct La_s390_64_regs): Likewise.
39335 (struct La_s390_64_retval): Likewise.
39336 (struct La_sparc32_regs): Likewise.
39337 (struct La_sparc32_retval): Likewise.
39338 (struct La_sparc64_regs): Likewise.
39339 (struct La_sparc64_retval): Likewise.
39340 (struct audit_ifaces): Remove architecture-specific pltenter and
39341 pltexit members.
39342 * sysdeps/i386/ldsodefs.h: New file.
39343 * sysdeps/powerpc/ldsodefs.h: Likewise.
39344 * sysdeps/s390/ldsodefs.h: Likewise.
39345 * sysdeps/sh/ldsodefs.h: Likewise.
39346 * sysdeps/sparc/ldsodefs.h: Likewise.
39347 * sysdeps/x86_64/ldsodefs.h: Likewise.
39348
354691b7
MP
393492012-07-25 Marek Polacek <polacek@redhat.com>
39350
39351 [BZ #6808]
39352 * math/libm-test.inc (yn_test): Add another test.
39353 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39354 to ERANGE when the result is +-Inf.
39355 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39356 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39357 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39358 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39359
bf9e2071
JM
393602012-07-24 Joseph Myers <joseph@codesourcery.com>
39361
39362 * conform/data/time.h-data (NULL): Use macro-constant. Require
39363 equal to 0.
39364 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39365 clock_t.
39366 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39367
57633811
TS
393682012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39369
39370 * configure.in <sysdeps resolving>: Correct printing
39371 Implies_before.
39372 * configure: Regenerate.
39373
c23c33b0
TS
393742012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39375
39376 * math/w_ilogb.c: Include <limits.h>.
39377 * math/w_ilogbl.c: Likewise.
39378
b5982523
JM
393792012-07-20 Joseph Myers <joseph@codesourcery.com>
39380
39381 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39382 va_copy. Document allowing for unavailable va_copy only as
39383 pre-C99 compatibility.
39384 * manual/string.texi (Copying and Concatenation): Use va_copy
39385 instead of __va_copy in concat example.
39386
ac4ea442
PT
393872012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39388
39389 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39390 (__sendto): Use create_address_port. Initialize APORT and deallocate
39391 it if not null.
39392
f98eafbd
PT
39393 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39394 with O_NOLINK passed to __file_name_lookup.
39395
898c7aab
PT
39396 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39397 with O_NOLINK passed to __file_name_lookup.
39398
0ced335a
PT
39399 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39400 negative N or less than NGIDS.
39401
b3404dbd
PT
39402 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39403 type to string_t. Set ERANGE as errno and return it if NAME is not big
39404 enough. Use memcpy instead of strncpy.
39405
0f48659e
JM
394062012-07-20 Joseph Myers <joseph@codesourcery.com>
39407
39408 * elf/Makefile (check-data): Remove.
39409 (localplt.data): New vpath directive.
39410 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39411 instead of $(check-data).
39412 * scripts/data/localplt-generic.data: Move to ...
39413 * sysdeps/generic/localplt.data: ... here.
39414 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39415 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39416 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39418 ... here.
39419 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39421 ... here.
39422 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39424 ... here.
39425 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39427 ... here.
39428 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39430 ... here.
39431 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39433 ... here.
39434
d37cbdaa
AZ
394352012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39436
39437 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39438 PPC32 and PPC64 files.
39439 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39440 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39441
46f85fc2
AK
394422012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39443
39444 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39445 __makecontext_ret to ...
39446 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39447 ... here and call exit if uc_link is NULL. New file.
39448 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39449 __makecontext_ret.S.
39450 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39451 __makecontext_ret to ...
39452 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39453 ... here and call exit if uc_link is NULL. New file.
39454 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39455 __makecontext_ret.S.
39456
08f43f9b
AK
394572012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39458
39459 * elf/elf.h (R_390_IRELATIVE): New definition.
39460 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39461 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39462 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39463 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39464 (elf_machine_lazy_rel): Likewise.
39465 * sysdeps/s390/dl-irel.h: New file.
39466 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39467 * sysdeps/s390/s390-64/memset.S: New asm code.
39468 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39469 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39470 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39471 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39472 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39473 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39474 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39475 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39476 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39477 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39478 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39479 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39480 * sysdeps/s390/s390-32/memset.S: New asm code.
39481 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39482
3b05db33
MP
394832012-07-17 Marek Polacek <polacek@redhat.com>
39484
39485 [BZ #14349]
39486 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39487 * sysdeps/s390/s390-64/configure.in: Likewise.
39488 * sysdeps/sparc/configure.in: Likewise.
39489 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39490 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39491 * sysdeps/i386/configure.in: Likewise.
39492 * sysdeps/x86_64/configure.in: Likewise.
39493 * sysdeps/sh/configure.in: Likewise.
39494 * sysdeps/s390/s390-32/configure: Regenerated.
39495 * sysdeps/s390/s390-64/configure: Likewise.
39496 * sysdeps/x86_64/configure: Likewise.
39497 * sysdeps/sh/configure: Likewise.
39498 * sysdeps/powerpc/powerpc64/configure: Likewise.
39499 * sysdeps/powerpc/powerpc32/configure: Likewise.
39500 * sysdeps/sparc/configure: Likwise.
39501 * sysdeps/i386/configure: Likewise.
39502
a66877c6
MP
39503 * elf/dl-open.c: Comment fixes.
39504
cfc82fd8
JM
395052012-07-17 Joseph Myers <joseph@codesourcery.com>
39506
bd29910a
JM
39507 * Makefile [CXX] (check-data): Remove.
39508 [CXX] (c++-types.data): New vpath directive.
39509 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39510 vpath. Do not allow for C++ type data being missing.
39511 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39512 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39513 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39514 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39515 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39516 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39517 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39519 ... here.
39520 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39522 ... here.
39523 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39525 ... here.
39526 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39528 ... here.
39529 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39531 ... here.
39532 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39534 ... here.
39535 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39537 ... here.
39538 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39540
cfc82fd8
JM
39541 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39542 definitions to architecture-specific files.
39543 (TLS_IE): Likewise.
39544 (TLS_LD): Likewise.
39545 (TLS_GD): Likewise.
39546 * sysdeps/i386/tls-macros.h: New file.
39547 * sysdeps/powerpc/tls-macros.h: Likewise.
39548 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39549 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39550 * sysdeps/sh/tls-macros.h: Likewise.
39551 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39552 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39553 * sysdeps/x86_64/tls-macros.h: Likewise.
39554
f7db3170
TS
395552012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39556
07cbfc23
TS
39557 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39558 zero value for regular exit case.
39559
f7db3170
TS
39560 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39561 (__start_context): Preserve zero value for regular exit case.
39562
dc97c227
TS
395632012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39564 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39565
39566 * manual/setjmp.texi (setcontext): Clarify normal process
39567 termination when uc_link is the null pointer.
39568 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39569 exit call.
39570
d0cd7d02
AS
395712012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39572
39573 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39574 preprocessor. Test for each exception mask separately.
39575
dd318934
AJ
395762012-07-16 Andreas Jaeger <aj@suse.de>
39577
39578 * po/ru.po: Update from translation team.
39579
8048311a
JM
395802012-07-15 Joseph Myers <joseph@codesourcery.com>
39581
39582 * conform/data/string.h-data (NULL): Use macro-constant. Require
39583 equal to 0.
39584 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39585 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39586 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39587 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39588 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39589
b637d46e
AJ
395902012-07-13 Andreas Jaeger <aj@suse.de>
39591
39592 * po/fr.po: Update from translation team.
39593
541428fe
MP
395942012-07-12 Marek Polacek <polacek@redhat.com>
39595
39596 [BZ #14173]
39597 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39598 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39599 loop condition.
39600
ec332e94
JM
396012012-07-12 Joseph Myers <joseph@codesourcery.com>
39602
39603 [BZ #13717]
39604 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39605 Change to 2.4.1 where previously 2.4.0.
39606 * sysdeps/unix/sysv/linux/configure: Regenerated.
39607 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39608 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39609 version.
39610 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39611 (__ASSUME_AT_CLKTCK): Remove.
39612 (__ASSUME_AT_PAGESIZE): Likewise.
39613 (__ASSUME_AT_XID): Likewise.
39614 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39615 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39616 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39617 unconditionally.
39618 (HAVE_AUX_PAGESIZE): Likewise.
39619 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39620 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39621 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39622
7b6e99be
JB
396232012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39624
39625 [BZ #14307]
39626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39627 the temporary buffer used to invoke __gethostbyname2_r,
39628 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39629 host_data / struct gaih_addrtuple.
39630 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39631 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39632 header file nss/nsswitch.h.
39633 * nss/nsswitch.h (global scope): Add definition of implementation
39634 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39635 resolv/nss_dns/dns-host.c).
39636
608404eb
AJ
396372012-07-11 Andreas Jaeger <aj@suse.de>
39638
39639 * po/fr.po: Update from translation team.
39640
71220aca
AJ
39641 * po/sv.po: Update from translation team
39642 * po/fr.po: Another update from translation team.
39643
28cfe843
AZ
396442012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39645
39646 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39647 for subnormals or multiply small sinh result by itself.
39648 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39650
6b90f981
DM
396512012-07-11 David S. Miller <davem@davemloft.net>
39652
39653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39654
c6825772
AS
396552012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39656
39657 [BZ #14347]
39658 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39659 (INTERNAL_MARK): Shift it here.
39660
7b8e0d49
MP
396612012-07-10 Marek Polacek <polacek@redhat.com>
39662
39663 [BZ #14151]
39664 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39665 libc_cv_asm_global_directive with .globl.
39666 * configure: Regenerated.
39667 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39668 with .globl.
39669 * sysdeps/i386/configure: Regenerated.
39670 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39671 with .globl.
39672 * sysdeps/x86_64/configure: Regenerated.
39673 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39674 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39675 * elf/tst-unique2mod2.c: Likewise.
39676 * elf/tst-unique2mod1.c: Likewise.
39677 * elf/tst-unique1mod2.c: Likewise.
39678 * elf/tst-unique1mod1.c: Likewise.
39679 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39680 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39681 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39682 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39683 * sysdeps/mach/sysdep.h: Likewise.
39684 * sysdeps/i386/sysdep.h: Likewise.
39685 * sysdeps/i386/i386-mcount.S: Likewise.
39686 * sysdeps/x86_64/_mcount.S: Likewise.
39687 * sysdeps/x86_64/sysdep.h: Likewise.
39688 * sysdeps/sh/_mcount.S: Likewise.
39689 * sysdeps/sh/sysdep.h: Likewise.
39690 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39691 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39692 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39693 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39694 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39695 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39696 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39697 * locale/localeinfo.h: Likewise.
39698 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39699 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39700
6c55cda3
RM
397012012-07-09 Roland McGrath <roland@hack.frob.com>
39702
39703 [BZ #14336]
39704 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39705 system".
39706 * manual/message.texi (The Uniforum approach): Likewise.
39707 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39708 (glibc iconv Implementation): Likewise.
39709
638a572e
JM
397102012-07-09 Joseph Myers <joseph@codesourcery.com>
39711
39712 [BZ #14337]
39713 * math/s_clog.c (__clog): Avoid scaling a value down where that
39714 could result in underflow.
39715 * math/s_clog10.c (__clog10): Likewise.
39716 * math/s_clog10f.c (__clog10f): Likewise.
39717 * math/s_clog10l.c (__clog10l): Likewise.
39718 * math/s_clogf.c (__clogf): Likewise.
39719 * math/s_clogl.c (__clogl): Likewise.
39720 * math/libm-test.inc (clog_test): Add more tests.
39721 (clog10_test): Likewise.
39722 * sysdeps/i386/fpu/libm-test-ulps: Update.
39723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39724
261f4859
AS
397252012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39726
0abaf3e4
AS
39727 [BZ #14283]
39728 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39729 by 7 not 8 to examine high bit of fractional part.
39730
261f4859
AS
39731 [BZ #14042]
39732 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39733 for call to __mcount_internal.
39734 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39735 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39736 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39737
f17ac40d
JM
397382012-07-06 Joseph Myers <joseph@codesourcery.com>
39739
9ad63c23
JM
39740 [BZ #14154]
39741 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39742 approximation for values within 0x1p-13f of an odd multiple of
39743 pi/4.
39744 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39745 exception. Add more tests.
39746 * sysdeps/i386/fpu/libm-test-ulps: Update.
39747
f17ac40d
JM
39748 [BZ #6778]
39749 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39750 inputs and return -1 for them. Do not check for +Inf in case not
39751 reachable for +Inf.
39752 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39753 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39754 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39755 and return -1 for them. Do not check for +Inf in case not
39756 reachable for +Inf.
39757 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39758 define.
39759 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39760 and return -1 for them. Do not check for +Inf in case not
39761 reachable for +Inf.
39762 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39763 spurious underflow.
39764 * sysdeps/i386/fpu/libm-test-ulps: Update.
39765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39766
fb21f89b
MF
397672012-07-06 Mike Frysinger <vapier@gentoo.org>
39768
39769 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39770
cdfe2c5e
JM
397712012-07-05 Joseph Myers <joseph@codesourcery.com>
39772
39773 [BZ #14157]
39774 [BZ #14331]
39775 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39776 could result in spurious underflow. Scale down values above
39777 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39778 * math/s_csqrtf.c (__csqrtf): Likewise.
39779 * math/s_csqrtl.c (__csqrtl): Likewise.
39780 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39781 spurious underflow.
39782 * sysdeps/i386/fpu/libm-test-ulps: Update.
39783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39784
70d35b67
AS
397852012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39786
704bc459
AS
39787 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39788 xopen-msg.sed.
39789 * catgets/xopen-msg.awk: New file.
39790 * catgets/xopen-msg.sed: Removed.
39791
70d35b67
AS
39792 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39793 po2text.sed.
39794 * intl/po2test.awk: New file.
39795 * intl/po2test.sed: Removed.
39796
ca61cf32
JM
397972012-07-04 Joseph Myers <joseph@codesourcery.com>
39798
39799 [BZ #14328]
39800 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39801 or multiply small sinh result by itself.
39802 * math/s_ctanf.c (__ctanf): Likewise.
39803 * math/s_ctanh.c (__ctanh): Likewise.
39804 * math/s_ctanhf.c (__ctanhf): Likewise.
39805 * math/s_ctanhl.c (__ctanhl): Likewise.
39806 * math/s_ctanl.c (__ctanl): Likewise.
39807 * math/libm-test.inc (ctan_test_tonearest): New function.
39808 (ctan_test_towardzero): Likewise.
39809 (ctan_test_downward): Likewise.
39810 (ctan_test_upward): Likewise.
39811 (ctanh_test_tonearest): Likewise.
39812 (ctanh_test_towardzero): Likewise.
39813 (ctanh_test_downward): Likewise.
39814 (ctanh_test_upward): Likewise.
39815 (main): Call these new functions.
39816 * sysdeps/i386/fpu/libm-test-ulps: Update.
39817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39818
ca48a46a
MF
398192012-07-03 Mike Frysinger <vapier@gentoo.org>
39820
39821 * .gitignore: Delete /ports entry.
39822
9d63d37d
AJ
398232012-07-03 Andreas Jaeger <aj@suse.de>
39824
39825 * po/bg.po: Update from translation team.
39826 * po/cs.po: Likewise.
39827 * po/de.po: Likewise.
39828 * po/hr.po: Likewise.
39829 * po/nl.pl: Likewise.
39830 * po/pl.po: Likewise.
39831 * po/vi.po: Likewise.
39832
370ca3d2
JM
398332012-07-03 Joseph Myers <joseph@codesourcery.com>
39834
95f5a9a8
JM
39835 * Makeconfig [!+link] (+link-before-libc): New variable.
39836 [!+link] (+link-after-libc): Likewise.
39837 [!+link] (+link-tests): Likewise.
39838 [!+link] (+link): Define in terms of $(+link-before-libc) and
39839 $(+link-after-libc).
39840 [!+link-static] (+link-static-before-libc): New variable.
39841 [!+link-static] (+link-static-after-libc): Likewise.
39842 [!+link-static] (+link-static-tests): Likewise.
39843 [!+link-static] (+link-static): Define in terms of
39844 $(+link-static-before-libc) and $(+link-static-after-libc).
39845 [build-shared] (link-libc-before-gnulib): New variable.
39846 [build-shared] (link-libc-tests): Likewise.
39847 [build-shared] (link-libc): Define in terms of
39848 $(link-libc-before-gnulib).
39849 [!build-shared] (link-libc-tests): New variable.
39850 (link-libc-static-tests): New variable.
39851 [!gnulib] (gnulib-arch): New variable.
39852 [!gnulib] (gnulib-tests): Likewise.
39853 [!gnulib] (static-gnulib-arch): Likewise.
39854 [!gnulib] (static-gnulib-tests): Likewise.
39855 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39856 Define with "=" instead of ":=".
39857 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39858 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39859 * Rules (binaries-all-notests): New variable.
39860 (binaries-all-tests): Likewise.
39861 (binaries-static-notests): Likewise.
39862 (binaries-static-tests): Likewise.
39863 (binaries-all): Define using $(binaries-all-notests) and
39864 $(binaries-all-tests).
39865 (binaries-static): Define using $(binaries-static-notests) and
39866 $(binaries-static-tests).
39867 (binaries-shared-tests): New variable.
39868 (binaries-shared-notests): Likewise.
39869 (binaries-shared): Remove variable.
39870 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39871 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39872 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39873 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39874 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39875 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39876 * elf/Makefile (sln-modules): New variable.
39877 (extra-objs): Add $(sln-modules:=.o).
39878 (ldconfig-modules): Add static-stubs.
39879 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39880 * elf/static-stubs.c: New file.
39881
7a845b2c
JM
39882 [BZ #14283]
39883 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39884 by 7 not 8 to examine high bit of fractional part. Use volatile
39885 variables when splitting into final array of floats if
39886 __FLT_EVAL_METHOD__ != 0.
39887 * math/libm-test.inc (cos_test): Add another test.
39888 (sin_test): Likewise.
39889 * sysdeps/i386/fpu/libm-test-ulps: Update.
39890
e2283f38
JM
39891 [BZ #14273]
39892 * math/libm-test.inc (cosh_test): Add more tests.
39893
370ca3d2
JM
39894 * version.h (RELEASE): Set to "development".
39895 (VERSION): Set to "2.16.90".
39896
ee9247c3
CD
398972012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
39898
39899 * NEWS: Update copyright. Remove last-updated date.
39900 Mention math library bug fixes and timezone data changes.
39901 * README: Mention GNU/Hurd, x32, and HPPA support status.
39902
4648c381
TS
399032012-06-28 Thomas Schwinge <thomas@codesourcery.com>
39904
39905 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39906
aac78a43
AJ
399072012-06-27 Andreas Jaeger <aj@suse.de>
39908
39909 * manual/contrib.texi (Contributors): Add Samuel Thibault.
39910
ed3dbfad
AJ
399112012-06-25 Andreas Jaeger <aj@suse.de>
39912
39913 * sysdeps/s390/fpu/libm-test-ulps: Update.
39914
4d0ee855
AS
399152012-06-23 Andreas Schwab <schwab@linux-m68k.org>
39916 Thomas Schwinge <thomas@codesourcery.com>
39917
39918 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39919 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39920 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39921 fanotify_mark.
39922
af1bce34
TS
399232012-06-23 Thomas Schwinge <thomas@codesourcery.com>
39924
a9fa33ba
TS
39925 * sysdeps/mach/start.c: Remove file.
39926 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39927 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39928 * sysdeps/sh/init-first.c: Likewise.
39929
58f902b8
TS
39930 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39931 registers for frame unwinding purposes, add CFI directives.
39932 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39933 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39934 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39935 Likewise.
39936
1518f58b
TS
39937 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39938 __fortify_fail returning.
39939 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39940
db9b5059
TS
39941 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39942 sysdeps/sh/____longjmp_chk.S.
39943 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39944 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39945 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39946 (gen-as-const-headers): Append sigaltstack-offsets.sym.
39947
967705fe
TS
39948 * sysdeps/sh/abort-instr.h: New file.
39949 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39950 process in case exit returns.
39951
a9def8c4
TS
39952 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39953 initialize the GOT register before use.
39954
2a649725
TS
39955 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39956 calculation of ARGC > 4.
39957
af1bce34
TS
39958 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39959 meaningful names to some local labels.
39960
d230f50a
KK
399612012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39962 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39963
39964 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39965 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39966 (__arch_compare_and_exchange_val_16_acq): Likewise.
39967 (__arch_compare_and_exchange_val_32_acq): Likewise.
39968 (atomic_exchange_and_add): Fix gUSA sequence.
39969 (atomic_add): Likewise.
39970 (atomic_add_negative): Likewise.
39971 (atomic_add_zero): Likewise.
39972 (atomic_bit_test_set): Likewise.
39973
0479b305
AS
399742012-06-22 Andreas Schwab <schwab@redhat.com>
39975
39976 [BZ #13579]
39977 * include/link.h (struct link_map): Add l_free_initfini.
39978 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39979 l_initfini.
39980 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39981 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39982 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39983 set.
39984
0e3933b9
CD
399852012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
39986
39987 * configure.in: Use AC_LANG_SOURCE.
39988 * configure: Regenerate.
39989
4248b1b1
RM
399902012-06-22 Roland McGrath <roland@hack.frob.com>
39991
39992 * configure.in (libc_cv_localstatedir): New substituted variable.
39993 * configure: Regenerated.
39994 * config.make.in (localstatedir): New variable, substituted from
39995 libc_cv_localstatedir.
39996 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39997 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39998 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39999 * sysdeps/gnu/configure: Regenerated.
40000
006dd861
JL
400012012-06-21 Jeff Law <law@redhat.com>
40002
40003 [BZ #14277]
40004 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40005 free. Simplify list management for _LIBC case.
40006
79662d42
JM
400072012-06-21 Joseph Myers <joseph@codesourcery.com>
40008
b7abb4bf
JM
40009 [BZ #14273]
40010 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40011 Clear sign bit of 64-bit integer value before comparing against
40012 overflow value.
40013
79662d42
JM
40014 * sysdeps/mach/configure: Regenerated.
40015
1f150908
L
400162012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40017
40018 [BZ #14278]
40019 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40020
28363bbf
JL
400212012-06-21 Jeff Law <law@redhat.com>
40022
40023 [BZ #13882]
40024 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40025 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 40026 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
40027 * elf/dl-open.c (dl_open_worker): Likewise.
40028
09615db4
CD
400292012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40030
40031 * scripts/list-sources.sh: Scan PORTS for translations.
40032 * po/libc.pot: Regenerated.
40033
2174c6dd
AJ
400342012-06-21 Andreas Jaeger <aj@suse.de>
40035
40036 [BZ #12194]
40037 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40038 warning.
40039 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40040 * bits/byteswap-16.h (__bswap_16): Likewise.
40041 * bits/byteswap.h (__bswap_constant_16): Likewise.
40042
3ee947b1
L
400432012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40044
40045 [BZ #14117]
a2f34833
L
40046 * sysdeps/i386/fpu_control.h: Removed.
40047 * sysdeps/x86_64/fpu_control.h: Moved to ...
40048 * sysdeps/x86/fpu_control.h: Here.
40049
3ee947b1
L
40050 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40051 (_FPU_SETCW): Likewise.
40052
ed1825f8
L
400532012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40054
25f1282a
L
40055 [BZ #14117]
40056 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40057 * sysdeps/x86/fpu/bits/mathinline.h: This.
40058 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40059
ed1825f8
L
40060 [BZ #14050]
40061 [BZ #14117]
40062 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40063 functions if __x86_64__ is defined.
40064
36d54b74
CLT
400652012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40066
40067 * string/endian.h: Add !__ASSEMBLER__ condition for including
40068 conversion interfaces.
40069
10285c21
JM
400702012-06-15 Joseph Myers <joseph@codesourcery.com>
40071
40072 [BZ #14241]
40073 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40074 of ABS(x) in calculating zero to negative powers other than odd
40075 integers.
40076 * math/libm-test.inc (pow_test): Add more tests.
40077
06c5abbd
AJ
400782012-06-15 Andreas Jaeger <aj@suse.de>
40079
40080 * manual/contrib.texi (Contributors): Update entry of Liubov
40081 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40082 Machado Filho.
40083
a3aeac40
CH
400842012-06-15 Cyril Hrubis <metan@ucw.cz>
40085
40086 * string/string.h: Add __wur to GNU version of strerror_r.
40087
49bdf4c1
L
400882012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40089
40090 [BZ #14229]
40091 * string/Makefile (tests): Add tst-strtok_r.
40092 * string/tst-strtok_r.c: New file.
40093 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40094 RAX_LP/RDX_LP on SAVE_PTR.
40095
834f9b8d
RM
400962012-06-14 Roland McGrath <roland@hack.frob.com>
40097
40098 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40099
75fa1921
JM
401002012-06-14 Joseph Myers <joseph@codesourcery.com>
40101
40102 * libm_test.inc (csqrt_test): Allow more spurious underflow
40103 exceptions.
40104 (j0_test): Likewise.
40105 (j1_test): Likewise.
40106 (y0_test): Likewise.
40107 (y1_test): Likewise.
40108
771766df
CD
401092012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40110
40111 * po/Makefile (libc.pot): Use UTF-8 charset.
40112
ceb9e56b
PP
401132012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40114
40115 [BZ #14210]
40116 Suppress sign-conversion warning from FD_SET.
40117 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40118 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40119 not unsigned long int.
40120 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40121
ddb28975
L
401222012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40123
40124 [BZ #14050]
40125 [BZ #14117]
40126 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40127 __extern_always_inline instead of __extern_inline.
40128 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40129 (__signbit): Likewise.
40130 (__signbitl): Support C++ namespace.
40131 (lrintf): New inline function.
40132 (lrint): Likewise.
40133 (llrintf): Likewise.
40134 (llrint): Likewise.
40135 (fmaxf): Likewise.
40136 (fmax): Likewise.
40137 (fminf): Likewise.
40138 (fmin): Likewise.
40139 (rint): Likewise.
40140 (rintf): Likewise.
40141 (ceil): Likewise.
40142 (ceilf): Likewise.
40143 (floor): Likewise.
40144 (floorf): Likewise.
40145 (nearbyint): Likewise.
40146 (nearbyintf): Likewise.
40147
d7b4fb26
TS
401482012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40149
40150 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40151 non-default versions.
40152
eb55f5c2
RM
401532012-06-11 Roland McGrath <roland@hack.frob.com>
40154
40155 [BZ #14218]
40156 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40157
366af02c
TS
401582012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40159
99ff6e5c
TS
40160 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40161 (FE_UPWARD, FE_DOWNWARD): Don't define.
40162 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40163 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40164
366af02c
TS
40165 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40166 reading it.
40167 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40168 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40169
793ea851
KK
401702012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40171
40172 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40173 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40174 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40175 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40176
a728a38f
L
401772012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40178
40179 [BZ #14117]
c08010c7
L
40180 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40181 * sysdeps/i386/fpu/Implies: New file.
40182 * sysdeps/x86_64/fpu/Implies: Likewise.
40183 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40184 * sysdeps/x86/fpu/bits/fenv.h: This.
40185
a728a38f
L
40186 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40187 __SSE_MATH__.
40188
6e230d11
SP
401892012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40190
40191 [BZ #14134]
40192 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40193 character 0xffff that matches the last element of the
40194 conversion table.
40195
1b671feb
AZ
401962012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40197
40198 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40199 fmodl commit.
40200
6043738b
AZ
402012012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40202
40203 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40204 values higher than 25.6283.
40205
34ae0b32
AZ
402062012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40207
40208 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40209 subnormal exponent extraction and add some __builtin_expect.
40210 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40211 Fix for subnormal mantissa calculation.
40212
1214ec8f
MF
402132012-06-04 Mike Frysinger <vapier@gentoo.org>
40214
40215 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40216 cpu2 is -1 and errno is not ENOSYS.
40217
f3d1f93c
L
402182012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40219
40220 [BZ #14117]
0e4a3cd7
L
40221 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40222 * sysdeps/x86/bits/string.h: This.
40223 * sysdeps/x86_64/bits/string.h: Removed.
40224
6704c645
L
40225 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40226 if not compiling for x86-64, but compiling for >= i486.
40227
48495318
L
40228 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40229 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40230
14adcbfc
L
40231 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40232 New macro from Linux kernel 3.4.0.
40233 (FP_XSTATE_MAGIC2): Likewise.
40234 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40235 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40236 (struct _fpx_sw_bytes): New struct.
40237 (struct _xsave_hdr): Likewise.
40238 (struct _ymmh_state): Likewise.
40239 (struct _xstate): Likewise.
40240
68e408ab
L
40241 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40242 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40243 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40244 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40245 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40246 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40247
f3d1f93c
L
40248 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40249 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40250 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40251 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40252 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40253 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40254
d9dc34cd
TMQMF
402552012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40256
40257 [BZ #13743]
40258 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40259 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40260 (sysdep_headers): Include sys/platform/ppc.h.
40261 * sysdeps/powerpc/test-gettimebase.c: Test for
40262 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40263 * manual/Makefile (appendices): Include platform.texi.
40264 * manual/contrib.texi (Contributors): Update @node pointers.
40265 * manual/maint.texi (Maintenance): Likewise.
40266 (Platform): New node.
40267 * manual/platform.texi: New file. Document the new features.
40268
4af3879c
SP
402692012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40270 Jakub Jelinek <jakub@redhat.com>
40271
40272 [BZ #14188]
40273 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40274 where __builtin_expect is unavailable.
40275
2fd6ff13
DM
402762012-06-03 David S. Miller <davem@davemloft.net>
40277
40278 * stdlib/longlong.h: Updated from GCC.
40279
173f7220
AS
402802012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40281
40282 [BZ #14042]
40283 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40284 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40285 __mcount_internal.
40286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40287 (GLIBC_2.16): Likewise.
40288
f34a1c6f
L
402892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40290
40291 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40292
88a4576f
JM
402932012-06-01 Joseph Myers <joseph@codesourcery.com>
40294
ea32bcdd
JM
40295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40296 (default-abi): New variable.
40297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40298 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40299 variable.
40300 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40301 Likewise.
40302 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40303 Likewise.
40304 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40305 Likewise.
40306
88a4576f
JM
40307 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40308 definition. Document in comment.
40309
402fe938
DM
403102012-06-01 David S. Miller <davem@davemloft.net>
40311
40312 * stdlib/longlong.h: Updated from GCC.
40313
3553723f
L
403142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40315
40316 [BZ #14117]
3bd872c4
L
40317 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40318 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40319 sys/debugreg.h sys/io.h here.
40320 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40321 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40322 sys/io.h.
40323 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40324 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40325 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40326 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40327 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40328 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40329
3553723f
L
40330 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40331 Define only if __x86_64__ is defined.
40332
4842e4fe
JM
403332012-06-01 Joseph Myers <joseph@codesourcery.com>
40334
c5bfe3d5
JM
40335 [BZ #14048]
40336 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40337 Use int64_t for variable i.
40338 * math/libm-test.inc (fmod_test): Add more tests.
40339
4842e4fe
JM
40340 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40341 z computation is not scheduled after fetestexcept.
40342 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40343 Use math_force_eval instead of asm to ensure calculation scheduled
40344 before exception test.
40345 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40346 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40347
efb73488
AJ
403482012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40349
40350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40351 computation is not scheduled after fetestexcept.
40352
29bcce7c
L
403532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40354
40355 [BZ #14117]
40356 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40357 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40358
73a68f94
AZ
403592012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40360
40361 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40362 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40363
67b6df78
L
403642012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40365
edf2933a 40366 [BZ #14117]
ebc64a18
L
40367 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40368 <bits/wordsize.h>.
40369 (__WCHAR_MIN): Support __WORDSIZE == 64.
40370 (__WCHAR_MAX): Likewise.
40371
edf2933a
L
40372 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40373 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40374
57c6cf40
L
40375 [BZ #14183]
40376 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40377 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40378
67b6df78 40379 [BZ #14117]
8eb6281e
L
40380 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40381 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40382
aac639f4
L
40383 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40384 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40385
67b6df78
L
40386 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40387 Defined to 1 if __x86_64__ isn't defined.
40388 (_STAT_VER_LINUX_OLD): New.
40389 (st_atime): Remove duplicate.
40390 (st_mtime): Likewise.
40391 (st_ctime): Likewise.
40392
1c2cfe81
DM
403932012-05-31 David S. Miller <davem@davemloft.net>
40394
40395 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40396 entries.
40397
5be8418c
AS
403982012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40399
e7725326
AS
40400 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40401 gen-libm-test.pl.
40402
5be8418c
AS
40403 [BZ #14132]
40404 * elf/dl-reloc.c: Include <_itoa.h>.
40405 (_dl_reloc_bad_type): Remove use of INTUSE.
40406 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40407 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40408 * stdio-common/psiginfo.c (psiginfo): Likewise.
40409 * stdio-common/psignal.c (psignal): Likewise.
40410 * string/strsignal.c (strsignal): Likewise.
40411 * include/signal.h (_sys_siglist): Declare hidden proto.
40412 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40413 INTVARDEF with libc_hidden_data_def.
40414 * stdio-common/itoa-udigits.c: Likewise.
40415 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40416 (_itoa_lower_digits_internal): Remove declaration.
40417 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40418 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40419 (_sys_sigabbrev_internal): Remove aliases.
40420 (_sys_siglist): Define hidden alias.
40421
507352f1
MT
404222012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40423
40424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40425 bits/sysctl.h.
40426
42bbb1c3
L
404272012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40428
40429 [BZ #14117]
6bd784b6
L
40430 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40431 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40432
8bca20f0
L
40433 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40434 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40435 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40436 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40437 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40438 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40439
f9e890a9
L
40440 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40441 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40442 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40443
471101a1
L
40444 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40445 with __addr.
40446 (insw): Likewise.
40447 (insl): Likewise.
40448 (outsb): Likewise.
40449 (outsw): Likewise.
40450 (outsl): Likewise.
40451
6451c862
L
40452 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40453 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40454 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40455
a254b8c9
L
40456 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40457 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40458 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40459 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40460 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40461 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40462
b8dfdd92
L
40463 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40464 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40465
578cd270
L
40466 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40467 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40468
de662f5f
L
40469 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40470 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40471 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40472
25653439
L
40473 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40474 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40475 to ...
40476 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40477
6bad24a0
L
40478 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40479 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40480 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40481
42bbb1c3
L
40482 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40483 for x86-64.
40484 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40485
2d10d547
JM
404862012-05-31 Joseph Myers <joseph@codesourcery.com>
40487
40488 * math/math.h (M_El): Use two more decimal places.
40489 (M_LOG2El): Likewise.
40490 (M_LOG10El): Likewise.
40491 (M_LN2l): Likewise.
40492 (M_LN10l): Likewise.
40493 (M_PIl): Likewise.
40494 (M_PI_2l): Likewise.
40495 (M_PI_4l): Likewise.
40496 (M_1_PIl): Likewise.
40497 (M_2_PIl): Likewise.
40498 (M_2_SQRTPIl): Likewise.
40499 (M_SQRT2l): Likewise.
40500 (M_SQRT1_2l): Likewise.
40501
f230c29b
DM
405022012-05-31 David S. Miller <davem@davemloft.net>
40503
40504 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40505 values between float registers.
40506 * sysdeps/sparc/sparc64/memset.S: Likewise.
40507 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40508
fed806c3
MF
405092012-05-31 Mike Frysinger <vapier@gentoo.org>
40510
40511 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40512 -D_FORTIFY_SOURCE=1.
40513 (CPPFLAGS-tst-longjmp_chk.c): Define.
40514 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40515 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40516 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40517 CFLAGS-tst-wchar-h.c.
40518
30917259
MP
405192012-05-31 Marek Polacek <polacek@redhat.com>
40520
40521 [BZ #14132]
40522 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40523 __endmntent_internal): Remove declaration.
40524 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40525 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40526 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40527
1c58d5dc
DM
405282012-05-30 David S. Miller <davem@davemloft.net>
40529
40530 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40531 (___Q_simulate_exceptions): Use real FP ops rather than writing
40532 into the %fsr.
40533 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40534 Likewise.
40535
7dc00e0d
L
405362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40537
40538 [BZ #14117]
0bd53985
L
40539 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40540 * sysdeps/x86/bits/xtitypes.h: This.
40541
3a257e66
L
40542 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40543 * sysdeps/x86/bits/wordsize.h: This.
40544
62f62904
L
40545 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40546 * sysdeps/x86/bits/huge_vall.h: This.
40547
404fe9d9
L
40548 * sysdeps/i386/bits/select.h: Removed.
40549 * sysdeps/x86_64/bits/select.h: Renamed to ...
40550 * sysdeps/x86/bits/select.h: This.
40551
d48d0446
L
40552 * sysdeps/i386/bits/setjmp.h: Removed.
40553 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40554 * sysdeps/x86/bits/setjmp.h: This.
40555
7dc00e0d
L
40556 * sysdeps/i386/bits/mathdef.h: Removed.
40557 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40558 * sysdeps/x86/bits/mathdef.h: This.
40559
03277f8f
AS
405602012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40561
40562 [BZ #14132]
40563 * include/sys/socket.h (__connect_internal)
40564 (__libc_sa_len_internal): Remove declaration.
40565 (__connect, __libc_sa_len): Declare hidden_proto.
40566 (SA_LEN): Remove use of INTUSE.
40567 * socket/connect.c: Add libc_hidden_def.
40568 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40569 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40570 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40571 alias.
40572 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40573 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40574 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40575 of adding _internal alias.
40576
13764867
L
405772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40578
40579 [BZ #14117]
6bd97696
L
40580 * sysdeps/i386/bits/link.h: Removed.
40581 * sysdeps/i386/bits/linkmap.h: Likewise.
40582 * sysdeps/x86_64/bits/link.h: Renamed to ...
40583 * sysdeps/x86/bits/link.h: This.
40584 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40585 * sysdeps/x86/bits/linkmap.h: This.
40586
f726f0bb
L
40587 * sysdeps/i386/bits/endian.h: Removed.
40588 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40589 * sysdeps/x86/bits/endian.h: This.
40590
13764867
L
40591 * sysdeps/i386/bits/byteswap.h: Removed.
40592 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40593 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40594 * sysdeps/x86/bits/byteswap.h: This.
40595 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40596 * sysdeps/x86/bits/byteswap-16.h: This.
40597 * sysdeps/i386/Implies: Add x86.
40598 * sysdeps/x86_64/Implies: Likewise.
40599
ae251b0b
DM
406002012-05-30 David S. Miller <davem@davemloft.net>
40601
40602 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40603 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40604 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40605 (FP_TRAPPING_EXCEPTIONS): Define.
40606 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40607 (FP_TRAPPING_EXCEPTIONS): Define.
40608 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40609 subnormals only when inexact has been signalled or underflow
40610 exceptions are enabled.
40611 (_FP_PACK_CANONICAL): Likewise.
40612
d5c90867
L
406132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40614
40615 [BZ #14183]
40616 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40617 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40618
63f1549e
RH
406192012-05-30 Richard Henderson <rth@twiddle.net>
40620
8d8f2279
RH
40621 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40622 with #ifndef NOT_IN_libc.
40623
63f1549e
RH
40624 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40625 marked to avoid plt entry.
40626
0ab0291b
L
406272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40628
40629 [BZ #14112]
40630 * Makeconfig (default-abi): New macro.
40631 (abi-includes): Likewise.
40632 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40633 $(abi-$(default-abi)-lib-soname) for soname if defined.
40634 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40635 abi-variants.
40636 * Makefile (installed-stubs): Likewise.
40637 * include/stubs-biarch.h: Removed.
40638 * scripts/lib-names.awk: Only handle one library at a time.
40639 * scripts/soversions.awk: Remove WORDSIZE support.
40640 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40641 entries.
40642 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40643 Removed.
40644 (syscall-list-default-condition): Likewise.
40645 (syscall-list-default-condition): Likewise.
40646 (syscall-list-includes): Likewise.
40647 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40648 syscall-list-* with abi-*. Handle undefined abi-variants.
40649 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40650 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40651 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40652 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40653 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40654 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40655 Removed.
40656 (syscall-list-32-options): Likewise.
40657 (syscall-list-32-condition): Likewise.
40658 (syscall-list-64-options): Likewise.
40659 (syscall-list-64-condition): Likewise.
40660 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40661 macro.
40662 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40663 Renamed to ...
40664 (abi-*): This.
40665 (abi-64-ld-soname): New macro.
40666 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40667 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40668 Renamed to ...
40669 (abi-*): This.
40670 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40671 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40672
4da0431d
JM
406732012-05-30 Joseph Myers <joseph@codesourcery.com>
40674
3a85279c
JM
40675 * sysdeps/unix/sysv/linux/kernel-features.h
40676 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40677 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40678 include <kernel-features.h>.
40679 [!__NR_ftruncate64]: Remove conditional code.
40680 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40681 [__NR_ftruncate64]: Make code unconditional.
40682 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40683 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40684 include <kernel-features.h>.
40685 [!__NR_ftruncate64]: Remove conditional code.
40686 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40687 [__NR_ftruncate64]: Make code unconditional.
40688 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40690 include <kernel-features.h>.
40691 [!__NR_ftruncate64]: Remove conditional code.
40692 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40693 [__NR_ftruncate64]: Make code unconditional.
40694 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40696 include <kernel-features.h>.
40697 [!__NR_ftruncate64]: Remove conditional code.
40698 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40699 [__NR_ftruncate64]: Make code unconditional.
40700 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40701
4da0431d
JM
40702 * configure.in (libc_cv_fpie): Weaken to a compile test using
40703 LIBC_TRY_CC_OPTION.
40704 * configure: Regenerated.
40705
11ef492c
AK
407062012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40707
40708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40712 Refreshed.
40713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40719 Refreshed.
40720
d66ef399
DM
407212012-05-27 David S. Miller <davem@davemloft.net>
40722
40723 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40724 (___Q_zero): New.
40725 (__Q_simulate_exceptions): Return void. Change to simulate
40726 exceptions by writing into the %fsr.
40727 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40728 (__Qp_handle_exceptions): Likewise.
40729 (numbers): Delete.
40730 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40731 __Qp_handle_exceptions.
40732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40733 __Qp_handle_exceptions.
40734 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40735 as unused and give dummy FP_RND_NEAREST initializer.
40736 (FP_INHIBIT_RESULTS): Define.
40737 (___Q_simulate_exceptions): Update declaration.
40738 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40739 formatting.
40740 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40741 as unused and give dummy FP_RND_NEAREST initializer.
40742 (__Qp_handle_exceptions): Update declaration.
40743 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40744 formatting.
40745
04fb54b5
TS
407462012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40747
40748 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40749 the temporary FPU control word.
40750 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40751 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40752 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40753 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40754 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40755 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40756 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40757 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40758 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40759 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40760 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40761
3f99608f
KK
407622012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40763
40764 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40765 fields.
40766
65a4de4e
CLT
407672012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40768
40769 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40770 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40771 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40772 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40773 Likewise.
40774 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40775 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40776 Likewise.
40777
15749d40
UD
407782012-05-27 Ulrich Drepper <drepper@gmail.com>
40779
40780 * po/h.po: Update from translation team.
40781
25dbcb27
AS
407822012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40783
3d3f8e55
AS
40784 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40785
25dbcb27
AS
40786 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40787 handling of denormals.
40788 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40789 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40790 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40791 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40792 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40793 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40794 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40795 Likewise.
40796
7ad47a80 407972012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
40798
40799 [BZ #14152]
40800 * math/libm-test.inc (fma_test): Don't always expect underflow
40801 exception.
40802
9c6ea9fa
SP
408032012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40804
40805 [BZ #12416]
40806 * elf/tst-execstack.c: Include stackinfo.h.
40807 (do_test): Adjust test case to ensure that pthread_getattr_np
40808 behaviour remains the same after marking stack executable.
40809
a8239222
JM
408102012-05-25 Joseph Myers <joseph@codesourcery.com>
40811
40812 * sysdeps/unix/sysv/linux/kernel-features.h
40813 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40814 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40815 kernel-features.h.
40816 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40817 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40818 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40819 kernel-features.h.
40820 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40821 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40822
918b5606
L
408232012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40824
40825 * configure.in: Define the default includes to being none.
40826 * configure: Regenerated.
40827
3a097cc7
RM
408282012-05-25 Roland McGrath <roland@hack.frob.com>
40829
8422c9a5
RM
40830 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40831 * sysdeps/x86_64/setjmp.S: Likewise.
40832 * sysdeps/i386/bsd-setjmp.S: Likewise.
40833 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40834 * sysdeps/i386/setjmp.S: Likewise.
40835 * sysdeps/i386/__longjmp.S: Likewise.
40836 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40837 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40838
3a097cc7
RM
40839 * include/stap-probe.h: New file.
40840 * configure.in: Handle --enable-systemtap.
40841 * configure: Regenerated.
40842 * config.h.in (USE_STAP_PROBE): New #undef.
40843 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40844 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40845 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40846
21708942
JM
408472012-05-25 Joseph Myers <joseph@codesourcery.com>
40848
40849 [BZ #13717]
40850 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40851 to 2.4.0 where earlier.
40852 * sysdeps/unix/sysv/linux/configure: Regenerated.
40853 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40854 <kernel-features.h>.
40855 [__ASSUME_32BITUIDS]: Make code unconditional.
40856 [!__ASSUME_32BITUIDS]: Remove conditional code.
40857 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40858 <kernel-features.h>.
40859 [__ASSUME_32BITUIDS]: Make code unconditional.
40860 [!__ASSUME_32BITUIDS]: Remove conditional code.
40861 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40862 [__ASSUME_32BITUIDS]: Make code unconditional.
40863 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40864 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40865 <kernel-features.h>.
40866 [__ASSUME_32BITUIDS]: Make code unconditional.
40867 [!__ASSUME_32BITUIDS]: Remove conditional code.
40868 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40869 <kernel-features.h>.
40870 [__ASSUME_32BITUIDS]: Make code unconditional.
40871 [!__ASSUME_32BITUIDS]: Remove conditional code.
40872 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40873 <kernel-features.h>.
40874 [__ASSUME_32BITUIDS]: Make code unconditional.
40875 [!__ASSUME_32BITUIDS]: Remove conditional code.
40876 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40877 <kernel-features.h>.
40878 [__ASSUME_32BITUIDS]: Make code unconditional.
40879 [!__ASSUME_32BITUIDS]: Remove conditional code.
40880 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40881 <kernel-features.h>.
40882 [__ASSUME_32BITUIDS]: Make code unconditional.
40883 [!__ASSUME_32BITUIDS]: Remove conditional code.
40884 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40885 <kernel-features.h>.
40886 [__ASSUME_32BITUIDS]: Make code unconditional.
40887 [!__ASSUME_32BITUIDS]: Remove conditional code.
40888 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40889 <kernel-features.h>.
40890 [__ASSUME_32BITUIDS]: Make code unconditional.
40891 [!__ASSUME_32BITUIDS]: Remove conditional code.
40892 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40893 <kernel-features.h>.
40894 [__ASSUME_32BITUIDS]: Make code unconditional.
40895 [!__ASSUME_32BITUIDS]: Remove conditional code.
40896 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40897 <kernel-features.h>.
40898 [__ASSUME_32BITUIDS]: Make code unconditional.
40899 [!__ASSUME_32BITUIDS]: Remove conditional code.
40900 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40901 <kernel-features.h>.
40902 [__ASSUME_32BITUIDS]: Make code unconditional.
40903 [!__ASSUME_32BITUIDS]: Remove conditional code.
40904 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40905 <kernel-features.h>.
40906 [__NR_setresgid] (__setresgid): Do not declare.
40907 [__ASSUME_32BITUIDS]: Make code unconditional.
40908 [!__ASSUME_32BITUIDS]: Remove conditional code.
40909 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40910 <kernel-features.h>.
40911 [__NR_setresuid] (__setresuid): Do not declare.
40912 [__ASSUME_32BITUIDS]: Make code unconditional.
40913 [!__ASSUME_32BITUIDS]: Remove conditional code.
40914 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40915 <kernel-features.h>.
40916 [__ASSUME_32BITUIDS]: Make code unconditional.
40917 [!__ASSUME_32BITUIDS]: Remove conditional code.
40918 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40919 <kernel-features.h>.
40920 [__ASSUME_32BITUIDS]: Make code unconditional.
40921 [!__ASSUME_32BITUIDS]: Remove conditional code.
40922 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40923 <kernel-features.h>.
40924 [__ASSUME_32BITUIDS]: Make code unconditional.
40925 [!__ASSUME_32BITUIDS]: Remove conditional code.
40926 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40927 <kernel-features.h>.
40928 [__ASSUME_32BITUIDS]: Make code unconditional.
40929 [!__ASSUME_32BITUIDS]: Remove conditional code.
40930 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40931 <kernel-features.h>.
40932 [__ASSUME_32BITUIDS]: Make code unconditional.
40933 [!__ASSUME_32BITUIDS]: Remove conditional code.
40934 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40935 <kernel-features.h>.
40936 [__ASSUME_32BITUIDS]: Make code unconditional.
40937 [!__ASSUME_32BITUIDS]: Remove conditional code.
40938 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40939 <kernel-features.h>.
40940 [__ASSUME_32BITUIDS]: Make code unconditional.
40941 [!__ASSUME_32BITUIDS]: Remove conditional code.
40942 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40943 <kernel-features.h>.
40944 [__ASSUME_32BITUIDS]: Make code unconditional.
40945 [!__ASSUME_32BITUIDS]: Remove conditional code.
40946 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40947 <kernel-features.h>.
40948 [__ASSUME_32BITUIDS]: Make code unconditional.
40949 [!__ASSUME_32BITUIDS]: Remove conditional code.
40950 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40951 <kernel-features.h>.
40952 [__ASSUME_32BITUIDS]: Make code unconditional.
40953 [!__ASSUME_32BITUIDS]: Remove conditional code.
40954 * sysdeps/unix/sysv/linux/kernel-features.h
40955 (__ASSUME_SETRESUID_SYSCALL): Remove.
40956 (__ASSUME_SETRESGID_SYSCALL): Likewise.
40957 (__ASSUME_32BITUIDS): Likewise.
40958 (__ASSUME_LDT_WORKS): Likewise.
40959 (__ASSUME_O_DIRECTORY): Likewise.
40960 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40961 architecture but not kernel version.
40962 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40963 (__ASSUME_MMAP2_SYSCALL): Likewise.
40964 (__ASSUME_STAT64_SYSCALL): Likewise.
40965 (__ASSUME_IPC64): Likewise.
40966 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40967 <kernel-features.h>.
40968 [__ASSUME_32BITUIDS]: Make code unconditional.
40969 [!__ASSUME_32BITUIDS]: Remove conditional code.
40970 * sysdeps/unix/sysv/linux/opendir.c: Do not include
40971 <kernel-features.h>.
40972 [__ASSUME_O_DIRECTORY]: Make code unconditional.
40973 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40974 132096]: Remove conditional code.
40975 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40976 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40977 <kernel-features.h>.
40978 [__ASSUME_32BITUIDS]: Make code unconditional.
40979 [!__ASSUME_32BITUIDS]: Remove conditional code.
40980 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40981 <kernel-features.h>.
40982 [__ASSUME_32BITUIDS]: Make code unconditional.
40983 [!__ASSUME_32BITUIDS]: Remove conditional code.
40984 * sysdeps/unix/sysv/linux/setegid.c: Do not include
40985 <kernel-features.h>.
40986 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40987 unconditional.
40988 (__setresgid): Do not declare.
40989 [__ASSUME_32BITUIDS]: Make code unconditional.
40990 [!__ASSUME_32BITUIDS]: Remove conditional code.
40991 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40992 <kernel-features.h>.
40993 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40994 unconditional.
40995 (__setresuid): Do not declare.
40996 [__ASSUME_32BITUIDS]: Make code unconditional.
40997 [!__ASSUME_32BITUIDS]: Remove conditional code.
40998 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40999 <kernel-features.h>.
41000 [__ASSUME_32BITUIDS]: Make code unconditional.
41001 [!__ASSUME_32BITUIDS]: Remove conditional code.
41002 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41003 <kernel-features.h>.
41004 [__ASSUME_32BITUIDS]: Make code unconditional.
41005 [!__ASSUME_32BITUIDS]: Remove conditional code.
41006
a386f1cc
RH
410072012-05-25 Richard Henderson <rth@twiddle.net>
41008
41009 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41010 dl_hwcap to ifunc resolver.
41011 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41012 elf_ifunc_invoke.
41013 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41014 dl_hwcap to ifunc resolver.
41015 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41016
b6550497
JM
410172012-05-24 Joseph Myers <joseph@codesourcery.com>
41018
41019 [BZ #14153]
41020 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41021 for |x| <= 2**-26, not 2**-57.
41022 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41023 exception.
41024
b0bc23a1
JL
410252012-05-24 Jeff Law <law@redhat.com>
41026
41027 * stdio-common/Makefile (tests): Add bug25.
41028 * stdio-common/bug25.c: New test.
41029
347c92e9
L
410302012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41031
41032 [BZ #13576]
41033 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41034 multiple of MALLOC_ALIGNMENT in size.
41035 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41036
6bcc8b3f
JM
410372012-05-24 Joseph Myers <joseph@codesourcery.com>
41038
41039 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41040 Require >= 256.
41041 (FILENAME_MAX): Use macro-int-constant.
41042 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41043 (_IOFBF): Use macro-int-constant.
41044 (_IOLBF): Likewise.
41045 (_IONBF): Likewise.
41046 (SEEK_CUR): Likewise.
41047 (SEEK_END): Likewise.
41048 (SEEK_SET): Likewise.
41049 (TMP_MAX): Likewise.
41050 (EOF): Use macro-int-constant. Require < 0.
41051 (NULL): Use macro-constant. Require == 0.
41052 (stdin): Require type to be FILE *.
41053 (stdout): Likewise.
41054 (stderr): Likewise.
41055 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41056 macro-int-constant.
41057 (EXIT_SUCCESS): Likewise.
41058 (NULL): Use macro-constant. Require == 0.
41059 (RAND_MAX): Use macro-int-constant.
41060 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41061 [C99-based standards] (strtof): Require function.
41062 [C99-based standards] (strtold): Likewise.
41063 [C99-based standards] (strtoll): Likewise.
41064 [C99-based standards] (strtoull): Likewise.
41065 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41066 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41067 [ISO || ISO99 || ISO11] (math.h): Likewise.
41068 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41069 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41070 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41071
d18ea0c5
AS
410722012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41073
41074 [BZ #14132]
56d25bb8
AS
41075 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41076 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41077 * intl/dgettext.c (DCGETTEXT): Likewise.
41078 * intl/gettext.c (DCGETTEXT): Likewise.
41079 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41080 * posix/regex_internal.h (gettext): Likewise.
41081 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41082 Remove declaration.
41083 * include/argz.h (__argz_count_internal)
41084 (__argz_stringify_internal): Remove declaration.
41085 (__argz_count, __argz_stringify): Declare hidden proto.
41086 * intl/dcgettext.c: Remove use of INTDEF.
41087 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41088 * string/argz-stringify.c: Likewise.
41089 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41090 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41091 Declare hidden proto.
d18ea0c5
AS
41092 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41093 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41094 Declare hidden proto.
41095 * include/stdio.h (__asprintf_internal): Don't declare.
41096 (__asprintf): Don't define as macro. Declare hidden proto.
41097 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41098 (__fsetlocking): Declare hidden proto.
41099 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41100 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41101 hidden proto.
41102 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41103 (_IO_setlinebuf): Remove use of INTUSE.
41104 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41105 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41106 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41107 Remove declaration.
41108 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41109 (_IO_do_flush): Remove use of INTUSE.
41110 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41111 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41112 (_IO_adjust_column, _IO_least_wmarker)
41113 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41114 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41115 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41116 (_IO_default_doallocate, _IO_wdefault_doallocate)
41117 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41118 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41119 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41120 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41121 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41122 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41123 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41124 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41125 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41126 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41127 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41128 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41129 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41130 proto.
41131 (_IO_flush_all_internal, _IO_adjust_column_internal)
41132 (_IO_default_uflow_internal, _IO_default_finish_internal)
41133 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41134 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41135 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41136 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41137 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41138 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41139 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41140 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41141 (_IO_file_close_internal, _IO_file_close_it_internal)
41142 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41143 (_IO_file_init_internal, _IO_file_attach_internal)
41144 (_IO_file_fopen_internal, _IO_file_read_internal)
41145 (_IO_file_sync_internal, _IO_file_seek_internal)
41146 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41147 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41148 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41149 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41150 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41151 (_IO_list_all_internal, _IO_link_in_internal)
41152 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41153 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41154 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41155 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41156 (_IO_do_write_internal, _IO_padn_internal)
41157 (_IO_getline_info_internal, _IO_getline_internal)
41158 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41159 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41160 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41161 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41162 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41163 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41164 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41165 with libc_hidden_ver, remove use of INTUSE.
41166 * libio/genops.c: Likewise.
41167 * libio/freopen.c: Likewise.
41168 * libio/freopen64.c: Likewise.
41169 * libio/iofclose.c: Likewise.
41170 * libio/iofdopen.c: Likewise.
41171 * libio/iofflush.c: Likewise.
41172 * libio/iofflush_u.c: Likewise.
41173 * libio/iofgets.c: Likewise.
41174 * libio/iofgets_u.c: Likewise.
41175 * libio/iofopen.c: Likewise.
41176 * libio/iofopncook.c: Likewise.
41177 * libio/iofread.c: Likewise.
41178 * libio/iofread_u.c: Likewise.
41179 * libio/ioftell.c: Likewise.
41180 * libio/iofwrite.c: Likewise.
41181 * libio/iogetline.c: Likewise.
41182 * libio/iogets.c: Likewise.
41183 * libio/iogetwline.c: Likewise.
41184 * libio/iopadn.c: Likewise.
41185 * libio/iopopen.c: Likewise.
41186 * libio/ioseekoff.c: Likewise.
41187 * libio/ioseekpos.c: Likewise.
41188 * libio/iosetbuffer.c: Likewise.
41189 * libio/iosetvbuf.c: Likewise.
41190 * libio/ioungetc.c: Likewise.
41191 * libio/ioungetwc.c: Likewise.
41192 * libio/iovdprintf.c: Likewise.
41193 * libio/iovsprintf.c: Likewise.
41194 * libio/iovsscanf.c: Likewise.
41195 * libio/memstream.c: Likewise.
41196 * libio/obprintf.c: Likewise.
41197 * libio/oldfileops.c: Likewise.
41198 * libio/oldiofclose.c: Likewise.
41199 * libio/oldiofdopen.c: Likewise.
41200 * libio/oldiofopen.c: Likewise.
41201 * libio/oldiopopen.c: Likewise.
41202 * libio/oldstdfiles.c: Likewise.
41203 * libio/putc.c: Likewise.
41204 * libio/setbuf.c: Likewise.
41205 * libio/setlinebuf.c: Likewise.
41206 * libio/stdfiles.c: Likewise.
41207 * libio/strops.c: Likewise.
41208 * libio/vasprintf.c: Likewise.
41209 * libio/vscanf.c: Likewise.
41210 * libio/vsnprintf.c: Likewise.
41211 * libio/vswprintf.c: Likewise.
41212 * libio/wfiledoalloc.c: Likewise.
41213 * libio/wfileops.c: Likewise.
41214 * libio/wgenops.c: Likewise.
41215 * libio/wmemstream.c: Likewise.
41216 * libio/wstrops.c: Likewise.
41217 * libio/__fpurge.c: Likewise.
41218 * libio/__fsetlocking.c: Likewise.
41219 * assert/assert.c: Likewise.
41220 * debug/fgets_chk.c: Likewise.
41221 * debug/fgets_u_chk.c: Likewise.
41222 * debug/fread_chk.c: Likewise.
41223 * debug/fread_u_chk.c: Likewise.
41224 * debug/gets_chk.c: Likewise.
41225 * debug/obprintf_chk.c: Likewise.
41226 * debug/vasprintf_chk.c: Likewise.
41227 * debug/vdprintf_chk.c: Likewise.
41228 * debug/vsnprintf_chk.c: Likewise.
41229 * debug/vsprintf_chk.c: Likewise.
41230 * malloc/mtrace.c: Likewise.
41231 * misc/error.c: Likewise.
41232 * misc/syslog.c: Likewise.
41233 * stdio-common/asprintf.c: Likewise.
41234 * stdio-common/fxprintf.c: Likewise.
41235 * stdio-common/getw.c: Likewise.
41236 * stdio-common/isoc99_fscanf.c: Likewise.
41237 * stdio-common/isoc99_scanf.c: Likewise.
41238 * stdio-common/isoc99_vfscanf.c: Likewise.
41239 * stdio-common/isoc99_vscanf.c: Likewise.
41240 * stdio-common/isoc99_vsscanf.c: Likewise.
41241 * stdio-common/printf-prs.c: Likewise.
41242 * stdio-common/printf_fp.c: Likewise.
41243 * stdio-common/printf_fphex.c: Likewise.
41244 * stdio-common/printf_size.c: Likewise.
41245 * stdio-common/putw.c: Likewise.
41246 * stdio-common/scanf.c: Likewise.
41247 * stdio-common/sprintf.c: Likewise.
41248 * stdio-common/tmpfile.c: Likewise.
41249 * stdio-common/vfprintf.c: Likewise.
41250 * stdio-common/vfscanf.c: Likewise.
41251 * stdlib/strfmon_l.c: Likewise.
41252 * sunrpc/openchild.c: Likewise.
41253 * sunrpc/xdr_stdio.c: Likewise.
41254 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41255 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41256
d6c33fda
RM
412572012-05-24 Roland McGrath <roland@hack.frob.com>
41258
c1487492
RM
41259 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41260
41261 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41262 in the third column, to generate for the shared library an IFUNC
41263 that uses _dl_vdso_vsym.
41264 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41265 * Makeconfig (object-suffixes-noshared): New variable.
41266
41267 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41268 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41269 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41270 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41271
d6c33fda
RM
41272 [BZ #14132]
41273 * include/sys/time.h (__gettimeofday): Remove macro.
41274 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41275 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41276 Remove INTDEF.
41277 (__gettimeofday): Add libc_hidden_def.
41278 (gettimeofday): Add libc_hidden_weak.
41279 * sysdeps/mach/gettimeofday.c: Likewise.
41280 * sysdeps/posix/gettimeofday.c: Likewise.
41281 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41282 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41283 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41284 (__gettimeofday_internal): Remove strong_alias.
41285 (__gettimeofday): Add libc_hidden_def.
41286 (gettimeofday): Add libc_hidden_weak.
41287 * sysdeps/unix/syscalls.list (gettimeofday):
41288 Remove __gettimeofday_internal alias.
41289
b5a2bbe6
L
412902012-05-24 Daniel Jacobowitz <drow@false.org>
41291 H.J. Lu <hongjiu.lu@intel.com>
41292
41293 [BZ #12495]
41294 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41295 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41296 (largebin_index_32_big): New.
41297 (largebin_index): Use it for 16-byte alignment.
41298 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41299 correction with front_misalign.
41300
cfba4fda
L
413012012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41302
7f907421
L
41303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41305 Likewise.
41306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41307 Likewise.
41308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41309 Likewise.
41310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41311 Likewise.
41312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41313 Likewise.
41314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41315 Likewise.
41316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41317 Likewise.
41318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41319 Likewise.
41320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41321 Likewise.
41322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41323 Likewise.
41324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41325 Likewise.
41326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41327 Likewise.
41328
cfba4fda
L
41329 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41330 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41331
80bad0cc
JM
413322012-05-24 Joseph Myers <joseph@codesourcery.com>
41333
7a25eb06
JM
41334 [BZ #10846]
41335 [BZ #14036]
41336 * math/libm-test.inc (exp_test): Add test from bug 14036.
41337 (pow_test): Add test from bug 10846.
41338
795405f9
JM
41339 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41340 and other flags.
41341 (special_function): Do not include flags in test name.
41342 (parse_args): Likewise.
41343 * sysdeps/i386/fpu/libm-test-ulps: Update.
41344 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41345 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41346 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41348
80bad0cc
JM
41349 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41350 exceptions.
41351 * math/libm-test.inc ("Philosophy"): Update comment about
41352 exception testing.
41353 (UNDERFLOW_EXCEPTION): New macro.
41354 (UNDERFLOW_EXCEPTION_OK): Likewise.
41355 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41356 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41357 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41358 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41359 (INVALID_EXCEPTION_OK): Update value.
41360 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41361 (OVERFLOW_EXCEPTION_OK): Likewise.
41362 (IGNORE_ZERO_INF_SIGN): Likewise.
41363 (test_exceptions): Handle underflow exceptions.
41364 (acos_test): Update for underflow exception expectations.
41365 (cexp_test): Likewise.
41366 (clog_test): Likewise.
41367 (clog10_test): Likewise.
41368 (csqrt_test): Likewise.
41369 (ctan_test): Likewise.
41370 (ctanh_test): Likewise.
41371 (exp_test): Likewise.
41372 (exp10_test): Likewise.
41373 (exp2_test): Likewise.
41374 (expm1_test): Likewise.
41375 (fma_test): Likewise.
41376 (j0_test): Likewise.
41377 (jn_test): Likewise.
41378 (nexttoward_test): Likewise.
41379 (pow_test): Likewise.
41380 (scalbn_test): Likewise.
41381 (scalbln_test): Likewise.
41382 (tan_test): Likewise.
41383 (y1_test): Likewise.
41384 * sysdeps/i386/fpu/libm-test-ulps: Update.
41385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41386
9e0e3d0b
DM
413872012-05-23 David S. Miller <davem@davemloft.net>
41388
41389 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41390 (__libc_sigaction): Remove unused local variables.
41391
ccd0a08f
L
413922012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41393
41394 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41395
62bdf9a6
PE
413962012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41397
f8591f80
PE
41398 mktime: avoid signed integer overflow
41399 * time/mktime.c (__mktime_internal): Do not mishandle the case
41400 where diff == INT_MIN.
41401
94c7d826
PE
41402 mktime: simplify computation of average
41403 * time/mktime.c (ranged_convert): Use new time_t_avg function
41404 instead of rolling our own (probably-slower) code.
41405
ce73d683
PE
41406 mktime: do not assume signed right shift propagates sign bit
41407 * time/mktime.c (isdst_differ): New static function.
41408 (__mktime_internal): No need to normalize tm_isdst now.
41409 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41410 tm_isdst values.
41411
72a22e59
PE
41412 mktime: merge another wrapv change from gnulib
41413 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41414 from some compilers.
41415
68605433
PE
41416 mktime: remove incorrect attempt at unusual arithmetics
41417 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41418 The code didn't really work on such machines anyway.
41419 (TYPE_MINIMUM): Assume two's complement.
41420 (twos_complement_arithmetic): Verify that long_int and time_t
41421 are two's complement (or unsigned, in the latter case).
41422
03cf7fe3
PE
41423 mktime: check signed shifts on long_int and time_t, too
41424 * time/mktime.c (SHR): Check that shifts work as desired
41425 on the types long_int and time_t too, as SHR is used on
41426 such types.
41427
f04dfbc2
PE
41428 mktime: do not assume 'long' is wide enough
41429 * time/mktime.c (verify): Move decl up.
41430 (long_int): New type.
41431 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41432 to remove assumption in the code that 'long' is wide enough to
41433 store year values. This assumption is not true on x32 and on
41434 some non-glibc platforms.
41435
62bdf9a6
PE
41436 mktime: merge wrapv change from gnulib
41437 * time/mktime.c (WRAPV): New macro.
41438 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41439 (guess_time_tm, __mktime_internal): Do not assume that signed
41440 integer overflow wraps around; modern compilers generate code
41441 where this assumption is no longer valid.
41442
5e292e4f
L
414432012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41444
41445 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41446 Replace "jmp L(pseudo_end)" with "ret".
41447 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41448 Likewise.
41449
8caf8c87
AJ
414502012-05-23 Andreas Jaeger <aj@suse.de>
41451
41452 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41453 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41454
1a09dc56
AJ
414552012-05-23 Andreas Jaeger <aj@suse.de>
41456 Maximilian Attems <max@stro.at>
41457
41458 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41459 New macros.
41460
1c87aba0
L
414612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41462
41463 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41464 code so that pseudo_end is just ret and the stack pointer is
41465 correct also for static library in error case.
41466
40e45bd5
JM
414672012-05-23 Joseph Myers <joseph@codesourcery.com>
41468
c2670533
JM
41469 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41470 move to syscalls.list.
41471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41475
40e45bd5
JM
41476 * manual/install.texi (Running make install): Do not mention Linux
41477 kernel version for which pt_chown is not needed.
41478 (Linux): Do not mention problems with nscd with 2.0 kernels.
41479 * INSTALL: Regenerated.
41480
be08eda5
AJ
414812012-05-23 Andreas Jaeger <aj@suse.de>
41482
41483 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41484 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41485 macro.
41486 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41487 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41488 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41489 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41490 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41491 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41492 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41493 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41494 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41495 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41496 * sysdeps/unix/sysv/linux/bits/in.h
41497 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41498
a6a056bb
RM
414992012-05-22 Roland McGrath <roland@hack.frob.com>
41500
41501 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41502 (PREPARE_VERSION): Just use assert instead, it will be elided
41503 under [NDEBUG] anyway.
41504
c9009328
L
415052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41506
41507 * sysdeps/unix/sysv/linux/Makefile: Include
41508 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 41509 (sysdep_routines): Remove sysctl.
c9009328
L
41510 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41511 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41512 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41513 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41514 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41515
73338355
AJ
415162012-05-22 Andreas Jaeger <aj@suse.de>
41517
41518 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41519 that pseudo_end is just ret and the stack pointer is correct also
41520 for static library in error case.
41521
d44638b0
PP
415222012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41523
41524 [BZ #14122]
41525 * nss/nsswitch.c (defconfig_entries): New variable.
41526 (__nss_database_lookup): Don't leak defconfig entries.
41527 (nss_parse_service_list): Don't leak on error paths.
41528 (free_database_entries): New function.
41529 (free_defconfig): New function.
41530 (free_mem): Move common code to free_database_entries.
41531
31a39bd8
L
415322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41533
da0331a8
L
41534 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41535 Add arch_prctl.
41536 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41537
31a39bd8
L
41538 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41539 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41540 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41541 New macro.
41542 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41543 (INTERNAL_SYSCALL_TYPES): Likewise.
41544 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41545 (LOAD_REGS_TYPES_[1-6]): Likewise.
41546 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41547 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41548
45470df3
AZ
415492012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41550
41551 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41552 copysignl for GLIBC_2_0.
41553 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41554 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41555 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41556 logbl for GLIBC_2_0.
41557 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41558 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41559
98a61bcb
L
415602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41561
a4f6e481
L
41562 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41563 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41564
f63d5db6
L
41565 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41566 Use "neg %eax".
41567
98a61bcb
L
41568 * time/mktime.c: Update copyright years.
41569
95770f14
PE
415702012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41571
6226efbd
PE
41572 mktime: merge comment-quoting-style change from gnulib
41573 * time/mktime.c: Quote 'like this' in comments.
41574 The GNU coding standards suggest that we no longer quote `like this',
41575 as "`" and "'" are typically rendered asymmetrically nowadays.
41576 The typical gnulib style is to quote 'like this' when quoting
41577 code, and "like this" when quoting English.
41578
b99e4f78
PE
41579 * time/mktime.c (compile-command): Add "-I.".
41580
643e01e6
PE
41581 mktime: merge mktime-internal.h change from gnulib
41582 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41583
2554247d
PE
41584 mktime: merge time_r change from gnulib
41585 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41586
826dd0ab
PE
41587 mktime: merge DEBUG change from gnulib
41588 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41589 case system <time.h> has a #define.
41590
bd83aabe
PE
41591 mktime: merge <sys/types.h> change from gnulib
41592 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41593 since <time.t> is now guaranteed to define time_t.
41594
95770f14
PE
41595 mktime: merge HAVE_CONFIG_H change from gnulib
41596 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41597
5e1a27a9
L
415982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41599
0e44a77e
L
41600 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41601 Use "neg %eax".
41602
5e1a27a9
L
41603 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41604 __rlim_t cast.
41605 (struct rusage): Use anonymous union to pad each field to
41606 __syscall_slong_t.
41607
46259bec
DM
416082012-05-21 David S. Miller <davem@davemloft.net>
41609
41610 * Makefules (o-iterator): Remove .s cases.
41611 (compile-command.s): Delete.
41612 (COMPILE.s): Delete.
41613 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41614
59f0c22e
JM
416152012-05-21 Joseph Myers <joseph@codesourcery.com>
41616
41617 * configure.in (libc_cv_predef_stack_protector): Only consider
41618 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41619 * configure: Regenerated.
41620
20c07380
L
416212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41622
bbb3154b
L
41623 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41624 New macro. Use R*LP on int and pointer.
41625 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
41626 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41627 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
41628 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41629
20c07380
L
41630 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41631 [__WORDSIZE_TIME64_COMPAT32] instead of
41632 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41633 (struct utmp): Likewise.
41634 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41635 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41636 Renamed to ...
41637 (__WORDSIZE_TIME64_COMPAT32): This.
41638 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41639 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41640 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41641 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41642 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41643 (__WORDSIZE_TIME64_COMPAT32): New macro.
41644
d8d1017e
AJ
416452012-05-21 Andreas Jaeger <aj@suse.de>
41646
41647 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41648 only if [SHARED]. Add prototype for __wcschr_ia32.
41649
6c7fb145
RM
416502012-05-21 Roland McGrath <roland@hack.frob.com>
41651
41652 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41653 of %rbp unmolested in the jmp_buf while mangling the low bits.
41654 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41655 unmolested high bits of %rbp while demangling the low bits.
41656 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41657
66274218
AJ
416582012-05-21 Andreas Jaeger <aj@suse.de>
41659
07c58f8f
AJ
41660 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41661 * sunrpc/svc_simple.c: Use it for registerrpc.
41662 * sunrpc/xcrypt.c: Use it for passwd2des.
41663
66274218
AJ
41664 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41665
61f65140
L
416662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41667
41668 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41669 Don't define if [__SYSCALL_WORDSIZE != 32].
41670 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41671 New macro.
41672
5fefb436
AJ
416732012-05-21 Bruno Haible <bruno@clisp.org>
41674 Andreas Jaeger <aj@suse.de>
41675
41676 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41677 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41678 inptr and inend for must_buffer_ch.
41679 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41680 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41681 * stdio-common/Makefile (tests): Remove bug15.
41682 (bug15-ENV): Remove macro.
41683 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41684 anymore.
41685
d8e272ab
AJ
416862012-05-19 Andreas Jaeger <aj@suse.de>
41687 Roland McGrath <roland@hack.frob.com>
41688
41689 * manual/contrib.texi: Completely rewritten. It contains now an
41690 alphabetical list of contributors and their contributions.
41691
4a56a162
RH
416922012-05-21 Richard Henderson <rth@twiddle.net>
41693
41694 * misc/getauxval.c (__getauxval): Use unsigned long int.
41695 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41696 (getauxval): Use unsigned long int.
41697
d024d23c
L
416982012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41699
41700 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41701
cbc00a03
RM
417022012-05-21 Roland McGrath <roland@hack.frob.com>
41703
41704 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41705 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41706 __alignof__ (long double).
41707
478143fa
AZ
417082012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41709
41710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41711
c7683a6d
RH
417122012-05-20 Richard Henderson <rth@twiddle.net>
41713
41714 * misc/getauxval.c: New file.
41715 * misc/sys/auxv.h: New file.
41716 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41717 (routines): Add getauxval.
41718 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41719 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41720 * elf/dl-sysdep.c (_dl_auxv): Remove.
41721 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41722 * elf/dl-support.c (_dl_auxv): New variable.
41723 (_dl_aux_init): Initialize it.
41724 * manual/startup.texi (Auxiliary Vector): New node.
41725 * sysdeps/generic/bits/hwcap.h: New file.
41726 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41727 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41728 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41729 * sysdeps/sparc/sysdep.h: ... here. Include it.
41730 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41731 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
41732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41733 Update.
c7683a6d
RH
41734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41737 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41742
a6f1845d
AZ
417432012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41744
41745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41746
cbcbe830
DM
417472012-05-19 David S. Miller <davem@davemloft.net>
41748
41749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41750
e0b16cc2
JM
417512012-05-19 Joseph Myers <joseph@codesourcery.com>
41752
41753 [BZ #14123]
41754 * math/s_ccosh.c: Include <float.h>
41755 (__ccosh): Avoid internal overflow calculating sinh and cosh
41756 values before multiplying by sin and cos values.
41757 * math/s_ccoshf.c: Likewise.
41758 * math/s_ccoshl.c: Likewise.
41759 * math/s_csin.c: Likewise.
41760 * math/s_csinf.c: Likewise.
41761 * math/s_csinl.c: Likewise.
41762 * math/s_csinh.c: Likewise.
41763 * math/s_csinhf.c: Likewise.
41764 * math/s_csinhl.c: Likewise.
41765 * math/libm-test.inc (ccos_test): Add more tests.
41766 (ccosh_test): Likewise.
41767 (csin_test): Likewise.
41768 (csinh_test): Likewise.
41769 * sysdeps/i386/fpu/libm-test-ulps: Update.
41770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41771
6ad13e08
L
417722012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41773
f66f0ce8
L
41774 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41775 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41776
6ad13e08
L
41777 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41778
b1d072a7
JM
417792012-05-19 Joseph Myers <joseph@codesourcery.com>
41780
41781 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41782 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41783 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41784 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41785 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41786 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41787 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41788 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41789 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41790 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41791 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41792 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41793 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41794 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41795 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41796 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41797 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41798 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41799 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41800 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41801 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41802 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41803 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41804 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41805 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41806 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41807 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41808 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41809 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41810 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41811 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41812
9eae47cb
AJ
418132012-05-18 Andreas Jaeger <aj@suse.de>
41814
41815 * csu/.gitignore: Delete.
41816
bb07f69f
L
418172012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41818
41819 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41820 (timex): Use __syscall_slong_t.
41821
e6bdb741
AJ
418222012-05-18 Andreas Jaeger <aj@suse.de>
41823 Carlos O'Donell <carlos_odonell@mentor.com>
41824
41825 * manual/install.texi (Configuring and compiling): Update
41826 description about files modified in the source directory.
d6c33fda 41827 * INSTALL: Regenerated.
e6bdb741 41828
1b74487e
L
418292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41830
41831 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41832 value. Use "or" to set return value to -1.
41833 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41834 negate return value.
41835
a88b64b9
TMQMF
418362012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41837
57f41c40
AS
41838 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41839 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
41840 failure if the compiler has Graphite support disabled.
41841 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41842 Likewise.
57f41c40
AS
41843 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41844 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
41845 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41846 Likewise.
41847
3707636e
L
418482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41849
610b8622
L
41850 * sysdeps/x86_64/x32/_itoa.h: New file.
41851
7cd195df
L
41852 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41853 getdents system call only if kernel and user dirents have the
41854 same d_ino and d_off.
41855
94b07d20
L
41856 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41857 LLONG_MAX != LONG_MAX.
41858 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41859 (_fitoa_word): Likewise.
41860
18298070
L
41861 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41862 years.
41863 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41864 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41865 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41866
553c7ea4
L
41867 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41868 include <bits/wordsize.h>. Check __x86_64__ instead of
41869 __WORDSIZE.
41870 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41871 if __x86_64__ is defined. Use anonymous union on fpstate.
41872
3707636e
L
41873 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41874 anonymous union.
41875
b53ef01a
AS
418762012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41877
37fb1dc0
AS
41878 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41879 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41880 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41881 Refer to _rtld_local_ro instead of _rtld_global_ro.
41882 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41883 Likewise.
41884 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41885 Likewise.
41886 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41887 Likewise.
41888 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41889 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41890 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41891
b53ef01a
AS
41892 * sysdeps/powerpc/powerpc32/dl-machine.c
41893 (__elf_machine_runtime_setup) [PROF]: Don't reference
41894 _dl_prof_resolve.
41895
7a185db2
AJ
418962012-05-18 Andreas Jaeger <aj@suse.de>
41897
41898 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41899 function only available for GCCs before 3.4 since GCC 3.4
41900 introduced a builtin.
41901 (lrint): Likewise.
41902 (llrintf): Likewise.
41903 (llrint): Likewise.
41904 (fmaxf): Likewise.
41905 (fmax): Likewise.
41906 (fminf): Likewise.
41907 (fmin): Likewise.
41908 (rint): Likewise.
41909 (rintf): Likewise.
41910 (nearbyint): Likewise.
41911 (nearbyintf): Likewise.
41912 (ceil): Likewise.
41913 (ceilf): Likewise.
41914 (floor): Likewise.
41915 (floorf): Likewise.
41916
3e5aef87
L
419172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41918
428bd707
L
41919 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41920 on both fields and cast pointer to __syscall_ulong_t.
41921
3e5aef87
L
41922 * bits/types.h (__fsword_t): New type.
41923 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41924 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41925 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41926 (__FSWORD_T_TYPE): Likewise.
41927 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41928 (__FSWORD_T_TYPE): Likewise.
41929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41930 (__FSWORD_T_TYPE): Likewise.
41931 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41932 (__FSWORD_T_TYPE): Likewise.
41933 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41934 __SWORD_TYPE with __fsword_t.
41935 (statfs64): Likewise.
41936
1ba7c3dc
DM
419372012-05-17 David S. Miller <davem@davemloft.net>
41938
41939 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41940
59910343
AJ
419412012-05-17 Andreas Jaeger <aj@suse.de>
41942
41943 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41944 warning.
41945
2e4c1e9e
L
419462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41947
41948 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41949
de7f5ce7
AJ
419502012-05-17 Andreas Jaeger <aj@suse.de>
41951
41952 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41953 when it is used.
41954
286abc3d
CM
419552012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41956
41957 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41958
477cc68e
L
419592012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41960
41961 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41962 * sysdeps/x86_64/tst-mallocalign1.c: New file.
41963
1a0994f5
CD
419642012-05-17 Andreas Jaeger <aj@suse.de>
41965 Carlos O'Donell <carlos_odonell@mentor.com>
41966
41967 [BZ #14059]
41968 * sysdeps/x86_64/multiarch/init-arch.h
41969 (bit_YMM_Usable): Rename to...
41970 (bit_AVX_Usable): ... this.
41971 (bit_FMA4_Usable): New macro.
41972 (bit_XMM_state): New macro.
41973 (bit_YMM_state): New macro.
41974 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41975 [__ASSEMBLER__] (index_AVX_Usable): ... this.
41976 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41977 (CPUID_OSXSAVE): New macro.
41978 (CPUID_AVX): New macro.
41979 (CPUID_FMA4): New macro.
41980 (index_YMM_Usable): Rename to...
41981 (index_AVX_Usable): ... this.
41982 (HAS_AVX): Use HAS_ARCH_FEATURE.
41983 (HAS_FMA4): Likewise.
41984 (HAS_YMM_USABLE): Remove.
41985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41986 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41987 are present.
41988 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41989 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41990 * sysdeps/x86_64/multiarch/Makefile: Likewise.
41991 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41992 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41993
0af797de
CM
419942012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41995
41996 * math/libm-test.c: Support platforms without multiple rounding modes.
41997 * math/bug-nextafter.c: Support platforms without FP exceptions.
41998 * math/bug-nexttoward.c: Likewise.
41999 * math/test-fenv.c: Likewise.
42000 * math/test-misc.c: Likewise.
42001 * stdlib/bug-getcontext.c: Likewise.
42002
e39745ff
AJ
420032012-05-17 Andreas Jaeger <aj@suse.de>
42004
42005 * manual/examples/search.c (critter_cmp): Change signature to
42006 avoid warnings.
42007 * manual/string.texi (Collation Functions): Likewise.
42008
48970aba
L
420092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42010
42011 * bits/types.h: Fold copyright years.
42012 * bits/typesizes.h: Likewise.
42013 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42014 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42015 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42016 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42017 * time/time.h: Likewise.
42018
bedee953
PP
420192012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42020
42021 [BZ #208]
42022 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42023 in instead of returning them. Return void.
42024 (__libc_mallinfo): Accumulate over all arenas.
42025 (__malloc_stats): Adjust for change in int_mallinfo interface.
42026
61653dfb
RM
420272012-05-16 Roland McGrath <roland@hack.frob.com>
42028
30b99d79
RM
42029 [BZ #10375]
42030 * configure.in (NM): Add AC_CHECK_TOOL for it.
42031 (libc_extra_cflags): New substituted variable.
42032 Check for -fstack-protector being used implicitly.
42033 * configure: Regenerated.
42034 * config.make.in (config-extra-cflags): New variable,
42035 gets @libc_extra_cflags@.
42036 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42037
61653dfb
RM
42038 [BZ #10375]
42039 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42040 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42041 * configure: Regenerated.
42042 * config.make.in (CPPUNDEFS): New substituted variable.
42043 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42044 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42045 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42046
661768bb
L
420472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42048
42049 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42050 (mq_attr): Use __syscall_slong_t.
42051
d4261567
L
420522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42053
42054 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42055 Check __x86_64__ instead of __WORDSIZE.
42056 (_STAT_VER_LINUX): Likewise.
42057 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42058 __syscall_ulong_t and __syscall_slong_t.
42059 (stat64): Likewise.
42060
cf3ff365
L
420612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42062
42063 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42064
76cf3e4d
L
420652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42066
42067 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42068
a637753a
L
420692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42070
42071 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42072 __syscall_ulong_t.
42073
d5e05119
L
42074 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42075 include <bits/wordsize.h>. Check __x86_64__ instead of
42076 __WORDSIZE.
42077 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42078 defined.
42079 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42080
f62ee380
L
42081 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42082 include <bits/wordsize.h>. Check __x86_64__ instead of
42083 __WORDSIZE.
42084 (user_regs_struct): Use "__extension__ unsigned long long"
42085 instead of "unsigned long" if __x86_64__ is defined.
42086 (user): Likewise. Pad after pointer field if __ILP32__ is
42087 defined.
42088
4e124ced
JM
420892012-05-16 Joseph Myers <joseph@codesourcery.com>
42090
6a3951a0
JM
42091 * configure.in (makeinfo): Require version 4.5 or later. Allow
42092 versions 5 to 9.
42093 * configure: Regenerated.
42094 * manual/install.texi (texinfo): Increase version requirement to
42095 4.5 or later.
42096 * INSTALL: Regenerated.
42097
4e124ced
JM
42098 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42099
953ca31a
L
421002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42101
42102 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42103
617aca05
L
42104 * sysdeps/x86_64/x32/ffs.c: New file.
42105
5762f7ae
L
42106 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42107 __syscall_ulong_t.
42108 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42109 defined. Use __syscall_ulong_t.
42110 (shminfo): Use __syscall_ulong_t.
42111 (shm_info): Likewise.
42112
a26b6856
L
42113 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42114 __syscall_ulong_t.
42115
cb2b9ef7
L
42116 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42117 <bits/wordsize.h>.
42118 (msgqnum_t): Use __syscall_ulong_t.
42119 (msglen_t): Likewise.
42120 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42121 __syscall_ulong_t.
42122
34683bb0
L
42123 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42124 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42125
84a68786
L
42126 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42127
48baa5f1
L
42128 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42129 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42130
180be88b
L
42131 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42132 __syscall_slong_t.
42133
5e90c8ad
L
42134 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42135 include <bits/wordsize.h>. Check __x86_64__ instead of
42136 __WORDSIZE.
42137
23dfb58b
L
42138 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42139 "unsigned long long int" if __x86_64__ is defined.
42140 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42141
ce5d54b0
L
42142 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42143 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42144 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42145
13dc9eac
L
42146 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42147 <stdint.h>.
42148 (GET_PC): Cast to uintptr_t first.
42149 (GET_FRAME): Likewise.
42150 (GET_STACK): Likewise.
42151
a7895d15
L
42152 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42153 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42154 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42155 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42156 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42157 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42158 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42159 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42160 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42161 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42162 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42163 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42164 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42165 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42166 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42167 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42168 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42169 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42170 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42171 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42172 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42173 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42174 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42175 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42176 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42177 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42178 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42179 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42180 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42181
656416c9
AS
421822012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42183
5bd66283
AS
42184 * Makerules (+depfiles): Also collect depfiles from .oS in
42185 $(extra-objs).
42186 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42187 .oS, $(libnldbl-routines)).
42188
656416c9
AS
42189 * Makerules (native-compile-mkdep-flags): Define.
42190 * sunrpc/Makefile (extra-objs): Add $(addprefix
42191 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42192 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42193 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42194 calling $(make-target-directory).
42195
a46f2169
L
421962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42197
42198 * bits/types.h (__snseconds_t): Removed.
42199 * time/time.h (struct timespec): Replace __snseconds_t with
42200 __syscall_slong_t.
42201 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42202 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42203 Likewise.
42204 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42205 (__SNSECONDS_T_TYPE): Likewise.
42206 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42207 (__SNSECONDS_T_TYPE): Likewise.
42208 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42209 (__SNSECONDS_T_TYPE): Likewise.
42210
6af6528b
L
422112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42212
42213 * sysdeps/mach/hurd/bits/typesizes.h
42214 (__SYSCALL_SLONG_TYPE): New macro.
42215 (__SYSCALL_ULONG_TYPE): Likewise.
42216
de986b56
L
422172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42218
42219 * bits/types.h (__syscall_slong_t): New type.
42220 (__syscall_ulong_t): Likewise.
42221
42222 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42223 (__SYSCALL_ULONG_TYPE): Likewise.
42224 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42225 (__SYSCALL_SLONG_TYPE): Likewise.
42226 (__SYSCALL_ULONG_TYPE): Likewise.
42227 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42228 (__SYSCALL_SLONG_TYPE): Likewise.
42229 (__SYSCALL_ULONG_TYPE): Likewise.
42230 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42231 (__SYSCALL_SLONG_TYPE): Likewise.
42232 (__SYSCALL_ULONG_TYPE): Likewise.
42233
85736dc7
L
422342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42235
42236 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42237 Add sigaltstack-offsets.sym.
42238 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42239 <sigaltstack-offsets.h>.
42240 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42241 longjmp_msg pointer.
42242 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42243 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42244 signal stack.
42245 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42246
cc03b296
JM
422472012-05-15 Joseph Myers <joseph@codesourcery.com>
42248
a9538892
JM
42249 * elf/stackguard-macros.h: Remove file.
42250 * sysdeps/generic/stackguard-macros.h: New file.
42251 * sysdeps/i386/stackguard-macros.h: Likewise.
42252 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42253 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42254 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42255 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42256 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42257 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42258 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42259 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42260 <elf/stackguard-macros.h>.
42261
cc03b296
JM
42262 [BZ #14109]
42263 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42264 __aligned__ in attribute.
42265 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42266 (gregset_t): Likewise.
42267
93171016
L
422682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42269
42270 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42271 * sysdeps/x86_64/64/Implies-after: Here. New file.
42272 * sysdeps/x86_64/x32/Implies-after: New file.
42273
d86813a0
L
422742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42275
42276 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42277 and access return value for _dl_profile_fixup. Use R10_LP to
42278 load frame size.
42279
2953ec75
L
422802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42281
42282 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42283
3b550e9e
L
422842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42285
42286 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42287 * sysdeps/x86_64/x32/sysdep.h: New file.
42288
eda41706
L
422892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42290
42291 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42292 * sysdeps/x86_64/setjmp.S: Likewise.
42293
9ea01d93
AZ
422942012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42295
42296 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42297 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42298 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42299 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42300 remove unused global constant.
42301
02a91938
CM
423022012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42303
42304 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42305 include of <not-cancel.h>.
42306
6540185f
RM
423072012-05-15 Roland McGrath <roland@hack.frob.com>
42308
42309 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42310
509072a0
AJ
423112012-05-15 Jeff Law <law@redhat.com>
42312 Andreas Jaeger <aj@suse.de>
42313
42314 [BZ #13594]
42315 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42316 out from...
42317 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42318 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42319 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42320 code changing __hst_map_handle.map.
42321
ba75122d
RM
423222012-05-15 Roland McGrath <roland@hack.frob.com>
42323
42324 * configure.in (sysnames): Look for Implies-before and Implies-after
42325 files.
42326 * configure: Regenerated.
42327
890d8bd8
L
423282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42329
42330 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42331 8-byte data alignment with LP_SIZE alignment.
42332
f6ee6623
L
423332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42334
42335 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42336 into R10_LP.
42337
ea2626f6
L
423382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42339
42340 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42341
085f715e
L
423422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42343
42344 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42345 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42346 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42347 Likewise.
42348 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42349
be8498fc
L
423502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42351
42352 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42353 (stackinfo_sub_sp): Likewise.
42354
70bc83b9
L
423552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42356
42357 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42358 RAX_LP.
42359
9bc0b730
L
423602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42361
42362 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42363 into R*_LP.
42364
6d2850e7
L
423652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42366
42367 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42368 sizes into R*_LP.
42369
3cb84561
L
423702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42371
42372 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42373
54e2ed81
L
423742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42375
42376 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42377 into R11_LP and load __x86_64_shared_cache_size_half into
42378 R8_LP.
42379
8a17f349
L
423802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42381
42382 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42383 R8_LP.
42384
777b1eea
AZ
423852012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42386
42387 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42388 logb for POWER7.
42389 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42390 logbf for POWER7.
42391 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42392 logbl for POWER7.
42393 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42394 powerpc32/power7/fpu/s_logb.c via #include.
42395 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42396 powerpc32/power7/fpu/s_logbf.c via #include.
42397 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42398 powerpc32/power7/fpu/s_logbl.c via #include.
42399
d20d4ac2
JM
424002012-05-15 Joseph Myers <joseph@codesourcery.com>
42401
42402 * README.libm: Remove file.
42403
6cdef1ab
L
424042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42405
42406 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42407 count for x32. Use R*_LP and omit operand-size suffix.
42408
0b254d8f
L
424092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42410
42411 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42412 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42413 * sysdeps/x86_64/x32/shlib-versions: New file.
42414
ceb809dc
RM
424152012-05-14 Roland McGrath <roland@hack.frob.com>
42416
42417 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42418 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42419 Use _dl_fatal_printf instead.
42420
37f1abd4
JM
424212012-05-14 Joseph Myers <joseph@codesourcery.com>
42422
42423 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42424 set if not set by the user. Do not allow for being unset.
42425 * sysdeps/unix/sysv/linux/configure: Regenerated.
42426
11de3a33
L
424272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42428
42429 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42430 the `q' suffix from lea and replace .quad with ASM_ADDR.
42431
e02f153a
L
424322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42433
42434 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42435 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42436 instead of $17.
42437 (PTR_DEMANGLE): Likewise.
42438
520ae0fd
L
424392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42440
42441 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42442 (LP_OP): Likewise.
42443 (ASM_ADDR): Likewise.
42444 (RAX_LP): Likewise.
42445 (RBP_LP): Likewise.
42446 (RBX_LP): Likewise.
42447 (RCX_LP): Likewise.
42448 (RDI_LP): Likewise.
42449 (RSI_LP): Likewise.
42450 (RSP_LP): Likewise.
42451 (R8_LP): Likewise.
42452 (R9_LP): Likewise.
42453 (R10_LP): Likewise.
42454 (R10_LP): Likewise.
42455 (R11_LP): Likewise.
42456 (R12_LP): Likewise.
42457 (R13_LP): Likewise.
42458 (R14_LP): Likewise.
42459 (R15_LP): Likewise.
42460
b985be81
L
424612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42462
42463 * sysdeps/x86_64/x32/dl-machine.h: New file.
42464
6a4888ff
AJ
424652012-05-14 Andreas Jaeger <aj@suse.de>
42466
42467 * manual/Makefile (subdir): Remove export of subdir.
42468 (all): Remove target.
42469 (.PHONY): Remove all from list.
42470 (mkinstalldirs): Remove.
42471 (.PHONY): Remove installdirs from list.
42472 ($(inst_infodir)/libc.info): Use make-target-directory.
42473 (installdirs): Remove.
42474 (subdir_%): Remove.
42475 (glibc-targets): Remove.
42476 (lib): Remove.
42477 (stubs): Remove.
42478 ($(objpfx)stubs ../po/manual.pot): Remove.
42479 ($(objpfx)stamp%): Remove.
42480 (make-target-directory): Remove.
42481 (subdir_install): Remove.
42482 (routines): Remove.
42483 (aux): Remove.
42484 (sources): Remove.
42485 (objects): Remove.
42486 (headers): Remove.
42487
42488 [BZ #13750]
42489 * manual/.gitignore: Remove, it's not needed anymore.
42490 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42491 all files in it.
42492 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42493 directory.
42494 (texis): Renamed to $(objpfx)texis.
42495 (texis-path): New, contains path to generated files.
42496 (chapters.%): Use texis-path for complete path, add extra argument
42497 libc-texinfo.sh.
42498 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42499 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42500 (summary,texi, stamp-summary): Use complete path of
42501 files. Generate files in build dir.
42502 (dir-add.texi): Build in build dir.
42503 (libm-err.texi,stamp-libm-err): Likewise.
42504 (version.texi, stamp-version): Likewise.
42505 (.%c.texi): Likewise.
42506 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42507 (mostlyclean): Remove target.
42508 (realclean): Remove target.
42509 (generated): Add new variable with contents from mostlyclean and
42510 realclean, remove entries duplicated in common-mostlyclean, add
42511 stamp-libm-err and stamp-version.
42512 (generated-dirs): Add libc directory.
42513 ($(inst_infodir)/libc.info): Install files from build dir.
42514
42515 * manual/install.texi (Configuring and compiling): Adjust since
42516 the info files are not part of the tar ball anymore.
42517
7ac77294
AJ
425182012-05-14 Andreas Jaeger <aj@suse.de>
42519
42520 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42521 variable.
42522
ffb7875d
JM
425232012-05-14 Joseph Myers <joseph@codesourcery.com>
42524
42525 [BZ #13717]
42526 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42527 to 2.2.0 where earlier.
42528 * sysdeps/unix/sysv/linux/configure: Regenerated.
42529 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42530 Remove conditional code.
42531 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42532 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42533 Remove conditional code.
42534 [!__NR_lchown]: Likewise.
42535 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42536 [__NR_lchown]: Likewise.
42537 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42538 comment referencing __ASSUME_LCHOWN_SYSCALL.
42539 * sysdeps/unix/sysv/linux/i386/sigaction.c
42540 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42541 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42542 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42543 Remove conditional code.
42544 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42545 (__protocol_available): Remove #if 0 code.
42546 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42547 conditional code.
42548 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42549 * sysdeps/unix/sysv/linux/kernel-features.h
42550 (__ASSUME_GETCWD_SYSCALL): Don't define.
42551 (__ASSUME_REALTIME_SIGNALS): Likewise.
42552 (__ASSUME_PREAD_SYSCALL): Likewise.
42553 (__ASSUME_PWRITE_SYSCALL): Likewise.
42554 (__ASSUME_POLL_SYSCALL): Likewise.
42555 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42556 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42557 non-SPARC.
42558 (__ASSUME_SIOCGIFNAME): Don't define.
42559 (__ASSUME_MSG_NOSIGNAL): Likewise.
42560 (__ASSUME_SENDFILE): Define unconditionally.
42561 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42562 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42563 conditional code.
42564 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42565 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42566 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42567 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42568 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42569 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42570 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42572 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42573 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42575 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42576 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42578 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42579 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42581 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42582 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42584 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42585 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42587 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42588 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42590 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42591 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42593 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42594 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42595 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42596 Remove conditional code.
42597 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42598 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42599 Remove conditional code.
42600 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42601 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42602 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42603 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42604 Remove conditional code.
42605 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42606 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42607 Remove conditional code.
42608 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42609 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42610 Remove conditional code.
42611 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42612 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42613 Remove conditional code.
42614 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42615 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42616 Remove conditional code.
42617 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42618 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42619 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42620 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42621 * sysdeps/unix/sysv/linux/sigaction.c
42622 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42623 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42624 * sysdeps/unix/sysv/linux/sigpending.c
42625 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42626 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42627 * sysdeps/unix/sysv/linux/sigprocmask.c
42628 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42629 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42630 * sysdeps/unix/sysv/linux/sigsuspend.c
42631 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42632 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42633 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42634 (__libc_missing_rt_sigs): Remove.
42635 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42636 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42637 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42638 Remove conditional code.
42639 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42640 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42641 return 1.
42642 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42643 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42644 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42645 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42646
1bfb7291
AJ
426472012-05-14 Andreas Jaeger <aj@suse.de>
42648
caae5a81
AJ
42649 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42650 it's not used in glibc.
42651 (__coshm1): Likewise.
42652 (__acosh1p): Likewise.
42653 (__sgn): Likewise.
42654
1bfb7291
AJ
42655 * manual/string.texi (Copying and Concatenation): Add missing
42656 variable in concat example.
42657 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42658
c044d724
L
426592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42660
144c5467 42661 [BZ #14103]
c044d724
L
42662 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42663 __builtin_clzl with __builtin_clzll.
42664
2523c62b
L
426652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42666
42667 [BZ #14104]
42668 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42669 libc_freeres_ptr.
42670
d7bb4c42
LD
426712012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42672
42673 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42674 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42675 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42676 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42677
9dc4e1fb
MF
426782012-05-14 Mike Frysinger <vapier@gentoo.org>
42679
42680 * NEWS: Update ia64 info.
42681
c7df0112
AS
426822012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42683
42684 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42685 used as bcopy.
42686
dc70356c
TS
426872012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42688
42689 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42690 * sysdeps/unix/syscalls.list (dup3): Likewise.
42691 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42692 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42693
9fb1a21f
L
426942012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42695
42696 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42697 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42698
4822a2a5
L
426992012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42700
42701 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42702 thread pointer.
42703 (TLS_IE): Use mov/add instead of movq/addq to load thread
42704 pointer.
42705 (TLS_GD_PREFIX): New.
42706 (TLS_GD): Use it.
42707
842b81d6
DM
427082012-05-11 David S. Miller <davem@davemloft.net>
42709
42710 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42711 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42712 (_FPU_SETCW): Likewise.
42713
1cf463cd
L
427142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42715
42716 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42717 is 32-byte aligned.
42718
60cc4a18
AS
427192012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42720
42721 [BZ #11837]
42722 * iconvdata/gb18030.c: Update tables.
42723 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42724 characters specially.
42725 (BODY for TO_LOOP): Add encoding of missing ranges.
42726
febb44a4
TS
427272012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42728
42729 [BZ #13673]
42730 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42731 * sysdeps/mach/hurd/dup3.c: Likewise.
42732 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42733 * sysdeps/powerpc/memmove.c:: Likewise.
42734
0a10fb9e
L
427352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42736
42737 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42738 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42739
df8a552f
L
427402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42741
42742 * elf/elf.h (R_X86_64_RELATIVE64): New.
42743 (R_X86_64_NUM): Updated.
42744 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42745 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42746 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42747 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42748 tst-quad1pie tst-quad2pie
42749 (modules-names): Add tst-quadmod1 tst-quadmod2.
42750 ($(objpfx)tst-quad1): New dependency.
42751 ($(objpfx)tst-quad2): Likewise.
42752 ($(objpfx)tst-quad1pie): Likewise.
42753 ($(objpfx)tst-quad2pie): Likewise.
42754 * sysdeps/x86_64/tst-quad1.c: New file.
42755 * sysdeps/x86_64/tst-quad1pie.c: New file.
42756 * sysdeps/x86_64/tst-quad2.c: Likewise.
42757 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42758 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42759 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42760 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42761 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42762
f34d6f84
ST
427632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42764
f42d41d1
ST
42765 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42766 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42767 * streams/stropts.h (t_scalar_t): Define type.
42768
3c3571fc
ST
42769 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42770 (_PATH_PRESERVE): Set to "/var/lib".
42771 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42772
61f06bd3
ST
42773 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42774 instead of int.
42775
918d4d71
ST
42776 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42777 if __dir_mkfile succeeded.
42778
f34d6f84
ST
42779 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42780 checking for _hurd_dtablesize. Unlock it right after having
42781 finished _hurd_dtable allocation.
42782
10589b4a
TS
427832012-05-10 Thomas Schwinge <thomas@schwinge.name>
42784
674cdbc7
TS
42785 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42786 * sysdeps/mach/hurd/configure: Regenerated.
42787 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42788 special-casing to...
42789 * sysdeps/gnu/configure.in: ... this new file.
42790 * sysdeps/unix/sysv/linux/configure: Regenerated.
42791 * sysdeps/gnu/configure: New generated file.
42792
8e41b99f
TS
42793 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42794 for Linux: use nsec instead of usec, as well as:
42795 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42796 members of type struct timespec.
42797 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42798 New macros.
42799 (struct stat64): Likewise.
42800 (_STATBUF_ST_NSEC): New macro.
42801 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42802
10589b4a
TS
42803 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42804 __strtoul_internal rather than strtoul.
42805
63643c85
PT
428062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42807
42808 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42809 and reject them.
42810
3faebe6a
ST
428112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42812
42813 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42814 which preserves existing values.
42815 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42816
c6474b07
PT
428172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42818
42819 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42820 TIMEOUT values. Return EINVAL for NFDS values either negative or
42821 greater than FD_SETSIZE.
42822
1043890b
ST
428232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42824
42825 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42826 allocated, call __vm_protect to finish enabling the existing space, and
42827 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42828 allocate the remainder.
42829
37ed8b9b
PT
428302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42831
42832 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42833 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42834
db653660
ST
428352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42836
37ed8b9b
PT
42837 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42838 sysdeps/mach/hurd/readlink.c.
b29d4053 42839
db653660
ST
42840 * posix/tst-sysconf.c (posix_options): Only use
42841 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42842 _POSIX_SYNCHRONIZED_IO when they are defined
42843 * sysdeps/mach/hurd/bits/posix_opt.h:
42844 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42845 (_XOPEN_REALTIME): Undefine macro.
42846 (_XOPEN_REALTIME_THREADS): Undefine macro.
42847 (_XOPEN_SHM): Undefine macro.
42848 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42849 macro to -1.
42850 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42851 macro to -1.
42852 (_POSIX_ASYNC_IO): Undefine macro.
42853 (_POSIX_PRIORITIZED_IO): Undefine macro.
42854 (_POSIX_SPIN_LOCKS): Define macro to -1.
42855
ee16e894
ST
42856 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42857 SA_NODEFER, SA_RESETHAND.
42858 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42859 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42860 F_DUPFD_CLOEXEC.
42861
6103ae3b
TS
428622012-05-10 Thomas Schwinge <thomas@schwinge.name>
42863
42864 * elf/Makefile (pldd-modules): Define unconditionally.
42865
80b4e5f3
TS
428662012-05-10 Thomas Schwinge <thomas@schwinge.name>
42867
42868 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42869
edadcbd6
ST
428702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42871
42872 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42873 Return ENOENT when name is empty.
42874 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42875
80694780
TS
428762012-05-10 Thomas Schwinge <thomas@schwinge.name>
42877
1792c087
TS
42878 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42879
80694780
TS
42880 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42881
6b645f0d
ST
428822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42883
80694780
TS
42884 Fix mlock in all cases except non-readable pages.
42885 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42886 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 42887
6b645f0d
ST
42888 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42889 (__mkdir): When path is `/', just fail with EEXIST.
42890 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42891
e468f8a3
TS
428922012-05-10 Thomas Schwinge <thomas@schwinge.name>
42893
42894 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42895 <sys/uio.h> (for writev).
42896 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42897 and <sys/param.h> (for MIN).
42898
a4186cff
PT
428992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42900
42901 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42902 REQUESTED_TIME. Properly set the remaining time and return EINTR
42903 if interrupted.
42904
510bbf14
TS
429052012-05-10 Thomas Schwinge <thomas@schwinge.name>
42906
42907 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42908 Depend on against $(link-rpcuserlibs).
42909
5d5722e8
ST
429102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42911
a4186cff
PT
42912 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42913 (__libc_stack_end): Do not use attribute_relro.
42914 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42915 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 42916 to libthread-provided value.
a4186cff
PT
42917 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42918 attribute_relro.
5d5722e8 42919
37233df9
TS
429202012-05-10 Thomas Schwinge <thomas@schwinge.name>
42921
be971a2b
TS
42922 [BZ #3748]
42923 * bits/libc-lock.h (__libc_once_get): New macro.
42924 * sysdeps/mach/bits/libc-lock.h: Likewise.
42925 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42926 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42927 instead of using implementation details.
42928
37233df9
TS
42929 * libio/fileops.c: Unconditionally include <kernel-features.h>.
42930 * libio/freopen.c: Likewise.
42931 * libio/freopen64.c: Likewise.
42932 * misc/syslog.c: Likewise.
42933 * nscd/connections.c: Likewise.
42934 * nscd/netgroupcache.c: Likewise.
42935 * sysdeps/posix/getcwd.c: Likewise.
42936
38de94a5
RM
429372012-05-10 Roland McGrath <roland@hack.frob.com>
42938
42939 * math/w_ilogbf.c: Add #include <limits.h>.
42940
67530489
ST
429412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42942
a4186cff 42943 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
42944 path instead of returning without unlocking.
42945
67530489
ST
42946 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42947 immediate-write ioctls.
42948 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42949
5aa3a74a
TS
429502012-05-10 Thomas Schwinge <thomas@schwinge.name>
42951
18bad2ae
TS
42952 * sysdeps/mach/hurd/i386/init-first.c (init): Use
42953 __builtin_frame_address instead of making assumptions about the
42954 location of the return address relative to DATA. Force early load of
42955 the return address.
42956 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42957 __builtin_frame_address.
42958
5aa3a74a
TS
42959 dup3 for GNU Hurd.
42960 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42961 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
42962 implement dup3 and do some further code clean-ups.
42963 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42964 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42965
ecd0de9a
ST
429662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42967
cd9fa985
ST
42968 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42969
a4186cff
PT
42970 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42971 HURD_CRITICAL_END around holding _hurd_dtable_lock.
42972 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42973 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42974 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42975 d->port.lock.
802ca5a5 42976
a4186cff
PT
42977 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42978 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
42979 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 42980
bcf55240
TS
429812012-05-10 Thomas Schwinge <thomas@schwinge.name>
42982
6960eb42
TS
42983 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42984 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42985 definitions.
42986
eb43375f
TS
42987 accept4 for GNU Hurd.
42988 * include/sys/socket.h (__libc_accept4): New prototype.
42989 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
42990 to implement __libc_accept4.
42991 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42992 __libc_accept4.
42993 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42994
bcf55240
TS
42995 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42996 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42997 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42998 signal-defines.sym.
42999
6178c55b
ST
430002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43001
a4186cff 43002 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 43003
6f080c2f
TS
430042012-05-10 Thomas Schwinge <thomas@schwinge.name>
43005
43006 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43007 assertion on O_CLOEXEC flag.
43008 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43009 * hurd/intern-fd.c: Likewise.
43010 * hurd/port2fd.c: Likewise.
43011
bcfe3a54
ST
430122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43013
43014 [BZ #3906]
43015 * bits/in.h (IPV6_PKTINFO): Define new macro.
43016 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43017
89c9aa49
AZ
430182012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43019
43020 [BZ #13954]
43021 [BZ #13955]
43022 [BZ #13956]
43023 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43024 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43025 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43026 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43027 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43028 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43029 * math/libm-test.inc (logb_test) : Additional logb tests.
43030
021db4be
AJ
430312012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43032 Andreas Jaeger <aj@suse.de>
43033
43034 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43035 * configure: Regenerated.
43036 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43037 * config.make.in (link-obsolete-rpc): New substituted variable.
43038 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43039 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43040 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43041 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43042 so that libc.a contains the symbols.
43043 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43044 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43045 * sunrpc/auth_none.c: Likewise.
43046 * sunrpc/auth_unix.c: Likewise.
43047 * sunrpc/authdes_prot.c: Likewise.
43048 * sunrpc/authuxprot.c: Likewise.
43049 * sunrpc/clnt_gen.c: Likewise.
43050 * sunrpc/clnt_perr.c: Likewise.
43051 * sunrpc/clnt_raw.c: Likewise.
43052 * sunrpc/clnt_simp.c: Likewise.
43053 * sunrpc/clnt_tcp.c: Likewise.
43054 * sunrpc/clnt_udp.c: Likewise.
43055 * sunrpc/clnt_unix.c: Likewise.
43056 * sunrpc/des_crypt.c: Likewise.
43057 * sunrpc/des_soft.c: Likewise.
43058 * sunrpc/get_myaddr.c: Likewise.
43059 * sunrpc/key_call.c: Likewise.
43060 * sunrpc/key_prot.c: Likewise.
43061 * sunrpc/netname.c: Likewise.
43062 * sunrpc/pm_getmaps.c: Likewise.
43063 * sunrpc/pm_getport.c: Likewise.
43064 * sunrpc/pmap_clnt.c: Likewise.
43065 * sunrpc/pmap_prot.c: Likewise.
43066 * sunrpc/pmap_prot2.c: Likewise.
43067 * sunrpc/pmap_rmt.c: Likewise.
43068 * sunrpc/publickey.c: Likewise.
43069 * sunrpc/rpc_cmsg.c: Likewise.
43070 * sunrpc/rpc_common.c: Likewise.
43071 * sunrpc/rpc_dtable.c: Likewise.
43072 * sunrpc/rpc_prot.c: Likewise.
43073 * sunrpc/rpc_thread.c: Likewise.
43074 * sunrpc/rtime.c: Likewise.
43075 * sunrpc/svc.c: Likewise.
43076 * sunrpc/svc_auth.c: Likewise.
43077 * sunrpc/svc_raw.c: Likewise.
43078 * sunrpc/svc_run.c: Likewise.
43079 * sunrpc/svc_tcp.c: Likewise.
43080 * sunrpc/svc_udp.c: Likewise.
43081 * sunrpc/svc_unix.c: Likewise.
43082 * sunrpc/svcauth_des.c: Likewise.
43083 * sunrpc/xcrypt.c: Likewise.
43084 * sunrpc/xdr.c: Likewise.
43085 * sunrpc/xdr_array.c: Likewise.
43086 * sunrpc/xdr_float.c: Likewise.
43087 * sunrpc/xdr_intXX_t.c: Likewise.
43088 * sunrpc/xdr_mem.c: Likewise.
43089 * sunrpc/xdr_rec.c: Likewise.
43090 * sunrpc/xdr_ref.c: Likewise.
43091 * sunrpc/xdr_sizeof.c: Likewise.
43092 * sunrpc/xdr_stdio.c: Likewise.
43093
b5c086a2
RM
430942012-05-10 Roland McGrath <roland@hack.frob.com>
43095
43096 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43097 change. Update copyright years.
43098
6d74dd09
JM
430992012-05-10 Joseph Myers <joseph@codesourcery.com>
43100
43101 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43102
28e72501
MK
431032012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43104 Joseph Myers <joseph@codesourcery.com>
43105 Paul Pluzhnikov <ppluzhnikov@google.com>
43106
43107 [BZ #14012]
43108 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43109 requiring rpcgen.
43110 [cross-compiling] (extra-libs): Likewise.
43111 [cross-compiling] (extra-libs-others): Likewise.
43112 [cross-compiling] (librpcsvc-routines): Likewise.
43113 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43114 [cross-compiling] (omit-deps): Likewise.
43115 (sunrpc-CPPFLAGS): New variable.
43116 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43117 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43118 (cross-rpcgen-objs): New variable.
43119 (extra-objs): Append $(cross-rpcgen-objs).
43120 ($(cross-rpcgen-objs)): New rule.
43121 ($(objpfx)cross-rpcgen): Likewise.
43122 (rpcgen-cmd): Define to use $(built-program-file). Expand
43123 comment.
43124 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43125 ($(objpfx)x%.stmp): Likewise.
43126 * sunrpc/proto.h [IS_IN_build] (_): Define.
43127 [IS_IN_build] (_libc_intl_domainname): Likewise.
43128
c8c59454
L
431292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43130
43131 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43132 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43133 and R_X86_64_TPOFF64.
43134
6f27cd16
JM
431352012-05-10 Joseph Myers <joseph@codesourcery.com>
43136
43137 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43138 sysdeps/unix/sysv/syscalls.list.
43139 (stime): Likewise.
43140 (utime): Likewise.
43141 * sysdeps/unix/sysv/syscalls.list: Remove file.
43142
02467e1c
PE
431432012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43144
43145 [BZ #3440]
43146 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43147 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43148 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43149 (__LC_IDENTIFICATION): Make these macros useful in #if
43150 expressions, as required by C99.
43151
da392631
AS
431522012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43153
43154 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43155 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43156 after this.
43157
8115f29b
L
431582012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43159
43160 * stdlib/longlong.h: Updated from GCC.
43161
bdd74070
AJ
431622012-05-09 Andreas Jaeger <aj@suse.de>
43163
edfe0dbe
AJ
43164 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43165 default is first entry.
43166 (run_mode): Set type.
43167 (main): Remove informal message about syslog.
43168 (options): Fix typo.
43169
bcfe3a54
ST
43170 [BZ #14053]
43171 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 43172 to asm.
bcfe3a54
ST
43173 (lrint): Likewise.
43174 (llrintf): Likewise.
43175 (llrint): Likewise.
43176 (rint): Likewise.
43177 (rintf): Likewise.
43178 (nearbyint): Likewise.
43179 (nearbyintf): Likewise.
bdd74070 43180
91d8d69e
AJ
431812012-05-09 Andreas Jaeger <aj@suse.de>
43182 Pedro Alves <palves@redhat.com>
43183
43184 * nscd/nscd.c (run_mode): Use enum.
43185 (main): Cleanup coding style issue.
43186
bb90b80b
AJ
431872012-05-09 Alexandre Oliva <aoliva@redhat.com>
43188 Andreas Jaeger <aj@suse.de>
43189
bcfe3a54
ST
43190 * nscd/nscd.c (go_background): Replaced with...
43191 (run_mode): ... this.
bb90b80b 43192 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
43193 (options): Add -F --foreground.
43194 (main): Implement it.
43195 (parse_opt): Parse it.
bb90b80b 43196
1a4b75a1
AJ
431972012-05-09 Andreas Jaeger <aj@suse.de>
43198
43199 [BZ #14083]
43200 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43201 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43202 -Wconversion warning.
43203 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43204 Likewise.
43205
b1cc2472
JM
432062012-05-09 Joseph Myers <joseph@codesourcery.com>
43207
43208 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43209 == 0.
43210 (LC_ALL): Use macro-int-constant.
43211 (LC_COLLATE): Likewise.
43212 (LC_CTYPE): Likewise.
43213 (LC_MESSAGES): Likewise.
43214 (LC_MONETARY): Likewise.
43215 (LC_NUMERIC): Likewise.
43216 (LC_TIME): Likewise.
43217 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43218 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43219 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43220 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43221 Specify type.
43222 [C99-based standards] (float_t): Expect type.
43223 [C99-based standards] (double_t): Expect type.
43224 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43225 type.
43226 [C99-based standards] (HUGE_VALL): Likewise.
43227 [C99-based standards] (INFINITY): Likewise.
43228 [C99-based standards] (NAN): Likewise.
43229 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43230 [C99-based standards] (FP_NAN): Likewise.
43231 [C99-based standards] (FP_NORMAL): Likewise.
43232 [C99-based standards] (FP_SUBNORMAL): Likewise.
43233 [C99-based standards] (FP_ZERO): Likewise.
43234 [C99-based standards] (FP_FAST_FMA): Use
43235 optional-macro-int-constant. Specify type. Require == 1.
43236 [C99-based standards] (FP_FAST_FMAF): Likewise.
43237 [C99-based standards] (FP_FAST_FMAL): Likewise.
43238 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43239 [C99-based standards] (FP_ILOGBNAN): Likewise.
43240 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43241 Specify type.
43242 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43243 [C99-based standards] (math_errhandling): Specify type.
43244 [ISO99 || ISO11] (signgam): Do not allow.
43245 [non-C99-based standards] (copysignf): Do not allow.
43246 [non-C99-based standards] (exp2f): Likewise.
43247 [non-C99-based standards] (log2f): Likewise.
43248 [non-C99-based standards] (modff): Allow.
43249 [non-C99-based standards] (erff): Do not allow.
43250 [non-C99-based standards] (erfcf): Likewise.
43251 [non-C99-based standards] (gammaf): Likewise.
43252 [non-C99-based standards] (hypotf): Likewise.
43253 [non-C99-based standards] (j0f): Likewise.
43254 [non-C99-based standards] (j1f): Likewise.
43255 [non-C99-based standards] (jnf): Likewise.
43256 [non-C99-based standards] (lgammaf): Likewise.
43257 [non-C99-based standards] (tgammaf): Likewise.
43258 [non-C99-based standards] (y0f): Likewise.
43259 [non-C99-based standards] (y1f): Likewise.
43260 [non-C99-based standards] (ynf): Likewise.
43261 [non-C99-based standards] (isnanf): Likewise.
43262 [non-C99-based standards] (acoshf): Likewise.
43263 [non-C99-based standards] (asinhf): Likewise.
43264 [non-C99-based standards] (atanhf): Likewise.
43265 [non-C99-based standards] (cbrtf): Likewise.
43266 [non-C99-based standards] (expm1f): Likewise.
43267 [non-C99-based standards] (ilogbf): Likewise.
43268 [non-C99-based standards] (log1pf): Likewise.
43269 [non-C99-based standards] (logbf): Likewise.
43270 [non-C99-based standards] (nextafterf): Likewise.
43271 [non-C99-based standards] (remainderf): Likewise.
43272 [non-C99-based standards] (rintf): Likewise.
43273 [non-C99-based standards] (scalbf): Likewise.
43274 [non-C99-based standards] (copysignl): Likewise.
43275 [non-C99-based standards] (exp2l): Likewise.
43276 [non-C99-based standards] (log2l): Likewise.
43277 [non-C99-based standards] (modfl): Allow.
43278 [non-C99-based standards] (erfl): Do not allow.
43279 [non-C99-based standards] (erfcl): Likewise.
43280 [non-C99-based standards] (gammal): Likewise.
43281 [non-C99-based standards] (hypotl): Likewise.
43282 [non-C99-based standards] (j0l): Likewise.
43283 [non-C99-based standards] (j1l): Likewise.
43284 [non-C99-based standards] (jnl): Likewise.
43285 [non-C99-based standards] (lgammal): Likewise.
43286 [non-C99-based standards] (tgammal): Likewise.
43287 [non-C99-based standards] (y0l): Likewise.
43288 [non-C99-based standards] (y1l): Likewise.
43289 [non-C99-based standards] (ynl): Likewise.
43290 [non-C99-based standards] (isnanl): Likewise.
43291 [non-C99-based standards] (acoshl): Likewise.
43292 [non-C99-based standards] (asinhl): Likewise.
43293 [non-C99-based standards] (atanhl): Likewise.
43294 [non-C99-based standards] (cbrtl): Likewise.
43295 [non-C99-based standards] (expm1l): Likewise.
43296 [non-C99-based standards] (ilogbl): Likewise.
43297 [non-C99-based standards] (log1pl): Likewise.
43298 [non-C99-based standards] (logbl): Likewise.
43299 [non-C99-based standards] (nextafterl): Likewise.
43300 [non-C99-based standards] (remainderl): Likewise.
43301 [non-C99-based standards] (rintl): Likewise.
43302 [non-C99-based standards] (scalbl): Likewise.
43303 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43304 [non-C99-based standards] (FP_*): Do not allow.
43305 [C99-based standards] (FP_*): Change to
43306 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43307 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43308 allow.
43309 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43310 (SIG_ERR): Likewise.
43311 [X/Open-based standards] (SIG_HOLD): Likewise.
43312 (SIG_IGN): Likewise.
43313 (SIGABRT): Use macro-int-constant. Specify type. Require
43314 positive value.
43315 (SIGFPE): Likewise.
43316 (SIGILL): Likewise.
43317 (SIGINT): Likewise.
43318 (SIGSEGV): Likewise.
43319 (SIGTER): Likewise.
43320 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43321 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43322 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43323 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43324 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43325 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43326 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43327 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43328 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43329 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43330 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43331 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43332 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43333 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43334 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43335 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43336 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43337 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43338 [X/Open-based standards] (SIGTRAP): Likewise.
43339 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43340 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43341 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43342 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43343 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43344 allow.
43345
b9f1922d
IW
433462012-05-08 Ian Wienand <ianw@vmware.com>
43347
43348 [BZ #14080]
43349 * time/tzset.c (__tzset_parse_tz): Update default rules for
43350 daylight time changes in the Energy Policy Act of 2005.
43351
1db86e88
AJ
433522012-05-09 Andreas Jaeger <aj@suse.de>
43353
43354 [BZ #13983]
43355 * elf/ldconfig.c (parse_conf): Change string to make clear that
43356 ldconfig only issued a warning if ld.so.conf does not exist.
43357
dee4a4e3
DM
433582012-05-08 David S. Miller <davem@davemloft.net>
43359
ee0db190
DM
43360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43361 movxtod instead of popping the value on the stack.
43362
dee4a4e3
DM
43363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43364
6a43ec98
CD
433652012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43366
43367 * config.h.in: Add HAVE_ARM_PCS_VFP.
43368
05c2c961
RMG
433692012-05-08 Roland Mc Grath <roland@hack.frob.com>
43370
bcfe3a54
ST
43371 [BZ #13979]
43372 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43373 checking but the checks are disabled for any reason.
05c2c961 43374
4b30f61a
L
433752012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43376
43377 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43378 and ELF64_R_TYPE with ELFW(R_TYPE).
43379
eee2bc67
JM
433802012-05-08 Joseph Myers <joseph@codesourcery.com>
43381
7ea5391a
JM
43382 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43383 (ulimit): Likewise.
43384
eee2bc67
JM
43385 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43386 (settimeofday): Likewise.
43387
abb66a67
MF
433882012-05-08 Mike Frysinger <vapier@gentoo.org>
43389
43390 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43391 a struct th_u2 inside the union, and move tu_block/tu_code into
43392 a new th_u3 union of tu_block/tu_code inside of that. Move
43393 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43394 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43395 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43396 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43397 (th_stuff): Change to th_u1.tu_stuff.
43398 (th_data): Define.
43399 (th_msg): Change to th_u1.th_u2.tu_data.
43400
7f18b530
DM
434012012-05-07 David S. Miller <davem@davemloft.net>
43402
05760585
DM
43403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43404
7f18b530
DM
43405 [BZ #14074]
43406 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43407 (SETUP_PIC_REG): Use it.
43408 (SETUP_PIC_REG_LEAF): Use it.
43409
495fd99f
JM
434102012-05-07 Joseph Myers <joseph@codesourcery.com>
43411
43412 [BZ #13885]
43413 [BZ #13923]
43414 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43415 USE_AS_EXPM1L.
43416 (EXPL_FINITE): Likewise.
43417 (FLDLOG): Likewise.
43418 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43419 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43420 e_expl.S.
43421 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43422 USE_AS_EXPM1L.
43423 (EXPL_FINITE): Likewise.
43424 (FLDLOG): Likewise.
43425 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43426 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43427 e_expl.S.
43428 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43429 test of -max_value argument for long double.
43430 * sysdeps/i386/fpu/libm-test-ulps: Update.
43431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43432
6693d694
DM
434332012-05-06 David S. Miller <davem@davemloft.net>
43434
43435 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43436 quad soft-float symbols whose references which are compiler
43437 generated.
43438 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43439
6c23e11c
JM
434402012-05-06 Joseph Myers <joseph@codesourcery.com>
43441
d8b82cad
JM
43442 [BZ #13884]
43443 [BZ #13914]
43444 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43445 USE_AS_EXP10L.
43446 (EXPL_FINITE): Likewise.
43447 (FLDLOG): Likewise.
43448 (c0): Likewise.
43449 (c1): Likewise.
43450 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43451 Adjust comments for base varying.
43452 (__expl_finite): Change alias to EXPL_FINITE.
43453 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43454 e_expl.S.
43455 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43456 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43457 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43458 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43459 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43460 USE_AS_EXP10L.
43461 (EXPL_FINITE): Likewise.
43462 (FLDLOG): Likewise.
43463 (c0): Likewise.
43464 (c1): Likewise.
43465 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43466 Adjust comments for base varying.
43467 (__expl_finite): Change alias to EXPL_FINITE.
43468 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43469 tests for bugs.
43470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43471
6c23e11c
JM
43472 [BZ #14064]
43473 * math/libm-test.inc (check_float_internal): Correct ulp
43474 calculation for subnormal expected results.
43475
29ba805c
AJ
434762012-05-06 Andreas Jaeger <aj@suse.de>
43477
43478 * Makeconfig (+math-flags): New, set to -frounding-math.
43479 (+cflags): Add +math-flags so that all of glibc gets compiled with
43480 it.
43481
43482 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43483
7b17aeda
JM
434842012-05-05 Joseph Myers <joseph@codesourcery.com>
43485
5779f134
JM
43486 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43487 Disable one test.
43488
41498f4d
JM
43489 [BZ #13787]
43490 [BZ #13922]
43491 [BZ #14036]
43492 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43493 (__ieee754_expl): Allow for and saturate large arguments.
43494 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43495 (u_threshold): Likewise.
43496 (__exp): Call __ieee754_exp before checking for overflow and
43497 underflow.
43498 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43499 (u_threshold): Likewise.
43500 (__expf): Call __ieee754_expf before checking for overflow and
43501 underflow.
43502 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43503 (u_threshold): Likewise.
43504 (__expl): Call __ieee754_expl before checking for overflow and
43505 underflow.
43506 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43507 (__ieee754_expl): Allow for and saturate large arguments.
43508 * math/libm-test.inc (exp_test): Add another test. Do not allow
43509 missing overflow exception on overflow.
43510 (expm1_test): Do not allow missing overflow exception on overflow.
43511
6698b8bf
JM
43512 * sysdeps/i386/fpu/e_expl.c: Move to ...
43513 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43514 rather than using inline asm.
43515 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43516 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43517 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43518
7b17aeda
JM
43519 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43520 (nice): Likewise.
43521 (poll): Likewise.
43522 (signal): Likewise.
43523 (time): Likewise.
43524 (times): Likewise.
43525
f7c85819
JM
435262012-05-04 Joseph Myers <joseph@codesourcery.com>
43527
43528 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43529 sysdeps/unix/common/syscalls.list.
43530 (fchmod): Likewise.
43531 (fchown): Likewise.
43532 (ftruncate): Likewise.
43533 (getrusage): Likewise.
43534 (gettimeofday): Likewise.
43535 (setpgid): Likewise.
43536 (setregid): Likewise.
43537 (setreuid): Likewise.
43538 (sigaction): Likewise.
43539 (truncate): Likewise.
43540 (vhangup): Likewise.
43541 * sysdeps/unix/common/syscalls.list: Remove file.
43542 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43543 * sysdeps/unix/sysv/linux/Implies: Likewise.
43544
336270d0
L
435452012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43546
43547 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43549 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43550 Moved to ...
43551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43552 Here.
43553 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43554 to ...
43555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43556 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43557 to ...
43558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43559 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43560 to ...
43561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43562 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43563 to ...
43564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43565 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43566 to ...
43567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43568 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43569 to ...
43570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43571 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43572 to ...
43573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43574 Here.
43575 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43576 to ...
43577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43578 Here.
43579 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43580 to ...
43581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43582 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43583 Moved to ...
43584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43585 Here.
43586 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43587 to ...
43588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43589
d128e450
JM
435902012-05-04 Joseph Myers <joseph@codesourcery.com>
43591
fa8ee516
JM
43592 * sysdeps/unix/common/bits/dirent.h: Remove file.
43593 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43594
d128e450
JM
43595 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43596 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43597 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43598 * sysdeps/unix/bsd/isatty.c: Likewise.
43599 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43600 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43601 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43602
ff8faaf0 436032012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 43604
62881be4 43605 [BZ #13563]
31dc8730
AZ
43606 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43607 long double comparison inaccuracies.
43608 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43610
6fef930c
AS
436112012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43612
43613 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43614 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43615
8f203e6c
JM
436162012-05-04 Joseph Myers <joseph@codesourcery.com>
43617
43618 [BZ #14049]
43619 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43620 nonzero digits before rounding a hex value.
43621 * stdlib/tst-strtod.c (tests): Add another test.
43622
5197d9c2
AK
436232012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43624
43625 * sysdeps/s390/fpu/libm-test-ulps: Update.
43626
f0c1dedf
AJ
436272012-05-03 Andreas Jaeger <aj@suse.de>
43628
43629 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43630 does not get optimized out.
43631 (malloc_opt_barrier): New.
43632
a65ef2ae 436332012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 43634 Roland McGrath <roland@hack.frob.com>
a65ef2ae 43635
2b942cb7 43636 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 43637 intermediate file deletion.
2b942cb7 43638 (generated): Add .symlist files.
a65ef2ae 43639
54b71e02
JM
436402012-05-03 Joseph Myers <joseph@codesourcery.com>
43641
43642 [BZ #13775]
43643 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43644 Redirect under this condition.
43645 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43646 [__USE_GNU] (__dprintf_chk): Not under this condition.
43647 [__USE_GNU] (__vdprintf_chk): Likewise.
43648 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43649 under this condition.
43650 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43651 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43652 [__USE_XOPEN2K8] (vdprintf): Likewise.
43653 [__USE_GNU] (__dprintf_chk): Not under this condition.
43654 [__USE_GNU] (__vdprintf_chk): Likewise.
43655 [__USE_GNU] (dprintf): Likewise.
43656 [__USE_GNU] (vdprintf): Likewise.
43657
d3dfcc41
RM
436582012-05-03 Roland McGrath <roland@hack.frob.com>
43659
43660 * elf/Makefile (common-generated): Set this instead of generated for
43661 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43662 $(all-built-dso)-derived lists.
43663
7ac30cc5
AJ
436642012-05-03 Andreas Jaeger <aj@suse.de>
43665
0c51e550
AJ
43666 * sysdeps/i386/fpu/libm-test-ulps: Update.
43667
7ac30cc5
AJ
43668 * FAQ: Removed.
43669 * FAQ.in: Likewise.
43670 * scripts/gen-FAQ.pl: Likewise.
43671 * manual/install.texi (Installation): Point to online location of
43672 FAQ.
43673 * Makefile (files-for-dist): Remove FAQ.
43674 (FAQ): Remove.
43675
d4c2917f
AM
436762012-05-02 Allan McRae <allan@archlinux.org>
43677
43678 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43679 (LDFLAGS-reldepmod5.so): Likewise.
43680 (LDFLAGS-reldep6mod1.so): Likewise.
43681 (LDFLAGS-reldep6mod4.so): Likewise.
43682 (LDFLAGS-reldep8mod3.so): Likewise.
43683 (LDFLAGS-unload4mod1.so): Likewise.
43684 (LDFLAGS-unload4mod2.so): Likewise.
43685 (LDFLAGS-tst-initorder): Likewise.
43686 (LDFLAGS-tst-initordera2.so): Likewise.
43687 (LDFLAGS-tst-initordera3.so): Likewise.
43688 (LDFLAGS-tst-initordera4.so): Likewise.
43689 (LDFLAGS-tst-initorderb2.so): Likewise.
43690 (LDFLAGS-noload): Likewise.
43691 (LDFLAGS-next): Likewise.
43692 (LDFLAGS-order2mod1.so): Likewise.
43693 (LDFLAGS-order2mod2.so): Likewise.
43694 (LDFLAGS-tst-initorder2): Likewise.
43695 (LDFLAGS-tst-initorder2a.so): Likewise.
43696 (LDFLAGS-tst-initorder2b.so): Likewise.
43697 (LDFLAGS-tst-initorder2c.so): Likewise.
43698 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43699
d77f993f
DM
437002012-05-02 David S. Miller <davem@davemloft.net>
43701
43702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43703
171a70b4
PP
437042012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43705
43706 [BZ #14055]
43707 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43708
0be196ad
AJ
437092012-05-02 Andreas Jaeger <aj@suse.de>
43710
43711 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43712 since we manipulate rounding mode.
43713 (CPPFLAGS-test-idouble.c): Likewise.
43714 (CPPFLAGS-test-ifloat.c): Likewise.
43715 (CFLAGS-test-ldouble.c): Likewise.
43716 (CFLAGS-test-double.c): Likewise.
43717 (CFLAGS-test-float.c): Likewise.
43718 (CFLAGS-test-misc.c): Likewise.
43719 (CFLAGS-test-test-fenv.c): Likewise.
43720
4f9d04aa
AZ
437212012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43722
2b942cb7
RM
43723 [BZ #2550]
43724 [BZ #2570]
43725 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43726 comparisons to determine direction to adjust input.
4f9d04aa 43727
82a79e7d
RM
437282012-05-01 Roland McGrath <roland@hack.frob.com>
43729
f5a01ca9
RM
43730 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43731 output to the target.
43732
90fe4186
RM
43733 * scripts/localplt.awk: New file.
43734 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43735 (check-localplt-CFLAGS): Variable removed.
43736 ($(all-built-dso:=.jmprel)): New static pattern rule.
43737 (generated): Add those targets.
43738 (localplt-built-dso): New variable.
43739 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43740
43741 * elf/check-localplt.c: File removed.
43742
82397ed6
RM
43743 * scripts/check-execstack.awk: New file.
43744 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43745 (check-execstack-CFLAGS): Variable removed.
43746 ($(objpfx)check-execstack.h): Target removed.
43747 ($(objpfx)execstack-default): New target.
43748 (generated): Add that instead of check-execstack.h.
43749 ($(all-built-dso:=.phdr)): New static pattern rule.
43750 (generated): Add those targets.
43751 * elf/check-execstack.c: File removed.
43752
82a79e7d
RM
43753 * scripts/check-textrel.awk: New file.
43754 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43755 (check-textrel-CFLAGS): Variable removed.
43756 (all-built-dso): Use := to define.o
43757 ($(all-built-dso:=.dyn)): New static pattern rule.
43758 (generated): Add those targets.
43759 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43760 * config.make.in (READELF): New substituted variable.
43761 * elf/check-textrel.c: File removed.
43762
62fde54f 437632012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 43764
615605c9
JM
43765 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43766 allow.
43767 * conform/data/ctype.h-data [C99-based standards] (isblank):
43768 Expect function.
43769 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43770 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43771 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43772 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43773 Specify type. Require positive value.
43774 (EILSEQ): Likewise.
43775 (ERANGE): Likewise.
43776 [ISO || POSIX] (EILSEQ): Do not expect.
43777 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43778 Specify type. Require positive value.
43779 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43780 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43781 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43782 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43783 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43784 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43785 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43786 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43787 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43788 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43789 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43790 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43791 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43792 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43793 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43794 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43795 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43796 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43797 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43798 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43799 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43800 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43801 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43802 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43803 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43804 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43805 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43806 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43807 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43808 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43809 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43810 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43811 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43812 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43813 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43814 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43815 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43816 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43817 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43818 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43819 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43820 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43821 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43822 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43823 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43824 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43825 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43826 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43827 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43828 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43829 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43830 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43831 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43832 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43833 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43834 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43835 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43836 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43837 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43838 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43839 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43840 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43841 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43842 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43843 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43844 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43845 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43846 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43847 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43848 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43849 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43850 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43851 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43852 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43853 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43854 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43855 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43856 Require >= 2.
43857 (FLT_ROUNDS): Expect as macro, not constant.
43858 (FLT_MANT_DIG): Use macro-int-constant.
43859 (DBL_MANT_DIG): Likewise.
43860 (LDBL_MANT_DIG): Likewise.
43861 (FLT_DIG): Likewise.
43862 (DBL_DIG): Likewise.
43863 (LDBL_DIG): Likewise.
43864 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43865 (DBL_MIN_EXP): Likewise.
43866 (LDBL_MIN_EXP): Likewise.
43867 (FLT_MAX_EXP): Use macro-int-constant.
43868 (DBL_MAX_EXP): Likewise.
43869 (LDBL_MAX_EXP): Likewise.
43870 (FLT_MAX_10_EXP): Likewise.
43871 (DBL_MAX_10_EXP): Likewise.
43872 (LDBL_MAX_10_EXP): Likewise.
43873 (FLT_MAX): Use macro-constant.
43874 (DBL_MAX): Likewise.
43875 (LDBL_MAX): Likewise.
43876 (FLT_EPSILON): Use macro-constant. Give upper bound.
43877 (DBL_EPSILON): Likewise.
43878 (LDBL_EPSILON): Likewise.
43879 (FLT_MIN): Likewise.
43880 (DBL_MIN): Likewise.
43881 (LDBL_MIN): Likewise.
43882 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43883 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43884 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43885 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43886 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43887 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43888 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43889 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43890 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43891 [ISO11] (FLT_TRUE_MIN): Likewise.
43892 [ISO11] (LDBL_TRUE_MIN): Likewise.
43893 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43894 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43895 (SCHAR_MIN): Use macro-int-constant. Specify type.
43896 (SCHAR_MAX): Likewise.
43897 (UCHAR_MAX): Likewise.
43898 (CHAR_MIN): Likewise.
43899 (CHAR_MAX): Likewise.
43900 (MB_LEN_MAX): Use macro-int-constant.
43901 (SHRT_MIN): Use macro-int-constant. Specify type.
43902 (SHRT_MAX): Likewise.
43903 (USHRT_MAX): Likewise.
43904 (INT_MAX): Likewise.
43905 (INT_MIN): Use macro-int-constant. Specify type. Make upper
43906 bound negative.
43907 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
43908 bound with "U".
43909 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43910 bound with "L".
43911 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
43912 bound negative. Suffix upper bound with "L".
43913 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43914 bound with "UL".
43915 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43916 Specify type.
43917 [C99-based standards] (LLONG_MAX): Likewise.
43918 [C99-based standards] (ULLONG_MAX): Likewise.
43919 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
43920 == 0.
43921 [ISO11] (max_align_t): Require type.
43922 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43923
c9140a62
JM
43924 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43925 from $CFLAGS, without defining away __attribute__ calls.
43926 (checknamespace): Use $CFLAGS_namespace.
43927
9af0bf29
JM
43928 * conform/conformtest.pl (@keywords): Only include C99 keywords
43929 for standards based on C99 or C11.
43930
343222a2
JM
43931 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43932 Disable tests.
43933 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43934 UNIX98]: Likewise.
43935
661f8cf0
JM
43936 * conform/conformtest.pl: Handle "macro-int-constant" and test for
43937 usability of symbols in #if.
43938
ee74b9cb
JM
43939 * conform/conformtest.pl: If macro or constant types start
43940 "promoted:", expect the symbol to be of the following type
43941 promoted by the integer promotions.
62fde54f 43942
aafc49b3
JM
43943 * conform/conformtest.pl: Parse all "constant" and "macro" lines
43944 in one place. Also handle "macro-constant".
43945
fefdf574
JM
43946 * conform/conformtest.pl: Only accept expected macro values with
43947 "==". Parse all "macro" lines in one place.
43948 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43949
f2d922fe
JM
43950 * conform/conformtest.pl: Handle braced types on "constant" lines
43951 instead of handling "typed-constant".
43952 * conform/data/signal.h-data: Use "constant" instead of
43953 "typed-constant".
43954
d22956c9
JM
43955 * conform/conformtest.pl: Handle "optional-" at start of lines in
43956 one place rather than duplicating several cases. Handle each
43957 format of "macro" line with initial "optional-".
43958
028e2e38
JM
43959 * conform/conformtest.pl: Only accept expected constant or
43960 optional-constant values with "==". Parse all "constant" lines in
43961 one place. Parse all "optional-constant" lines in one place.
43962 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43963 * conform/data/fmtmsg.h-data: Likewise.
43964 * conform/data/netinet/in.h-data: Likewise.
43965 * conform/data/tar.h-data: Likewise.
43966 * conform/data/limits.h-data: Use "==" form on "constant" and
43967 "optional-constant" lines.
43968
1b8f2850
JM
43969 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43970 Use -std=c99 for XOPEN2K.
43971 (@knownproblems): Remove.
43972 (newtoken): Don't check %isknown.
43973
a05a144b
JM
43974 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43975 Do not expect macro.
43976 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43977 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43978 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43979 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43980 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43981 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43982 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43983 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43984 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43985 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43986 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43987 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43988 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43989 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43990 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43991 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43992 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43993 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43994 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43995 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43996 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43997 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43998 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43999 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44000 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44001 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44002 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44003 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44004 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44005 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44006 [XPG3] (acosh): Likewise.
44007 [XPG3] (asinh): Likewise.
44008 [XPG3] (atanh): Likewise.
44009 [XPG3] (cbrt): Likewise.
44010 [XPG3] (expm1): Likewise.
44011 [XPG3] (ilogb): Likewise.
44012 [XPG3] (log1p): Likewise.
44013 [XPG3] (logb): Likewise.
44014 [XPG3] (nextafter): Likewise.
44015 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44016 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44017 [XPG3] (remainder): Likewise.
44018 [XPG3] (rint): Likewise.
44019 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44020 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44021 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44022 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44023 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44024 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44025 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44026 [UNIX98 || XOPEN2K] (scalb): Expect.
44027 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44028 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44029 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44030 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44031 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44032 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44033 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44034 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44035 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44036 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44037 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44038 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44039 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44040 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44041 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44042 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44043 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44044 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44045 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44046 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44047 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44048 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44049 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44050 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44051 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44052 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44053 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44054 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44055 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44056 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44057 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44058 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44059 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44060 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44061 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44062 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44063 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44064 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44065 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44066 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44067 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44068 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44069 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44070 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44071 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44072 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44073 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44074 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44075 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44076 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44077 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44078 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44079 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44080 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44081 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44082 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44083 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44084 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44085 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44086 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44087 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44088 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44089 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44090 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44091 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44092 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44093 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44094 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44095 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44096 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44097 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44098 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44099 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44100 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44101 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44102 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44103 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44104 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44105 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44106 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44107 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44108 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44109 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44110 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44111 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44112 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44113 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44114 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44115 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44116 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44117 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44118 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44119 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44120 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44121 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44122 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44123 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44124 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44125 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44126 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44127 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44128 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44129 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44130 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44131 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44132 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44133 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44134 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44135 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44136 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44137 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44138 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44139 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44140 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44141 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44142 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44143 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44144 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44145 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44146 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44147 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44148 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44149 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44150 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44151 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44152 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44153 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44154 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44155 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44156 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44157 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44158 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44159 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44160 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44161 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44162 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44163 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44164
73c5ebe3
JM
44165 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44166 _XOPEN_SOURCE_EXTENDED for XPG4.
44167
39c33b6c
JM
44168 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44169
62fde54f
JM
44170 * Makeconfig (localtime): Remove variable.
44171 (inst_localtime-file): Likewise.
44172
0741d64c
AS
441732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44174
44175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44176 Update.
44177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44178 Update.
44179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44180 Update.
44181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44182 Update.
44183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44184 Update.
44185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44186 Update.
44187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44188 Update.
44189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44190 Update.
44191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44192 Update.
44193
7cb029ee
JM
441942012-05-01 Joseph Myers <joseph@codesourcery.com>
44195
44196 [BZ #2550]
44197 [BZ #2570]
44198 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44199 comparisons to determine direction to adjust input.
44200 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44201 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44202 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44203 Likewise.
44204 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44205 Likewise.
44206 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44207 Likewise.
44208 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44209 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44210 Likewise.
44211 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44212 Likewise.
44213 * math/libm-test.inc (nexttoward_test): Add more tests.
44214
412bd966
AS
442152012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44216
44217 [BZ #14040]
44218 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44219 in version GLIBC_2.1, not GLIBC_2.0.
44220 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44221 Likewise.
44222
9568c0c2
JM
442232012-04-30 Joseph Myers <joseph@codesourcery.com>
44224
adfbc8ac
JM
44225 [BZ #13942]
44226 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44227 (1 - x) * (1 + x).
44228 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44229 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44230 * math/libm-test.inc (acos_test): Add more tests.
44231 (asin_test): Likewise.
44232 * sysdeps/i386/fpu/libm-test-ulps: Update.
44233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44234
5ba3cc69
JM
44235 [BZ #14034]
44236 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44237 of square root.
44238 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44239 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44240 * math/libm-test.inc (acos_test_tonearest): New function.
44241 (acos_test_towardzero): Likewise.
44242 (acos_test_downward): Likewise.
44243 (acos_test_upward): Likewise.
44244 (asin_test_tonearest): Likewise.
44245 (asin_test_towardzero): Likewise.
44246 (asin_test_downward): Likewise.
44247 (asin_test_upward): Likewise.
44248 (main): Call the new functions.
44249 * sysdeps/i386/fpu/libm-test-ulps: Update.
44250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44251
9568c0c2
JM
44252 [BZ #13884]
44253 [BZ #13924]
44254 * math/e_exp10.c: Include <float.h>.
44255 (__ieee754_exp10): Handle underflow here rather than multiplying
44256 large negative argument by M_LN10.
44257 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44258 of __ieee754_expf.
44259 * math/e_exp10l.c: Include <float.h>.
44260 (__ieee754_exp10l): Handle underflow here rather than multiplying
44261 large negative argument by M_LN10l.
44262 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44263 spurious overflow exception on underflow.
44264
5ac3ea17
MP
442652012-04-29 Marek Polacek <polacek@redhat.com>
44266
44267 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44268 (__fortify_function): New macro.
44269 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44270 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44271 __extern_always_inline.
44272 * libio/bits/stdio2.h: Likewise.
44273 * libio/bits/stdio.h: Likewise.
44274 * string/string.h: Likewise.
44275 * string/bits/string3.h: Likewise.
44276 * include/stdio.h: Likewise.
44277 * stdlib/bits/stdlib.h: Likewise.
44278 * stdlib/stdlib.h: Likewise.
44279 * rt/bits/mqueue2.h: Likewise.
44280 * rt/mqueue.h: Likewise.
44281 * posix/bits/unistd.h: Likewise.
44282 * posix/unistd.h: Likewise.
44283 * io/bits/poll2.h: Likewise.
44284 * io/bits/fcntl2.h: Likewise.
44285 * io/fcntl.h: Likewise.
44286 * io/sys/poll.h: Likewise.
44287 * misc/bits/syslog.h: Likewise.
44288 * misc/bits/syslog-ldbl.h: Likewise.
44289 * misc/sys/syslog.h: Likewise.
44290 * socket/bits/socket2.h: Likewise.
44291 * socket/sys/socket.h: Likewise.
44292 * debug/tst-chk1.c: Likewise.
44293 * wcsmbs/bits/wchar2.h: Likewise.
44294 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44295 * wcsmbs/wchar.h: Likewise.
44296
ecf0ebfb
AJ
442972012-04-29 Andreas Jaeger <aj@suse.de>
44298
44299 * Makerules (tests): Remove enable-check-abi protection.
44300 (check-abi-warn): Remove.
44301 (check-abi-%): Remove check-abi-warn usage.
44302
44303 * configure.in: Remove check-abi configure option.
44304 * configure: Regenerated.
44305 * config.make.in (enable-check-abi): Remove.
44306
6d5c57fa
AS
443072012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44308
24c5d07e 44309 [BZ #14033]
ded5180a
AS
44310 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44311 double functions to double *_finite functions.
44312
7e0d315d
AS
44313 [BZ #13941]
44314 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44315 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44316 LDBL_MIN_EXP.
44317 * stdio-common/Makefile (tests): Add tst-sprintf3.
44318 * stdio-common/tst-sprintf3.c: New file.
44319
6d5c57fa
AS
44320 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44321 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44322
0749ff8b
JM
443232012-04-28 Joseph Myers <joseph@codesourcery.com>
44324
44325 * conform/conformtest.pl: Remove duplicate typed-constant
44326 handling.
44327
8dbd5d7b
DM
443282012-04-28 David S. Miller <davem@davemloft.net>
44329
44330 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44331 (check-abi-%): Remove AWK script prerequisite and explicit
44332 abilist directory.
44333 (check-abi): Rewrite to just diff the symlist with the abilist.
44334 (config-tls, config-abi-config): Delete, no longer used.
44335 (update-abi-%): Remove AWK script and explicit abilist directory.
44336 (update-abi): Rewrite to simply compare and conditionally copy the
44337 symlist and the sysdep abilist file. Remove update-abi-config
44338 checks.
44339 * abilist/ld.abilist: Remove.
44340 * abilist/libBrokenLocale.abilist: Remove.
44341 * abilist/libanl.abilist: Remove.
44342 * abilist/libcrypt.abilist: Remove.
44343 * abilist/libdl.abilist: Remove.
44344 * abilist/librt.abilist: Remove.
44345 * abilist/libthread_db.abilist: Remove.
44346 * abilist/libutil.abilist: Remove.
44347 * scripts/extract-abilist.awk: Remove.
44348 * scripts/merge-abilist.awk: Remove.
44349 * sysdeps/generic/libcidn.abilist: New file.
44350 * sysdeps/generic/libnss_compat.abilist: New file.
44351 * sysdeps/generic/libnss_db.abilist: New file.
44352 * sysdeps/generic/libnss_dns.abilist: New file.
44353 * sysdeps/generic/libnss_files.abilist: New file.
44354 * sysdeps/generic/libnss_hesiod.abilist: New file.
44355 * sysdeps/generic/libnss_nis.abilist: New file.
44356 * sysdeps/generic/libnss_nisplus.abilist: New file.
44357 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44358 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44359 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44360 file.
44361 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44362 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44363 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44364 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44365 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44366 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44367 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44368 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44369 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44370 file.
44371 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44372 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44373 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44374 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44375 file.
44376 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44377 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44378 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44379 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44380 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44381 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44382 file.
44383 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44384 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44385 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44386 file.
44387 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44389 New file.
44390 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44391 New file.
44392 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44393 New file.
44394 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44395 New file.
44396 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44397 New file.
44398 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44399 New file.
44400 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44401 New file.
44402 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44403 New file.
44404 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44405 New file.
44406 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44407 New file.
44408 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44409 New file.
44410 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44411 New file.
44412 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44413 New file.
44414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44415 file.
44416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44417 New file.
44418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44419 New file.
44420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44421 file.
44422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44423 New file.
44424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44425 New file.
44426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44427 file.
44428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44429 New file.
44430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44431 New file.
44432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44433 New file.
44434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44435 New file.
44436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44437 New file.
44438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44439 New file.
44440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44442 file.
44443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44444 New file.
44445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44446 file.
44447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44448 file.
44449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44450 file.
44451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44452 file.
44453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44454 file.
44455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44456 New file.
44457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44458 file.
44459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44460 file.
44461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44462 New file.
44463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44464 file.
44465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44467 file.
44468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44469 New file.
44470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44471 file.
44472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44473 file.
44474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44475 file.
44476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44477 file.
44478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44479 file.
44480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44481 New file.
44482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44483 file.
44484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44485 file.
44486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44487 New file.
44488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44489 file.
44490 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44491 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44492 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44493 file.
44494 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44495 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44496 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44497 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44498 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44499 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44500 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44501 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44502 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44503 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44506 file.
44507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44508 New file.
44509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44510 file.
44511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44512 file.
44513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44514 file.
44515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44516 file.
44517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44518 file.
44519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44520 New file.
44521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44522 New file.
44523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44524 file.
44525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44526 New file.
44527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44528 file.
44529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44531 file.
44532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44533 New file.
44534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44535 file.
44536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44537 file.
44538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44539 file.
44540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44541 file.
44542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44543 file.
44544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44545 New file.
44546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44547 New file.
44548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44549 file.
44550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44551 New file.
44552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44553 file.
44554
41d73a1b
JM
445552012-04-28 Joseph Myers <joseph@codesourcery.com>
44556
44557 * conform/conformtest.pl: Fix typo in handling typed-constant from
44558 allow-header.
44559
28aeeda4
JM
445602012-04-27 Joseph Myers <joseph@codesourcery.com>
44561
adae8f5e
JM
44562 * README: Cut down references to pre-2.6 Linux kernels and
44563 Linuxthreads. Update lists of configurations in libc and ports
44564 and sort alphabetically. Say "or newer" with Linux kernel version
44565 requirements.
44566
28aeeda4
JM
44567 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44568
a462cb63
RA
445692012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44570
44571 [BZ #887]
44572 * math/libm-test.inc (logb_test_downward): New test to expose
44573 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44574 rounding mode.
44575
6ad3493e
JM
445762012-04-27 Joseph Myers <joseph@codesourcery.com>
44577
44578 [BZ #14027]
44579 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44580 to be done.
44581 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44582 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44583
2ce4f015
JM
445842012-04-26 Joseph Myers <joseph@codesourcery.com>
44585
5aeb141a
JM
44586 * sysdeps/unix/i386/brk.S: Remove file.
44587 * sysdeps/unix/i386/dl-brk.S: Likewise.
44588 * sysdeps/unix/i386/pipe.S: Likewise.
44589 * sysdeps/unix/i386/sigreturn.S: Likewise.
44590 * sysdeps/unix/i386/syscall.S: Likewise.
44591 * sysdeps/unix/i386/vfork.S: Likewise.
44592 * sysdeps/unix/i386/wait.S: Likewise.
44593
7143acae
JM
44594 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44595 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44596
2ce4f015
JM
44597 * configure.in (arm*-none*): Do not allow without
44598 --enable-hacker-mode.
44599 (netbsd*): Remove case setting base_os.
44600 (386bsd*): Likewise.
44601 (freebsd*): Likewise.
44602 (bsdi*): Likewise.
44603 (osf*): Likewise.
44604 (sunos*): Likewise.
44605 (ultrix*): Likewise.
44606 (newsos*): Likewise.
44607 (dynix*): Likewise.
44608 (*bsd*): Likewise.
44609 (sysv*): Likewise.
44610 (isc*): Likewise.
44611 (esix*): Likewise.
44612 (sco*): Likewise.
44613 (minix*): Likewise.
44614 (irix4*): Likewise.
44615 (irix6*): Likewise.
44616 (solaris[2-9]*): Likewise.
44617 (none): Likewise.
44618 * configure: Regenerated.
44619
0ac229c8
AZ
446202012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44621
44622 [BZ #11521]
44623 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44624 overflow or cancellation in calculating denominator.
44625 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44626 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44627 down expression to avoid unexpected rounding in newer GCCs.
44628 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44629
33f244f4
DM
446302012-04-26 David S. Miller <davem@davemloft.net>
44631
44632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44633 long-double compat symbols.
44634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44647
cfa1f3e8
DM
446482012-04-25 David S. Miller <davem@davemloft.net>
44649
44650 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44651 HWCAP_* values only after the memory barriers have been defined.
44652 (atomic_full_barrier): Define.
44653 (atomic_read_barrier): Define.
44654 (atomic_write_barrier): Define.
44655
6e236b92
SP
446562012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44657
44658 * shlib-versions: Add libgcc_s version information.
44659 * sysdeps/generic/libgcc_s.h: Remove.
44660 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44661 libgcc_s.h.
44662 * sysdeps/gnu/unwind-resume.c: Likewise.
44663 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44664
aab39a09
DM
446652012-04-25 David S. Miller <davem@davemloft.net>
44666
44667 * sysdeps/unix/sparc/brk.S: Delete.
44668 * sysdeps/unix/sparc/dl-brk.S: Delete.
44669 * sysdeps/unix/sparc/pipe.S: Delete.
44670 * sysdeps/unix/sparc/sysdep.S: Delete.
44671 * sysdeps/unix/sparc/sysdep.h: Delete.
44672 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
44673 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44674 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44675 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44676 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
44677 (JUMPTARGET): Remove.
44678 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44679 sysdeps/unix/sparc/sysdep.h
44680 (ENTRY, END): Remove.
44681 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44682
a3cc4f48
JM
446832012-04-25 Joseph Myers <joseph@codesourcery.com>
44684
2ed8cda2
JM
44685 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44686 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44687 -DIS_IN_build.
44688
35d76d59
JM
44689 * timezone/README: Update upstream location and email address for
44690 tzcode and tzdata.
44691 * timezone/zdump.c: Update from tzcode 2012b.
44692 * timezone/zic.c: Likewise.
44693
a3cc4f48
JM
44694 * configure.in (libc_cv_as_needed): Remove test.
44695 * configure: Regenerated.
44696 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44697 conditional definition.
44698 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44699 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44700 * config.make.in (have-as-needed): Remove variable.
44701
ceab42c3
SP
447022012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44703 Paul Pluzhnikov <ppluzhnikov@google.com>
44704
44705 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44706 strings correctly.
44707
3ce2865f
CLT
447082012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44709
44710 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44711 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44712 * sysdeps/sh/strlen.S: Likewise.
44713
f37e0d68
JM
447142012-04-24 Joseph Myers <joseph@codesourcery.com>
44715
ae186e9a
JM
44716 * sysdeps/unix/fork.S: Remove file.
44717 * sysdeps/unix/i386/fork.S: Likewise.
44718 * sysdeps/unix/sparc/fork.S: Likewise.
44719
b96914af
JM
44720 * sysdeps/unix/system.c: Remove file.
44721 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44722
f37e0d68
JM
44723 * sysdeps/unix/getegid.S: Remove file.
44724 * sysdeps/unix/geteuid.S: Likewise.
44725
87ef29ca
RM
447262012-04-24 Roland McGrath <roland@hack.frob.com>
44727
83bcd236
RM
44728 * scripts/check-localplt.awk: New file.
44729 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44730 of diff.
44731 * scripts/data/localplt-generic.data: Add a comment.
44732
87ef29ca
RM
44733 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44734 NODE when __dir_mkfile failed.
44735 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44736 Reported by Ludovic Courtès <ludo@gnu.org>.
44737
e5a6e567
AJ
447382012-04-24 Andreas Jaeger <aj@suse.de>
44739
44740 * Makerules (common-clean): Also remove gen-as-const-headers
44741 files.
44742
c1820385
JM
447432012-04-24 Joseph Myers <joseph@codesourcery.com>
44744
44745 * Makerules (native-compile): Do not change working directory for
44746 build. Use $(OUTPUT_OPTION) in command.
44747 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44748
94e02fc4
AZ
447492012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44750
44751 [BZ #13886]
44752 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44753 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44754 * math/libm-test.inc (floor_test): Add more tests.
44755 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44756
3a533ca3
JM
447572012-04-24 Joseph Myers <joseph@codesourcery.com>
44758
940ab4b3
JM
44759 * sysdeps/unix/getdents.c: Remove file.
44760 * sysdeps/unix/sysv/getdents.c: Likewise.
44761 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44762
90e037bd
JM
44763 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44764 sysdeps/unix/mman/syscalls.list.
44765 (mmap): Likewise.
44766 (mprotect): Likewise.
44767 (msync): Likewise.
44768 (munmap): Likewise.
44769 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44770 * sysdeps/unix/mman/syscalls.list: Remove.
44771 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44772
3a533ca3
JM
44773 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44774 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44775 * configure: Regenerated.
44776 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44777 $(libgcc_s_suffix).
44778 * config.make.in (libgcc_s_suffix): Remove variable.
44779
1ad743de
JM
447802012-04-23 Joseph Myers <joseph@codesourcery.com>
44781
4ad451e2
JM
44782 * sysdeps/unix/sysv/gethostname.c: Move to ...
44783 * sysdeps/posix/gethostname.c: ... here.
44784
5e37ce39
JM
44785 * sysdeps/unix/execve.S: Remove file.
44786
1ad743de
JM
44787 * sysdeps/unix/_exit.S: Remove file.
44788
4e681b5b
AJ
447892012-04-23 Andreas Jaeger <aj@suse.de>
44790
44791 [BZ #13739]
44792 * manual/Makefile: Remove make dist support, there's no
44793 need for a stand-alone documentation tar ball.
44794 (TEXI2DVI): Define always, it's not in Makeconfig.
44795 (dist): Removed.
44796 (tar-it): Removed.
44797 (edition): Removed.
44798 (glibc-doc-$(edition).tar): Removed
44799 (%.Z): Removed.
44800 (%.gz): Removed.
44801 (%.uu): Removed.
44802 (ETAGS): Remove, it's in Makeconfig.
44803 (move-if-change): Remove, it's in Makeconfig.
44804
38686a03 448052012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
44806
44807 [BZ #13970]
44808 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44809 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44810 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44811 (strtod_l, strtof_l, strtold_l): Remove __wur.
44812 It is not necessarily an error to ignore strtol's return value.
44813 One can reliably look at the stored endptr to decide whether
44814 the number had valid syntax.
44815
7c0616fa
AJ
448162012-04-21 Andreas Jaeger <aj@suse.de>
44817
803cb6b7 44818 [BZ #13739]
7c0616fa
AJ
44819 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44820
b0fe253f
JM
448212012-04-21 Joseph Myers <joseph@codesourcery.com>
44822
44823 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44824 * sysdeps/unix/sysv/Versions: Remove file.
44825
8280f22d
MT
448262012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44827
44828 [BZ #13927]
44829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44830
75ce411f 448312012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
44832
44833 [BZ #7064]
44834 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44835 version from __vm86.
44836
097d59fa
JM
448372012-04-20 Joseph Myers <joseph@codesourcery.com>
44838
a90f3bcb
JM
44839 * sysdeps/unix/common/lxstat.c: Remove file.
44840 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44841
edc7ea78
JM
44842 * sysdeps/unix/sysv/Makefile: Remove file.
44843
cb78c221
JM
44844 * sysdeps/unix/sysv/direct.h: Remove file.
44845
efa6a45f
JM
44846 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44847 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44848 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44849 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44850 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44851 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44852 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44853
9c9f2d0c
JM
44854 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44855
4541c83b
JM
44856 * sysdeps/unix/xmknod.c: Remove file.
44857 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44858
f5d153a0
JM
44859 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44860
aa746595
JM
44861 * sysdeps/unix/sysv/i386/time.S: Remove file.
44862
cce5905e
JM
44863 * sysdeps/unix/fxstat.c: Remove file.
44864 * sysdeps/unix/xstat.c: Likewise.
44865 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44866
37fa3841
JM
44867 * sysdeps/unix/sysv/sigaction.c: Remove file.
44868
ff1962a3
JM
44869 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44870 (sysdep_headers): Remove variable.
44871 [termio.h not in sysdep_headers] (generated): Likewise.
44872 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44873 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44874 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44875 * sysdeps/unix/sysv/tcflow.c: Likewise.
44876 * sysdeps/unix/sysv/tcflush.c: Likewise.
44877 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44878 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44879 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44880 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44881 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44882
e7740d31
JM
44883 * sysdeps/unix/siglist.c: Remove file.
44884
ee06f18b
JM
44885 * sysdeps/unix/getppid.S: Remove file.
44886
097d59fa
JM
44887 * sysdeps/unix/mkdir.c: Remove file.
44888 * sysdeps/unix/rmdir.c: Likewise.
44889
ff3d51ec
AS
448902012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44891
44892 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44893 ERR_MAX value.
44894 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44895 errlist-compat value.
44896
50f81fd7
DM
448972012-04-18 David S. Miller <davem@davemloft.net>
44898
44899 * sysdeps/generic/memcopy.h (reg_char): Delete.
44900 * debug/strcat_chk.c: Use char, not reg_char.
44901 * debug/strcpy_chk.c: Likewise.
44902 * debug/strncat_chk.c: Likewise.
44903 * debug/strncpy_chk.c: Likewise.
44904 * string/memchr.c: Likewise.
44905 * string/memrchr.c: Likewise.
44906 * string/rawmemchr.c: Likewise.
44907 * string/strcat.c: Likewise.
44908 * string/strchr.c: Likewise.
44909 * string/strchrnul.c: Likewise.
44910 * string/strcmp.c: Likewise.
44911 * string/strcpy.c: Likewise.
44912 * string/strncat.c: Likewise.
44913 * string/strncmp.c: Likewise.
44914 * string/strncpy.c: Likewise.
44915
8ff41c46
WS
449162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44917
44918 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44919 __builtin_memcopy is called when src and dest ranges are known to not
44920 overlap.
44921
6b652f46
WS
449222012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44923
44924 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44925 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44926 fwd_align_merge macro call.
44927 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44928 bwd_align_merge macro call.
44929 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44930
b282631e
WS
449312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44932
44933 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44934 bwd_align_merge macros.
44935 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44936 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44937 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44938
95aa737c
DM
449392012-04-18 David S. Miller <davem@davemloft.net>
44940
44941 * sysdeps/sparc/sparc64/memcopy.h: Delete.
44942
7a99a614
AJ
449432012-04-18 Andreas Jaeger <aj@suse.de>
44944
44945 [BZ# 6794]
44946 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44947 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44948 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44949
44950 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44951 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44952 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44953
44954 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44955 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44956 Adjust for changed ldbl-128 files.
44957
44958 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44959 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44960 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44961
e5270c23
DM
449622012-04-17 David S. Miller <davem@davemloft.net>
44963
44964 * sysdeps/sparc/sparc32/memcopy.h: Delete.
44965
fb5e92c9
AS
449662012-04-17 Andreas Schwab <schwab@linux-m68k.org>
44967
44968 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44969 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44970 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44971 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44972 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44973 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44974
76da7265
AZ
449752012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44976
44977 [BZ #6794]
44978 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44979 * math/libm-test.inc: Add ilogb errno and exception tests.
44980 * math/w_ilogb.c: New file: ilogb wrapper.
44981 * math/w_ilogbf.c: New file: ilogbf wrapper.
44982 * math/w_ilogbl.c: New file: ilogbl wrapper.
44983 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44984 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44985 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44986 exception being thrown with 0.0 as argument.
44987 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44988 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44989 exception being thrown with 0.0 as argument.
44990 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44991 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44992 exception being thrown with 0.0 as argument.
44993 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44994 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44995 exception being thrown with 0.0 as argument.
44996 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44997 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 44998 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
44999 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45000 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45001 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45002 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45003 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45004 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45005
0396e69d
PB
450062012-04-17 Petr Baudis <pasky@ucw.cz>
45007
45008 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45009 with altivec.
45010
750b5926
MP
450112012-04-16 Marek Polacek <polacek@redhat.com>
45012
45013 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45014
751728a1
MP
450152012-04-16 Marek Polacek <polacek@redhat.com>
45016
45017 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45018 operands of fdivp instruction.
45019
34a27407
L
450202012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45021
45022 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45023 * elf/tst-auditmod3b.c: Likewise.
45024 * elf/tst-auditmod4b.c: Likewise.
45025 * elf/tst-auditmod5b.c: Likewise.
45026 * elf/tst-auditmod6b.c: Likewise.
45027 * elf/tst-auditmod6c.c: Likewise.
45028 * elf/tst-auditmod7b.c: Likewise.
45029 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45030 * sysdeps/x86_64/preconfigure.in: Likewise.
45031 * sysdeps/x86_64/preconfigure: Regenerated.
45032
7e73e17d
L
450332012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45034
45035 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45036 __ILP32__.
45037
c7a6ab72
AB
450382012-04-13 Antoine Balestrat <merkil33@gmail.com>
45039
45040 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45041 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45042
a9e8e0e0
CL
450432012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45044
45045 [BZ #13973]
45046 * locale/iso-639.def: Fix gl language name. Spotted by
45047 Yaron Shahrabani.
45048
ec98af7d
RM
450492012-04-12 Roland McGrath <roland@hack.frob.com>
45050
45051 [BZ #2074]
45052 * libio/libio.h (__io_write_fn): Update comment.
45053
247c3ede
PB
450542012-04-12 Petr Baudis <pasky@ucw.cz>
45055
45056 [BZ #2074]
45057 * stdio.texi (Hook Functions): The user provided writer function
45058 is not allowed to return -1.
45059
55939d6d
DM
450602012-04-11 David S. Miller <davem@davemloft.net>
45061
45062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45063
90020f5a
MF
450642012-04-11 Mike Frysinger <vapier@gentoo.org>
45065
45066 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45067 Add a leading slash to rtkaio.
45068
288f9098
JM
450692012-04-11 Jim Meyering <meyering@redhat.com>
45070
90020f5a
MF
45071 [BZ #11959]
45072 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45073 It is not necessarily an error to ignore fwrite's return
45074 value. One can reliably use ferror to test for errors after
45075 the fact.
288f9098 45076
4be2b570
L
450772012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45078
45079 * bits/types.h (__snseconds_t): New type.
45080 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45081
45082 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45083 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45084 (__SNSECONDS_T_TYPE): Likewise.
45085 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45086 (__SNSECONDS_T_TYPE): Likewise.
45087 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45088 (__SNSECONDS_T_TYPE): Likewise.
45089
288f9098 450902012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
45091
45092 [BZ #2636]
45093 * manual/time.texi (Processor Time): Return type of times is
45094 elapsed real time since an arbitrary point in the past.
45095 (CPU Time): Move CLK_TCK from here...
45096 (Processor Time): ...to here. Correct description.
45097 * manual/conf.texi (Constants for Sysconf): Correct description of
45098 _SC_CLK_TCK.
45099
d7dd4413
DM
451002012-04-10 David S. Miller <davem@davemloft.net>
45101
45102 [BZ #13967]
45103 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45104 where the is a gap between DT_REL(A) and DT_JMPREL.
45105
b46068fc
L
451062012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45107
45108 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45109 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45110 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45111
73d65cc3
SP
451122012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45113
45114 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45115 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45116 (dl_main): Handle --inhibit-cache.
45117 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45118 _dl_inhibit_cache.
45119 * elf/dl-load.c (_dl_map_object): Use it.
45120 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45121
bcc8d661
JM
451222012-04-09 Joseph Myers <joseph@codesourcery.com>
45123
8f9a2fae
JM
45124 [BZ #13872]
45125 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45126 (__ieee754_powl): Saturate large exponents rather than testing for
45127 overflow of y*log2(x).
45128 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45129 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45130 exceptions.
45131
bcc8d661
JM
45132 [BZ #11521]
45133 * math/s_ctan.c: Include <float.h>.
45134 (__ctan): Avoid internal overflow or cancellation in calculating
45135 denominator.
45136 * math/s_ctanf.c: Likewise.
45137 * math/s_ctanl.c: Likewise.
45138 * math/s_ctanh.c: Likewise.
45139 * math/s_ctanhf.c: Likewise.
45140 * math/s_ctanhl.c: Likewise.
45141 * math/libm-test.inc (ctan_test): Add more tests.
45142 (ctanh_test): Likewise.
45143 * sysdeps/i386/fpu/libm-test-ulps: Update.
45144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45145
823fbbb4
AJ
451462012-04-09 Andreas Jaeger <aj@suse.de>
45147
03879793
AJ
45148 [BZ #6894]
45149 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45150 is an optional BSD extension.
45151
823fbbb4
AJ
45152 [BZ #10254]
45153 * manual/stdio.texi (Opening Streams): Document additional fopen
45154 parameters.
45155
8de131cb
RM
451562012-04-09 Roland McGrath <roland@hack.frob.com>
45157
45158 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45159 %eax without telling the compiler.
45160
c0ed9d7d
CD
451612012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45162
45163 [BZ # 13963]
45164 * manual/install.texi: Use sourceware.org.
45165
c483f6b4
JM
451662012-04-09 Joseph Myers <joseph@codesourcery.com>
45167
d7dd9453
JM
45168 [BZ #13873]
45169 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45170 (__ieee754_pow): Generate overflow and underflow using huge*huge
45171 and tiny*tiny rather than just returning constant infinity or zero
45172 for large exponents.
45173 * math/libm-test.inc (pow_test): Require overflow exceptions for
45174 applicable cases of large exponents.
45175
c483f6b4
JM
45176 [BZ #706]
45177 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45178 (__ieee754_pow): Use iterative multiplication algorithm only for
45179 integer exponents with absolute value below 1024. Check for odd
45180 integer exponents when using algorithm for real exponents.
45181 * math/libm-test.inc (pow_test): Add more tests.
45182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45183
d2de7579
JM
451842012-04-08 Joseph Myers <joseph@codesourcery.com>
45185
45186 [BZ #13705]
45187 * math/libm-test.inc (exp_test): Do not allow overflow exception
45188 on underflow test.
45189
f77f1232
AJ
451902012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45191
45192 [BZ #13705]
45193 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45194 instead of __kernel_standard_f.
45195
3884932b
MF
451962012-04-08 Mike Frysinger <vapier@gentoo.org>
45197
45198 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45199 * sysdeps/x86_64/memset_chk.S: Likewise.
45200
54472e9c
AJ
452012012-04-08 Andreas Jaeger <aj@suse.de>
45202
6ab0fbfc
AJ
45203 [BZ #10153]
45204 * manual/startup.texi (Environment Access): Describe return value
45205 for putenv and setenv.
45206
61efba8c
AJ
45207 [BZ #6895]
45208 * manual/filesys.texi (Directory Entries): Add description for
45209 DT_LNK.
45210
95c3f29a
AJ
45211 [BZ #6890]
45212 * manual/filesys.texi (Directory Entries): Clarify that it's file
45213 system not operating system in the description of DT_UNKNOWN.
45214
54472e9c
AJ
45215 [BZ #6578]
45216 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45217
624254b1
SC
452182012-04-08 Stephen Compall <s11@member.fsf.org>
45219
45220 [BZ #6649]
45221 * manual/llio.texi (Opening and Closing Files): Add cross
45222 reference to explain mode argument.
45223
1e4920e0
MF
452242012-04-07 Mike Frysinger <vapier@gentoo.org>
45225
45226 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45227 * sysdeps/x86_64/memset_chk.S: Likewise.
45228
5ed848f3
DM
452292012-04-07 David S. Miller <davem@davemloft.net>
45230
45231 * elf/elf.h (R_SPARC_WDISP10): Define.
45232 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45233 R_SPARC_SIZE32.
45234 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45235 R_SPARC_SIZE64 and R_SPARC_H34.
45236
96154cd8
CD
452372012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45238
45239 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45240 conditions and remove no longer applicable assertion.
45241
9904dc47
L
452422012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45243
45244 * bits/byteswap.h: Include <features.h>.
45245 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45246 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45247
f8887d0a
L
452482012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45249
45250 * bits/byteswap.h (__bswap_16): Removed.
45251 Include <bits/byteswap-16.h> to get __bswap_16.
45252 * sysdeps/i386/bits/byteswap.h: Likewise.
45253 * sysdeps/s390/bits/byteswap.h: Likewise.
45254 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45255 * bits/byteswap-16.h: New file.
45256 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45257 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45258 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45259 * string/Makefile (headers): Add bits/byteswap-16.h.
45260
62470f60
PP
452612012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45262
45263 [BZ #13895]
45264 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45265 extra indirection.
45266 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45267 * nss/tst-nss-static.c: New.
45268
4dad7bab
RM
452692012-04-06 Robert Millan <rmh@gnu.org>
45270
45271 [BZ #6486]
45272 * manual/llio.texi (File Position Primitive): lseek
45273 refers to WHENCE when it really means OFFSET.
45274
e9142a17
AJ
452752012-04-06 Andreas Jaeger <aj@suse.de>
45276
2c040eff
AJ
45277 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45278 strncmp declarations.
45279
e9142a17
AJ
45280 * abilist/libc.abilist: Add __poll and __ppoll.
45281
ff9f1c5f
DM
452822012-04-05 David S. Miller <davem@davemloft.net>
45283
dcd2ae90
DM
45284 * scripts/check-local-headers.sh: Accept a host triplet in the
45285 path matched by the exclude regexp.
45286
993eb054
DM
45287 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45288 definition.
45289 * sysdeps/powerpc/powerpc32/dl-machine.h
45290 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45291 * sysdeps/s390/s390-32/dl-machine.h
45292 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45293 * sysdeps/sparc/sparc32/dl-machine.h
45294 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45295 * sysdeps/sparc/sparc64/dl-machine.h
45296 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45297
ff9f1c5f
DM
45298 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45299 lazy binding.
48e2e132 45300 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
45301 undefined symbol errors.
45302
48e2e132 45303 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
45304 DT_NEEDED entries.
45305
e80d6f94
MM
453062012-04-05 Michael Matz <matz@suse.de>
45307
45308 [BZ #13592]
45309 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45310
349fa79f
AJ
453112012-04-05 Andreas Jaeger <aj@suse.de>
45312
45313 [BZ #13908]
45314 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45315 comment.
45316
f402708f
KK
453172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45318
45319 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45320 which ROUND is no valid rounding mode.
45321
2ecccfc9
KK
453222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45323
45324 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45325 read again.
45326 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45327
8a53f50f
KK
453282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45329
45330 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45331 an exception using FPU order intentionally.
45332
453332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45334
45335 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45336 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45337 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45338 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45339
d653abb7
SJ
453402012-04-05 Simon Josefsson <simon@josefsson.org>
45341
45342 [BZ #12340]
45343 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45344 EINVAL when BUFLEN is too smal.
45345
c3b1bf7d
TS
453462012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45347
45348 [BZ #13553]
45349 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45350 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45351
b1aa60f3
AJ
453522012-04-03 Andreas Jaeger <aj@suse.de>
45353
c3b1bf7d 45354 [BZ #13938]
67f60a26
AJ
45355 * manual/setjmp.texi (System V contexts): Fix sentence.
45356
b1aa60f3
AJ
45357 [BZ #13926]
45358 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45359 New macro for this case.
45360 [!__GNUC__] (__bswap_64): New inline function for this case.
45361 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45362 * bits/byteswap.h: Likewise.
45363 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45364 ull, guard with __GLIBC_HAVE_LONG_LONG.
45365
45366 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45367 __GLIBC_HAVE_LONG_LONG.
45368
45369 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45370 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45371
39c59c35
TMQMF
453722012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45373
45374 [BZ #13691]
45375 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45376 inptr and inend, rather than using last_ch.
45377
135ffda8
DM
453782012-04-02 David S. Miller <davem@davemloft.net>
45379
45380 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45381 * stdio-common/printf-parse.h (read_int): Change return type to
45382 'int', return -1 on INT_MAX overflow.
45383 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45384 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45385 overflows INT_MAX. Check for overflow of in-format-string precision
45386 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45387 SIZE_MAX not INT_MAX for integer overflow test.
45388 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45389 skip the construct in the format string but do not record anything.
45390 * stdio-common/bug22.c: Adjust to test both width/prevision
45391 INT_MAX overflow as well as total length INT_MAX overflow. Check
45392 explicitly for proper errno values.
45393
228c019e
TS
453942012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45395
302cadd3
TS
45396 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45397 CHAR_MAX.
45398 * string/test-strcmp.c [! WIDE]: Likewise.
45399 * time/tst-mktime2.c: Likewise for INT_MAX.
45400 * string/test-string.h: #include <sys/param.h> for MIN.
45401
228c019e
TS
45402 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45403 * sysdeps/i386/init-first.c (init): Likewise.
45404 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45405 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45406 * sysdeps/sh/init-first.c (init): Likewise.
45407
cfa633f5
UD
454082012-04-01 Ulrich Drepper <drepper@gmail.com>
45409
45410 * po/ru.po: Update from translation team.
d1635ef8 45411 * po/vi.po: Likewise.
cfa633f5 45412
6cd0a5ea
SP
454132012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45414
45415 * resolv/nss_dns/dns-host.c: Merge copyright years.
45416
4b43400f
LD
454172012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45418
45419 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45420 Optimize memcpy with prefetch if
45421 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45422 src, dst pointers have unequal 16 byte alignments.
45423
48c41d04
SP
454242012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45425
45426 [BZ #13928]
45427 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45428 from a CNAME entry and return the minimum ttl for the query.
45429 (gaih_getanswer_slice): Likewise.
45430
b8dc394d
JL
454312012-03-30 Jeff Law <law@redhat.com>
45432
45433 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45434 due to long keys.
45435 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45436 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45437
2f5a5ed0
JL
45438 * resolv/nss_dns/dns-host.c: Update copyright year.
45439
1d39e359
UD
454402012-03-30 Ulrich Drepper <drepper@gmail.com>
45441
c030f70c 45442 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 45443 requests to save a system call. Fix check that all bytes are sent.
c030f70c 45444
1d39e359
UD
45445 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45446 comments for sendmmsg.
45447
454482012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
45449
45450 [BZ #13691]
45451 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45452 with only 1 character between 0x0041 and 0x01b0.
45453 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45454 * wcsmbs/tst-mbsnrtowcs.c: New file.
45455
20fde227
DM
454562012-03-29 David S. Miller <davem@davemloft.net>
45457
45458 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45459 small copies by hand.
45460
984a4237
JL
454612012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45462
45463 [BZ #13761]
57f41c40
AS
45464 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45465 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45466 group memberships.
984a4237 45467
18c9d62b
DM
454682012-03-28 David S. Miller <davem@davemloft.net>
45469
88d85d4f
DM
45470 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45471 that branches into memcpy.
45472 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45473 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45474 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45475 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45476 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45477 bits.
45478 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45479 implementation too.
45480 * sysdeps/sparc/mempcpy.S: New file.
45481
e5aa83e1
DM
45482 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45483 the IFUNC routine in the libc case.
45484 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45485
88570753
DM
45486 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45487 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45488 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45489 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45490 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45491 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45492 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45493 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45494
249d7567
DM
45495 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45496 loop to 256 bytes instead of 64 bytes and fix test signedness.
45497
18c9d62b
DM
45498 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45499 * sysdeps/sparc/sparc32/Makefile: rather than here...
45500 * sysdeps/sparc/sparc64/Makefile: and here.
45501
05f3d1f6
UD
455022012-03-28 Ulrich Drepper <drepper@gmail.com>
45503
45504 * malloc/mallocbug.c: Avoid warnings about unused variables.
45505
86ae07a8
JL
455062012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45507
45508 [BZ #13760]
45509 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45510 in the right place. Discard and retry query if response is
45511 larger than input buffer size.
45512
41bf21a1
JM
455132012-03-28 Joseph Myers <joseph@codesourcery.com>
45514
d6270972
JM
45515 [BZ #369]
45516 [BZ #2678]
45517 [BZ #3866]
45518 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45519 x for large integer exponent.
45520 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45521 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45522 sign of result as needed afterwards.
45523 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45524 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45525 result for underflowing pow the same as for overflow.
45526 (__kernel_standard_l): Handle powl overflow and underflow here
45527 rather than calling __kernel_standard.
45528 * math/libm-test.inc (pow_test): Add more tests.
45529
414fca03 45530 [BZ #3868]
41bf21a1
JM
45531 [BZ #13879]
45532 [BZ #13910]
45533 [BZ #13911]
45534 [BZ #13912]
45535 [BZ #13913]
45536 [BZ #13915]
45537 [BZ #13916]
45538 [BZ #13917]
45539 [BZ #13918]
45540 [BZ #13919]
45541 [BZ #13920]
45542 [BZ #13921]
45543 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45544 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45545 (__kernel_standard_l): New function.
45546 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45547 __kernel_standard.
45548 * math/w_acosl.c (__acosl): Likewise.
45549 * math/w_asinl.c (__asinl): Likewise.
45550 * math/w_atan2l.c (__atan2l): Likewise.
45551 * math/w_atanhl.c (__atanhl): Likewise.
45552 * math/w_coshl.c (__coshl): Likewise.
45553 * math/w_exp10l.c (__exp10l): Likewise.
45554 * math/w_exp2l.c (__exp2l): Likewise.
45555 * math/w_fmodl.c (__fmodl): Likewise.
45556 * math/w_hypotl.c (__hypotl): Likewise.
45557 * math/w_j0l.c (__j0l, __y0l): Likewise.
45558 * math/w_j1l.c (__j1l, __y1l): Likewise.
45559 * math/w_jnl.c (__jnl, __ynl): Likewise.
45560 * math/w_lgammal.c (__lgammal): Likewise.
45561 * math/w_log10l.c (__log10l): Likewise.
45562 * math/w_log2l.c (__log2l): Likewise.
45563 * math/w_logl.c (__logl): Likewise.
45564 * math/w_powl.c (__powl): Likewise.
45565 * math/w_remainderl.c (__remainderl): Likewise.
45566 * math/w_scalbl.c (sysv_scalbl): Likewise.
45567 * math/w_sinhl.c (__sinhl): Likewise.
45568 * math/w_sqrtl.c (__sqrtl): Likewise.
45569 * math/w_tgammal.c (__tgammal): Likewise.
45570 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45571 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45572 * math/libm-test.inc (acos_test): Add more tests.
45573 (acosh_test): Likewise.
45574 (asin_test): Likewise.
45575 (atanh_test): Likewise.
45576 (exp_test): Likewise.
45577 (exp10_test): Likewise.
45578 (exp2_test): Likewise.
45579 (expm1_test): Likewise.
45580 (lgamma_test): Likewise.
45581 (log_test): Likewise.
45582 (log10_test): Likewise.
45583 (log1p_test): Likewise.
45584 (log2_test): Likewise.
45585 (pow_test): Do not allow some spurious overflow exceptions.
45586 (sqrt_test): Add more tests.
45587 (tgamma_test): Likewise.
45588 (y0_test): Likewise.
45589 (y1_test): Likewise.
45590 (yn_test): Likewise.
45591
dd62fda6
AB
455922012-03-27 Anton Blanchard <anton@samba.org>
45593
45594 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45595 MAP_HUGETLB.
45596 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45597 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45598 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45599
1e3cdfda
AJ
456002012-03-27 David S. Miller <davem@davemloft.net>
45601
b855ab85
DM
45602 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45603
1e3cdfda
AJ
45604 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45605 have-as-vis3 check.
45606
456072012-03-27 Andreas Jaeger <aj@suse.de>
45608
45609 * sysdeps/x86_64/elf/configure.in: Moved to ...
45610 * sysdeps/x86_64/configure.in: ... here.
45611 * sysdeps/x86_64/elf/start.S: Moved to ...
45612 * sysdeps/x86_64/start.S: ... here.
45613 * sysdeps/x86_64/elf/configure: Delete.
45614
45615 * sysdeps/x86_64/configure.in: Merge contents from
45616 sysdeps/i386/configure.in (without i686 check).
45617
45618 * sysdeps/i386/elf/Versions: Merge into ...
45619 * sysdeps/i386/Versions: ... this.
45620 * sysdeps/i386/elf/Versions: Delete file.
45621 * sysdeps/i386/elf/start.S: Moved to ...
45622 * sysdeps/i386/start.S: ...here.
45623 * sysdeps/i386/elf/configure.in: Merge into...
45624 * sysdeps/i386/configure.in: ...here.
45625 * sysdeps/i386/elf/configure.in: Delete file.
45626 * sysdeps/i386/elf/configure: Delete file.
45627
45628 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45629 * debug/backtracesyms.c: ... here.
45630 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45631 * debug/backtracesymsfd.c: ... here.
45632 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45633 * sysdeps/generic/ifunc-sel.h: ... here.
45634
45635 * sysdeps/unix/i386/start.c: Delete file.
45636 * sysdeps/unix/sparc/start.c: Delete file.
45637 * sysdeps/unix/start.c: Delete file.
45638
45639 * sysdeps/sh/elf/configure.in: Moved to ...
45640 * sysdeps/sh/configure.in: ... here.
45641 * sysdeps/sh/elf/start.S: Moved to ...
45642 * sysdeps/sh/start.S: ... here.
45643 * sysdeps/sh/elf/configure: Delete file.
45644
45645 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45646 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45647 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45648 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45649 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45650 * sysdeps/powerpc/powerpc64/start.S: here.
45651 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45652 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45653 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45654 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45655 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45656
45657 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45658 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45659 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45660 * sysdeps/powerpc/powerpc32/start.S: ... here.
45661 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45662 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45663 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45664
45665 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45666 * sysdeps/powerpc/ifunc-sel.h: ... here.
45667 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45668 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45669
45670 * sysdeps/sparc/elf/configure.in: Moved to ...
45671 * sysdeps/sparc/configure.in: ... here.
45672 * sysdeps/sparc/elf/configure: Delete file.
45673 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45674 * sysdeps/sparc/sparc32/start.S: ... here.
45675 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45676 * sysdeps/sparc/sparc64/start.S: ... here.
45677 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45678 * sysdeps/sparc/sparc32/Makefile: ... this.
45679 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45680 * sysdeps/sparc/sparc64/Makefile: ... this.
45681
45682 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45683 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45684 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45685 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45686 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45687 * sysdeps/s390/s390-32/setjmp.S: ... here.
45688 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45689 * sysdeps/s390/s390-32/configure.in: ... here.
45690 * sysdeps/s390/s390-32/elf/configure: Delete file.
45691 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45692 * sysdeps/s390/s390-32/start.S: ... here.
45693
45694 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45695 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45696 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45697 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45698 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45699 * sysdeps/s390/s390-64/setjmp.S: ... here.
45700 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45701 * sysdeps/s390/s390-64/configure.in: ... here
45702 * sysdeps/s390/s390-64/elf/configure: Delete file.
45703 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45704 * sysdeps/s390/s390-64/start.S: ... here.
45705 * sysdeps/s390/s390-64/elf/configure: Delete.
45706
45707 * configure.in: Remove support for elf directories in sysdeps.
45708
45709 * configure: Regenerated.
45710 * sysdeps/i386/configure: Regenerated.
45711 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45712 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45713 * sysdeps/s390/s390-32/configure: Regenerated.
45714 * sysdeps/s390/s390-64/configure: Regenerated.
45715 * sysdeps/sh/configure: Regenerated.
45716 * sysdeps/sparc/configure: Regenerated.
45717 * sysdeps/x86_64/configure: Regenerated.
45718
a3f61311
AS
457192012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45720
c876e002
AS
45721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45722
a3f61311
AS
45723 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45724 denormal result into account.
45725
ac4c54f0
RM
457262012-03-25 Roland McGrath <roland@hack.frob.com>
45727
45728 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45729 Reported by Allan McRae <allan@archlinux.org>.
45730
6a9b9c02
JL
457312012-03-23 Jeff Law <law@redhat.com>
45732
45733 * nss/getnssent.c (__nss_getent): Fix typo.
45734
4c42a0c1
DM
457352012-03-23 David S. Miller <davem@davemloft.net>
45736
45737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45738
1532c7ac
L
457392012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45740
45741 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45742 to pad to uint64_t for each field.
45743 (dl_tls_index): Replace unsigned long with uint64_t.
45744
3ff42526
PP
457452012-03-23 Daniel Jacobowitz <dmj@google.com>
45746 Paul Pluzhnikov <ppluzhnikov@google.com>
45747
45748 [BZ #6528]
45749 * grp/Makefile (otherlibs): Don't set it.
45750 * inet/Makefile (otherlibs): Likewise.
45751 * login/Makefile (otherlibs): Likewise.
45752 * nscd/Makefile (otherlibs): Likewise.
45753 * posix/Makefile (otherlibs): Likewise.
45754 * pwd/Makefile (otherlibs): Likewise.
45755 * rt/Makefile (otherlibs): Likewise.
45756 * sunrpc/Makefile (otherlibs): Likewise.
45757 * nss/Makefile (otherlibs): Likewise.
45758 Add libnss_files to routines and static-only-routines.
45759 ($(objpfx)getent): Remove rule.
45760 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45761 static-only-routines.
45762
7c69cd14
JM
457632012-03-22 Joseph Myers <joseph@codesourcery.com>
45764
45765 [BZ #13892]
45766 * math/s_cexp.c: Include <float.h>.
45767 (__cexp): Handle exp result overflowing not necessarily
45768 overflowing both real and imaginary parts of result.
45769 * math/s_cexpf.c: Likewise.
45770 * math/s_cexpl.c: Likewise.
45771 * math/libm-test.inc (cexp_test): Add more tests.
45772 * sysdeps/i386/fpu/libm-test-ulps: Update.
45773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45774
81b035fe
L
457752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45776
45777 * include/link.h (ELFW): New macro.
45778 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45779 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45780
1da7940c
L
457812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45782
45783 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45784 with uint64_t.
45785
b749dbb9
L
457862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45787
45788 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45789 declaration.
45790 (struct La_x32_retval): Likewise.
45791
2ff87f3f
L
457922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45793
45794 * sysdeps/x86_64/preconfigure.in: New file.
45795 * sysdeps/x86_64/preconfigure: New generated file.
45796
c0df8e69
JM
457972012-03-22 Joseph Myers <joseph@codesourcery.com>
45798
48e44791
JM
45799 [BZ #13824]
45800 * math/e_exp2l.c: Include <float.h>.
45801 (__ieee754_exp2l): Handle overflow and underflow cases
45802 separately. Only pass fractional part of argument to
45803 __ieee754_expl.
45804 * math/libm-test.inc (exp2_test): Add more tests.
45805
c0df8e69
JM
45806 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45807 negating x to take absolute value.
45808 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45809 Likewise.
45810 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45811 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45812 Likewise.
45813 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45814 computing low part if x was negated.
45815 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45816
c8e43ba7
L
458172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45818
45819 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45820 la_x32_gnu_pltexit.
45821 (pltexit): Cast int_retval to ptrdiff_t.
45822 * elf/tst-auditmod3b.c: Likewise.
45823 * elf/tst-auditmod4b.c: Likewise.
45824 * elf/tst-auditmod5b.c: Likewise.
45825 * elf/tst-auditmod6b.c: Likewise.
45826 * elf/tst-auditmod6c.c: Likewise.
45827 * elf/tst-auditmod7b.c: Likewise.
45828
45829 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45830 and x32_gnu_pltexit.
45831
45832 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45833 __ELF_NATIVE_CLASS.
45834 (La_x32_regs): New macro.
45835 (La_x32_retval): Likewise.
45836 (la_x32_gnu_pltenter): New function prototype.
45837 (la_x32_gnu_pltexit): Likewise.
45838
7998fa78
AS
458392012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45840
dcb33988
AS
45841 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45842 exponent.
45843
233fc563
AS
45844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45845
7998fa78
AS
45846 * configure.in (libc_cv_cc_nofma): Check for option to disable
45847 generation of FMA instructions.
45848 * configure: Regenerate.
45849 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45850 * sysdeps/ieee754/dbl-64/Makefile: New file.
45851 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45852 Remove brandred-fma4.
45853 (CFLAGS-brandred-fma4.c): Remove.
45854 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45855 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45856 define.
45857 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45858 define.
45859
8e95c99a
L
458602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45861
45862 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45863 LLONG_MAX != LONG_MAX.
45864 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45865 (_fitoa_word): Likewise.
45866 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45867 LLONG_MAX != LONG_MAX.
45868 * stdio-common/_itowa.h: Include <_itoa.h>.
45869 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45870 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45871 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45872 only if not defined.
45873 (_ITOA_WORD_TYPE): Likewise.
45874 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45875 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45876
6f4db457
DM
458772012-03-21 David S. Miller <davem@davemloft.net>
45878
45879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45880
7785fe5a
L
458812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45882
45883 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45884 of x86_64 when setting libc_cv_slibdir, libdir and
45885 libc_cv_localedir.
45886 * sysdeps/unix/sysv/linux/configure: Regenerated.
45887
4535cd55
JM
458882012-03-21 Joseph Myers <joseph@codesourcery.com>
45889
45890 * manual/lang.texi (Old Varargs): Remove section.
45891 (How Variadic): Update menu.
45892 (va_start): Do not mention varargs.h.
45893
17228132
TS
458942012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45895 Joseph Myers <joseph@codesourcery.com>
45896
45897 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45898 link test.
45899 * configure: Regenerated.
45900
8149f976
TS
459012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45902
05f3d1f6
UD
45903 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45904 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45905 conformtest.pl
8149f976 45906
1a4ac776
JM
459072012-03-21 Joseph Myers <joseph@codesourcery.com>
45908
be22ce65
JM
45909 * NOTES: Remove.
45910 * Makefile (files-for-dist): Remove NOTES.
45911 (NOTES): Remove rule.
45912 * README: Don't refer to NOTES.
45913 * manual/creature.texi: Don't include macros.texi.
45914 * manual/intro.texi (creature.texi): Remove comment referring to
45915 NOTES.
45916
40b601fb
JM
45917 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45918 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45919 * configure: Regenerated.
45920 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45921 LIBC_TRY_CC_OPTION.
45922 (libc_cv_as_i686): Likewise.
45923 (libc_cv_cc_avx): Likewise.
45924 (libc_cv_cc_sse2avx): Likewise.
45925 (libc_cv_cc_fma4): Likewise.
45926 (libc_cv_cc_novzeroupper): Likewise.
45927 * sysdeps/i386/configure: Regenerated.
45928
1a4ac776
JM
45929 [BZ #13883]
45930 * sysdeps/i386/fpu/s_cexp.S: Remove.
45931 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45932 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45933 * math/libm-test.inc (cexp_test): Add more tests.
45934 * sysdeps/i386/fpu/libm-test-ulps: Update.
45935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45936
a458e7fe
AM
459372012-03-21 Allan McRae <allan@archlinux.org>
45938
45939 * timezone/Makefile: Do not install iso3166.tab and zone.tab
45940
0cb7efc5
JM
459412012-03-21 Joseph Myers <joseph@codesourcery.com>
45942
45943 [BZ #13871]
45944 * math/w_exp2.c: Do not include <float.h>.
45945 (o_threshold, u_threshold): Remove.
45946 (__exp2): Calculate result before checking finiteness and calling
45947 __kernel_standard.
45948 * math/w_exp2f.c: Likewise.
45949 * math/w_exp2l.c: Likewise.
45950 * math/libm-test.inc (exp2_test): Require overflow exception for
45951 1e6 input.
2460d3aa
JM
45952
45953 [BZ #3866]
45954 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45955 range of signed 64-bit integers before using fistpll. Remove
45956 checks for whether integers fit in mantissa bits.
45957 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45958 the range of signed 32-bit integers before using fistpl. Remove
45959 checks for whether integers fit in mantissa bits.
45960 * sysdeps/i386/fpu/e_powl.S (p64): New object.
45961 (__ieee754_powl): Test for y outside the range of signed 64-bit
45962 integers before using fistpll. Reduce 64-bit values to 63-bit
45963 ones as needed.
45964 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45965 divide-by-zero is raised for zero to large negative powers.
45966 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45967 (__ieee754_powl): Test for y outside the range of signed 64-bit
45968 integers before using fistpll. Reduce 64-bit values to 63-bit
45969 ones as needed.
45970 * math/libm-test.inc (pow_test): Add more tests.
45971
eb96ffb0
L
459722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45973
45974 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45975 <stdio-common/_itoa.h>.
45976 * debug/segfault.c: Likewise.
45977 * elf/dl-cache.c: Likewise.
45978 * elf/dl-minimal.c: Likewise.
45979 * elf/dl-misc.c: Likewise.
45980 * elf/dl-sysdep.c: Likewise.
45981 * elf/dl-version.c: Likewise.
45982 * elf/rtld.c: Likewise.
45983 * hurd/hurdsock.c: Likewise.
45984 * hurd/lookup-retry.c: Likewise.
45985 * malloc/malloc.c: Likewise.
45986 * malloc/mtrace.c: Likewise.
45987 * nscd/nscd_getgr_r.c: Likewise.
45988 * nscd/nscd_getpw_r.c: Likewise.
45989 * nscd/nscd_getserv_r.c: Likewise.
45990 * posix/getopt_init.c: Likewise.
45991 * posix/wordexp.c: Likewise.
45992 * stdio-common/_itoa.c: Likewise.
45993 * stdio-common/printf_fphex.c: Likewise.
45994 * stdio-common/vfprintf.c: Likewise.
45995 * string/_strerror.c: Likewise.
45996 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45997 * sysdeps/i386/i686/hp-timing.h: Likewise.
45998 * sysdeps/mach/_strerror.c: Likewise.
45999 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46000 * sysdeps/mach/hurd/sethostid.c: Likewise.
46001 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46002 * sysdeps/mach/xpg-strerror.c: Likewise.
46003 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46004 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46005 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46006 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46007 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46008 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46009 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46010 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46011 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46012 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46013 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46014 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46015 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46016 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46017 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46018 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46019 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46020 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46021 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46022 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46023 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46024
46025 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46026
46027 * stdio-common/_itoa.h: Moved to ...
46028 * sysdeps/generic/_itoa.h: Here.
46029
46030 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46031
46032 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46033 instead of "_itoa.h" and "_itowa.h".
46034 * stdio-common/vfprintf.: Likewise.
46035
d1af992d
L
460362012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46037
46038 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46039 <bits/wordsize.h>.
46040 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46041 (__signbit): Likwise.
46042 (llrintf): Likwise.
46043 (llrint): Likwise.
46044
114883e0
L
460452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46046
46047 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46048 __WORDSIZE != 64.
46049
c135cc1b
JM
460502012-03-20 Joseph Myers <joseph@codesourcery.com>
46051
46052 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46053 OVERFLOW_EXCEPTION_OK.
46054 * math/libm-test.inc ("Philosophy"): Update comment about
46055 exception testing.
46056 (OVERFLOW_EXCEPTION): Define.
46057 (OVERFLOW_EXCEPTION_OK): Likewise.
46058 (INVALID_EXCEPTION_OK): Renumber.
46059 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46060 (IGNORE_ZERO_INF_SIGN): Likewise.
46061 (test_exceptions): Handle FE_OVERFLOW.
46062 (exp10_test): Expect overflow exceptions.
46063 (exp2_test): Likewise.
46064 (expm1_test): Likewise.
46065 (nextafter_test): Likewise.
46066 (pow_test): Likewise.
46067 (scalbn_test): Likewise.
46068 (scalbln_test): Likewise.
46069
95443d88
L
460702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46071
46072 * sysdeps/x86_64/bits/atomic.h
46073 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46074 64bit integer.
46075 (atomic_exchange_acq): Likewise.
46076 (__arch_exchange_and_add_body): Likewise.
46077 (__arch_add_body): Likewise.
46078 (atomic_add_negative): Likewise.
46079 (atomic_add_zero): Likewise.
46080
490df6c4
L
460812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46082
c2722551 46083 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
46084 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46085
5e52b189
L
460862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46087
46088 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46089 Check __x86_64__ instead of __WORDSIZE.
46090
a9879d4c
L
460912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46092
46093 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46094
5df98260
DM
460952012-03-19 David S. Miller <davem@davemloft.net>
46096
e1497744
DM
46097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46098
5df98260
DM
46099 * sysdeps/sparc/fpu/fenv_private.h: New file.
46100 * sysdeps/sparc/fpu/math_private.h: Use it.
46101 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46102 Remove.
57f41c40 46103 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
46104 (libc_feholdexcept_setroundl): Remove.
46105 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46106 Remove.
46107 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46108 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46109
b4c35121
L
461102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46111
46112 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46113 int64_t instead of long int.
46114 (INSERT_WORDS64): Likwise.
46115
56965fd7
L
461162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46117
46118 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46119 _Unwind_GetCFA return to _Unwind_Ptr first.
46120
83d1aec8
JM
461212012-03-19 Joseph Myers <joseph@codesourcery.com>
46122
1897ad44
JM
46123 [BZ #13629]
46124 * math/s_clog.c: Include <float.h>.
46125 (__clog): Scale large or subnormal inputs.
46126 * math/s_clogf.c: Likewise.
46127 * math/s_clogl.c: Likewise.
46128 * math/s_clog10.c: Include <float.h>.
46129 (M_LOG10_2): Define.
46130 (__clog10): Scale large or subnormal inputs.
46131 * math/s_clog10f.c: Likewise.
46132 * math/s_clog10l.c: Likewise.
46133 * math/libm-test.inc (clog_test): Add more tests.
46134 (clog10_test): Likewise.
46135 * sysdeps/i386/fpu/libm-test-ulps: Update.
46136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46137
7726d6a9
JM
46138 [BZ #11451]
46139 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46140 x and y.
46141 * math/libm-test.inc (atan2_test): Add another test.
46142
83d1aec8
JM
46143 * Makerules (common-objdir-compile): Remove.
46144 * sysdeps/unix/Makefile (config-generated): Do not add
46145 $(unix-generated) to variable.
46146 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46147 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46148 Remove rule.
46149 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46150 Likewise.
46151 [generic bits/local_lim.h] (before-compile): Do not append to
46152 variable.
46153 [generic bits/local_lim.h] (common-generated): Likewise.
46154 [generic sys/param.h] (before-compile): Do not append to variable.
46155 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46156 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46157 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46158 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46159 include.
46160 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46161 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46162 [generic sys/param.h] ($(addprefix
46163 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46164 [generic sys/param.h] (common-generated): Do not append to
46165 variable.
46166 [generic sys/param.h] (sysdep_headers): Likewise.
46167 [generic bits/errno.h] (before-compile): Do not append to
46168 variable.
46169 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46170 rule.
46171 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46172 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46173 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46174 [generic bits/errno.h] (common-generated): Do not append to
46175 variable.
46176 [generic bits/ioctls.h] (before-compile): Do not append to
46177 variable.
46178 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46179 rule.
46180 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46181 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46182 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46183 rule.
46184 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46185 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46186 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46187 [generic bits/ioctls.h] (common-generated): Do not append to
46188 variable.
46189 [generic sys/syscall.h] (syscall.h): Remove variable.
46190 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46191 rule.
46192 [generic sys/syscall.h] (before-compile): Do not append to
46193 variable.
46194 [generic sys/syscall.h] (common-generated): Likewise.
46195 * sysdeps/unix/errnos-tmpl.c: Remove file.
46196 * sysdeps/unix/errnos.awk: Likewise.
46197 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46198 * sysdeps/unix/ioctls.awk: Likewise.
46199 * sysdeps/unix/mk-local_lim.c: Likewise.
46200 * sysdeps/unix/snarf-ioctls: Likewise.
46201
4851a949
RH
462022012-03-19 Richard Henderson <rth@twiddle.net>
46203
bd37f2ee
RH
46204 * sysdeps/i386/fpu/fenv_private.h: New file.
46205 * sysdeps/i386/fpu/math_private.h: Use it.
46206 (math_opt_barrier, math_force_eval): Remove.
46207 (libc_feholdexcept_setround_53bit): Remove.
46208 (libc_feupdateenv_53bit): Remove.
46209 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46210 (math_opt_barrier, math_force_eval): Remove.
46211 (libc_feholdexcept): Remove.
46212 (libc_feholdexcept_setround): Remove.
46213 (libc_fetestexcept, libc_fesetenv): Remove.
46214 (libc_feupdateenv_test): Remove.
46215 (libc_feupdateenv, libc_feholdsetround): Remove.
46216 (libc_feresetround): Remove.
46217
d0adc922
RH
46218 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46219 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46220
0fe0f1f8
RH
46221 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46222 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46223 (libc_feupdateenv_testl): New.
46224 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46225 (libc_feupdateenv_testf): New.
46226 (libc_feupdateenv): Use libc_feupdateenv_test.
46227 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46228 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46229
eb92c487
RH
46230 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46231 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46232 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46233 (libc_feresetround_noex): New.
46234 (libc_feresetround_noexf): New.
46235 (libc_feresetround_noexl): New.
46236 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46237 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46238 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46239 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46240 SET_RESTORE_ROUND.
46241 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46242 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46243 (__cos): Likewise.
46244 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46245 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46246 SET_RESTORE_ROUND_NOEX.
46247 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46248 SET_RESTORE_ROUND_NOEXF.
46249 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46250 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46251 (libc_feholdsetroundf): New.
46252 (libc_feresetround, libc_feresetroundf): New.
46253
7d2e8012
RH
46254 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46255 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46256 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46257
b4dabbb4
RH
46258 * sysdeps/generic/math_private.h: Include <fenv.h>.
46259 (default_libc_feholdexcept): New.
46260 (default_libc_feholdexcept_setround): New.
46261 (default_libc_fesetenv, default_libc_feupdateenv): New.
46262 (libc_feholdexcept): Only define if undefined.
46263 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46264 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46265 (libc_feholdexcept_setroundl): Likewise.
46266 (libc_feholdexcept_setround_53bit): Likewise.
46267 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46268 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46269 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46270 (libc_feupdateenv_53bit): Likewise.
46271 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46272 (libc_feholdexcept): Convert from macro to inline function.
46273 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46274 (libc_fesetenv, libc_feupdateenv): Likewise.
46275
4851a949
RH
46276 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46277 not previously defined.
46278 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46279 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46280 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46281 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46282 * sysdeps/ieee754/flt-32/math_private.h: New file.
46283 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46284 math_private.h below SET_FLOAT_WORD.
46285 (__isnan, __isinf_ns, __finite): Remove.
46286 (__isnanf, __isinf_nsf, __finitef): Remove.
46287
e79d442e
AS
462882012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46289
46290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46291
90b80344
DM
462922012-03-17 David S. Miller <davem@davemloft.net>
46293
46294 [BZ #6471]
46295 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46296 for 2.16.
46297
edc21804
DM
462982012-03-16 David S. Miller <davem@davemloft.net>
46299
77e927af
DM
46300 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46301 warnings.
46302
374976dd
DM
46303 [BZ #6471]
46304 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46305 properly.
46306 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46307 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46308 sysdep_routines when subdir is sysvipc.
46309 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46310 __getshmlba helper.
46311
edc21804
DM
46312 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46313
473c3ef3
L
463142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46315
46316 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46317 [__LP64__].
46318
eb0f39b6
L
463192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46320
46321 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46322 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46323 (__lround): Renamed to ...
46324 (__llround): This. Replace long int with long long int.
46325 Define lround functions as aliases of llround functions.
46326 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46327
6b6cd74b
L
463282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46329
46330 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46331 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46332 adresses to uintptr_t. Replace "long int" and "unsigned long
46333 int" with "greg_t" on va_arg.
46334
f1a77b01
L
463352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46336
46337 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46338 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46339
46340 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46341 Move e_machine check before EI_CLASS check. Handle x32
46342 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46343 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46344 SKIP_EM_IA_64 and include
46345 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46346
46347 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46348 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46349 (add_system_dir): New macro.
46350
46351 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46352 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46353
11b90b9f
JM
463542012-03-16 Joseph Myers <joseph@codesourcery.com>
46355
c36e1d23
JM
46356 [BZ #2551]
46357 [BZ #2552]
46358 [BZ #2553]
46359 [BZ #2554]
46360 [BZ #2562]
46361 [BZ #2563]
46362 [BZ #2565]
46363 [BZ #2566]
46364 [BZ #2576]
46365 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46366 (y0): Likewise.
46367 * math/w_j0f.c (j0f): Likewise.
46368 (y0f): Likewise.
46369 * math/w_j0l.c (__j0l): Likewise.
46370 (__y0l): Likewise.
46371 * math/w_j1.c (j1): Likewise.
46372 (y1): Likewise.
46373 * math/w_j1f.c (j1f): Likewise.
46374 (y1f): Likewise.
46375 * math/w_j1l.c (__j1l): Likewise.
46376 (__y1l): Likewise.
46377 * math/w_jn.c (jn): Likewise.
46378 (yn): Likewise.
46379 * math/w_jnf.c (jnf): Likewise.
46380 (ynf): Likewise.
46381 * math/w_jnl.c (__jnl): Likewise.
46382 (__ynl): Likewise.
46383 * math/libm-test.inc (j0_test): Add more tests.
46384 (j1_test): Likewise.
46385 (jn_test): Likewise. Add trailing semicolon to existing test.
46386 (y0_test): Likewise.
46387 (y1_test): Likewise.
46388 * sysdeps/i386/fpu/libm-test-ulps: Update.
46389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46390
11b90b9f
JM
46391 [BZ #13851]
46392 [BZ #13854]
46393 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46394 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46395 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46396 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46397 (__tanl): Set errno for infinite argument.
46398 * sysdeps/i386/fpu/mptan.c: Remove.
46399 * sysdeps/i386/fpu/s_tan.S: Likewise.
46400 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46401 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46402 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46403 * math/libm-test.inc (tan_test): Add more tests and enable more
46404 tests for double and long double.
46405 * sysdeps/i386/fpu/libm-test-ulps: Update.
46406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46407
6a1bd2a1
JK
464082012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46409
46410 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46411 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46412
10a803e0
RM
464132012-03-16 Roland McGrath <roland@hack.frob.com>
46414
46415 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46416 * configure.in: Use it for both main tree and add-ons.
46417 * configure: Regenerated.
46418
f196c7f7
L
464192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46420
46421 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46422
8848d99d
JM
464232012-03-16 Joseph Myers <joseph@codesourcery.com>
46424
96cbe7f4
JM
46425 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46426 in comment.
46427
8848d99d
JM
46428 [BZ #13851]
46429 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46430 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46431 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46432 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46433 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46434 infinite argument.
46435 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46436 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46437 != 0 for prec == 2.
46438 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46439 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46440 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46441 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46442 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46443 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46444 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46445 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46446 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46447 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46448 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46449 * math/libm-test.inc (cos_test): Add more tests and enable more
46450 tests for long double.
46451 (sin_test): Likewise.
46452 (sincos_test): Likewise.
46453 * sysdeps/i386/fpu/libm-test-ulps: Update.
46454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46455
dd7f4703
DM
464562012-03-16 David S. Miller <davem@davemloft.net>
46457
46458 * sysdeps/sparc/fpu/math_private.h: New file.
46459
006f1daa
DM
464602012-03-15 David S. Miller <davem@davemloft.net>
46461
c0c83bc8
DM
46462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46463 file.
e6a62e18 46464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
46465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46466 file.
e6a62e18
DM
46467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46468 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46469 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46472 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46473 sysdep routines.
46474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46475
88cb87d9
DM
46476 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46477 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46478
006f1daa 46479 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
46480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46481 sparc-ifunc.h
006f1daa 46482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
46483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46484 Likewise.
46485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46486 Likewise.
006f1daa
DM
46487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
46490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46491 Likewise.
006f1daa
DM
46492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
46496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46497 Likewise.
46498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46499 Likewise.
006f1daa
DM
46500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46504 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46505 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46506 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46507 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46508 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46509 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46510 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46511 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46514 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46515 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46516 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46517 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46518 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46519 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46520 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46521 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46522 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46523 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46524
11e0098e
AS
465252012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46526
46527 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46528 scaling.
46529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46530
e85b09d0
AJ
465312012-03-15 Andreas Jaeger <aj@suse.de>
46532
46533 [BZ #13852]
46534 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46535 ieee754/flt-32 implementation for sin, cos and sincos.
46536 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46537 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46538 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46539 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46540 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46541 ieee754/flt-32 implementation for tan.
46542
46543 * math/libm-test.inc (cos_test): Enable some large input tests for
46544 float as well
46545 (sin_test): Likewise.
46546 (sincos_test): Likewise.
46547 (tan_test): Add tests for large input.
46548
46549 * sysdeps/i386/fpu/libm-test-ulps: Update.
46550
81c64153
AJ
465512012-03-15 Andreas Jaeger <aj@suse.de>
46552
46553 [BZ #13658]
46554 * math/libm-test.inc (cos_test): Add more test cases.
46555 (sin_test): Likewise.
46556 (sincos_test): Likewise.
46557
7bbfa5c6
AJ
465582012-03-15 Andreas Jaeger <aj@suse.de>
46559
46560 [BZ #13837]
46561 * math/libm-test.inc (cos_test): Add a test case for large input
46562 value.
46563 (sin_test): Likewise.
46564 (sincos_test): Likewise.
46565
57f41c40
AS
465662012-03-15 Andreas Jaeger <aj@suse.de>
46567 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
46568
46569 [BZ #13658]
0671f479 46570 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
46571 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46572 * sysdeps/i386/fpu/branred.c: Likewise.
46573 * sysdeps/i386/fpu/dosincos.c: Likewise.
46574 * sysdeps/i386/fpu/mpa.c: Likewise.
46575 * sysdeps/i386/fpu/s_cos.S: Likewise.
46576 * sysdeps/i386/fpu/s_sin.S: Likewise.
46577 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46578 * sysdeps/i386/fpu/sincos32.c: Likewise.
46579
46580 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46581 Define.
46582 (libc_feupdateenv_53bit): Define.
46583 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46584 Define.
46585 (libc_feupdateenv_53bit): Define.
46586
46587 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46588 53 bit (without extend i386 double precision).
46589
46590 * math/libm-test.inc (sincos_test): Add tests for large input.
46591 (sin): Likewise.
46592 (cos): Likewise.
46593
46594 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46595
9cad04ea
AS
465962012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46597
46598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46599
f7062b9a
DM
466002012-03-15 David S. Miller <davem@davemloft.net>
46601
46602 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46603 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46604 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46605 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46610 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46612 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
46617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46618 file.
f7062b9a 46619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
46620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46621 file.
f7062b9a 46622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
46623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46624 file.
f7062b9a 46625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
46626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46627 file.
f7062b9a
DM
46628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46629 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46630 fmin/fmax sysdep routines.
46631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46632
7bd951ff
DM
466332012-03-14 David S. Miller <davem@davemloft.net>
46634
559398ab
DM
46635 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46636 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46637 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46638 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46639 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46640 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46641 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46642 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46643 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46644 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46645 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46646 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46647 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46648 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46649 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46650 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46651 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46652 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46653 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46655 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46656 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46657 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46658 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46659 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46660 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46661 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46662 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46663 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46664 routines.
46665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46666 file.
559398ab 46667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
46668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46669 file.
559398ab 46670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
46671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46672 file.
559398ab 46673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
46674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46675 file.
559398ab 46676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
46677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46678 file.
559398ab 46679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
46680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46681 file.
46682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46683 file.
46684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46685 file.
46686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46687 file.
46688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46689 New file.
46690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46691 file.
46692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46693 file.
559398ab 46694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
46695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46696 file.
559398ab 46697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46699 file.
559398ab 46700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
46701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46702 file.
559398ab 46703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
46704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46705 VIS3 routines.
559398ab
DM
46706
46707 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46708 New file.
46709
5a1c1e32
DM
46710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46711
eae47a36
DM
46712 * sysdeps/sparc/configure.in: New file.
46713 * sysdeps/sparc/configure: Generate.
46714 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46715 * configure: Regenerate.
46716 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46717 * config.make.in (have-as-vis3): New.
46718 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46719 available use -Av9d instead of -Av9a.
46720 * sysdeps/sparc/sparc64/Makefile: Likewise.
46721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
46722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46723 New file.
46724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46725 file.
46726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46727 New file.
46728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46729 file.
eae47a36
DM
46730 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46731 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46732 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46733 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46734 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46735
c0c83bc8
DM
46736 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46737 fzeros/fnegs to load 0x80000000 into a float register instead of
46738 using the stack.
7bd951ff
DM
46739 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46740
bd951ccb
JM
467412012-03-14 Joseph Myers <joseph@codesourcery.com>
46742
46743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46744 bits/syscall.h.
46745 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46746 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46747 ($(inst_includedir)/bits/syscall.h): Remove rule.
46748 ($(objpfx)bits/syscall.d): Include instead of
46749 $(objpfx)syscall-list.d.
46750 (generated): Change syscall-list.h and syscall-list.d to
46751 bits/syscall.h and bits/syscall.d.
46752
bb4e6db2
RM
467532012-03-14 Roland McGrath <roland@hack.frob.com>
46754
46755 [BZ #13846]
46756 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46757
aa4a2ae1
JM
467582012-03-14 Joseph Myers <joseph@codesourcery.com>
46759
e456826d
JM
46760 [BZ #13841]
46761 * math/s_csqrt.c: Include <float.h>.
46762 (__csqrt): Scale large or subnormal inputs.
46763 * math/s_csqrtf.c: Likewise.
46764 * math/s_csqrtl.c: Likewise.
46765 * math/libm-test.inc (csqrt_test): Add more tests.
46766 * sysdeps/i386/fpu/libm-test-ulps: Update.
46767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46768
aa4a2ae1
JM
46769 [BZ #13840]
46770 * math/libm-test.inc (hypot_test): Add more tests.
46771
7c10fd35
DM
467722012-03-13 David S. Miller <davem@davemloft.net>
46773
46774 [BZ #13840]
46775 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46776 double-precision for the calculation instead of scaling.
46777
f453b98b
JM
467782012-03-13 Joseph Myers <joseph@codesourcery.com>
46779
46780 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46781 manipulate bits before adding and subtracting TWO52[sx].
46782 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46783 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46784 Likewise.
46785 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46786
09a3453f
DM
467872012-03-13 David S. Miller <davem@davemloft.net>
46788
8e59da90
DM
46789 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46790 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46791 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46792 rtld-global-offsets.h
46793 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46794
2a8ab7f2
DM
46795 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46796 large parameters.
46797
10f62770
DM
46798 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46799
5f0bdb18
DM
46800 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46801 'err' in the ifdef scope in which it is actually used.
46802
09a3453f
DM
46803 * nss/nss_db/db-init.c: Include string.h
46804
b4b2eb5e
DM
468052012-03-12 David S. Miller <davem@davemloft.net>
46806
98bb2f1c
DM
46807 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46808 masking out of the most significant byte of random value used.
46809 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46810 Fix coding style in previous change.
46811
b4b2eb5e
DM
46812 * sysdeps/unix/sysv/linux/kernel-features.h
46813 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46814 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46815 expression.
46816 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46817 later.
46818
6e226b09
DM
468192012-03-11 David S. Miller <davem@davemloft.net>
46820
a1bcbd40
DM
46821 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46822 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46823 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46824 for 'resultvar' otherwise things get truncated on 64-bit.
46825
cb9d6174
DM
46826 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46827 Fix masking out of the most significant byte of random value used.
46828
6e226b09
DM
46829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46830
058c132d
AS
468312012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46832
46833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46834
2d2cd515
DM
468352012-03-09 David S. Miller <davem@davemloft.net>
46836
46837 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46838 variables with appropriate CPP guards.
57f41c40
AS
46839 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46840 from the frame pointer, not the stack pointer. Correct layout
46841 comments. Fix test on resulting framesize and the management of
46842 the outregs buffer for pltexit. Preserve floating point return
46843 values across _dl_call_pltexit call.
2d2cd515
DM
46844 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46845 framesize and the management of the outregs buffer for pltexit.
46846 Preserve floating point return values across _dl_call_pltexit
46847 call.
57f41c40
AS
46848 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46849 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46850 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
46851 (print_exit): Fix format string for return register value.
46852
9a07f9d0
JM
468532012-03-10 Joseph Myers <joseph@codesourcery.com>
46854
46855 * sunrpc/Makefile (others): Add rpcgen.
46856 ($(objpfx)rpcgen): Remove special build rule and dependency on
46857 libc.
46858 * sunrpc/rpcgen.c: New file.
46859
547b5e30
PE
468602012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46861
c524201a
PE
46862 [BZ #13673]
46863 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46864 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46865 * sysdeps/i386/crti.S: Likewise.
46866 * sysdeps/i386/crtn.S: Likewise.
46867 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46868 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46869 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46870 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46871 * sysdeps/sh/crti.S: Likewise.
46872 * sysdeps/sh/crtn.S: Likewise.
46873 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46874
7b6235f2
PE
46875 [BZ #13673]
46876 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46877 with URL.
46878 * locale/programs/locfile-kw.gperf: Likewise.
46879 * locale/programs/charmap-kw.h: Regenerated.
46880 * locale/programs/locfile-kw.h: Likewise.
46881
547b5e30
PE
46882 [BZ #13673]
46883 * intl/plural.y: Replace FSF snail mail address with URL.
46884 * intl/plural.c: Regenerated.
46885
5f0a5dae
RH
468862012-03-09 Richard Henderson <rth@twiddle.net>
46887
46888 * include/math_private.h: Remove file.
46889 * math/math_private.h: Move file ...
46890 * sysdeps/generic/math_private.h: ... here.
46891
b8c03620
RH
46892 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46893 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46894 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46895
4e234f5d 46896 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
46897 and <math_private.h>.
46898 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46899 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46900 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46901 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46902 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46903 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46904 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46905 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46906 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46907 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46908 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46909 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46910 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46911 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46912 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46913 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46914 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46915 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46916 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46917 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46918 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46919 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46920 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46921 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46922 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46923 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46924 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46925 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46927 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46928 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46929 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46930 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46931 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46932 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46933 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46934 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46935 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46936 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46937 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46938 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46939 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46940 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46941 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46942 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46943 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46944 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46945 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46946 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46947 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46948 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46949 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46950 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46951 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46952 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46953 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46954 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46955 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46956 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46957 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46958 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46959 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46960 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46961 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46962 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46963 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46964 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46965 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46966 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46967 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46968 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46969 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46970 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46971 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46972 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46973 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46974 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46975 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46976 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46977 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46978 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46979 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46980 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46981 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46982 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46983 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46984 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46985 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46986 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46987 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46988 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46989 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46990 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46991 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46992 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46993 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46994 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46995 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46996 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46997 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46998 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46999 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47000 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47001 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47002 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47003 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47004 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47005 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47006 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47007 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47008 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47009 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47010 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47011 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47012 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47013 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47014 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47015 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47016 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47017 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47018 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47019 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47020 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47021 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47022 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47023 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47024 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47025 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47026 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47027 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47028 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47029 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47030 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47031 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47032 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47033 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47034 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47035 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47036 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47037 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47038 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47039 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47040 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47041 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47042 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47043 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47044 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47045 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47046 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47047 * sysdeps/ieee754/k_standard.c: Likewise.
47048 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47049 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47050 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47051 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47052 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47053 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47054 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47055 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47056 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47057 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47058 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47059 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47060 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47061 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47062 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47063 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47064 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47065 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47066 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47067 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47068 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47069 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47070 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47071 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47072 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47073 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47074 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47075 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47076 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47077 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47078 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47079 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47080 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47081 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47082 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47083 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47084 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47085 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47086 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47087 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47088 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47089 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47090 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47091 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47092 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47093 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47094 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47095 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47096 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47097 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47098 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47099 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47100 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47101 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47102 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47103 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47104 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47105 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47106 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47107 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47108 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47109 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47110 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47111 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47112 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47113 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47114 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47115 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47116 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47117 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47118 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47119 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47120 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47121 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47122 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47123 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47124 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47125 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47126 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47127 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47128 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47129 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47130 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47131 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47132 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47133 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47134 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47135 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47136 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47137 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47138 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47139 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47140 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47141 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47142 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47143 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47144 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47145 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47146 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47147 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47148 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47149 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47150 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47151 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47152 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47153 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47154 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47155 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47156 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47157 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47158 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47159 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47160 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47161 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47162 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47163 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47164 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47165 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47166 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47167 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47168 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47169 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47170 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47171 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47172 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47173 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47174 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47175 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47176 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47177 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47178 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47179 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47180 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47181 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47182 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47183 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47184 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47185 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47186 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47187 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47188 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47189 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47190 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47191 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47192 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47193 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47194 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47195 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47196 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47197 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47198 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47199 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47200 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47201 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47202 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47203 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47204 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47205 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47206 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47207 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47208 * sysdeps/ieee754/s_lib_version.c: Likewise.
47209 * sysdeps/ieee754/s_matherr.c: Likewise.
47210 * sysdeps/ieee754/s_signgam.c: Likewise.
47211 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47212 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47213 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47214 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47215 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47216 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47217 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47218 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47219 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47220 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47221 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47222 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47223 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47224 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47225 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47226 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47227 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47228 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47229 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47230 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47231 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 47232
1991fa03
JM
472332012-03-09 Joseph Myers <joseph@codesourcery.com>
47234
47235 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47236 * sunrpc/rpc_main.c: Likewise.
47237 * sunrpc/rpc_svcout.c: Likewise.
47238
60d6f5a6
DM
472392012-03-09 David S. Miller <davem@davemloft.net>
47240
47241 * include/math_private.h: New file.
47242
4962050e
JM
472432012-03-09 Joseph Myers <joseph@codesourcery.com>
47244
02a6f887
JM
47245 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47246 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47247 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47248 from <bits/socket_type.h>.
47249 (enum __socket_type): Don't define here.
47250 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47252 bits/socket_type.h.
47253
c6e013c1
JM
47254 [BZ #13566]
47255 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47256 checking __USE_GNU.
47257
4962050e
JM
47258 * Makerules ($(inst_includedir)/%.h): New rule.
47259 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47260 (install-others): Remove variable setting.
47261 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47262
38842f45
RH
472632012-03-08 Richard Henderson <rth@twiddle.net>
47264
67bb6da6
RH
47265 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47266 from macro to inline function; merge with the
47267 !__LIBC_INTERNAL_MATH_INLINES version.
47268 (__ieee754_sqrtf): Likewise.
47269
15194b4b
RH
47270 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47271 to inline function.
47272 (__rintf, __floor, __floorf): Likewise.
47273
64e21ede
RH
47274 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47275 macro to inline function.
47276 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47277
38842f45
RH
47278 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47279 not <math/math_private.h>.
47280
c64bf5fe
DM
472812012-03-08 David S. Miller <davem@davemloft.net>
47282
47283 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47284 copyright year.
47285 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47286
82d86f28
TS
472872012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47288
47289 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47290 normalization.
47291 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47292 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47293
aea5d727
UD
472942012-03-08 Ulrich Drepper <drepper@gmail.com>
47295
47296 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47297 be defined individually, they must be defined as a block. Define
47298 S for printing a string instead of hidint the different by using a
47299 macro for adding the 'l'.
47300 * stdio-common/tst-fphex-wide.c: Adjust.
47301
70bca0a3
MP
473022012-03-07 Marek Polacek <polacek@redhat.com>
47303
47304 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47305
65b81130
MP
473062012-03-08 Marek Polacek <polacek@redhat.com>
47307
47308 [BZ #13806]
47309 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47310 * stdio-common/tst-fphex.c: Define a few macros to make the
47311 test reusable. Use them.
47312 * stdio-common/tst-fphex-wide.c: New file.
47313
07037eeb
JM
473142012-03-08 Joseph Myers <joseph@codesourcery.com>
47315
a7a93d50
JM
47316 [BZ #6911]
47317 * manual/macros.texi (gnusystems): New macro.
47318 (nongnusystems): Likewise.
47319 (gnulinuxhurdsystems): Likewise.
47320 (gnuhurdsystems): Likewise..
47321 (gnulinuxsystems): Likewise.
47322 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47323 variants of the GNU system, not "GNU system".
47324 * manual/conf.texi: Likewise.
47325 * manual/errno.texi: Likewise. Update example of errno macro
47326 expansion.
47327 * manual/filesys.texi: Likewise.
47328 (getumask): Document as specific to GNU/Hurd.
47329 * manual/install.texi: Likewise. Reword some references to
47330 GNU/Linux.
47331 * manual/intro.texi: Likewise.
47332 * manual/io.texi: Likewise.
47333 (File Name Portability): Detail which constraints are inapplicable
47334 to all GNU systems and which are only inapplicable to GNU/Hurd.
47335 * manual/job.texi: Likewise.
47336 * manual/llio.texi: Likewise.
47337 (O_NOCTTY): Document as present on GNU/Linux.
47338 * manual/maint.texi: Likewise.
47339 * manual/memory.texi: Likewise.
47340 * manual/pattern.texi: Likewise.
47341 * manual/pipe.texi: Likewise.
47342 * manual/process.texi: Likewise.
47343 * manual/resource.texi: Likewise.
47344 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47345 child on GNU/Hurd.
47346 * manual/setjmp.texi: Likewise.
47347 * manual/signal.texi: Likewise.
47348 * manual/startup.texi: Likewise.
47349 * manual/stdio.texi: Likewise.
47350 * manual/terminal.texi: Likewise.
47351 (ONLCR): Document as POSIX.
47352 (OXTABS): Document availability on GNU/Linux as XTABS.
47353 (ONOEOT): Document availability separately from other bits.
47354 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47355 * manual/time.texi: Likewise.
47356 * manual/users.texi: Likewise.
47357 * INSTALL: Regenerated.
47358 * sysdeps/gnu/errlist.c: Regenerated.
47359
07037eeb
JM
47360 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47361 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47362 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47363 puts.
47364 * configure: Regenerated.
47365
d1d3431a
JM
473662012-03-07 Joseph Myers <joseph@codesourcery.com>
47367
af6a1e37
JM
47368 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47369 default includes instead of AC_HEADER_CHECK.
47370 * sysdeps/i386/configure: Regenerated.
47371
d1d3431a
JM
47372 [BZ #10716]
47373 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47374 * math/s_cacoshf.c (__cacoshf): Likewise.
47375 * math/s_cacoshl.c (__cacoshl): Likewise.
47376 * math/s_casinh.c (__casinh): Set signs of result from argument.
47377 * math/s_casinhf.c (__casinhf): Likewise.
47378 * math/s_casinhl.c (__casinhl): Likewise.
47379 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47380 (casinh_test): Add more tests.
47381 * sysdeps/i386/fpu/libm-test-ulps: Update.
47382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47383
482ff4da
UD
473842012-03-07 Ulrich Drepper <drepper@gmail.com>
47385
872fda05
UD
47386 * po/zh_TW.po: Update from translation team.
47387
a4300c7a
UD
47388 * login/Makefile (distribute): Remove variable.
47389 * catgets/Makefile: Likewise.
47390 * mach/Makefile: Likewise.
47391 * malloc/Makefile: Likewise.
47392 * misc/Makefile: Likewise.
47393 * iconv/Makefile: Likewise.
47394 * nscd/Makefile: Likewise.
47395 * hurd/Makefile: Likewise.
47396 * manual/Makefile: Likewise.
47397 * locale/Makefile: Likewise.
47398 * intl/Makefile: Likewise.
47399 * conform/Makefile: Likewise.
47400 * nss/Makefile: Likewise.
47401 * time/Makefile: Likewise.
47402 * soft-fp/Makefile: Likewise.
47403 * dirent/Makefile: Likewise.
47404 * gmon/Makefile: Likewise.
47405 * po/Makefile: Likewise.
47406 * rt/Makefile: Likewise.
47407 * socket/Makefile: Likewise.
47408 * math/Makefile: Likewise.
47409 * signal/Makefile: Likewise.
47410 * debug/Makefile: Likewise.
47411 * elf/Makefile: Likewise.
47412 * timezone/Makefile: Likewise.
47413 * stdlib/Makefile: Likewise.
47414 * iconvdata/Makefile: Likewise.
47415 * sunrpc/Makefile: Likewise.
47416 * io/Makefile: Likewise.
47417 * argp/Makefile: Likewise.
47418 * inet/Makefile: Likewise.
47419 * hesiod/Makefile: Likewise.
47420 * grp/Makefile: Likewise.
47421 * csu/Makefile: Likewise.
47422 * wctype/Makefile: Likewise.
47423 * crypt/Makefile: Likewise.
47424 * libio/Makefile: Likewise.
47425 * string/Makefile: Likewise.
47426 * nis/Makefile: Likewise.
47427 * resolv/Makefile: Likewise.
47428 * stdio-common/Makefile: Likewise.
47429 * wcsmbs/Makefile: Likewise.
47430 * dlfcn/Makefile: Likewise.
47431 * posix/Makefile: Likewise.
47432
3b7c4e74 47433 [BZ #6959]
482ff4da
UD
47434 * timezone/Makefile: Don't install timezone files, just the programs
47435 and scripts.
47436
f72ed77d
UD
474372012-03-06 Ulrich Drepper <drepper@gmail.com>
47438
a000466f
UD
47439 * nss/databases.def: Add missing gshadow entry.
47440
f72ed77d
UD
47441 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47442
a53b7a4e
MP
474432012-03-06 Marek Polacek <polacek@redhat.com>
47444
47445 [BZ #13726]
47446 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47447 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47448 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47449 * stdio-common/tst-long-dbl-fphex.c: New file.
47450
e9258400
DM
474512012-03-06 David S. Miller <davem@davemloft.net>
47452
47453 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47454 (set_obp_int): New function.
47455 (get_obp_int): New function.
47456 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
47457 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47458 Avoid unused variable warnings on 'val' and use builtin_expect.
47459 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47460 __builtin_expect.
e9258400
DM
47461 (INLINE_CLONE_SYSCALL): Likewise.
47462
3bd2c723
DM
474632012-03-05 David S. Miller <davem@davemloft.net>
47464
47465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47466
bbb78d03
AS
474672012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47468
884c5db4
AS
47469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47470
bbb78d03
AS
47471 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47472 only for |x| >= 40.
47473 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47474
1c9f702a 474752012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
47476
47477 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47478 Replace gettimeofday with __vdso_gettimeofday.
47479
7be16f82
RM
47480 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47481 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47482 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
47483
47484 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47485 time with __vdso_time.
47486
ed58a00f
JM
474872012-03-05 Joseph Myers <joseph@codesourcery.com>
47488
47489 * manual/lang.texi (size_t): Note types to which size_t may be
47490 equivalent with the GNU C Library, but do not describe when
47491 differences between them are significant.
47492
30ee4ced
AJ
474932012-03-05 Andreas Jaeger <aj@suse.de>
47494
47495 * sysdeps/i386/fpu/libm-test-ulps: Update.
47496
b7cd39e8
JM
474972012-03-05 Joseph Myers <joseph@codesourcery.com>
47498
47499 [BZ #3976]
47500 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47501 (__ieee754_pow): Save and restore rounding mode and use
47502 round-to-nearest for main computations.
47503 * math/libm-test.inc (pow_test_tonearest): New function.
47504 (pow_test_towardzero): Likewise.
47505 (pow_test_downward): Likewise.
47506 (pow_test_upward): Likewise.
47507 (main): Call the new functions.
47508 * sysdeps/i386/fpu/libm-test-ulps: Update.
47509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
47510
47511 [BZ #3976]
47512 * math/libm-test.inc (cosh_test_tonearest): New function.
47513 (cosh_test_towardzero): Likewise.
47514 (cosh_test_downward): Likewise.
47515 (cosh_test_upward): Likewise.
47516 (sinh_test_tonearest): Likewise.
47517 (sinh_test_towardzero): Likewise.
47518 (sinh_test_downward): Likewise.
47519 (sinh_test_upward): Likewise.
47520 (main): Call the new functions.
47521 * sysdeps/i386/fpu/libm-test-ulps: Update.
47522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47523
6c6a98c9
TV
475242012-03-05 Tom de Vries <tom@codesourcery.com>
47525
47526 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47527 default stack guard is set in last bytes.
47528 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47529
21bb2d2e 475302012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 47531
21bb2d2e 47532 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 47533
21bb2d2e
AJ
47534 [BZ #13656]
47535 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47536 possibly allocate from heap instead of stack.
47537 * stdio-common/bug-vfprintf-nargs.c: New file.
47538 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 47539
c6922934
AS
475402012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47541
47542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47543
bc957d53
MP
475442012-03-03 Marek Polacek <polacek@redhat.com>
47545
47546 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47547 * math/math_private.h: Likewise.
47548 * stdlib/tst-strtod.c: Likewise.
47549 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47550 * sysdeps/x86_64/bits/atomic.h: Likewise.
47551
6358490d
DM
475522012-03-02 David S. Miller <davem@davemloft.net>
47553
47554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47558 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47559 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47560 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47561 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47562
01ae168d
RM
475632012-03-02 Roland McGrath <roland@hack.frob.com>
47564
d9a17c07
RM
47565 [BZ #13792]
47566 * manual/examples/README: New file, says the example source files
47567 can be used under GPL>=2.
47568 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47569 line containing just "*/".
47570 * manual/examples/add.c: Add copyright header (GPL>=2).
47571 * manual/examples/argp-ex1.c: Likewise.
47572 * manual/examples/argp-ex2.c: Likewise.
47573 * manual/examples/argp-ex3.c: Likewise.
47574 * manual/examples/argp-ex4.c: Likewise.
47575 * manual/examples/atexit.c: Likewise.
47576 * manual/examples/db.c: Likewise.
47577 * manual/examples/dir.c: Likewise.
47578 * manual/examples/dir2.c: Likewise.
47579 * manual/examples/execinfo.c: Likewise.
47580 * manual/examples/filecli.c: Likewise.
47581 * manual/examples/filesrv.c: Likewise.
47582 * manual/examples/fmtmsgexpl.c: Likewise.
47583 * manual/examples/genpass.c: Likewise.
47584 * manual/examples/inetcli.c: Likewise.
47585 * manual/examples/inetsrv.c: Likewise.
47586 * manual/examples/isockad.c: Likewise.
47587 * manual/examples/longopt.c: Likewise.
47588 * manual/examples/memopen.c: Likewise.
47589 * manual/examples/memstrm.c: Likewise.
47590 * manual/examples/mkfsock.c: Likewise.
47591 * manual/examples/mkisock.c: Likewise.
47592 * manual/examples/mygetpass.c: Likewise.
47593 * manual/examples/pipe.c: Likewise.
47594 * manual/examples/popen.c: Likewise.
47595 * manual/examples/rprintf.c: Likewise.
47596 * manual/examples/search.c: Likewise.
47597 * manual/examples/select.c: Likewise.
47598 * manual/examples/setjmp.c: Likewise.
47599 * manual/examples/sigh1.c: Likewise.
47600 * manual/examples/sigusr.c: Likewise.
47601 * manual/examples/stpcpy.c: Likewise.
47602 * manual/examples/strdupa.c: Likewise.
47603 * manual/examples/strftim.c: Likewise.
47604 * manual/examples/strncat.c: Likewise.
47605 * manual/examples/subopt.c: Likewise.
47606 * manual/examples/swapcontext.c: Likewise.
47607 * manual/examples/termios.c: Likewise.
47608 * manual/examples/testopt.c: Likewise.
47609 * manual/examples/testpass.c: Likewise.
47610 * manual/examples/timeval_subtract.c: Likewise.
47611
01ae168d
RM
47612 [BZ #13792]
47613 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47614 function to ...
47615 * manual/timeval_subtract.c.texi: ... here, new file.
47616
49efa33d
DM
476172012-03-02 David S. Miller <davem@davemloft.net>
47618
47619 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47620
28afd92d
JM
476212012-03-02 Joseph Myers <joseph@codesourcery.com>
47622
804360ed
JM
47623 [BZ #3976]
47624 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47625 (__sin): Save and restore rounding mode and use round-to-nearest
47626 for all computations.
47627 (__cos): Save and restore rounding mode and use round-to-nearest
47628 for all computations.
47629 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47630 <fenv.h>.
47631 (tan): Save and restore rounding mode and use round-to-nearest for
47632 all computations.
47633 * math/libm-test.inc (cos_test_tonearest): New function.
47634 (cos_test_towardzero): Likewise.
47635 (cos_test_downward): Likewise.
47636 (cos_test_upward): Likewise.
47637 (sin_test_tonearest): Likewise.
47638 (sin_test_towardzero): Likewise.
47639 (sin_test_downward): Likewise.
47640 (sin_test_upward): Likewise.
47641 (tan_test_tonearest): Likewise.
47642 (tan_test_towardzero): Likewise.
47643 (tan_test_downward): Likewise.
47644 (tan_test_upward): Likewise.
47645 (main): Call the new functions.
47646 * sysdeps/i386/fpu/libm-test-ulps: Update.
47647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47648
a6d06d7b
JM
47649 [BZ #10135]
47650 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47651 small n, then large n, before computing and testing k+n.
47652 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47653 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47654 Likewise.
47655 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47656 Likewise.
47657 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47658 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47659 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47660 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47661 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47662 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47663 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47664 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47665 * math/libm-test.inc (scalbn_test): Add more tests.
47666 (scalbln_test): Likewise.
47667
07e12bb3
JM
47668 * manual/filesys.texi (mode_t): Describe constraints on size and
47669 signedness, not exact equivalence to a particular type.
47670 (ino_t): Likewise.
47671 (ino64_t): Likewise.
47672 (dev_t): Likewise.
47673 (nlink_t): Likewise.
47674 (blkcnt_t): Likewise.
47675 (blkcnt64_t): Likewise.
47676 * manual/llio.texi (off_t): Likewise.
47677
28afd92d
JM
47678 [BZ #3976]
47679 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47680 (__ieee754_exp): Save and restore rounding mode and use
47681 round-to-nearest for all computations.
47682 * math/libm-test.inc (exp_test_tonearest): New function.
47683 (exp_test_towardzero): Likewise.
47684 (exp_test_downward): Likewise.
47685 (exp_test_upward): Likewise.
47686 (main): Call the new functions.
47687 * sysdeps/i386/fpu/libm-test-ulps: Update.
47688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47689
b1eeb65d
CD
476902012-03-01 Chris Demetriou <cgd@google.com>
47691
47692 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47693 have predictable order.
47694
53362a4b
DM
476952012-03-01 David S. Miller <davem@davemloft.net>
47696
3c969083
DM
47697 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47698
759707de
DM
47699 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47700 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47701 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47702 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47703
dfdb8ff2
DM
47704 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47705 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47706 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47708 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47709 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47710 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47711 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47712 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47713
ead89f96
DM
47714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47715
7f66bd07
DM
47716 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47717 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47718 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47719
53362a4b
DM
47720 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47721 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47722 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47723 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47724 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47725 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47726 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47727 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47728 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47729 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47730 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47731 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47732 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47733 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47734 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47735 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47736 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47737 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47738 * sysdeps/sparc/elf/configure: Regenerated.
47739
7b1902cb
JM
477402012-03-01 Joseph Myers <joseph@codesourcery.com>
47741
bec039bc
JM
47742 * configure.in (AS, LD): Require binutils 2.20 or later.
47743 * configure: Regenerated.
47744 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47745 as required minimum version.
47746 * INSTALL: Regenerated.
47747
7b1902cb
JM
47748 [BZ #2541]
47749 [BZ #4108]
47750 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47751 before squaring exponent.
47752 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47753 bottom long double and 27 bits of top long double before squaring
47754 exponent.
47755 * math/libm-test.inc (erfc_test): Add more tests.
47756 * sysdeps/i386/fpu/libm-test-ulps: Update.
47757 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47759
f775c276
KT
477602012-03-01 Kai Tietz <ktietz@redhat.com>
47761
47762 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47763 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47764 containing bit-fields.
47765 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47766 * soft-fp/single.h (_FP_UNION_S): Likewise.
47767 * soft-fp/double.h (_FP_UNION_D): Likewise.
47768
5b8a4d4a
JM
477692012-02-29 Joseph Myers <joseph@codesourcery.com>
47770
0bab47b6
JM
47771 [BZ #13786]
47772 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47773 not include ../strcmp.S.
47774 [USE_AS_STRNCASECMP_L]: Likewise.
47775 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47776 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47777 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47778 (__strncasecmp_l_ia32): Define as alias to
47779 __strncasecmp_l_nonascii.
47780
0fcad3e2
JM
47781 [BZ #5794]
47782 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47783 * sysdeps/i386/fpu/libm-test-ulps: Update.
47784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47785
5b8a4d4a
JM
47786 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47788
8fdceb2e
JL
477892012-02-29 Jeff Law <law@redhat.com>
47790
47791 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47792 out of bounds read.
47793
1f393a11
MP
477942012-02-29 Marek Polacek <polacek@redhat.com>
47795
47796 [BZ #13706]
47797 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47798 * elf/Makefile: Add rules to run tst-unused-dep.out.
47799
8847f037
DM
478002012-02-28 David S. Miller <davem@davemloft.net>
47801
47802 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47803 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47804 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47805 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47806 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47807 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47808
169d7f11
JM
478092012-02-29 Joseph Myers <joseph@codesourcery.com>
47810
47811 * math/libm-test.inc (llround_test): Move one test from
47812 lround_test. Use TEST_f_L in moved test.
47813 (lround_test): Move misplaced test to llround_test. Add testcase
47814 from bug 2561.
47815
39adf059
UD
478162012-02-28 Ulrich Drepper <drepper@gmail.com>
47817
47818 * sysdeps/x86_64/fpu/e_expf.S: New file.
47819 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47820
71b5d1c5
SB
478212012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47822
47823 [BZ #13637]
47824 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47825 of remain_len that may cause incomplete multi-byte character and
47826 false match.
47827 * posix/bug-regex33.c: New file.
47828 * posix/Makefile (tests): Add bug-regex33.
47829
1f77f049
JM
478302012-02-28 Joseph Myers <joseph@codesourcery.com>
47831
47832 * manual/macros.texi: New file.
47833 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47834 * manual/libc.texinfo: Include macros.texi.
47835 * manual/creatute.texi: Likewise.
47836 * manual/install.texi: Likewise.
47837 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47838 @glibcadj{} in references to the GNU C Library.
47839 * manual/charset.texi: Likewise.
47840 * manual/conf.texi: Likewise.
47841 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47842 when not using those macros.
47843 * manual/creature.texi: Likewise.
47844 * manual/crypt.texi: Likewise.
47845 * manual/errno.texi: Likewise.
47846 * manual/filesys.texi: Likewise.
47847 * manual/header.texi: Likewise.
47848 * manual/install.texi: Likewise.
47849 * manual/intro.texi: Likewise.
47850 * manual/io.texi: Likewise.
47851 * manual/job.texi: Likewise.
47852 * manual/lang.texi: Likewise.
47853 * manual/libc.texiinfo: Likewise.
47854 * manual/llio.texi: Likewise.
47855 * manual/locale.texi: Likewise.
47856 * manual/maint.texi: Likewise.
47857 * manual/math.texi: Likewise.
47858 * manual/memory.texi: Likewise.
47859 * manual/message.texi: Likewise.
47860 * manual/nss.texi: Likewise.
47861 * manual/pattern.texi: Likewise.
47862 * manual/process.texi: Likewise.
47863 * manual/resource.texi: Likewise.
47864 * manual/search.texi: Likewise.
47865 * manual/setjmp.texi: Likewise.
47866 * manual/signal.texi: Likewise.
47867 * manual/socket.texi: Likewise.
47868 * manual/startup.texi: Likewise.
47869 * manual/stdio.texi: Likewise.
47870 * manual/string.texi: Likewise.
47871 * manual/sysinfo.texi: Likewise.
47872 * manual/syslog.texi: Likewise.
47873 * manual/terminal.texi: Likewise.
47874 * manual/time.texi: Likewise.
47875 * manual/users.texi: Likewise.
47876 * INSTALL: Regenerated.
47877 * NOTES: Regenerated.
d40c5d54 47878 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 47879
450bf206
AS
478802012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47881
47882 * include/dirent.h: Include <dirstream.h> before
47883 <dirent/dirent.h>.
47884
741a235b
DM
478852012-02-28 David S. Miller <davem@davemloft.net>
47886
47887 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47888 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47889 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47890 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47891
d6b5aa58
DM
478922012-02-27 David S. Miller <davem@davemloft.net>
47893
1aff59a3
DM
47894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47896 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47897 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47898
d6b5aa58
DM
47899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47900 frame pointer instead of stack pointer relative arg slot.
47901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47902 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47903 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47904
433f48bf
CD
479052012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
47906
47907 [BZ #3992]
47908 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47909
d674b76d
DM
479102012-02-27 David S. Miller <davem@davemloft.net>
47911
47912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47916 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47917 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47918 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47919 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47920
0e7727f7
JM
479212012-02-27 Joseph Myers <joseph@codesourcery.com>
47922
47923 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47924 later. Allow versions 5-9.
43be4ca2 47925 * configure: Regenerated.
0e7727f7
JM
47926 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47927 required minimum version and 4.6 as recommended version. Do not
47928 mention bugs in GCC 2.7 and 2.8.
43be4ca2 47929 * INSTALL: Regenerated.
0e7727f7 47930
a78bc654
DM
479312012-02-27 David S. Miller <davem@davemloft.net>
47932
428d5830
DM
47933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47937 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47938 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47939 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47940 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47941
a78bc654
DM
47942 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47943 manipulate bits before adding and subtracting TWO112[sx].
47944 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47945
4579f81c
RM
479462012-02-27 Roland McGrath <roland@hack.frob.com>
47947
36c8acb4
RM
47948 [BZ #13775]
47949 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47950 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47951 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47952 being in POSIX, because they are in 1003.1-2008.
47953
84ad622b
RM
47954 * rt/tst-aio.c: Include <fcntl.h>.
47955 * rt/tst-aio7.c: Likewise.
47956 * rt/tst-aio64.c: Likewise.
47957
4579f81c
RM
47958 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47959
abd923db
JM
479602012-02-27 Joseph Myers <joseph@codesourcery.com>
47961
47962 * manual/install.texi (--with-headers): Describe headers as
47963 interface headers, not private headers.
47964 (Specific advice for GNU/Linux systems): Describe use of headers
47965 from "make headers_install", not private headers from older
47966 kernels.
43be4ca2 47967 * INSTALL: Regenerated.
abd923db
JM
47968 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47969 Change to 2.6.19.
47970 * sysdeps/unix/sysv/linux/configure: Regenerated.
47971
6664049b
JM
47972 * manual/llio.texi (fclean): Remove documentation.
47973
bb8b6697
JM
47974 * manual/Makefile (libc-texi-generated): New variable. Include
47975 version.texi.
47976 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47977 $(libc-texi-generated), not duplicated list of files.
47978 (version.texi, stamp-version): New rules.
47979 (realclean): Remove $(libc-texi-generated), not individual files
47980 from that list. Do not remove dir-add.texinfo.
47981 * manual/libc.texinfo: Comment out uses of edition numbers and
47982 references to printed manual. Remove last-updated dates.
47983 (EDITION): Comment out.
47984 (ISBN): Likewise.
47985 (VERSION, UPDATED): Remove.
47986 (version.texi): Include.
47987
12e5c3b9
AS
479882012-02-27 Andreas Schwab <schwab@linux-m68k.org>
47989
47990 * sysdeps/posix/spawni.c: Include <signal.h>.
47991 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47992 * sysdeps/pthread/aio_fsync.c: Likewise.
47993
4efeffc1 479942012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 47995
ba63ba08
UD
47996 * conform/Makefile (tests): Run only when not cross-compiling and
47997 when fast-check is not defined.
47998
d94a4670
UD
47999 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48000 * conform/data/limits.h-data: Fixes for POSIX2008.
48001 * conform/run-conformtest.sh: Run all tests.
48002 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48003 headers.
48004 * include/bits/dlfcn.h: Likewise.
48005 * include/langinfo.h: Likewise.
48006 * include/monetary.h: Likewise.
48007 * include/sys/poll.h: Likewise.
48008
48009 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48010 for __USE_GNU.
48011 * posix/spawn.h: Define __need_sigset_t.
48012 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48013 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48014 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48015 to get sigevent_t only.
48016 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48017 only for __USE_GNU.
48018 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48019 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48020 process_vm_writev only for __USE_GNU.
48021 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
48022
48023 * conform/Makefile: For now ignore errors from run-conformtest.
48024 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48025 POSIX to avoid namespace pollution. Don't prepend headers.
48026 * conform/data/aio.h-data: Fixes for POSIX testing.
48027 * conform/data/fcntl.h-data: Likewise.
48028 * conform/data/glob.h-data: Likewise.
48029 * conform/data/grp.h-data: Likewise.
48030 * conform/data/pthread.h-data: Likewise.
48031 * conform/data/pwd.h-data: Likewise.
48032 * conform/data/signal.h-data: Likewise.
48033 * conform/data/spawn.h-data: Likewise.
48034 * conform/data/stdio.h-data: Likewise.
48035 * conform/data/stdlib.h-data: Likewise.
48036 * conform/data/stropts.h-data: Likewise.
48037 * conform/data/sys/mman.h-data: Likewise.
48038 * conform/data/sys/stat.h-data: Likewise.
48039 * conform/data/sys/types.h-data: Likewise.
48040 * conform/data/sys/wait.h-data: Likewise.
48041 * conform/data/time.h-data: Likewise.
48042 * conform/data/unistd.h-data: Likewise.
48043 * conform/data/utime.h-data: Likewise.
48044
48045 * io/sys/stat.h: fchmod was always in POSIX.
48046 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48047 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48048 * rt/aio.h: Define __need_timespec before including <time.h>.
48049 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48050 struct. Add forward declaration of pthread_attr_t and use it in
48051 sigevent.
48052 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48053 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48054 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48055 always remove CLK_TCK definition.
48056
c20105c3
AS
480572012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48058
48059 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48060
7a270350
UD
480612012-02-25 Ulrich Drepper <drepper@gmail.com>
48062
31341567
UD
48063 * conform/run-conformtest.sh: New file.
48064 * conform/Makefile: Run run-conformtest for tests.
48065 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48066 support.
48067
48068 * conform/data/uchar.h-data: New file.
48069 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48070 * conform/data/arpa/inet.h-data: Likewise.
48071 * conform/data/assert.h-data: Likewise.
48072 * conform/data/complex.h-data: Likewise.
48073 * conform/data/cpio.h-data: Likewise.
48074 * conform/data/ctype.h-data: Likewise.
48075 * conform/data/dirent.h-data: Likewise.
48076 * conform/data/dlfcn.h-data: Likewise.
48077 * conform/data/errno.h-data: Likewise.
48078 * conform/data/fcntl.h-data: Likewise.
48079 * conform/data/float.h-data: Likewise.
48080 * conform/data/fmtmsg.h-data: Likewise.
48081 * conform/data/fnmatch.h-data: Likewise.
48082 * conform/data/ftw.h-data: Likewise.
48083 * conform/data/glob.h-data: Likewise.
48084 * conform/data/grp.h-data: Likewise.
48085 * conform/data/iconv.h-data: Likewise.
48086 * conform/data/inttypes.h-data: Likewise.
48087 * conform/data/langinfo.h-data: Likewise.
48088 * conform/data/libgen.h-data: Likewise.
48089 * conform/data/limits.h-data: Likewise.
48090 * conform/data/locale.h-data: Likewise.
48091 * conform/data/math.h-data: Likewise.
48092 * conform/data/monetary.h-data: Likewise.
48093 * conform/data/mqueue.h-data: Likewise.
48094 * conform/data/ndbm.h-data: Likewise.
48095 * conform/data/net/if.h-data: Likewise.
48096 * conform/data/netdb.h-data: Likewise.
48097 * conform/data/netinet/in.h-data: Likewise.
48098 * conform/data/nl_types.h-data: Likewise.
48099 * conform/data/poll.h-data: Likewise.
48100 * conform/data/pthread.h-data: Likewise.
48101 * conform/data/pwd.h-data: Likewise.
48102 * conform/data/regex.h-data: Likewise.
48103 * conform/data/sched.h-data: Likewise.
48104 * conform/data/search.h-data: Likewise.
48105 * conform/data/semaphore.h-data: Likewise.
48106 * conform/data/setjmp.h-data: Likewise.
48107 * conform/data/signal.h-data: Likewise.
48108 * conform/data/spawn.h-data: Likewise.
48109 * conform/data/stdarg.h-data: Likewise.
48110 * conform/data/stdio.h-data: Likewise.
48111 * conform/data/stdlib.h-data: Likewise.
48112 * conform/data/string.h-data: Likewise.
48113 * conform/data/strings.h-data: Likewise.
48114 * conform/data/stropts.h-data: Likewise.
48115 * conform/data/sys/ipc.h-data: Likewise.
48116 * conform/data/sys/mman.h-data: Likewise.
48117 * conform/data/sys/msg.h-data: Likewise.
48118 * conform/data/sys/resource.h-data: Likewise.
48119 * conform/data/sys/select.h-data: Likewise.
48120 * conform/data/sys/sem.h-data: Likewise.
48121 * conform/data/sys/shm.h-data: Likewise.
48122 * conform/data/sys/socket.h-data: Likewise.
48123 * conform/data/sys/stat.h-data: Likewise.
48124 * conform/data/sys/statvfs.h-data: Likewise.
48125 * conform/data/sys/time.h-data: Likewise.
48126 * conform/data/sys/timeb.h-data: Likewise.
48127 * conform/data/sys/times.h-data: Likewise.
48128 * conform/data/sys/types.h-data: Likewise.
48129 * conform/data/sys/uio.h-data: Likewise.
48130 * conform/data/sys/un.h-data: Likewise.
48131 * conform/data/sys/utsname.h-data: Likewise.
48132 * conform/data/sys/wait.h-data: Likewise.
48133 * conform/data/syslog.h-data: Likewise.
48134 * conform/data/tar.h-data: Likewise.
48135 * conform/data/termios.h-data: Likewise.
48136 * conform/data/utime.h-data: Likewise.
48137 * conform/data/utmpx.h-data: Likewise.
48138 * conform/data/varargs.h-data: Likewise.
48139 * conform/data/wchar.h-data: Likewise.
48140 * conform/data/wctype.h-data: Likewise.
48141 * conform/data/wordexp.h-data: Likewise.
48142
48143 * include/stropts.h: New file.
48144 * include/uchar.h: New file.
48145 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48146 * include/assert.h: Likewise.
48147 * include/ctype.h: Likewise.
48148 * include/dirent.h: Likewise.
48149 * include/dlfcn.h: Likewise.
48150 * include/fcntl.h: Likewise.
48151 * include/fnmatch.h: Likewise.
48152 * include/glob.h: Likewise.
48153 * include/grp.h: Likewise.
48154 * include/libio.h: Likewise.
48155 * include/locale.h: Likewise.
48156 * include/math.h: Likewise.
48157 * include/net/if.h: Likewise.
48158 * include/netdb.h: Likewise.
48159 * include/netinet/in.h: Likewise.
48160 * include/pthread.h: Likewise.
48161 * include/pwd.h: Likewise.
48162 * include/regex.h: Likewise.
48163 * include/sched.h: Likewise.
48164 * include/search.h: Likewise.
48165 * include/setjmp.h: Likewise.
48166 * include/signal.h: Likewise.
48167 * include/stdio.h: Likewise.
48168 * include/stdlib.h: Likewise.
48169 * include/string.h: Likewise.
48170 * include/sys/cdefs.h: Likewise.
48171 * include/sys/mman.h: Likewise.
48172 * include/sys/msg.h: Likewise.
48173 * include/sys/resource.h: Likewise.
48174 * include/sys/select.h: Likewise.
48175 * include/sys/socket.h: Likewise.
48176 * include/sys/stat.h: Likewise.
48177 * include/sys/statvfs.h: Likewise.
48178 * include/sys/time.h: Likewise.
48179 * include/sys/times.h: Likewise.
48180 * include/sys/uio.h: Likewise.
48181 * include/sys/utsname.h: Likewise.
48182 * include/sys/wait.h: Likewise.
48183 * include/termios.h: Likewise.
48184 * include/time.h: Likewise.
48185 * include/ulimit.h: Likewise.
48186 * include/unistd.h: Likewise.
48187 * include/utime.h: Likewise.
48188 * include/wchar.h: Likewise.
48189 * include/wctype.h: Likewise.
48190 * include/wordexp.h: Likewise.
48191
48192 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48193
7a270350
UD
48194 * time/time.h: TIME_UTC must be a macro.
48195 Make timespec_get available for ISO C11 only as well.
48196
7724defc
UD
481972012-02-24 Ulrich Drepper <drepper@gmail.com>
48198
48199 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48200 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48201
6b1d1d46
JM
482022012-02-24 Joseph Myers <joseph@codesourcery.com>
48203
48204 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 48205
0f8bbd69
JM
482062012-02-24 Joseph Myers <joseph@codesourcery.com>
48207
48208 * manual/texinfo.tex: Update to version 2012-01-19.16.
48209
66ab80bc
JM
482102012-02-24 Joseph Myers <joseph@codesourcery.com>
48211
48212 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48213
74981cc5
RM
482142012-02-24 Roland McGrath <roland@hack.frob.com>
48215
ee968201
RM
48216 [BZ #13738]
48217 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48218 * manual/fdl-1.3.texi: New file.
48219 * manual/fdl-1.1.texi: File removed.
48220
74981cc5
RM
48221 [BZ #13738]
48222 * manual/libc.texinfo (FDL_VERSION): New @set.
48223 Use it for mention of FDL in cover text.
48224 (Documentation License): Use it in @include file name.
48225
7bb764bc
JM
482262012-02-22 Joseph Myers <joseph@codesourcery.com>
48227 Roland McGrath <roland@hack.frob.com>
48228
48229 [BZ #5461]
57f41c40
AS
48230 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48231 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
48232 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48233 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48234 name.
48235 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48236
6cbeae47
JM
482372012-02-22 Joseph Myers <joseph@codesourcery.com>
48238
48239 [BZ #2547]
48240 [BZ #11365]
48241 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48242 manipulate bits before adding and subtracting TWO23[sx].
48243 * math/libm-test.inc (nearbyint_test): Add more tests.
48244
fe45ce09
JM
482452012-02-22 Joseph Myers <joseph@codesourcery.com>
48246
48247 [BZ #2548]
48248 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48249 bits before adding and subtracting TWO23[sx].
48250 * math/libm-test.inc (rint_test): Add more tests.
48251 (rint_test_tonearest): Likewise.
48252 (rint_test_towardzero): Likewise.
48253 (rint_test_downward): Likewise.
48254 (rint_test_upward: Likewise.
48255
ff3b3d82
JM
482562012-02-22 Joseph Myers <joseph@codesourcery.com>
48257
48258 [BZ #10110]
48259 * include/stdc-predef.h: New file. Extracted from features.h.
48260 * include/features.h: Include stdc-predef.h.
48261 * Makefile (headers): Add stdc-predef.h.
48262 * CONFORMANCE (Compiler limitations): Update.
48263
ef0aab35
JM
482642012-02-22 Joseph Myers <joseph@codesourcery.com>
48265
48266 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48267
58639409
DM
482682012-02-21 David S. Miller <davem@davemloft.net>
48269
48270 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48271 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48272
c0e70b25
DM
482732012-02-20 David S. Miller <davem@davemloft.net>
48274
48275 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48276 using a normal save/restore sequence, rather than allocating a
48277 dummy stack frame just to store a frame pointer and restore.
48278 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48279
fb06851d
JM
482802012-02-21 Joseph Myers <joseph@codesourcery.com>
48281
48282 * manual/install.texi: Fix stray word in line-wrapped comment.
48283
7a8b71c3
DM
482842012-02-20 David S. Miller <davem@davemloft.net>
48285
d510c123
DM
48286 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48287 both binutils and gcc support GOTDATA.
48288
0722d7c2
DM
48289 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48290 "rd %pc" in the PIC register setup sequences.
48291
3d2b3019
DM
48292 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48293 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48294 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48295 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48296 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48297 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48298 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48299 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48300 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48301 (SYSCALL_ERROR_HANDLER): Likewise.
48302 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48303 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48304 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48305 (SYSCALL_ERROR_HANDLER): Likewise.
48306
c80098a9
DM
48307 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48308 (HAVE_GCC_GOTDATA): New.
48309 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48310 relocation support in both binutils and gcc.
48311 * sysdeps/sparc/elf/configure: Regenerate.
48312
3a2545a0
DM
48313 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48314 * sysdeps/sparc/sparc32/elf/configure: Delete.
48315 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48316 * sysdeps/sparc/sparc64/elf/configure: Delete.
48317 * sysdeps/sparc/elf/configure.in: New file.
48318 * sysdeps/sparc/elf/configure: Generate.
48319
7a8b71c3
DM
48320 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48321 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48322 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48323 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48324 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48325
f1e86fca
JM
483262012-02-21 Joseph Myers <joseph@codesourcery.com>
48327
48328 * manual/install.texi: Do not mention specific glibc version
48329 numbers.
48330 * manual/libc.texinfo (VERSION, UPDATED): Update.
48331 (@copying): Use @copyright{} and range of years.
48332
0e7dfaef
JM
483332012-02-21 Joseph Myers <joseph@codesourcery.com>
48334
48335 [BZ #13695]
48336 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48337 [crti.S not in sysdirs] (generated): Do not append.
48338 [crti.S not in sysdirs] (omit-deps): Likewise.
48339 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48340 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48341 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48342 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48343 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48344 Likewise.
48345 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48346 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48347 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48348 * csu/defs.awk: Remove file.
48349 * sysdeps/generic/initfini.c: Likewise.
48350 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48351 variable.
48352 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48353 Likewise.
48354
599af3ca
JM
483552012-02-20 Joseph Myers <joseph@codesourcery.com>
48356
48357 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48358 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48359 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48360 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48361 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48362 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48363 <bits/epoll.h>.
48364 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48365 (__EPOLL_PACKED): Define to empty if not defined by
48366 <bits/epoll.h>.
48367 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48369 bits/epoll.h.
48370
0e499750
JM
483712012-02-20 Joseph Myers <joseph@codesourcery.com>
48372
48373 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48374 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48375 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48376 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48377 <bits/timerfd.h>.
48378 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48379 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48380 bits/timerfd.h.
48381
5ad91f6e
JM
483822012-02-20 Joseph Myers <joseph@codesourcery.com>
48383
48384 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48385 in C locale.
48386 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48387 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48388 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48390
06b99b02
AJ
483912012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48392
48393 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48394 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48395
7638c0fd
AS
483962012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48397
48398 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48399 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48400 defined.
48401 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48402 Likewise.
48403 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48404 entry for 2.16.
48405
92221550
AJ
484062012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48407
48408 * math/w_acos.c: Use non-signaling floating-point comparisons.
48409 * math/w_acosf.c: Likewise.
48410 * math/w_acosh.c: Likewise.
48411 * math/w_acoshf.c: Likewise.
48412 * math/w_acoshl.c: Likewise.
48413 * math/w_acosl.c: Likewise.
48414 * math/w_asin.c: Likewise.
48415 * math/w_asinf.c: Likewise.
48416 * math/w_asinl.c: Likewise.
48417 * math/w_atanh.c: Likewise.
48418 * math/w_atanhf.c: Likewise.
48419 * math/w_atanhl.c: Likewise.
48420 * math/w_exp2.c: Likewise.
48421 * math/w_exp2f.c: Likewise.
48422 * math/w_exp2l.c: Likewise.
48423 * math/w_j0.c: Likewise.
48424 * math/w_j0f.c: Likewise.
48425 * math/w_j0l.c: Likewise.
48426 * math/w_j1.c: Likewise.
48427 * math/w_j1f.c: Likewise.
48428 * math/w_j1l.c: Likewise.
48429 * math/w_jn.c: Likewise.
48430 * math/w_jnf.c: Likewise.
48431 * math/w_log.c: Likewise.
48432 * math/w_log10.c: Likewise.
48433 * math/w_log10f.c: Likewise.
48434 * math/w_log10l.c: Likewise.
48435 * math/w_log2.c: Likewise.
48436 * math/w_log2f.c: Likewise.
48437 * math/w_log2l.c: Likewise.
48438 * math/w_logf.c: Likewise.
48439 * math/w_logl.c: Likewise.
48440 * math/w_sqrt.c: Likewise.
48441 * math/w_sqrtf.c: Likewise.
48442 * math/w_sqrtl.c: Likewise.
48443 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48444 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48445 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48446 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48447 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48448
ebaf36eb
JM
484492012-02-19 Joseph Myers <joseph@codesourcery.com>
48450
48451 [BZ #9739]
48452 * manual/string.texi (strnlen): Use correct parameter name in
48453 equivalent expression.
48454
71c254a6
JM
484552012-02-19 Joseph Myers <joseph@codesourcery.com>
48456
48457 [BZ #11174]
48458 * manual/users.texi (seteuid): Consistently use neweuid for
48459 argument name.
48460
16d2c631
JM
484612012-02-19 Joseph Myers <joseph@codesourcery.com>
48462
48463 [BZ #13704]
48464 * manual/nss.texi (Services in the NSS configuration): Correct
48465 list of services in example configuration file.
48466
cd837b09
NB
484672012-02-19 Nick Bowler <nbowler@draconx.ca>
48468
48469 [BZ #11322]
48470 * manual/arith.texi: Remove statements about negative zero
48471 behaving identically to zero.
48472
02c4bbad
JM
484732012-02-18 Joseph Myers <joseph@codesourcery.com>
48474
48475 [BZ #5993]
48476 * manual/install.texi: Do not document upgrading from libc5.
48477
366842e7
JM
484782012-02-18 Joseph Myers <joseph@codesourcery.com>
48479
48480 [BZ #4596]
48481 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48482
dd54084d
DM
484832012-02-18 David S. Miller <davem@davemloft.net>
48484
48485 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48486 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48487 %o7 across the call.
48488 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48489 instead.
48490 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48491 SETUP_PIC_REG_LEAF.
48492 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48493 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48494 * sysdeps/sparc/crtn.S: Likewise.
48495
2bcc53a3
UD
484962012-02-17 Ulrich Drepper <drepper@gmail.com>
48497
48498 * aout/Makefile: Remove.
48499
09c093b5
RK
485002012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48501
48502 [BZ #13058]
48503 * manual/examples/argp-ex1.c (main): Format definition in GNU
48504 style.
48505 * manual/examples/argp-ex2.c (main): Likewise.
48506 * manual/examples/argp-ex3.c (main): Likewise.
48507 * manual/examples/argp-ex4.c (main): Likewise.
48508 * manual/examples/longopt.c (main): Use new-style prototype
48509 definition.
48510 * manual/examples/strncat.c (main): Specify return type and use
48511 (void) for arguments.
48512 * manual/examples/subopt.c (main): Use char **argv argument.
48513
2ee633a2
JM
485142012-02-17 Joseph Myers <joseph@codesourcery.com>
48515
48516 [BZ #5077]
48517 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48518 rounding modes.
48519
0520adde
FB
485202012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48521
48522 [BZ #6907]
48523 * manual/string.texi (strchr): Change when strchrnul is
48524 recommended.
48525
3f4081cd
DGM
485262012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48527
48528 [BZ #174]
48529 * manual/locale.texi (setlocale): Document LOCPATH.
48530
d1b10e78
JM
485312012-02-17 Joseph Myers <joseph@codesourcery.com>
48532
48533 [BZ #10210]
48534 * manual/process.texi (execle): Move @dots{} before last argument.
48535
79c6869c
PB
485362012-02-17 Paul Bolle <pebolle@tiscali.nl>
48537
48538 [BZ #12047]
48539 * manual/charset.texi (Generic Charset Conversion): Fix typo
48540 (LC_TYPE -> LC_CTYPE).
48541
cc6e48bc
NB
485422012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48543
48544 [BZ #5805]
48545 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48546 (scalbnf): Likewise.
48547 (scalbnl): Likewise.
48548 (scalbln): Likewise.
48549 (scalblnf): Likewise.
48550 (scalblnl): Likewise.
48551 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48552 (vwarnx): Likewise.
48553 (verr): Likewise.
48554 (verrx): Likewise.
48555 * manual/filesys.texi (telldir): Use braces around return type.
48556 * manual/llio.texi (mmap): Add space after comma.
48557 (mmap64): Likewise.
48558 * manual/math.texi (jn): Use @var{} on parameter names.
48559 (jnf): Likewise.
48560 (jnl): Likewise.
48561 (yn): Likewise.
48562 (ynf): Likewise.
48563 (ynl): Likewise.
48564 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48565 line.
48566 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48567 "...".
48568 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48569 (sched_get_priority_max): Likewise.
48570 * manual/signal.texi (sigvec): Add space after comma.
48571 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48572 names.
48573 (if_indextoname): Likewise.
48574 (if_freenameindex): Likewise.
48575 (sendto): Use ',' instead of '.' in prototype.
48576 * manual/startup.texi (syscall): Use @dots{} instead of literal
48577 "...".
48578 * manual/stdio.texi (__fpending): Separate initial words of
48579 paragraph from @deftypefun line.
48580 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48581 "...".
48582 (vsyslog): Use @var{} on parameter names.
48583 * manual/terminal.texi (stty): Use @var{} on parameter names.
48584 * manual/users.texi (getutmp): Use @var{} on parameter names.
48585 (getutmpx): Likewise.
48586
5b23062f
JM
485872012-02-17 Joseph Myers <joseph@codesourcery.com>
48588
48589 [BZ #6884]
48590 * manual/stdio.texi (fopen): Fix typos in description of
48591 ",ccs=STRING".
48592
8dee4833
AJ
485932012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48594
48595 [BZ #4026]
48596 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48597 get clock_id definition.
48598
9078ce93
TS
485992012-02-17 Thomas Schwinge <thomas@schwinge.name>
48600
48601 [BZ #4822]
48602 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48603 (madvise): Cast every argument to void on its own.
48604
3835c55f
JM
486052012-02-17 Joseph Myers <joseph@codesourcery.com>
48606
48607 [BZ #9902]
48608 * manual/startup.texi (Exit Status): Fix typo.
48609
35c47e37
JM
486102012-02-17 Joseph Myers <joseph@codesourcery.com>
48611
48612 [BZ #10140]
48613 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48614 * manual/examples/argp-ex2.c: Likewise.
48615 * manual/examples/argp-ex3.c: Likewise.
48616
e3b69ca7
RH
486172012-02-16 Richard Henderson <rth@redhat.com>
48618
48619 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48620 * sysdeps/s390/s390-32/initfini.c: Remove.
48621 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48622 * sysdeps/s390/s390-64/initfini.c: Remove.
48623
df83af67
KK
486242012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48625
48626 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48627 compiler output for sysdeps/generic/initfini.c.
48628 * sysdeps/sh/elf/initfini.c: Remove file.
48629
f63f3380
DM
486302012-02-16 David S. Miller <davem@davemloft.net>
48631
fb59b3a4
DM
48632 [BZ #11494]
48633 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48634
f63f3380
DM
48635 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48636 * sysdeps/sparc/crti.S: New file.
48637 * sysdeps/sparc/crtn.S: New file.
48638 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48639 * sysdeps/sparc/sparc64/Makefile: Likewise.
48640
df6a4a4a
MF
486412012-02-15 Mike Frysinger <vapier@gentoo.org>
48642
6dd8f3dc 48643 [BZ #3335]
df6a4a4a
MF
48644 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48645
1cac7236
RM
486462012-02-15 Roland McGrath <roland@hack.frob.com>
48647
d2c736f8
RM
48648 [BZ #4822]
48649 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48650
1cac7236
RM
48651 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48652 (write, read, close): Likewise.
48653 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48654
8e475601
JM
486552012-02-15 Joseph Myers <joseph@codesourcery.com>
48656
48657 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48658 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48659 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48660 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48661 <bits/signalfd.h>.
48662 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48664 bits/signalfd.h.
48665
ed656b40
MP
486662012-02-14 Marek Polacek <polacek@redhat.com>
48667
48668 * sysdeps/x86_64/crti.S: New file.
48669 * sysdeps/x86_64/crtn.S: New file.
48670 * sysdeps/x86_64/elf/initfini.c: Remove file.
48671
2a979d3a
JM
486722012-02-13 Joseph Myers <joseph@codesourcery.com>
48673
48674 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48675 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48676 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48677 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48678 <bits/inotify.h>.
48679 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48680 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48681 bits/inotify.h.
48682
2a418ac3
JM
486832012-02-13 Joseph Myers <joseph@codesourcery.com>
48684
48685 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48686 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48687 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48688 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48689 <bits/eventfd.h>.
48690 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48692 bits/eventfd.h.
48693
fb779be7
TS
486942012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48695
e19e83c5
RM
48696 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48697 __feraiseexcept instead of feraiseexcept.
7c35ffed 48698
fb779be7
TS
48699 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48700 nanosleep invocations.
48701 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48702 strings, and add error checking for a nanosleep invocations.
48703
59ba27a6
PE
487042012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48705
48706 Replace FSF snail mail address with URLs, as per GNU coding standards.
48707 Most of the snail mail addresses were wrong anyway, and omitting
48708 them makes the source code easier to maintain. Almost all of the
48709 changes are to license notices and to locale LC_IDENTIFICATION
48710 addresses, except for this one:
48711 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48712 not its snail mail address.
48713
57b957eb
RH
487142012-02-09 Richard Henderson <rth@twiddle.net>
48715
af850b1c
RH
48716 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48717 of kernel-features.h.
48718
57b957eb
RH
48719 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48720
6b73181a
MP
487212012-02-08 Marek Polacek <polacek@redhat.com>
48722
48723 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48724 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48725 * sysdeps/gnu/_G_config.h: Likewise.
48726 * sysdeps/generic/_G_config.h: Likewise.
48727
26ecc33a
AS
487282012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48729
6c6dbc63
AS
48730 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48731 tests.
48732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48733
e216c012
AS
48734 * sysdeps/powerpc/powerpc32/crti.S: New file.
48735 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48736 * sysdeps/powerpc/powerpc64/crti.S: New file.
48737 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48738
26ecc33a
AS
48739 * Makeconfig (have-initfini): Don't set.
48740 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48741 * configure.in (nopic_initfini): Don't substitute.
48742 * config.h.in (HAVE_INITFINI): Don't #undef.
48743 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48744 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48745
3add8e13
JM
487462012-02-08 Joseph Myers <joseph@codesourcery.com>
48747
48748 Support crti.S and crtn.S provided directly by architectures.
48749 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48750 [crti.S in sysdirs] (omit-deps): Likewise.
48751 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48752 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48753 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48754 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48755 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48756 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48757 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48758 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48759 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48760 compiler output for sysdeps/generic/initfini.c.
48761 * sysdeps/i386/elf/Makefile: Remove file.
48762 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48763
a22f12b4
MP
487642012-02-07 Marek Polacek <polacek@redhat.com>
48765
48766 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48767 * sysdeps/gnu/_G_config.h: Likewise.
48768 * sysdeps/mach/hurd/_G_config.h: Likewise.
48769
148cf100
MP
487702012-02-07 Marek Polacek <polacek@redhat.com>
48771
48772 * math/Makefile (tests): Add tst-CMPLX2.
48773 * math/tst-CMPLX2.c: New file.
48774
cfdc0dd7
AS
487752012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48776
84ba42c4
AS
48777 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48778
cfdc0dd7
AS
48779 * math/libm-test.inc (jn_test): Add missing L suffix.
48780
622c86f4
MP
487812012-02-06 Marek Polacek <polacek@redhat.com>
48782
48783 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48784 * sysdeps/i386/fpu/e_powf.S: Likewise.
48785 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48786 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48787 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48788 * sysdeps/i386/fpu/e_pow.S: Likewise.
48789 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48790 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48791 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48792 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48793 * sysdeps/i386/fpu/e_log2.S: Likewise.
48794 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48795 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48796 * sysdeps/i386/fpu/e_powl.S: Likewise.
48797 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48798 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48799 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48800 * sysdeps/i386/fpu/e_logl.S: Likewise.
48801 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48802 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48803 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48804 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48805 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48806 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48807 * sysdeps/i386/fpu/e_log.S: Likewise.
48808 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48809 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48810 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48811 * sysdeps/i386/fpu/e_logf.S: Likewise.
48812 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48813 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48814 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48815 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48816 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48817 * sysdeps/i386/fpu/e_log10.S: Likewise.
48818 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48819 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48820 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48821 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48822 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48823 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48824 * sysdeps/i386/asm-syntax.h: Likewise.
48825 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48826 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48827 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48828 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48829 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48830 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48831 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48832 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48833 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48834 * sysdeps/powerpc/sysdep.h: Likewise.
48835 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48836 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48837
d4a54ac6
JM
488382012-02-06 Joseph Myers <joseph@codesourcery.com>
48839
48840 [BZ #411]
48841 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48842
314054ea
JM
488432012-02-06 Joseph Myers <joseph@codesourcery.com>
48844
48845 * sysdeps/i386/sysdep.h: Include <features.h>.
48846 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48847 version.
48848
d8e0ca50
JM
488492012-02-05 Joseph Myers <joseph@codesourcery.com>
48850
48851 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48852 Define.
48853 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48854 LOAD_PIC_REG_STR.
48855
b1da7dd9
JM
488562012-02-03 Joseph Myers <joseph@codesourcery.com>
48857
48858 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48859 (SETUP_PIC_REG): Use GET_PC_THUNK.
48860 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48861 macro.
48862
9a1d9254
JM
488632012-02-03 Joseph Myers <joseph@codesourcery.com>
48864
48865 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48866 for non-PIC compilation.
48867 (SETUP_PIC_REG): Add .p2align directive.
48868 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48869 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48870 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48871 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48872 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48873 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48874 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48875 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48876 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48877 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48878 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48879 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48880 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48881 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48882 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48883 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48884 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48885 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48886 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48887 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48888 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48889 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48890 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48891 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48892 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48893 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48894 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48895 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48896 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48897 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48898 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48899 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48900 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48901 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48902 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48903 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48904 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48905 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48906 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48907 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48908 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48909
65dc3b75
JM
489102012-02-03 Joseph Myers <joseph@codesourcery.com>
48911
48912 * math/tst-CMPLX.c: Include <stdio.h>.
48913
d55bf177
JM
489142012-01-31 Joseph Myers <joseph@codesourcery.com>
48915
48916 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48917 float.
48918 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48919 * sysdeps/sparc/bits/mathdef.h: Likewise.
48920
69db4f8f
MP
489212012-01-31 Marek Polacek <polacek@redhat.com>
48922
48923 * libio/libio.h: Don't define _PARAMS.
48924 * locale/programs/config.h: Don't define PARAMS.
48925 * stdlib/strtol_l.c: Likewise.
48926 (__strtol_l): Remove PARAMS from the prototype.
48927
41b81892
UD
489282012-01-31 Ulrich Drepper <drepper@gmail.com>
48929
3b49edc0
UD
48930 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
48931 names. Just use the correct names. Remove unnecessary wrapper
48932 functions.
48933 * malloc/arena.c: Likewise.
48934 * malloc/hooks.c: Likewise.
48935
41b81892
UD
48936 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48937 ARENA_TEST says not to. Simplify test for creation of a new arena.
48938 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48939
27a25b6e
UD
489402012-01-30 Ulrich Drepper <drepper@gmail.com>
48941
48942 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48943 into tail calls.
48944 (update_get_addr): New function.
48945 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48946 GET_ADDR_MODULE parameter.
48947
c8a89e7d
JM
489482012-01-30 Joseph Myers <joseph@codesourcery.com>
48949
48950 * crypt/cert.c: Remove __STDC__ conditionals.
48951 * crypt/crypt-entry.c: Likewise.
48952 * crypt/crypt_util.c: Likewise.
48953 * libio/filedoalloc.c: Likewise.
48954 * libio/fileops.c: Likewise.
48955 * libio/genops.c: Likewise.
48956 * libio/iofclose.c: Likewise.
48957 * libio/iofdopen.c: Likewise.
48958 * libio/iofopen.c: Likewise.
48959 * libio/iofopen64.c: Likewise.
48960 * libio/iogetdelim.c: Likewise.
48961 * libio/iopopen.c: Likewise.
48962 * libio/obprintf.c: Likewise.
48963 * libio/oldfileops.c: Likewise.
48964 * libio/oldiofclose.c: Likewise.
48965 * libio/oldiofdopen.c: Likewise.
48966 * libio/oldiofopen.c: Likewise.
48967 * libio/oldiopopen.c: Likewise.
48968 * libio/wfiledoalloc.c: Likewise.
48969 * libio/wgenops.c: Likewise.
48970 * locale/programs/xmalloc.c: Likewise.
48971 * misc/syslog.c: Likewise.
48972 * stdio-common/xbug.c: Likewise.
48973 * string/memchr.c: Likewise.
48974 * string/memcmp.c: Likewise.
48975 * string/memrchr.c: Likewise.
48976 * string/rawmemchr.c: Likewise.
48977 * sysdeps/posix/getcwd.c: Likewise.
48978 * time/strftime_l.c: Likewise.
48979
3b100462
JM
489802012-01-30 Joseph Myers <joseph@codesourcery.com>
48981
48982 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
48983 * config.make.in (config-cflags-sse2avx): Define.
48984 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48985 Fix typo.
48986
607998af
CM
489872012-01-29 Chris Metcalf <cmetcalf@tilera.com>
48988
48989 * scripts/config.guess: Update from upstream config git repository.
48990 * scripts/config.sub: Likewise.
48991
3601428f
CM
489922012-01-28 Chris Metcalf <cmetcalf@tilera.com>
48993
3ac8b282
CM
48994 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48995 (EM_NUM): Update.
48996 (R_TILEPRO_*, R_TILEGX_*): New macros.
48997
e034841e
CM
48998 * scripts/firstversions.awk: Fix bug in version range handling.
48999
540d7568
CM
49000 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49001
3601428f
CM
49002 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49003
463de862
CM
49004 * include/sys/epoll.h: New file.
49005 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49006 libc_hidden_def.
49007
73139a76
UD
490082012-01-28 Ulrich Drepper <drepper@gmail.com>
49009
96bc5b45
UD
49010 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49011 Avoid unnecessary __WORDSIZE == 64 test.
49012 (fmaxf): Use VEX format if possible.
49013 (fmax): Likewise.
49014 (fminf): Likewise.
49015 (fmin): Likewise.
49016
56f6f6a2
UD
49017 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49018 * math/math_private.h: Remove libc_fegetround* and
49019 libc_fesetround*.
49020 * sysdeps/i386/configure.in: Check for -msse2avx.
49021 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49022 also if SSE2AVX is defined.
49023 Remove libc_fegetround* and libc_fesetround*.
49024 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49025 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49026 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49027 of HAS_YMM_USABLE.
49028 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49029 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49030 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49031 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49032 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49033
73139a76
UD
49034 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49035
d73f93a4
AZ
490362012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49037
49038 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49039 size is not set.
49040 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49041
6ee65ed6
UD
490422012-01-27 Ulrich Drepper <drepper@gmail.com>
49043
49044 [BZ #13618]
49045 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49046 relocation.
49047 * Makeconfig (libm): Define.
49048 * elf/Makefile: Add rules to build and run tst-relsort1.
49049 * elf/tst-relsort1.c: New file.
49050 * elf/tst-relsort1mod1.c: New file.
49051 * elf/tst-relsort1mod2.c: New file.
49052
8db21882
JM
490532012-01-27 Joseph Myers <joseph@codesourcery.com>
49054
49055 * math/s_ldexp.c: Remove __STDC__ conditionals.
49056 * math/s_ldexpf.c: Likewise.
49057 * math/s_ldexpl.c: Likewise.
49058 * math/s_nextafter.c: Likewise.
49059 * math/s_nexttowardf.c: Likewise.
49060 * math/s_significand.c: Likewise.
49061 * math/s_significandf.c: Likewise.
49062 * math/s_significandl.c: Likewise.
49063 * math/w_jnl.c: Likewise.
49064 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49065 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49066 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49067 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49068 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49069 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49070 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49071 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49072 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49073 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49074 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49075 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49076 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49077 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49078 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49079 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49080 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49081 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49082 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49083 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49084 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49085 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49086 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49087 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49088 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49089 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49090 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49091 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49092 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49093 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49094 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49095 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49096 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49097 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49098 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49099 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49100 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49101 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49102 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49103 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49104 * sysdeps/ieee754/k_standard.c: Likewise.
49105 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49106 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49107 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49108 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49109 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49110 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49111 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49112 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49113 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49114 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49115 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49116 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49117 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49118 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49119 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49120 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49121 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49122 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49123 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49124 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49125 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49126 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49127 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49128 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49129 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49130 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49131 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49132 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49133 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49134 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49135 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49136 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49137 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49138 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49139 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49140 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49141 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49142 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49143 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49144 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49145 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49146 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49147 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49148 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49149 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49150 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49151 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49152 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49153 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49154 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49155 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49156 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49157 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49158 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49159 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49160 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49161 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49162 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49163 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49164 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49165 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49166 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49167 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49168 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49169 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49170 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49171 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49172 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49173 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49174 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49175 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49176 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49177 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49178 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49179 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49180 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49181 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49182 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49183 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49184 * sysdeps/ieee754/s_matherr.c: Likewise.
49185 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49186 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49187 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49188 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49189
965a54a4
JM
491902012-01-26 Joseph Myers <joseph@codesourcery.com>
49191
49192 * crypt/md5.h: Remove __STDC__ conditionals.
49193 * libio/libioP.h: Likewise.
49194 * locale/programs/config.h: Likewise.
49195 * sysdeps/generic/sysdep.h: Likewise.
49196 * sysdeps/i386/asm-syntax.h: Likewise.
49197 * sysdeps/s390/asm-syntax.h: Likewise.
49198 * sysdeps/unix/sysdep.h: Likewise.
49199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49201
7071ad79
JM
492022012-01-26 Joseph Myers <joseph@codesourcery.com>
49203
49204 * libio/libio.h: Remove __STDC__ conditionals.
49205 * malloc/obstack.h: Likewise.
49206 * math/complex.h: Likewise.
49207 * math/math.h: Likewise.
49208 * sysdeps/generic/_G_config.h: Likewise.
49209 * sysdeps/gnu/_G_config.h: Likewise.
49210 * sysdeps/mach/hurd/_G_config.h: Likewise.
49211 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49212 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49213 * sysdeps/sparc/bits/mathdef.h: Likewise.
49214
afc5ed09
UD
492152012-01-26 Ulrich Drepper <drepper@gmail.com>
49216
49217 [BZ #13583]
49218 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 49219 Clean up HAS_* macros.
afc5ed09 49220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
49221 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49222 possible.
49223 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49224 HAS_AVX.
49225 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49226 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49227 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49228 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49229 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 49230
bdb6de1d
JM
492312012-01-25 Joseph Myers <joseph@codesourcery.com>
49232
49233 * elf/tst-unique3.cc (gets): Remove declaration.
49234 * elf/tst-unique3lib.cc (gets): Likewise.
49235 * elf/tst-unique3lib2.cc (gets): Likewise.
49236 * elf/tst-unique4.cc (gets): Likewise.
49237
b15549e6
UD
492382012-01-24 Ulrich Drepper <drepper@gmail.com>
49239
49240 * include/stdio.h: Add C++ protection. Add gets declarations and
49241 definitions.
49242 * debug/tst-chk1.c: Don't declare gets here.
49243 * stdio-common/tst-gets.c: Likewise.
49244
a037381f
JM
492452012-01-24 Joseph Myers <joseph@codesourcery.com>
49246
49247 * posix/glob: Remove directory.
49248
f1d4aa75
JM
492492012-01-24 Joseph Myers <joseph@codesourcery.com>
49250
49251 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49252
81c0c964
PT
492532012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49254
49255 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49256 of the non-standard EPFNOSUPPORT.
49257
0ea698ae
ST
492582011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49259
49260 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49261 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49262 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49263
d220b117
UD
492642012-01-21 Ulrich Drepper <drepper@gmail.com>
49265
49266 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49267
3e1aa84e
UD
492682012-01-20 Ulrich Drepper <drepper@gmail.com>
49269
49270 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49271 transient errors.
49272 * nscd/grpcache.c (cache_addgr): Likewise.
49273 * nscd/hstcache.c (cache_addhst): Likewise.
49274 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49275 * nscd/pwdcache.c (cache_addpw): Likewise.
49276 * nscd/servicescache.c (cache_addserv): Likewise.
49277
400aa020
UD
492782012-01-16 Ulrich Drepper <drepper@gmail.com>
49279
d77e7869
UD
49280 * malloc/malloc.c: Various cleanups.
49281 * malloc/hooks.c: Likewise.
49282
400aa020
UD
49283 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49284 * stdlib/bug-fmtmsg1.c: New file.
49285
49286 * stdlib/fmtmsg.c (init): Add missing unlock.
49287 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49288
e0a309cf
MP
492892012-01-12 Marek Polacek <polacek@redhat.com>
49290
49291 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49292 and _GNU_SOURCE.
49293
929d11c7
WS
492942012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49295
49296 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49297 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49298 macro to ensure uniqueness of label name.
49299 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49300 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49301
41d0e869
UD
493022012-01-11 Ulrich Drepper <drepper@gmail.com>
49303
0cc5ed3b
UD
49304 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49305
41d0e869
UD
49306 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49307 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49308 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49309 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49310
a47a831a
UD
493112012-01-10 Ulrich Drepper <drepper@gmail.com>
49312
daa891c0
UD
49313 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49314
49315 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49316 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49317 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49318
e58ef0f2
UD
49319 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49320
a47a831a 49321 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
49322 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49323 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 49324 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
49325
49326 * math/bits/math-finite.h: Add ldexp support.
49327
a0bfc9c7
MP
493282012-01-10 Marek Polacek <polacek@redhat.com>
49329
49330 * locale/programs/localedef.h (show_archive_content): Add noreturn
49331 attribute.
49332
d6e97a1d
UD
493332012-01-09 Ulrich Drepper <drepper@gmail.com>
49334
49335 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49336
d5835c26
UD
493372012-01-08 Ulrich Drepper <drepper@gmail.com>
49338
e5f484c6
UD
49339 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49340
d5835c26
UD
49341 * io/Makefile (headers): Add bits/poll2.h.
49342
d1f741e9
WS
493432011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49344
49345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49346 typo #include statement.
49347
ec09c1c4
UD
493482012-01-08 Ulrich Drepper <drepper@gmail.com>
49349
49350 * include/sys/cdefs.h: Define __attribute_alloc_size.
49351 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49352 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49353 * elf/pldd.c: Likewise.
49354 * iconv/iconv_charmap.c: Likewise.
49355 * iconv/iconvconfig.c: Likewise.
49356 * iconv/strtab.c: Likewise.
49357 * locale/programs/locale.c: Likewise.
49358 * locale/programs/localedef.h: Likewise.
49359 * locale/programs/simple-hash.c: Likewise.
49360 * nscd/nscd.h: Likewise.
49361 * nss/makedb.c: Likewise.
49362 * sysdeps/generic/ldconfig.h: Likewise.
49363 * locale/programs/localedef.c: Remove xmalloc prototype.
49364 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49365
20b38e03
PP
493662012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49367
49368 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49369 appropriate.
49370
a0da5fe1
UD
493712012-01-08 Ulrich Drepper <drepper@gmail.com>
49372
1d5a644a 49373 * math/Makefile (tests): Add tst-CMPLX.
669704fd 49374 * math/tst-CMPLX.c: New file.
1d5a644a 49375
8784a6db
UD
49376 * math/complex.h (CMPLXL): Fix typo.
49377
d9a216c0
UD
49378 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49379 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49380 GLIBC_2.16.
49381 * debug/tst-chk1.c: Add poll and ppoll tests.
49382 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49383 * include/sys/poll.h: Add hidden proto for ppoll.
49384 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49385 * sysdeps/mach/hurd/ppoll.c: Likewise.
49386 * io/ppoll.c: Likewise.
49387 * debug/poll_chk.c: New file.
49388 * debug/ppoll_chk.c: New file.
49389 * include/bits/poll2.h: New file.
49390 * io/bits/poll2.h: New file.
49391
ac097f5c
UD
49392 [BZ #1350]
49393 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49394
2119dcfa
UD
49395 * configure.in: static is always set to yes. Remove.
49396 * config.make.in: Don't set build-static.
49397 * Makeconfig: Remove use of build-static.
49398 * dlfcn/Makefile: Likewise.
49399 * elf/Makefile: Likewise.
49400 * math/Makefile: Likewise.
49401 * misc/Makefile: Likewise.
49402 * nptl/Makefile: Likewise.
49403 * sysdeps/mach/hurd/Makefile: Likewise.
49404
121766a9
UD
49405 * configure.in: PWD_P is not used anymore.
49406 * config.make.in: Remove PWD_P entry.
49407
51a1d39c 49408 * configure.in: Remove last remnants of RANLIB.
8720d066 49409 No need to check for signed size_t anymore.
215f4bdc
UD
49410 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49411 and IA-64.
3857022a 49412 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
49413 * aclocal.m4: Likewise.
49414
d3ed7225
UD
49415 * wcsmbs/mbrtoc16.c: Implement using towc function.
49416 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49417 * wcsmbs/wcsmbsload.c: Likewise.
49418 * iconv/gconv_simple.c: Likewise.
49419 * iconv/gconv_int.h: Likewise.
49420 * iconv/gconv_builtin.h: Likewise.
49421 * iconv/iconv_prog.c: Remove CHAR16 handling.
49422
49423 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49424
49425 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49426
a0da5fe1
UD
49427 * configure.in: Remove --with-elf and --enable-bounded options.
49428 Dont set base_machine for ia64. More non-ELF conditions removed.
49429 Remove testing and setting of leading underscore information.
49430 * config.make.in (build-bounded): Set to no.
49431 * config.h.in: Remove NO_UNDERSCORES entry.
49432 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49433 them.
49434 * csu/start.c: Remove !NO_UNDERSCORE code.
49435 * locale/localeinfo.h: Likewise.
49436 * sysdeps/generic/machine-gmon.h: Likewise.
49437 * sysdeps/generic/sysdep.h: Likewise.
49438 * sysdeps/i386/sysdep.h: Likewise.
49439 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49440 * sysdeps/mach/sysdep.h: Likewise.
49441 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49442 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49443 * sysdeps/sh/sysdep.h: Likewise.
49444 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49445 * sysdeps/unix/i386/sysdep.S: Likewise.
49446 * sysdeps/unix/sparc/start.c: Likewise.
49447 * sysdeps/unix/sparc/sysdep.S: Likewise.
49448 * sysdeps/unix/sparc/sysdep.h: Likewise.
49449 * sysdeps/unix/start.c: Likewise.
49450 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49451 * sysdeps/x86_64/sysdep.h: Likewise.
49452
df78418a
UD
494532012-01-07 Ulrich Drepper <drepper@gmail.com>
49454
a784e502
UD
49455 [BZ #13553]
49456 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49457 for non-gcc.
49458 * argp/argp-fmtstream.h: Use const instead __const.
49459 * argp/argp.h: Likewise.
49460 * assert/assert.h: Likewise.
49461 * bits/fenv.h: Likewise.
49462 * bits/sched.h: Likewise.
49463 * bits/sigset.h: Likewise.
49464 * bits/sigthread.h: Likewise.
49465 * catgets/nl_types.h: Likewise.
49466 * conform/data/pthread.h-data: Likewise.
49467 * crypt/crypt-private.h: Likewise.
49468 * crypt/crypt.h: Likewise.
49469 * crypt/crypt_util.c: Likewise.
49470 * ctype/ctype.h: Likewise.
49471 * debug/execinfo.h: Likewise.
49472 * debug/mbsnrtowcs_chk.c: Likewise.
49473 * debug/mbsrtowcs_chk.c: Likewise.
49474 * debug/wcsnrtombs_chk.c: Likewise.
49475 * debug/wcsrtombs_chk.c: Likewise.
49476 * debug/wcstombs_chk.c: Likewise.
49477 * dirent/dirent.h: Likewise.
49478 * dlfcn/dlfcn.h: Likewise.
49479 * elf/neededtest4.c: Likewise.
49480 * grp/grp.h: Likewise.
49481 * gshadow/gshadow.h: Likewise.
49482 * iconv/gconv.h: Likewise.
49483 * iconv/gconv_int.h: Likewise.
49484 * iconv/gconv_simple.c: Likewise.
49485 * iconv/iconv.h: Likewise.
49486 * iconv/loop.c: Likewise.
49487 * iconv/skeleton.c: Likewise.
49488 * include/aio.h: Likewise.
49489 * include/aliases.h: Likewise.
49490 * include/argz.h: Likewise.
49491 * include/arpa/inet.h: Likewise.
49492 * include/assert.h: Likewise.
49493 * include/dirent.h: Likewise.
49494 * include/dlfcn.h: Likewise.
49495 * include/execinfo.h: Likewise.
49496 * include/fcntl.h: Likewise.
49497 * include/fenv.h: Likewise.
49498 * include/glob.h: Likewise.
49499 * include/grp.h: Likewise.
49500 * include/libintl.h: Likewise.
49501 * include/mntent.h: Likewise.
49502 * include/netdb.h: Likewise.
49503 * include/pwd.h: Likewise.
49504 * include/rpc/netdb.h: Likewise.
49505 * include/sched.h: Likewise.
49506 * include/search.h: Likewise.
49507 * include/shadow.h: Likewise.
49508 * include/signal.h: Likewise.
49509 * include/stdio.h: Likewise.
49510 * include/stdlib.h: Likewise.
49511 * include/string.h: Likewise.
49512 * include/sys/socket.h: Likewise.
49513 * include/sys/stat.h: Likewise.
49514 * include/sys/statfs.h: Likewise.
49515 * include/sys/statvfs.h: Likewise.
49516 * include/sys/syslog.h: Likewise.
49517 * include/sys/time.h: Likewise.
49518 * include/sys/uio.h: Likewise.
49519 * include/time.h: Likewise.
49520 * include/unistd.h: Likewise.
49521 * include/utmp.h: Likewise.
49522 * include/wchar.h: Likewise.
49523 * include/wctype.h: Likewise.
49524 * inet/aliases.h: Likewise.
49525 * inet/arpa/inet.h: Likewise.
49526 * inet/netinet/ether.h: Likewise.
49527 * inet/netinet/in.h: Likewise.
49528 * intl/libintl.h: Likewise.
49529 * io/bits/fcntl2.h: Likewise.
49530 * io/fcntl.h: Likewise.
49531 * io/ftw.h: Likewise.
49532 * io/sys/poll.h: Likewise.
49533 * io/sys/stat.h: Likewise.
49534 * io/sys/statfs.h: Likewise.
49535 * io/sys/statvfs.h: Likewise.
49536 * io/utime.h: Likewise.
49537 * libio/bits/stdio.h: Likewise.
49538 * libio/bits/stdio2.h: Likewise.
49539 * libio/libio.h: Likewise.
49540 * libio/libioP.h: Likewise.
49541 * libio/stdio.h: Likewise.
49542 * locale/lc-ctype.c: Likewise.
49543 * locale/locale.h: Likewise.
49544 * login/utmp.h: Likewise.
49545 * malloc/arena.c: Likewise.
49546 * malloc/malloc.c: Likewise.
49547 * malloc/malloc.h: Likewise.
49548 * malloc/mcheck.c: Likewise.
49549 * malloc/mtrace.c: Likewise.
49550 * math/bits/mathcalls.h: Likewise.
49551 * math/fenv.h: Likewise.
49552 * math/math_private.h: Likewise.
49553 * misc/bits/error.h: Likewise.
49554 * misc/bits/syslog.h: Likewise.
49555 * misc/err.h: Likewise.
49556 * misc/error.h: Likewise.
49557 * misc/fstab.h: Likewise.
49558 * misc/mntent.h: Likewise.
49559 * misc/regexp.h: Likewise.
49560 * misc/search.h: Likewise.
49561 * misc/sgtty.h: Likewise.
49562 * misc/sys/mman.h: Likewise.
49563 * misc/sys/syslog.h: Likewise.
49564 * misc/sys/uio.h: Likewise.
49565 * misc/sys/xattr.h: Likewise.
49566 * misc/ttyent.h: Likewise.
49567 * nis/rpcsvc/ypclnt.h: Likewise.
49568 * nss/nss.h: Likewise.
49569 * posix/bits/unistd.h: Likewise.
49570 * posix/fnmatch.h: Likewise.
49571 * posix/glob.h: Likewise.
49572 * posix/sched.h: Likewise.
49573 * posix/spawn.h: Likewise.
49574 * posix/sys/wait.h: Likewise.
49575 * posix/unistd.h: Likewise.
49576 * posix/wordexp.h: Likewise.
49577 * pwd/pwd.h: Likewise.
49578 * resolv/netdb.h: Likewise.
49579 * resource/sys/resource.h: Likewise.
49580 * rt/aio.h: Likewise.
49581 * rt/bits/mqueue2.h: Likewise.
49582 * rt/mqueue.h: Likewise.
49583 * shadow/shadow.h: Likewise.
49584 * signal/signal.h: Likewise.
49585 * socket/send.c: Likewise.
49586 * socket/sendto.c: Likewise.
49587 * socket/sys/socket.h: Likewise.
49588 * stdio-common/printf.h: Likewise.
49589 * stdlib/bits/stdlib.h: Likewise.
49590 * stdlib/fmtmsg.h: Likewise.
49591 * stdlib/monetary.h: Likewise.
49592 * stdlib/stdlib.h: Likewise.
49593 * stdlib/ucontext.h: Likewise.
49594 * streams/stropts.h: Likewise.
49595 * string/argz.h: Likewise.
49596 * string/bits/string2.h: Likewise.
49597 * string/string.h: Likewise.
49598 * string/strings.h: Likewise.
49599 * sunrpc/rpc/auth.h: Likewise.
49600 * sunrpc/rpc/auth_des.h: Likewise.
49601 * sunrpc/rpc/clnt.h: Likewise.
49602 * sunrpc/rpc/netdb.h: Likewise.
49603 * sunrpc/rpc/pmap_clnt.h: Likewise.
49604 * sunrpc/rpc/xdr.h: Likewise.
49605 * sysdeps/generic/inttypes.h: Likewise.
49606 * sysdeps/generic/net/if.h: Likewise.
49607 * sysdeps/generic/sys/swap.h: Likewise.
49608 * sysdeps/gnu/net/if.h: Likewise.
49609 * sysdeps/gnu/utmpx.h: Likewise.
49610 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49611 * sysdeps/i386/i486/bits/string.h: Likewise.
49612 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49613 * sysdeps/s390/bits/string.h: Likewise.
49614 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49615 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49616 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49617 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49618 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49619 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49620 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49621 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49622 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49623 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49624 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49625 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49626 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49627 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49628 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49629 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49630 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49631 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49632 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49633 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49634 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49635 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49636 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49637 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49638 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49639 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49640 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49641 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49642 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49643 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49644 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49645 * sysvipc/sys/ipc.h: Likewise.
49646 * sysvipc/sys/msg.h: Likewise.
49647 * sysvipc/sys/sem.h: Likewise.
49648 * sysvipc/sys/shm.h: Likewise.
49649 * termios/termios.h: Likewise.
49650 * time/sys/time.h: Likewise.
49651 * time/time.h: Likewise.
49652 * wcsmbs/bits/wchar2.h: Likewise.
49653 * wcsmbs/uchar.h: Likewise.
49654 * wcsmbs/wchar.h: Likewise.
49655 * wctype/wctype.h: Likewise.
49656
0269750c
UD
49657 [BZ #13551]
49658 * Makeconfig: Remove all but ELF support including AIX support.
49659 * Makerules: Likewise.
49660 * config.h.in: Likewise.
49661 * config.make.in: Likewise.
49662 * configure: Likewise.
49663 * configure.in: Likewise.
49664 * csu/Makefile: Likewise.
49665 * csu/version.c: Likewise.
49666 * debug/Makefile: Likewise.
49667 * dlfcn/Makefile: Likewise.
49668 * elf/Makefile: Likewise.
49669 * extra-lib.mk: Likewise.
49670 * iconv/Makefile: Likewise.
49671 * include/libc-symbols.h: Likewise.
49672 * include/shlib-compat.h: Likewise.
49673 * resolv/Makefile: Likewise.
49674 * resolv/res_libc.c: Likewise.
49675 * rt/Makefile: Likewise.
49676 * sysdeps/i386/asm-syntax.h: Likewise.
49677 * sysdeps/i386/sysdep.h: Likewise.
49678 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49679 * sysdeps/mach/sysdep.h: Likewise.
49680 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49681 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49682 * sysdeps/s390/asm-syntax.h: Likewise.
49683 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49684 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49685 * sysdeps/sh/sysdep.h: Likewise.
49686 * sysdeps/unix/sparc/sysdep.h: Likewise.
49687 * sysdeps/wordsize-32/divdi3.c: Likewise.
49688 * sysdeps/x86_64/sysdep.h: Likewise.
49689
00bbd29b
UD
49690 * argp/Versions: Remove _argp_unlock_xxx.
49691
49692 [BZ #13559]
49693 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49694 * abilist/libBrokenLocale.abilist: Likewise.
49695 * abilist/libanl.abilist: Likewise.
49696 * abilist/libc.abilist: Likewise.
49697 * abilist/libcrypt.abilist: Likewise.
49698 * abilist/libdl.abilist: Likewise.
49699 * abilist/libm.abilist: Likewise.
49700 * abilist/libnsl.abilist: Likewise.
49701 * abilist/libpthread.abilist: Likewise.
49702 * abilist/libresolv.abilist: Likewise.
49703 * abilist/librt.abilist: Likewise.
49704 * abilist/libthread_db.abilist: Likewise.
49705 * abilist/libutil.abilist: Likewise.
49706 * abilist/libnss_db.abilist: New file.
49707
49708 * scripts/abilist.awk: Add support for indirect functions.
49709
a2693a0e
UD
49710 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49711
3f05895f
UD
49712 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49713
ecb6fb48
UD
49714 * shlib-versions: Remove entries for ports architectures.
49715
664f8cb9
UD
49716 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49717 files in ports.
49718 * elf/stackguard-macros.h: Remove support for IA-64.
49719 * elf/tst-auditmod1.c: Likewise.
49720 * sysdeps/generic/ldsodefs.h: Likewise.
49721
7ae81d88
UD
49722 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49723 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49724 configure files.
49725
bdeba135
UD
49726 [BZ #13552]
49727 * configure.in: Remove --enable-omitfp support.
49728 * FAQ.in: Adjust.
49729 * config.make.in: Likewise.
49730 * Makeconfig: Likewise.
49731 * manual/install.texi: Likewise.
49732
d75a0a62
UD
49733 In case anyone cares, the IA-64 architecture could move to ports.
49734 * sysdeps/ia64/*: Removed.
49735 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 49736 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 49737
dcc9756b
UD
49738 [BZ #13555]
49739 * configure.in: Remove entries for unsupported architectures.
49740
d3761ebc 49741 [BZ #13533]
9954432e
UD
49742 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49743 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49744 routines.
49745 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49746 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49747 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49748 fall back to using wcrtomb.
49749 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49750 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49751 renaming.
49752 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49753 * wcsmbs/tst-c16c32-1.c: New file.
49754
49755 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49756 local variable.
49757
c3a87236
UD
49758 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49759
28926a1b
UD
49760 * elf/tst-unique3.cc: Add explicit declaration of gets.
49761 * elf/tst-unique3lib.cc: Likewise.
49762 * elf/tst-unique3lib2.cc: Likewise.
49763 * elf/tst-unique4.cc: Likewise.
49764
df78418a
UD
49765 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49766
8ecd6b2a
JM
497672012-01-06 Joseph Myers <joseph@codesourcery.com>
49768
49769 [BZ #13566]
49770 * assert/assert.h (static_assert): Don't define for C++.
49771 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49772 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49773
9f115170
UD
497742012-01-03 Ulrich Drepper <drepper@gmail.com>
49775
5e0d0300
UD
49776 * iconv/loop.c (single loop): Fix assertion in storing of
49777 remaining bytes.
49778
9f115170
UD
49779 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49780
81fb02b0
UD
497812012-01-01 Ulrich Drepper <drepper@gmail.com>
49782
49783 * posix/getconf.c: Update copyright year.
49784 * nss/getent.c: Likewise.
a316c1f6 49785 * nss/makedb.c: Likewise.
81fb02b0
UD
49786 * iconv/iconvconfig.c: Likewise.
49787 * iconv/iconv_prog.c: Likewise.
49788 * elf/ldconfig.c: Likewise.
a316c1f6
UD
49789 * elf/pldd.c: Likewise.
49790 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
49791 * catgets/gencat.c: Likewise.
49792 * csu/version.c: Likewise.
49793 * elf/ldd.bash.in: Likewise.
49794 * elf/sprof.c (print_version): Likewise.
49795 * locale/programs/locale.c: Likewise.
49796 * locale/programs/localedef.c: Likewise.
a316c1f6 49797 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
49798 * nscd/nscd.c (print_version): Likewise.
49799 * debug/xtrace.sh: Likewise.
49800 * malloc/memusage.sh: Likewise.
49801 * malloc/mtrace.pl: Likewise.
49802 * debug/catchsegv.sh: Likewise.
49803
2ba92745
JJ
498042011-12-30 Jakub Jelinek <jakub@redhat.com>
49805
49806 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49807 pure attribute.
49808
dadebdae
UD
498092011-12-24 Ulrich Drepper <drepper@gmail.com>
49810
d3761ebc 49811 [BZ #13533]
db6af3eb
UD
49812 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49813 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49814 transformations.
49815 * iconv/gconv_int.h: Likewise.
49816 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49817 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49818 from libc for GLIBC_2.16.
49819 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49820 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49821 * wcsmbs/uchar.h: Really define mbstate_t.
49822 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49823 * wcsmbs/c16rtomb.c: New file.
49824 * wcsmbs/mbrtoc16.c: New file.
49825 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49826 for C/POSIX locale.
49827 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49828 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49829
dadebdae
UD
49830 * wcsmbs/wchar.h: Add missing __restrict.
49831
67371b56
UD
498322011-12-23 Ulrich Drepper <drepper@gmail.com>
49833
74033a25
UD
49834 [BZ #13532]
49835 * time/Makefile (routines): Add timespec_get.
49836 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49837 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49838 timespec for ISO C11.
49839 * time/timespec_get.c: New file.
49840 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49841 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49842
380d7e87
UD
49843 [BZ #13531]
49844 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49845 * stdlib/stdlib.h: Declare aligned_alloc.
49846 * Versions.def: Add GLIBC_2.16 for libc.
49847 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49848
4e9e7a35
UD
49849 [BZ 13527]
49850 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49851 ISO C11.
49852
380d7e87 49853 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
49854 code.
49855
03a71829
UD
49856 [BZ #13528]
49857 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49858
839e283e
UD
49859 [BZ #13529]
49860 * assert/assert.h (static_assert): Define.
49861
ce5294e2 49862 * version.h: Update for 2.16 development version.
90fa7312 49863
8d44e150 49864 [BZ #13526]
d7809905
UD
49865 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49866 _ISOC11_SOURCE.
49867
c0da14cd
UD
49868 * version.h (RELEASE): Bump for 2.15 release.
49869 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49870
530a3249
MP
49871 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49872 Patch by Marek Polacek <mpolacek@redhat.com>.
49873
67371b56
UD
49874 * bits/byteswap.h: Protect long long constants with __extension__.
49875 * sysdeps/i386/bits/byteswap.h: Likewise.
49876 * sysdeps/ia64/bits/byteswap.h: Likewise.
49877 * sysdeps/s390/bits/byteswap.h: Likewise.
49878 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49879
15db4de1
LD
498802011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49881
49882 [BZ #13540]
bbe315ea
LD
49883 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49884 destination buffer.
15db4de1
LD
49885 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49886
2b2596b1
MP
498872011-12-23 Marek Polacek <polacek@redhat.com>
49888
49889 * elf/dl-addr.c (determine_info): Add inline keyword.
49890 * elf/tst-auditmod4b.c (check_avx): Likewise.
49891 * elf/tst-auditmod6b.c (check_avx): Likewise.
49892 * elf/tst-auditmod6c.c (check_avx): Likewise.
49893 * elf/tst-auditmod7b.c (check_avx): Likewise.
49894
70c6c246
UD
498952011-12-23 Ulrich Drepper <drepper@gmail.com>
49896
49897 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49898 !__SSE_MATH__.
49899
c044cf14
LD
499002011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49901
15db4de1 49902 [BZ #13540]
c044cf14
LD
49903 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49904 processing for last bytes.
49905
6b13d9d9
BH
499062011-08-06 Bruno Haible <bruno@clisp.org>
49907
d455f537
BH
49908 [BZ #13061]
49909 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49910 U+0385, not to U+1FEE.
49911
6b13d9d9
BH
49912 [BZ #13062]
49913 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49914 entry for U+00A5 U+0301.
49915
db910efd
UD
499162011-12-22 Ulrich Drepper <drepper@gmail.com>
49917
27deeafc
UD
49918 [BZ #13166]
49919 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49920 buffer for the output is too small.
49921
aed9d171
UD
49922 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49923 optimization.
49924
db910efd
UD
49925 [BZ #13185]
49926 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49927 SSE flags if possible.
49928
2bd779ae
LD
499292011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49930
e7f9dac3 49931 [BZ #13540]
2bd779ae
LD
49932 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49933 processing for last bytes.
49934
154bfc16
JM
499352011-12-22 Joseph Myers <joseph@codesourcery.com>
49936
49937 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49938 (syscall-list-default-options, syscall-list-default-condition)
49939 (syscall-list-includes): Define.
49940 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49941 list of ABIs and options and #if conditions for each ABI. Do not
49942 handle common syscalls between ABIs specially.
49943 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49944 Remove.
49945 (syscall-list-variants, syscall-list-32bit-options)
49946 (syscall-list-32bit-condition, syscall-list-64bit-options)
49947 (syscall-list-64bit-condition): Define.
49948 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49949 (syscall-list-variants, syscall-list-32bit-options)
49950 (syscall-list-32bit-condition, syscall-list-64bit-options)
49951 (syscall-list-64bit-condition): Define.
49952 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49953 Remove.
49954 (syscall-list-variants, syscall-list-32bit-options)
49955 (syscall-list-32bit-condition, syscall-list-64bit-options)
49956 (syscall-list-64bit-condition): Define.
49957 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49958 Remove.
49959 (syscall-list-variants, syscall-list-32bit-options)
49960 (syscall-list-32bit-condition, syscall-list-64bit-options)
49961 (syscall-list-64bit-condition): Define.
49962
21eaf3a5
UD
499632011-12-22 Ulrich Drepper <drepper@gmail.com>
49964
16c6f992
UD
49965 * locale/iso-639.def: Add brx entry.
49966
41043168
UD
49967 [BZ #13328]
49968 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49969 Proposed by Mariusz_Cukr <marcukr@op.pl>.
49970
21eaf3a5
UD
49971 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49972 __feraiseexcept_renamed.
49973
e3a851a2
UD
499742011-12-21 Ulrich Drepper <drepper@gmail.com>
49975
4920765e
UD
49976 [BZ #13538]
49977 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49978 EPOLLET with unsigned values.
49979 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49980 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49981
e3a851a2
UD
49982 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49983 to large cancellation.
49984 * math/s_cacoshf.c: Likewise.
49985 * math/s_cacoshl.c: Likewise.
49986
b27e24b8
RK
499872011-11-18 Richard B. Kreckel <kreckel@ginac.de>
49988
49989 [BZ #13305]
aebefeee 49990 [BZ #12786]
b27e24b8
RK
49991 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49992 * math/s_cacoshf.c: Likewise.
49993 * math/s_cacoshl.c: Likewise.
49994
ee190f67
UD
499952011-12-21 Ulrich Drepper <drepper@gmail.com>
49996
49997 [BZ #13439]
49998 * iconv/gconv.h: Define __GCONV_SWAP.
49999 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50000 * iconvdata/utf-16.c: Likewise.
50001 * iconvdata/utf-32.c: Likewise.
50002
707f25df
AS
500032011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50004
50005 [BZ #13524]
50006 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50007 numerator after shifting it by one limb.
50008
d2daaa1e
RÁE
500092011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50010
50011 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50012 under [__USE_EXTERN_INLINES].
50013
a4647e72
UD
500142011-12-17 Ulrich Drepper <drepper@gmail.com>
50015
50016 [BZ #13446]
50017 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50018
f0b264f1
AZ
500192011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50020
50021 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50022 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50023 optimized code.
50024 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50025 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50026 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50027 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50028 for strncasecmp/strncasecmp_l compilation.
50029 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50030 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50031
8ef4f244
MP
500322011-12-08 Marek Polacek <mpolacek@redhat.com>
50033
50034 [BZ #13484]
50035 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50036 of __asm__.
50037
97ac2654
UD
500382011-12-17 Ulrich Drepper <drepper@gmail.com>
50039
50040 [BZ #13506]
50041 * time/tzfile.c (__tzfile_read): Check values from file header.
50042
91d2a845
WS
500432011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50044
50045 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50046 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50047 * powerpc/powerpc32/dl-start.S: Likewise.
50048 * powerpc/powerpc32/elf/start.S: Likewise.
50049 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50050 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50051 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50052 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50053 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50054 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50055 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50056 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50057 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50058 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50059 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50060 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50061 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50062 * powerpc/powerpc32/memset.S: Likewise.
50063 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50064 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50065 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50066 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50067 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50068 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50069 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50070 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50071 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50072 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50073 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50074 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50075 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50076
a1267ba1
AZ
500772011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50078
50079 * math/libm-test.inc: Added more nearbyint tests.
50080 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50081 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50082 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50083 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50084
ad8ac1bd
RL
500852011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50086
50087 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50088 FD_CLOEXEC.
50089
1d3e4b61
UD
500902011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50091
50092 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50093 Add wcscpy-ssse3 wcscpy-c.
50094 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50095 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50096 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50097 * sysdeps/x86_64/wcschr.S: New file.
50098 * sysdeps/x86_64/wcsrchr.S: New file.
50099 * string/test-strcmp.c: Remove checking of wcscmp function for
50100 wrong alignments.
50101 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50102 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50103 wcsrchr-sse2 wcsrchr-c.
50104 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50105 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50106 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50107 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50108 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50109 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50110 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50111 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50112 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50113 * wcsmbc/wcschr.c (WCSCHR): New macro.
50114
5b330a2d
UD
501152011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50116
50117 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50118 * wcsmbs/test-wcsrchr.c: New file.
50119 * string/test-strrchr.c: Add wcsrchr support.
50120 (WIDE): New macro.
50121 * wcsmbs/test-wcscpy.c: New file.
50122 * string/test-strcpy.c: Add wcscpy support.
50123 (WIDE): New macro.
26428b7c 50124
f039c043
UD
501252011-12-10 Ulrich Drepper <drepper@gmail.com>
50126
50127 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50128 the inner loop.
50129
850fb039
AS
501302011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50131
50132 [BZ #13472]
50133 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50134
4efbd5cb
UD
501352011-12-04 Ulrich Drepper <drepper@gmail.com>
50136
52ff5dd0 50137 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 50138 Minor optimizations.
52ff5dd0 50139
4efbd5cb
UD
50140 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50141 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50142 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50143
8a426e12
UD
501442011-12-03 Ulrich Drepper <drepper@gmail.com>
50145
aff2453d
UD
50146 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50147 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50148 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50149 for gcc to avoid warnings.
50150 * inet/Makefile (tests): Add tst-checks.
50151 * inet/tst-checks.c: New file.
50152
50153 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50154 warning.
50155
50156 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50157 __wmemcmp_sse2.
50158
50159 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50160 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50161
8a426e12
UD
50162 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50163
9bea3473
UD
501642011-12-02 Ulrich Drepper <drepper@gmail.com>
50165
3a965496
UD
50166 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50167 problem.
50168
9bea3473
UD
50169 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50170
f101631b
UD
501712011-11-29 Joseph Myers <joseph@codesourcery.com>
50172
50173 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50174 conditional on GCC version.
50175 (__arch_compare_and_exchange_val_8_acq)
50176 (__arch_compare_and_exchange_val_16_acq)
50177 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50178 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50179 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50180
a98275aa
UD
501812011-12-02 Joseph Myers <joseph@codesourcery.com>
50182
50183 * sysdeps/sh/backtrace.c: New file.
50184
d4cc29a2
AS
501852011-12-02 Andreas Schwab <schwab@redhat.com>
50186
50187 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50188 parenthesis.
50189
6257af2d
AS
501902011-12-01 Andreas Schwab <schwab@redhat.com>
50191
50192 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50193 falling back to utime.
50194
b5f44c1a
AS
501952011-11-30 Andreas Schwab <schwab@redhat.com>
50196
50197 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50198 expectations for float.
50199
f3a6cc0a
AS
502002011-11-29 Andreas Schwab <schwab@redhat.com>
50201
50202 * locale/weight.h (findidx): Add parameter len.
50203 * locale/weightwc.h (findidx): Likewise.
50204 * posix/fnmatch_loop.c (FCT): Adjust caller.
50205 * posix/regcomp.c (build_equiv_class): Likewise.
50206 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50207 * posix/regexec.c (check_node_accept_bytes): Likewise.
50208 * string/strcoll_l.c (STRCOLL): Likewise.
50209 * string/strxfrm_l.c (STRXFRM): Likewise.
50210
9d65ea3a
UD
502112011-11-17 Ulrich Drepper <drepper@gmail.com>
50212
50213 * Makefile.in: Remove CVSOPT handling.
50214 * configure.in: Remove use of AC_REVISION.
50215 * iconvdata/Makefile (distribute): No need to filter out CVS.
50216 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50217 handling.
50218
5583a086
AS
502192011-11-16 Andreas Schwab <schwab@redhat.com>
50220
50221 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50222 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50223 [USE_AS_STRNCASECMP_L]: Likewise.
50224 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50225 NO_TLS_DIRECT_SEG_REFS.
50226 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50227 Fix argument offsets for non-PIC.
50228 [USE_AS_STRNCASECMP_L]: Likewise.
50229 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50230 NO_TLS_DIRECT_SEG_REFS.
50231
d62a8200
UD
502322011-11-15 Ulrich Drepper <drepper@gmail.com>
50233
9d65ea3a 50234 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
50235 O_CLOEXEC.
50236 * locale/loadlocale.c (_nl_load_locale): Likewise.
50237
09f93bd3
AS
502382011-11-15 Andreas Schwab <schwab@redhat.com>
50239
446514f9
AS
50240 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50241 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50242 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50243 (SYSCALL_GETTIME): Set errno on error.
50244
09f93bd3
AS
50245 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50246 count references to noai6ai_cached.
50247
312be3f9
UD
502482011-11-15 Ulrich Drepper <drepper@gmail.com>
50249
50250 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50251
50252 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50253 FD_CLOEXEC for /proc/self/maps.
50254
50255 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50256 FD_CLOEXEC for /proc/meminfo.
50257
50258 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50259 gai.conf.
50260
50261 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50262 FD_CLOEXEC for given file.
50263
50264 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50265
50266 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50267 FD_CLOEXEC for /etc/hosts.
50268 (_gethtent): Likewise.
50269
50270 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50271
50272 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50273 cancellation and set FD_CLOEXEC for /etc/netgroup.
50274
50275 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50276 reading /etc/publickey.
50277
50278 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50279 allow cancellation when reading /etc/group.
50280
50281 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50282 cancellation.
50283 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50284
50285 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50286 when using data file.
50287
50288 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50289
50290 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50291 (write_nis_obj): Use "c" and "e" in fopen.
50292
50293 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50294
50295 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50296
50297 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50298
50299 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50300
50301 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50302 locale.alias.
50303
50304 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50305
50306 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50307
50308 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50309
50310 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50311 file parsing and set FD_CLOEXEC.
50312
82af0fa8
UD
503132011-11-14 Ulrich Drepper <drepper@gmail.com>
50314
50315 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50316
a5fb313c
AS
503172011-11-14 Andreas Schwab <schwab@redhat.com>
50318
50319 * malloc/arena.c (arena_get2): Don't call reused_arena when
50320 _int_new_arena failed.
50321
6abf3465
UD
503222011-11-14 Ulrich Drepper <drepper@gmail.com>
50323
50324 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50325 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50326 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50327 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50328 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50329 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50330 to compile strcasecmp and strncasecmp.
50331 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50332 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50333
50334 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50335
76e3966e
UD
503362011-11-13 Ulrich Drepper <drepper@gmail.com>
50337
50338 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50339 locale-defines.sym to gen-as-const-headers.
50340 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50341 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50342 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50343 to compile strcasecmp and strncasecmp.
50344 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50345 strcasecmp_l and strncasecmp_l.
50346 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50347 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50348 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50349 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50350 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50351 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50352 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50353 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50354 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50355 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50356 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50357
ab26144e
UD
503582011-11-12 Ulrich Drepper <drepper@gmail.com>
50359
7edb22ef
UD
50360 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50361 result of SYSDEP_GETTIME_CPU to retval.
50362 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50363 parameter list to macro. Remove trailing semicolon. Adjust users.
50364
9694fc44
UD
50365 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50366 variable.
50367
8ad89ef8
UD
50368 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50369 mantissa words.
50370 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50371
0c822ef9
UD
50372 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50373 from unused variable.
50374
874e0564
UD
50375 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50376 DWARF definitions.
50377 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50378 for assembling.
50379
3a2edc79
UD
50380 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50381 over namespaces.
50382
f3c2577f
UD
50383 * sunrpc/rpc_prot.c (rejected): Fix case value.
50384
294ce126
UD
50385 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50386 unsigned long long int to avoid warnings in shift.
50387
5e2b63c6
UD
50388 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50389 of use of trans.
50390 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50391 variable tmp.
50392
e7f4b08e
UD
50393 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50394 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50395 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50396
ab26144e
UD
50397 * nis/nis_table.c (nis_list): Use variable of correct type for
50398 result of __follow_path call.
50399
8a6d5255
AZ
504002011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50401
50402 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50403 of math functions ceil, trunc, floor, round, and sqrt, when
50404 avaliable on the platform.
50405 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50406 name clash.
50407 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50408 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50409 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50410
aaddc98c
MP
504112011-10-30 Marek Polacek <mpolacek@redhat.com>
50412
50413 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50414 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50415
95b7042b
RM
504162011-11-11 Roland McGrath <roland@hack.frob.com>
50417
50418 * include/unistd.h: Fix __readlink return type.
50419 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50420
57769839
UD
504212011-11-11 Ulrich Drepper <drepper@gmail.com>
50422
50423 * stdlib/ucontext.h: Undo last change for makecontext.
50424
edc5984d
AS
504252011-11-11 Andreas Schwab <schwab@redhat.com>
50426
98591e58
AS
50427 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50428
edc5984d
AS
50429 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50430 * setjmp/setjmp.h: Mark functions as non-leaf.
50431 * setjmp/bits/setjmp2.h: Likewise.
50432 * stdlib/ucontext.h: Likewise.
50433
77cdc054
AS
504342011-11-10 Andreas Schwab <schwab@redhat.com>
50435
50436 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50437 (reused_arena): Don't check arena limit.
50438 (arena_get2): Atomically check arena limit.
50439
fe72eebd
UD
504402011-11-08 Ulrich Drepper <drepper@gmail.com>
50441
5f078c32
UD
50442 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50443 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50444
fe72eebd
UD
50445 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50446 instructions.
50447
ae1bc2fa
AS
504482011-11-07 Andreas Schwab <schwab@redhat.com>
50449
7583a88d
AS
50450 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50451 handler when locking.
50452
ae1bc2fa
AS
50453 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50454 Fix size of allocated buffer.
50455
10fb0bfa
AS
504562011-11-04 Andreas Schwab <schwab@redhat.com>
50457
998832a4
AS
50458 [BZ #10103]
50459 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50460 declarations for long double functions.
50461 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50462
10fb0bfa
AS
50463 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50464
3d7ba52b
AS
504652011-11-03 Andreas Schwab <schwab@redhat.com>
50466
a9ae54a1
AS
50467 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50468 installed.
50469
3d7ba52b
AS
50470 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50471 is disabled.
50472
bc8db248
ST
504732011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50474
50475 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50476
45b96dd6
AS
504772011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50478
647776f6
AS
50479 * include/alloca.h (stackinfo_alloca_round): Define.
50480 (extend_alloca): Use it.
50481 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50482 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50483 here.
50484
d91a8b93
AS
50485 * scripts/check-local-headers.sh: Ignore libaudit.h.
50486
45b96dd6
AS
50487 * nscd/Makefile (extra-objs): Make recursively expanded.
50488
432d41ce
UD
504892011-11-01 Ulrich Drepper <drepper@gmail.com>
50490
34372fc6
UD
50491 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50492 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50493
fadb59f8
UD
50494 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50495 * posix/tst-rfc3484-2.c: Likewise.
50496 * posix/tst-rfc3484-3.c: Likewise.
50497
78239589
UD
50498 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50499 process_vm_writev.
50500 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50501 process_vm_writev.
50502 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50503 process_vm_writev from libc using GLIBC_2.15 version.
50504
432d41ce
UD
50505 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50506
02f9c6cf
PP
505072011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50508
50509 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50510 stack usage.
50511
3a2c0242
UD
505122011-10-31 Ulrich Drepper <drepper@gmail.com>
50513
f4ec4833
UD
50514 [BZ #13367]
50515 * nss/getent.c (initgroups_keys): Show error message in case no group
50516 names are given.
50517
3a2c0242
UD
50518 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50519 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50520 __bump_nl_timestamp.
50521 * nscd/connections (nscd_init): When host database is served open
50522 netlink socket and request notification about configuration changes.
50523 (main_loop_poll): Track netlink file descriptor and bump timestamp
50524 in case data becomes available.
50525 (main_loop_epoll): Likewise.
50526 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50527 (database_pers_head): Add extra_data fileds.
50528 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50529 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50530 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50531 Adjust caller.
50532 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50533 in6ai data, call __free_in6ai.
50534 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50535 Add -DHAVE_NETLINK.
50536 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50537 interface information. Reuse previous data if netlink timestamp
50538 is not changed.
50539 (__bump_nl_timestamp): New function.
50540 (__free_in6ai): New function.
50541
636064eb
UD
505422011-10-30 Ulrich Drepper <drepper@gmail.com>
50543
50544 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50545 close_not_cancel_no_status here.
50546 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50547
9beb2334
UD
505482011-10-29 Ulrich Drepper <drepper@gmail.com>
50549
6ef76f3b
UD
50550 [BZ #13276]
50551 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50552 return value.
50553
0ffc4f3e 50554 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
50555 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50556 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50557
cb95113e
UD
505582011-07-03 Andreas Jaeger <aj@suse.de>
50559
50560 [BZ #10709]
50561 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50562 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50563 * math/libm-test.inc (sin_test): Add test case.
50564
a1b560ff
UD
505652011-10-29 Ulrich Drepper <drepper@gmail.com>
50566
c9aaface
UD
50567 [BZ #13337]
50568 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50569 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50570
d272e7f1
UD
50571 * elf/chroot_canon.c (chroot_canon): Cleanups.
50572
1bc33071
UD
50573 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50574
1760874d
TJ
50575 [BZ #13335]
50576 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50577 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50578
51d91b18
UD
50579 * string/test-strchr.c: Make usable for strchrnul testing.
50580 * string/test-strchrnul.c: New file.
50581 * string/Makefile (strop-tests): Add strchrnul.
50582
a1b560ff 50583 * po/it.po: Update from translation team.
b611fb81 50584 * po/es.po: Likewise.
a1b560ff 50585
a5b81e1f
UD
505862011-10-28 Ulrich Drepper <drepper@gmail.com>
50587
fd52bc6d
UD
50588 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50589 the three constants needed as parameters. Drop the others.
50590 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50591 __m128i_strloadu_tolower.
52e4b9eb
UD
50592 Create and initialize variable zero and use it in all the places
50593 where _mm_setzero_si128 was used.
fd52bc6d 50594
a5b81e1f
UD
50595 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50596 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50597 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50598 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50599 anymore.
50600 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50601 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50602 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50603 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50604 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50605 __mpranred, __mptan.
50606 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50607 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50608 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50609 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50610 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50611 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50612 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50613 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50614 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50615
b4343346
AS
506162011-10-28 Andreas Schwab <schwab@redhat.com>
50617
0c92d8a8
AS
50618 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50619 redefine if SHARED.
50620 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50621
b4343346
AS
50622 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50623 wide char related routines to wcsmbs subdir.
50624
3871f58f
AS
506252011-10-27 Andreas Schwab <schwab@redhat.com>
50626
50627 [BZ #13344]
50628 * misc/sys/cdefs.h (__THROWNL): Define.
50629 * posix/unistd.h: Use __THREADNL instead of __THREAD
50630 for memory synchronization functions.
50631
94d44d9f
RM
506322011-10-26 Roland McGrath <roland@hack.frob.com>
50633
21b64b15 50634 [BZ #13349]
94d44d9f
RM
50635 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50636 doesn't exist.
50637 * manual/stdio.texi (Obstack Streams): Node removed.
50638
f6ce9294
AS
506392011-10-26 Andreas Schwab <schwab@redhat.com>
50640
80479147
AS
50641 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50642 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50643 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50644
f6ce9294
AS
50645 * math/math_private.h (math_force_eval): Allow non-addressable
50646 arguments.
50647 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50648
618280a1
UD
506492011-10-25 Ulrich Drepper <drepper@gmail.com>
50650
e0016b11
UD
50651 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50652 file is not needed.
50653
50654 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50655 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50656 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50657 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50658 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50659 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50660 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50661 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50662 Add AVX variants.
50663 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50664 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50665 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50666 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50667 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50668 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50669 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50670 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50671 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50672 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50673 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50674 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50675 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50676 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50677 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50678 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50679 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50680 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50681 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50682
50683 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50684 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50685
618280a1
UD
50686 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50687 place. Use VEX encoding when compiling for AVX.
50688
37822576
AS
506892011-10-25 Andreas Schwab <schwab@redhat.com>
50690
1f1e1947
AS
50691 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50692 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50693
37822576
AS
50694 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50695
31ea014d
UD
506962011-10-25 Ulrich Drepper <drepper@gmail.com>
50697
d7826aa1 50698 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 50699 useless if() expression.
d7826aa1
UD
50700 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50701 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50702 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50703 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50704 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50705 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50706 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50707 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50708 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50709 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50710 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50711 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50712 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50713 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50714 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50715 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50716 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50717 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50718 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50719
31ea014d
UD
50720 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50721
16437fec
AS
507222011-10-25 Andreas Schwab <schwab@redhat.com>
50723
50724 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50725 condition.
50726 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50727
31d3cc00
UD
507282011-10-25 Ulrich Drepper <drepper@gmail.com>
50729
50730 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50731 .text section. Avoid duplicate constants.
50732 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50733 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50734 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50735 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50736 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50737 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50738 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50739 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50740 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50741 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50742 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50743 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50744 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50745 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50746 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50747 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50748 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50749 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50750 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50751 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50752 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50753 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50754 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50755 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50756 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50757 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50758 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50759 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50760 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50761 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50762 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50763 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50764 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50765 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50766 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50767 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50768 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50769 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50770 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50771 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50772 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50773 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50774 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50775 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50776 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50777
58985aa9
UD
507782011-10-24 Ulrich Drepper <drepper@gmail.com>
50779
202c9deb
UD
50780 * sysdeps/x86_64/dla.h: Move to ...
50781 * sysdeps/x86_64/fpu/dla.h: ...here.
50782 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50783 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 50784
af968f62
UD
50785 * config.make.in: Add have-mfma4 entry.
50786 * configure.in: Substitute libc_cv_cc_fma4.
50787 * math/Makefile (dbl-only-routines): Add sincostab.
50788 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50789 Use __sincostab not sincos.
50790 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50791 name is a macro.
50792 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50793 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50794 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50795 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50796 using __copysign.
50797 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50798 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50799 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50800 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50801 and __inv.
50802 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50803 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50804 __copysign.
50805 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50806 define aliases when function name is a macro.
50807 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50808 sysdeps/ieee754/dbl-64/sincos.tbl.
50809 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50810 fma4-enabled routines.
50811 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50812 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50813 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50814 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50815 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50816 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50817 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50818 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50819 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50820 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50821 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50822 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50823 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50824 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50825 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50826 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50827 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50828 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50829 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50830 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50831 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50832 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50833 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50834 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50835 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50836 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50837 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50838 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50839 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50840 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50841
58985aa9
UD
50842 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50843 rename.
50844 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50845 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50846 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50848 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50849 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50850 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50851 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50852
a201fbcf
AS
508532011-10-24 Andreas Schwab <schwab@redhat.com>
50854
50855 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50856
fc2ee42a
LD
508572011-10-23 Ulrich Drepper <drepper@gmail.com>
50858
bb3129bd
UD
50859 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50860
0275fff8
UD
50861 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50862 prediction.
50863 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50864
2fa2ae85
UD
50865 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50866 Remove unused variable magic_bits.
50867 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50868
fc2ee42a
LD
50869 * string/strnlen.c: Define and use STRNLEN macro.
50870 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50871 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50872 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50873 * wcsmbs/wcslen.c: Define and use WCSLEN.
50874 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50875 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50876 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50877 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50878 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50879 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50880 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50881
ce7dd29f
LD
508822011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50883
50884 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50885 strnlen-sse2-no-bsf.
50886 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50887 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50888 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50889 Add strnlen support.
50890 (USE_AS_STRNLEN): New macro.
50891 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50892 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50893 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50894 * sysdeps/x86_64/wcslen.S: New file.
50895
979c70a3
MZ
508962011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50897
50898 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50899 XMM-moves are used for copying on small sizes.
50900
2d09f82f
LD
509012011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50902
50903 * wcsmbs/Makefile (strop-tests): Add wcschr.
50904 * wcsmbs/test-wcschr.c: New file.
50905 * string/test-strchr.c: Update.
50906 Add wcschr support.
50907 (WIDE): New macro.
50908
619fccca
LD
509092011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50910
2d09f82f 50911 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
50912 * wcsmbs/test-wcslen.c: New file.
50913 * string/test-strlen.c: Update.
50914 Add wcslen support.
50915 (WIDE): New macro.
50916
09f699ea
UD
509172011-10-23 Ulrich Drepper <drepper@gmail.com>
50918
50919 * po/it.po: Update from translation team.
50920
95584d3b
LD
509212011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50922
50923 * sysdeps/x86_64/wcscmp.S: Update.
50924 Fix wrong comparison semantics.
50925 wcscmp shall use signed comparison not unsigned.
50926 Don't use substraction to avoid overflow bug.
50927 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50928 * wcsmbc/wcscmp.c: Likewise.
50929 * string/test-strcmp.c: Likewise.
50930 Add new tests to check cases with negative values.
50931
c8b3296b
UD
509322011-10-23 Ulrich Drepper <drepper@gmail.com>
50933
50934 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50935 * sysdeps/x86_64/dla.h: ...here. New file.
50936 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50937 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50938 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50939 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50940 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50941 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50942 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50943 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50944 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50945
246ad57a
AS
509462011-10-23 Andreas Schwab <schwab@linux-m68k.org>
50947
50948 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50949 __ynl_finite aliases.
50950
a1a87169
UD
509512011-10-22 Ulrich Drepper <drepper@gmail.com>
50952
0d355eb7
UD
50953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50954
a1a87169
UD
50955 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50956 define DLA_FMA.
50957 [DLA_FMA] (EMULV): Use DLA_FMA.
50958 [DLA_FMA] (MUL12): Use EMULV.
50959 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50960 that are not needed.
50961 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50962 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50963 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50964 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50965 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50966 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50967 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50968
ee2aafe0
AS
509692011-10-22 Andreas Schwab <schwab@linux-m68k.org>
50970
50971 * math/s_nan.c: Undef __nan.
50972 * math/s_nanf.c: Undef __nanf.
50973 * math/s_nanl.c: Undef __nanl.
50974 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50975 "math_private.h".
50976
bc62c2fb
UD
509772011-10-22 Ulrich Drepper <drepper@gmail.com>
50978
77425c63
UD
50979 * math/s_catan.c: Add branch predictions.
50980 * math/s_catanf.c: Likewise.
50981 * math/s_catanh.c: Likewise.
50982 * math/s_catanhf.c: Likewise.
50983 * math/s_catanhl.c: Likewise.
50984 * math/s_catanl.c: Likewise.
50985 * math/s_cexp.c: Likewise.
50986 * math/s_cexpf.c: Likewise.
50987 * math/s_cexpl.c: Likewise.
50988 * math/s_clog.c: Likewise.
50989 * math/s_clog10.c: Likewise.
50990 * math/s_clog10f.c: Likewise.
50991 * math/s_clog10l.c: Likewise.
50992 * math/s_clogf.c: Likewise.
50993 * math/s_clogl.c: Likewise.
50994 * math/s_csqrt.c: Likewise.
50995 * math/s_csqrtf.c: Likewise.
50996 * math/s_csqrtl.c: Likewise.
50997 * math/s_ctanf.c: Likewise.
50998 * math/s_ctanh.c: Likewise.
50999 * math/s_ctanhf.c: Likewise.
51000 * math/s_ctanhl.c: Likewise.
51001 * math/s_ctanl.c: Likewise.
51002
bc62c2fb
UD
51003 * math/math_private.h: Define __nan, __nanf, __nanl.
51004 * math/s_cacosh.c: Include <math_private.h>.
51005 * math/s_cacoshl.c: Likewise.
51006 * math/s_casinh.c: Likewise.
51007 * math/s_casinhf.c: Likewise.
51008 * math/s_casinhl.c: Likewise.
51009 * math/s_ccos.c: Rely entire on ccosh.
51010 * math/s_ccosf.c: Rely entire on ccoshf.
51011 * math/s_ccosl.c: Rely entirely on ccoshl.
51012 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51013 Remove tests for FE_INVALID.
51014 * math/s_ccoshf.c: Likewise.
51015 * math/s_ccoshl.c: Likewise.
51016 * math/s_csin.c: Likewise.
51017 * math/s_csinf.c: Likewise.
51018 * math/s_csinh.c Likewise.
51019 * math/s_csinhf.c: Likewise.
51020 * math/s_csinhl.c: Likewise.
51021 * math/s_csinl.c: Likewise.
51022 * math/s_ctan.c: Likewise.
51023 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51024 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51025 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51026
8ec250a4
UD
510272011-10-21 Ulrich Drepper <drepper@gmail.com>
51028
c196fed8
UD
51029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51030 compilation problems.
51031
8ec250a4
UD
51032 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51033 __builtin_expect.
51034
8d4f46c6
UD
510352011-10-20 Ulrich Drepper <drepper@gmail.com>
51036
ed72b654
UD
51037 * sysdeps/i386/configure.in: Test for -mfma4 option.
51038 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51039 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51040 COMMON_CPUID_INDEX_80000001.
51041 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51042 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51043 use it if FMA3 is not supported.
51044 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51045
8d4f46c6
UD
51046 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51047 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51048
d45c60c2
AS
510492011-10-20 Andreas Schwab <schwab@redhat.com>
51050
51051 [BZ #12892]
51052 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51053 it would create a cycle with a link time dependency.
51054
d9a4d2ab
UD
510552011-10-19 Ulrich Drepper <drepper@gmail.com>
51056
855d1560
UD
51057 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51058 instruction.
51059 * string/Makefile (strop-tests): Add rawmemchr.
51060 * string/test-rawmemchr.c: New file.
51061
d9a4d2ab
UD
51062 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51063 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51064 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51065 when compiling str{,n}casecmp and when AVX is available. Hook up
51066 new optimized code in initializers.
51067
8f3b1ffe
AS
510682011-10-19 Andreas Schwab <schwab@redhat.com>
51069
51070 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51071 __feraiseexcept instead of feraiseexcept.
51072
d38f1dba
UD
510732011-10-18 Ulrich Drepper <drepper@gmail.com>
51074
d9a8d0ab
UD
51075 * math/math_private.h: Define defaults for libc_fetestexcept and
51076 libc_feupdateenv.
51077 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51078 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51079 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51080 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51081 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51082 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51083 libc_fetestexcept and libc_feupdateenv.
51084
4855e3dd
UD
51085 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51086 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51087 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51088 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51089 libc_feholdexcept_setround.
51090
581d30e3
UD
51091 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51092 Add s_nearbyint-c and s_nearbyintf-c.
51093 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51094 nearbyintf inlines.
51095 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51096 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51097 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51098 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51099
d38f1dba
UD
51100 * math/math_private.h: Define defaults for libc_fegetround,
51101 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51102 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51103 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51104 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51105 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51106 standard functions.
51107 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51108 Remove comments and hacks for old compiler versions.
51109 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51110 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51111 libc_feholdexceptl.
51112
caa6c9d8
AS
511132011-10-18 Andreas Schwab <schwab@redhat.com>
51114
51115 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
51116 (__feraiseexcept_renamed): Add __NTH.
51117 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
51118 namespace violations.
51119
97c066e6
UD
511202011-10-17 Ulrich Drepper <drepper@gmail.com>
51121
99ce7b04
UD
51122 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51123
1004d182
UD
51124 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51125
228a984d
UD
51126 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51127 recently added interfaces.
51128 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51129
c8553a6a
UD
51130 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51131 about macro parameter expansion.
51132
ed22dcf6
UD
51133 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51134 __NO_MATH_INLINES is defined. Cleanups.
51135
51136 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51137 and __floorf is target has SSE4.1.
51138 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51139 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51140 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51141 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51142
b171c137
UD
51143 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51144 name.
51145 (floorf): Likewise.
51146
97c066e6
UD
51147 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51148
629f62ef
AS
511492011-10-17 Andreas Schwab <schwab@redhat.com>
51150
49a43d80
AS
51151 * misc/sys/cdefs.h: Fix last change.
51152
629f62ef
AS
51153 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51154 database lookup.
51155
e453f6cd
UD
511562011-10-16 Ulrich Drepper <drepper@gmail.com>
51157
aa78043a
UD
51158 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51159
ad0f5cad
UD
51160 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51161 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51162 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51163 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51164 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51165 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51166 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51167 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51168 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51169 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51170 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51171 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51172 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51173 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51174 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51175 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51176 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51177 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51178 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51179 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51180 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51181 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51182
51183 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51184 ceil, ceilf, floor, floorf.
51185
51186 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51187 Perform IRELATIVE relocations last.
51188
e453f6cd
UD
51189 * elf/do-rel.h: Add another parameter nrelative, replacing the
51190 local variable with the same name. Change name of the function
51191 to end in Rel or Rela (uppercase).
51192 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51193 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51194 elf_dynamic_do_##reloc function.
51195
fd5bdc09
UD
511962011-10-15 Ulrich Drepper <drepper@gmail.com>
51197
79b195b5
UD
51198 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51199 is sufficient, at least on modern CPUs.
51200
d4a28569
UD
51201 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51202
b61099b5
UD
51203 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51204 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51205
bcf01e6d
UD
51206 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51207 __expl_finite.
51208 * math/bits/math-finite.h: Add entries for exp.
51209 * math/e_expl.c: Add __*_finite alias.
51210 * sysdeps/i386/fpu/e_exp.S: Likewise.
51211 * sysdeps/i386/fpu/e_expf.S: Likewise.
51212 * sysdeps/i386/fpu/e_expl.c: Likewise.
51213 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51214 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51215 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51216 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51217 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51218 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51219 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51220
ba1a0d59
UD
51221 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51222 is sufficient, at least on modern CPUs.
51223
fd5bdc09
UD
51224 * ctype/ctype-info.c (__ctype_init): Define.
51225 * include/ctype.h (__ctype_init): Declare.
51226 (__ctype_b_loc): The variable is always initialized.
51227 (__ctype_toupper_loc): Likewise.
51228 (__ctype_tolower_loc): Likewise.
51229 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51230 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51231
7872cfb0
AS
512322011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51233
b468825a
AS
51234 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51235
7872cfb0
AS
51236 * configure.in: Also look in $cxxmachine/include for C++ system
51237 headers.
51238
be13f7bf
LD
512392011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51240
51241 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51242 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51243 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51244 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51245 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51246 (USE_AS_WMEMCMP): New macro.
51247 Fixing indents.
51248 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51249 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51250 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51251 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51252 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51253 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51254 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51255 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51256 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51257 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51258 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51259 (USE_AS_WMEMCMP): New macro.
51260 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51261 * sysdeps/string/test-memcmp.c: Update.
51262 Fix simple_wmemcmp.
51263 Add new tests.
51264 * wcsmbs/wmemcmp.c: Update.
51265 (WMEMCMP): New macro.
51266 Fix overflow bug.
51267
556a2007
AJ
512682011-10-12 Andreas Jaeger <aj@suse.de>
51269
51270 [BZ #13268]
51271 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51272
538faaa7
UD
512732011-10-15 Ulrich Drepper <drepper@gmail.com>
51274
ab6737ff
UD
51275 * libio/iofwide.c (do_length): Avoid warning.
51276
538faaa7
UD
51277 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51278
396a21b1
UD
512792011-10-14 Ulrich Drepper <drepper@gmail.com>
51280
cdf2901f
UD
51281 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51282
38ad40ce
UD
51283 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51284 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51285 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51286 * sysdeps/i386/i686/fpu/e_log.S: New file.
51287 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51288 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51289
396a21b1
UD
51290 * ctype/ctype.h: Add support for inlined isXXX functions when
51291 compiling C++ code.
51292
6b1f68c9
AS
512932011-10-14 Andreas Schwab <schwab@redhat.com>
51294
349290c0
AS
51295 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51296
6b1f68c9
AS
51297 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51298
f2282d42
RM
512992011-10-13 Roland McGrath <roland@hack.frob.com>
51300
51301 [BZ #13291]
51302 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51303
5298ffa8
AS
513042011-10-13 Andreas Schwab <schwab@redhat.com>
51305
714fad23
AS
51306 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51307 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51308 feraiseexcept.
51309
81dcc7fb
AS
51310 * sysdeps/x86_64/memrchr.S: Check for zero size.
51311
5298ffa8
AS
51312 * string/stratcliff.c: Add memrchr tests.
51313
951fbcec
LD
513142011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51315
51316 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51317 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51318 rawmemchr-sse2 rawmemchr-sse2-bsf.
51319 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51320 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51321 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51322 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51323 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51324 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51325 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51326 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51327 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51328 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51329 * string/memrchr.c (MEMRCHR): New macro.
51330
0ac5ae23
UD
513312011-10-12 Ulrich Drepper <drepper@gmail.com>
51332
51333 Add integration with gcc's -ffinite-math-only and optimize wrapper
51334 functions in libm.
51335 * Versions.def: Define GLIBC_2.15 version for libm.
51336 * math/Makefile (headers): Add bits/math-finite.h.
51337 * math/bits/math-finite.h: New file.
51338 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51339 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51340 * math/e_acoshl.c: Add __*_finite alias.
51341 * math/e_acosl.c: Likewise.
51342 * math/e_asinl.c: Likewise.
51343 * math/e_atan2l.c: Likewise.
51344 * math/e_atanhl.c: Likewise.
51345 * math/e_coshl.c: Likewise.
51346 * math/e_exp10.c: Likewise.
51347 * math/e_exp10f.c: Likewise.
51348 * math/e_exp10l.c: Likewise.
51349 * math/e_exp2l.c: Likewise.
51350 * math/e_fmodl.c: Likewise.
51351 * math/e_gammal_r.c: Likewise.
51352 * math/e_hypotl.c: Likewise.
51353 * math/e_j0l.c: Likewise.
51354 * math/e_j1l.c: Likewise.
51355 * math/e_jnl.c: Likewise.
51356 * math/e_lgammal_r.c: Likewise.
51357 * math/e_log10l.c: Likewise.
51358 * math/e_log2l.c: Likewise.
51359 * math/e_logl.c: Likewise.
51360 * math/e_powl.c: Likewise.
51361 * math/e_sinhl.c: Likewise.
51362 * math/e_sqrtl.c: Likewise.
51363 * math/e_scalb.c: Completely rewritten and optimized.
51364 * math/e_scalbf.c: Likewise.
51365 * math/e_scalbl.c: Likewise.
51366 * math/w_acos.c: Likewise.
51367 * math/w_acosf.c: Likewise.
51368 * math/w_acosl.c: Likewise.
51369 * math/w_acosh.c: Likewise.
51370 * math/w_acoshf.c: Likewise.
51371 * math/w_acoshl.c: Likewise.
51372 * math/w_asin.c: Likewise.
51373 * math/w_asinf.c: Likewise.
51374 * math/w_asinl.c: Likewise.
51375 * math/w_atan2.c: Likewise.
51376 * math/w_atan2f.c: Likewise.
51377 * math/w_atan2l.c: Likewise.
51378 * math/w_atanh.c: Likewise.
51379 * math/w_atanhf.c: Likewise.
51380 * math/w_atanhl.c: Likewise.
51381 * math/w_exp10.c: Likewise.
51382 * math/w_exp10f.c: Likewise.
51383 * math/w_exp10l.c: Likewise.
51384 * math/w_fmod.c: Likewise.
51385 * math/w_fmodf.c: Likewise.
51386 * math/w_fmodl.c: Likewise.
51387 * math/w_j0.c: Likewise.
51388 * math/w_j0f.c: Likewise.
51389 * math/w_j0l.c: Likewise.
51390 * math/w_j1.c: Likewise.
51391 * math/w_j1f.c: Likewise.
51392 * math/w_j1l.c: Likewise.
51393 * math/w_jn.c: Likewise.
51394 * math/w_jnf.c: Likewise.
51395 * math/w_log.c: Likewise.
51396 * math/w_logf.c: Likewise.
51397 * math/w_logl.c: Likewise.
51398 * math/w_log10.c: Likewise.
51399 * math/w_log10f.c: Likewise.
51400 * math/w_log10l.c: Likewise.
51401 * math/w_log2.c: Likewise.
51402 * math/w_log2f.c: Likewise.
51403 * math/w_log2l.c: Likewise.
51404 * math/w_pow.c: Likewise.
51405 * math/w_powf.c: Likewise.
51406 * math/w_powl.c: Likewise.
51407 * math/w_remainder.c: Likewise.
51408 * math/w_remainderf.c: Likewise.
51409 * math/w_remainderl.c: Likewise.
51410 * math/w_scalb.c: Likewise.
51411 * math/w_scalbf.c: Likewise.
51412 * math/w_scalbl.c: Likewise.
51413 * math/w_sqrt.c: Likewise.
51414 * math/w_sqrtf.c: Likewise.
51415 * math/w_sqrtl.c: Likewise.
51416 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51417 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51418 used.
51419 * math/math_private.h: Declare __kernel_standard_f.
51420 * math/w_cosh.c: Remove cruft and optimize a bit.
51421 * math/w_coshf.c: Likewise.
51422 * math/w_coshl.c: Likewise.
51423 * math/w_exp2.c: Likewise.
51424 * math/w_exp2f.c: Likewise.
51425 * math/w_exp2l.c: Likewise.
51426 * math/w_hypot.c: Likewise.
51427 * math/w_hypotf.c: Likewise.
51428 * math/w_hypotl.c: Likewise.
51429 * math/w_lgamma.c: Likewise.
51430 * math/w_lgamma_r.c: Likewise.
51431 * math/w_lgammaf.c: Likewise.
51432 * math/w_lgammaf_r.c: Likewise.
51433 * math/w_lgammal.c: Likewise.
51434 * math/w_lgammal_r.c: Likewise.
51435 * math/w_sinh.c: Likewise.
51436 * math/w_sinhf.c: Likewise.
51437 * math/w_sinhl.c: Likewise.
51438 * math/w_tgamma.c: Likewise.
51439 * math/w_tgammaf.c: Likewise.
51440 * math/w_tgammal.c: Likewise.
51441 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51442 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51443 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51444 Minor optimizations. Pretty printing. Remove cruft.
51445 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51446 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51447 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51448 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51449 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51450 * sysdeps/i386/fpu/e_asin.S: Likewise.
51451 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51452 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51453 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51454 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51455 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51456 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51457 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51458 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51459 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51460 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51461 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51462 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51463 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51464 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51465 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51466 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51467 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51468 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51469 * sysdeps/i386/fpu/e_log.S: Likewise.
51470 * sysdeps/i386/fpu/e_log10.S: Likewise.
51471 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51472 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51473 * sysdeps/i386/fpu/e_log2.S: Likewise.
51474 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51475 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51476 * sysdeps/i386/fpu/e_logf.S: Likewise.
51477 * sysdeps/i386/fpu/e_logl.S: Likewise.
51478 * sysdeps/i386/fpu/e_pow.S: Likewise.
51479 * sysdeps/i386/fpu/e_powf.S: Likewise.
51480 * sysdeps/i386/fpu/e_powl.S: Likewise.
51481 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51482 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51483 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51484 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51485 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51486 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51487 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51488 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51489 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51490 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51491 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51492 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51493 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51494 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51495 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51496 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51497 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51498 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51499 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51500 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51501 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51502 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51503 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51504 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51505 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51506 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51507 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51508 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51509 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51510 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51511 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51512 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51513 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51514 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51515 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51516 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51517 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51518 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51519 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51520 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51521 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51522 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51523 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51524 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51525 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51526 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51527 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51528 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51529 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51530 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51531 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51532 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51533 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51534 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51535 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51536 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51537 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51538 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51539 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51540 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51541 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51542 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51543 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51544 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51545 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51546 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51547 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51548 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51549 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51550 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51551 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51552 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51553 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51554 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51555 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51556 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51557 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51558 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51559 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51560 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51561 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51562 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51563 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51564 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51565 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51566 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51567 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51568 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51569 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51570 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51571 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51572 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51573 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51574 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51575 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51576 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51577 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51578 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51579 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51580 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51581 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51582 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51583 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51584 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51585 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51586 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51587 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51588 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51589 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51590 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51591 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51592 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51593 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51594 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51595 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51596 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51597 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51598 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51599 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51600 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51601 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51602 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51603 (__isnanf): Likewise.
51604 (__isinf_ns): Likewise.
51605 (__isinf_nsf): Likewise.
51606 (__finite): Likewise.
51607 (__finitef): Likewise.
51608 (__ieee754_sqrt): Define as macro.
51609 (__ieee754_sqrtf): Define as macro.
51610 (__ieee754_sqrtl): Define as macro.
51611 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51612 inlined copy.
51613 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51614 __FINITE_MATH_ONLY__ consistent.
51615 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51616
12cc2fcd
AS
516172011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51618
a843a204
AS
51619 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51620 of rawmemchr.
51621
12cc2fcd
AS
51622 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51623
c853acd5
UD
516242011-10-09 Ulrich Drepper <drepper@gmail.com>
51625
51626 * po/ja.po: Update from translation team.
51627
c658d255
RM
516282011-10-08 Roland McGrath <roland@hack.frob.com>
51629
110946e4
RM
51630 * locale/programs/locarchive.c (prepare_address_space): New function.
51631 (create_archive, enlarge_archive, open_archive): Use it.
51632
50604220
RM
51633 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51634 inside [SHARED], where it is used.
51635
c658d255
RM
51636 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51637
51638 * nss/getent.c (netgroup_keys): Remove unused variable.
51639 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51640
6a621eb7
UD
516412011-10-08 Ulrich Drepper <drepper@gmail.com>
51642
7edb55ce
UD
51643 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51644 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51645 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51646 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51647 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51648 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51649 * math/Makefile (libm-calls): Add s_isinf_ns.
51650 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51651 * math/multc3.c: Likewise.
51652 * math/s_casin.c: Likewise.
51653 * math/s_casinf.c: Likewise.
51654 * math/s_casinl.c: Likewise.
51655 * math/s_ccos.c: Likewise.
51656 * math/s_ccosf.c: Likewise.
51657 * math/s_ccosl.c: Likewise.
51658 * math/s_ctan.c: Likewise.
51659 * math/s_ctanf.c: Likewise.
51660 * math/s_ctanh.c: Likewise.
51661 * math/s_ctanhf.c: Likewise.
51662 * math/s_ctanhl.c: Likewise.
51663 * math/s_ctanl.c: Likewise.
51664 * math/w_fmod.c: Likewise.
51665 * math/w_fmodf.c: Likewise.
51666 * math/w_fmodl.c: Likewise.
51667 * math/w_remainder.c: Likewise.
51668 * math/w_remainderf.c: Likewise.
51669 * math/w_remainderl.c: Likewise.
51670 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51671 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51672 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51673 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51674 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51675 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51676 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51677 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51678
187da0ae
UD
51679 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51680 of the number.
51681 * stdio-common/printf_fphex.c: Likewise.
51682 * stdio-common/printf_size.c: Likewise.
51683
9277c064
UD
51684 * math/e_exp10.c: Include math_private.h using <...> not "...".
51685 * math/e_exp10f.c: Likewise.
51686 * math/e_exp10l.c: Likewise.
51687 * math/e_exp2l.c: Likewise.
51688 * math/e_j0l.c: Likewise.
51689 * math/e_j1l.c: Likewise.
51690 * math/e_jnl.c: Likewise.
51691 * math/e_lgammal_r.c: Likewise.
51692 * math/e_rem_pio2l.c: Likewise.
51693 * math/e_scalb.c: Likewise.
51694 * math/e_scalbf.c: Likewise.
51695 * math/e_scalbl.c: Likewise.
51696 * math/k_cosl.c: Likewise.
51697 * math/k_sinl.c: Likewise.
51698 * math/k_tanl.c: Likewise.
51699 * math/s_cacoshf.c: Likewise.
51700 * math/s_catan.c: Likewise.
51701 * math/s_catanf.c: Likewise.
51702 * math/s_catanh.c: Likewise.
51703 * math/s_catanhf.c: Likewise.
51704 * math/s_catanhl.c: Likewise.
51705 * math/s_catanl.c: Likewise.
51706 * math/s_ccosh.c: Likewise.
51707 * math/s_ccoshf.c: Likewise.
51708 * math/s_ccoshl.c: Likewise.
51709 * math/s_cexp.c: Likewise.
51710 * math/s_cexpf.c: Likewise.
51711 * math/s_cexpl.c: Likewise.
51712 * math/s_clog.c: Likewise.
51713 * math/s_clog10.c: Likewise.
51714 * math/s_clog10f.c: Likewise.
51715 * math/s_clog10l.c: Likewise.
51716 * math/s_clogf.c: Likewise.
51717 * math/s_clogl.c: Likewise.
51718 * math/s_csin.c: Likewise.
51719 * math/s_csinf.c: Likewise.
51720 * math/s_csinh.c: Likewise.
51721 * math/s_csinhf.c: Likewise.
51722 * math/s_csinhl.c: Likewise.
51723 * math/s_csinl.c: Likewise.
51724 * math/s_csqrt.c: Likewise.
51725 * math/s_csqrtf.c: Likewise.
51726 * math/s_csqrtl.c: Likewise.
51727 * math/s_ctan.c: Likewise.
51728 * math/s_ctanf.c: Likewise.
51729 * math/s_ctanh.c: Likewise.
51730 * math/s_ctanhf.c: Likewise.
51731 * math/s_ctanhl.c: Likewise.
51732 * math/s_ctanl.c: Likewise.
51733 * math/s_ldexp.c: Likewise.
51734 * math/s_ldexpf.c: Likewise.
51735 * math/s_ldexpl.c: Likewise.
51736 * math/s_significand.c: Likewise.
51737 * math/s_significandf.c: Likewise.
51738 * math/s_significandl.c: Likewise.
51739 * math/w_acos.c: Likewise.
51740 * math/w_acosf.c: Likewise.
51741 * math/w_acosh.c: Likewise.
51742 * math/w_acoshf.c: Likewise.
51743 * math/w_acoshl.c: Likewise.
51744 * math/w_acosl.c: Likewise.
51745 * math/w_asin.c: Likewise.
51746 * math/w_asinf.c: Likewise.
51747 * math/w_asinl.c: Likewise.
51748 * math/w_atan2.c: Likewise.
51749 * math/w_atan2f.c: Likewise.
51750 * math/w_atan2l.c: Likewise.
51751 * math/w_atanh.c: Likewise.
51752 * math/w_atanhf.c: Likewise.
51753 * math/w_atanhl.c: Likewise.
51754 * math/w_cosh.c: Likewise.
51755 * math/w_coshf.c: Likewise.
51756 * math/w_coshl.c: Likewise.
51757 * math/w_dremf.c: Likewise.
51758 * math/w_exp10.c: Likewise.
51759 * math/w_exp10f.c: Likewise.
51760 * math/w_exp10l.c: Likewise.
51761 * math/w_exp2.c: Likewise.
51762 * math/w_exp2f.c: Likewise.
51763 * math/w_fmod.c: Likewise.
51764 * math/w_fmodf.c: Likewise.
51765 * math/w_fmodl.c: Likewise.
51766 * math/w_hypot.c: Likewise.
51767 * math/w_hypotf.c: Likewise.
51768 * math/w_hypotl.c: Likewise.
51769 * math/w_j0.c: Likewise.
51770 * math/w_j0f.c: Likewise.
51771 * math/w_j0l.c: Likewise.
51772 * math/w_j1.c: Likewise.
51773 * math/w_j1f.c: Likewise.
51774 * math/w_j1l.c: Likewise.
51775 * math/w_jn.c: Likewise.
51776 * math/w_jnf.c: Likewise.
51777 * math/w_jnl.c: Likewise.
51778 * math/w_lgamma.c: Likewise.
51779 * math/w_lgamma_r.c: Likewise.
51780 * math/w_lgammaf.c: Likewise.
51781 * math/w_lgammaf_r.c: Likewise.
51782 * math/w_lgammal.c: Likewise.
51783 * math/w_lgammal_r.c: Likewise.
51784 * math/w_log.c: Likewise.
51785 * math/w_log10.c: Likewise.
51786 * math/w_log10f.c: Likewise.
51787 * math/w_log10l.c: Likewise.
51788 * math/w_log2.c: Likewise.
51789 * math/w_log2f.c: Likewise.
51790 * math/w_log2l.c: Likewise.
51791 * math/w_logf.c: Likewise.
51792 * math/w_logl.c: Likewise.
51793 * math/w_pow.c: Likewise.
51794 * math/w_powf.c: Likewise.
51795 * math/w_powl.c: Likewise.
51796 * math/w_remainder.c: Likewise.
51797 * math/w_remainderf.c: Likewise.
51798 * math/w_remainderl.c: Likewise.
51799 * math/w_scalb.c: Likewise.
51800 * math/w_scalbf.c: Likewise.
51801 * math/w_scalbl.c: Likewise.
51802 * math/w_sinh.c: Likewise.
51803 * math/w_sinhf.c: Likewise.
51804 * math/w_sinhl.c: Likewise.
51805 * math/w_sqrt.c: Likewise.
51806 * math/w_sqrtf.c: Likewise.
51807 * math/w_sqrtl.c: Likewise.
51808 * math/w_tgamma.c: Likewise.
51809 * math/w_tgammaf.c: Likewise.
51810 * math/w_tgammal.c: Likewise.
51811
6a621eb7
UD
51812 * po/ja.po: Update from translation team.
51813
bf582445
AJ
518142011-09-29 Andreas Jaeger <aj@suse.de>
51815
f9efbf3a
AJ
51816 [BZ #13179]
51817 * sunrpc/netname.c (netname2host): Fix logic.
51818
bf582445
AJ
51819 [BZ #6779]
51820 [BZ #6783]
51821 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51822 correctly.
51823 * math/w_remainder.c (__remainder): Likewise.
51824 * math/w_remainderf.c (__remainderf): Likewise.
51825 * math/libm-test.inc (remainder_test): Add test cases.
51826
48693bea
AK
518272011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51828
51829 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51830 sdiv_qrnnd.
51831
42622229
LD
518322011-10-07 Ulrich Drepper <drepper@gmail.com>
51833
51834 * string/test-memcmp.c: Avoid unncessary #defines.
51835 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51836
093ecf92
LD
518372011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51838
51839 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51840 Use new sse2 version for core i3 - i7 as it's faster
51841 than sse42 version.
51842 (bit_Prefer_PMINUB_for_stringop): New.
51843 * sysdeps/x86_64/rawmemchr.S: Update.
51844 Replace with faster SSE2 version.
51845 * sysdeps/x86_64/memrchr.S: New file.
51846 * sysdeps/x86_64/memchr.S: Update.
51847 Replace with faster SSE2 version.
51848
fde56e5c
MP
518492011-09-12 Marek Polacek <mpolacek@redhat.com>
51850
51851 * elf/dl-load.c (lose): Add cast to avoid warning.
51852
21fd49a9
UD
518532011-10-07 Ulrich Drepper <drepper@gmail.com>
51854
5a06e643
UD
51855 * po/ca.po: Update from translation team.
51856
684ae515
UD
51857 * inet/getnetgrent_r.c: Hook up nscd.
51858 * nscd/Makefile (routines): Add nscd_netgroup.
51859 (nscd-modules): Add netgroupcache.
51860 (CFLAGS-netgroupcache.c): Define.
51861 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51862 (cache_search): Add const to second parameter.
51863 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51864 INNETGR.
51865 (dbs): Add netgrdb entry.
51866 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51867 (verify_persistent_db): Handle netgrdb.
51868 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51869 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51870 GETFDNETGR.
51871 (netgroup_response_header): Define.
51872 (innetgroup_response_header): Define.
51873 (datahead): Add netgroup_response_header and innetgroup_response_header
51874 elements.
51875 * nscd/nscd.conf: Add entries for netgroup cache.
51876 * nscd/nscd.h (dbtype): Add netgrdb.
51877 (_PATH_NSCD_NETGROUP_DB): Define.
51878 (netgroup_iov_disabled): Declare.
51879 (xmalloc, xcalloc, xrealloc): Move declarations here.
51880 (cache_search): Adjust prototype.
51881 Add netgroup-related prototypes.
51882 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51883 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51884 (__nscd_innetgr): Declare.
51885 * nscd/selinux.c (perms): Use access_vector_t as element type and
51886 add netgroup-related initializers.
51887 * nscd/netgroupcache.c: New file.
51888 * nscd/nscd_netgroup.c: New file.
51889 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51890 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51891 For four parameters use innetgr.
51892 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51893 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51894 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51895 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51896
21fd49a9
UD
51897 * nscd/connections.c (register_traced_file): Don't register file
51898 for disabled databases.
51899
054c0457
UD
519002011-10-06 Ulrich Drepper <drepper@gmail.com>
51901
32b63198
UD
51902 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51903
054c0457
UD
51904 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51905 from tree and freeing node.
51906
64031225
JO
519072011-09-25 Jiri Olsa <jolsa@redhat.com>
51908
51909 * nss/nsswitch.c (__nss_database_lookup): Handle
51910 nss_parse_service_list out of memory case.
51911
0490345c
JO
519122011-09-15 Jiri Olsa <jolsa@redhat.com>
51913
51914 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51915 out of memory case.
51916
3a62d00d
AS
519172011-10-04 Andreas Schwab <schwab@redhat.com>
51918
51919 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51920 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51921 pass it down.
51922 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51923 elf_machine_rela, elf_machine_lazy_rel.
51924 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51925 (ELF_DYNAMIC_DO_REL): Likewise.
51926 (ELF_DYNAMIC_DO_RELA): Likewise.
51927 (ELF_DYNAMIC_RELOCATE): Likewise.
51928 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51929 to ELF_DYNAMIC_DO_REL.
51930 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51931 (dl_main): In trace mode always set __RTLD_NOIFUNC.
51932 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51933 elf_machine_rela.
51934 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51935 skip_ifunc, don't call ifunc function if non-zero.
51936 (elf_machine_rela): Likewise.
51937 (elf_machine_lazy_rel): Likewise.
51938 (elf_machine_lazy_rela): Likewise.
51939 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51940 (elf_machine_lazy_rel): Likewise.
51941 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51942 Likewise.
51943 (elf_machine_lazy_rel): Likewise.
51944 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51945 Likewise.
51946 (elf_machine_lazy_rel): Likewise.
51947 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51948 (elf_machine_lazy_rel): Likewise.
51949 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51950 (elf_machine_lazy_rel): Likewise.
51951 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51952 (elf_machine_lazy_rel): Likewise.
51953 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51954 (elf_machine_lazy_rel): Likewise.
51955 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51956 (elf_machine_lazy_rel): Likewise.
51957 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51958 (elf_machine_lazy_rel): Likewise.
51959
68577918
UD
519602011-09-28 Ulrich Drepper <drepper@gmail.com>
51961
51962 * nss/nss_files/files-init.c (_nss_files_init): Use static
51963 initialization for all the *_traced_file variables.
51964
68822d74
AS
519652011-09-28 Andreas Schwab <schwab@redhat.com>
51966
51967 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51968
2056100b
RM
519692011-09-27 Roland McGrath <roland@hack.frob.com>
51970
51971 [BZ #13226]
51972 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51973
32c76b63
AS
519742011-09-27 Andreas Schwab <schwab@redhat.com>
51975
51976 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51977 Reread the line before reparsing it.
51978
bf972c9d
AS
519792011-09-26 Andreas Schwab <schwab@redhat.com>
51980
51981 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51982
e057a1b5
JM
519832011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
51984 Maxim Kuvyrkov <maxim@codesourcery.com>
51985 Joseph Myers <joseph@codesourcery.com>
51986
51987 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51988 if needed for __stack_chk_guard.
51989
bc7e1c36
RM
519902011-09-19 Roland McGrath <roland@hack.frob.com>
51991
ecb1482f
RM
51992 * sysdeps/posix/spawni.c (script_execute): Always define it.
51993 It will be optimized away if unused.
51994 (maybe_script_execute): New function.
51995 (__spawni): Call it.
51996
bc7e1c36
RM
51997 * Makerules: Don't include tls.make.
51998 (config-tls): Always set to thread.
51999 * tls.make.c: File removed.
52000
1c3b002b
MF
520012011-09-19 Mike Frysinger <vapier@gentoo.org>
52002
52003 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52004 * config.make.in (CPPFLAGS-config): New substituted variable.
52005
2840865d
UD
520062011-09-15 Ulrich Drepper <drepper@gmail.com>
52007
88738eb6
UD
52008 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52009
cbf645a6 52010 [BZ #13192]
2840865d
UD
52011 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52012 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52013
b402e91a
RM
520142011-09-15 Roland McGrath <roland@hack.frob.com>
52015
52016 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52017 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52018 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52019 (CALL_FAIL): Likewise.
52020 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52021 (CALL_FAIL): Macro removed.
52022 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52023
4c1a1f71
UD
520242011-09-15 Ulrich Drepper <drepper@gmail.com>
52025
52026 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52027 for __FINITE_MATH_ONLY__ == 1.
52028
edc121be
AS
520292011-09-15 Andreas Schwab <schwab@redhat.com>
52030
52031 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52032 __ieee754_sqrt instead of sqrt.
52033 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52034 __ieee754_sqrtf instead of sqrtf.
52035 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52036 __floorf instead of floorf.
52037 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52038 __floorf, __truncf instead of floorf, truncf.
52039
cd205654
UD
520402011-09-14 Ulrich Drepper <drepper@gmail.com>
52041
ee4d0315
UD
52042 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52043
cd205654
UD
52044 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52045 __extern_always_inline.
52046 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52047 32-bit.
52048
48b67d71
AS
520492011-09-14 Andreas Schwab <schwab@redhat.com>
52050
52051 * elf/rtld.c (dl_main): Also relocate in dependency order when
52052 doing symbol dependency testing.
52053
1ae12c75
AS
520542011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52055
52056 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52057 Always define `refsym'.
52058
995a80df
AS
520592011-09-13 Andreas Schwab <schwab@redhat.com>
52060
e529793b
AS
52061 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52062 (__FD_ELT): Renamed from __FDELT.
52063 * misc/bits/select2.h (__FD_ELT): Likewise.
52064 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52065 __FD_MASK instead of __FDELT, __FDMASK.
52066 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52067 Likewise.
52068 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52069 Likewise.
52070
52d4fef8
AS
52071 * elf/Makefile (gen-ldd): Fix pattern.
52072
995a80df
AS
52073 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52074 (init_tls): Likewise.
52075
8682f8b0
UD
520762011-09-12 Ulrich Drepper <drepper@gmail.com>
52077
52078 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52079
de82006d
AS
520802011-09-12 Andreas Schwab <schwab@redhat.com>
52081
a7c8e6a1
AS
52082 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52083 `struct cmsghdr *' instead of `void *'.
52084 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52085 Likewise.
52086
0f31fe77
AS
520872011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52088
52089 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52090 if non-absolute.
52091 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52092 ldd_rewrite_script.
0f31fe77 52093
32b4c839
UD
520942011-09-11 Ulrich Drepper <drepper@gmail.com>
52095
83cd1420
UD
52096 * configure.in: Remove --with-tls option.
52097 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52098 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52099 out in case it is missing.
52100 * sysdeps/ia64/elf/configure.in: Likewise.
52101 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52102 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52103 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52104 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52105 * sysdeps/sh/elf/configure.in: Likewise.
52106 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52107 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52108 * sysdeps/x86_64/elf/configure.in: Likewise.
52109 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52110 * sysdeps/mach/hurd/tls.h: Likewise.
52111
633f745d
UD
52112 [BZ #13067]
52113 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52114
f318beb8
UD
52115 [BZ #13090]
52116 * configure.in: Fix use of AC_INIT.
52117
32b4c839
UD
52118 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52119
3ce1f295
UD
521202011-09-10 Ulrich Drepper <drepper@gmail.com>
52121
bb016596
UD
52122 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52123 __set_errno.
8e58439c
UD
52124 * malloc/hooks.c: Likewise.
52125
aebae053 52126 [BZ #11929]
02d46fc4
UD
52127 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52128 variables statically.
52129 (narenas): Initialize.
52130 (list_lock): Initialize.
bb016596
UD
52131 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52132 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
52133 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52134 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52135 Add initializers to main_arena and mp_.
52136 (malloc_state): Remove pagesize member. Change all users to use
52137 GLRO(dl_pagesize).
52138
52139 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52140 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52141 is always initialized.
52142
22a89187
UD
52143 * malloc/malloc.c: Removed unused configurations and dead code.
52144 * malloc/arena.c: Likewise.
52145 * malloc/hooks.c: Likewise.
02d46fc4 52146 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 52147
d063d164
UD
52148 * include/tls.h: Removed. USE___THREAD must always be defined.
52149 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52150 * elf/dl-libc.c: Likewise.
52151 * elf/dl-tsd.c: Likewise.
52152 * include/errno.h: Likewise.
52153 * include/netdb.h: Likewise.
52154 * include/resolv.h: Likewise.
52155 * inet/herrno-loc.c: Likewise.
52156 * inet/herrno.c: Likewise.
52157 * malloc/arena.c: Likewise.
52158 * malloc/hooks.c: Likewise.
52159 * malloc/malloc.c: Likewise.
52160 * resolv/res-state.c: Likewise.
52161 * resolv/res_libc.c: Likewise.
52162 * sysdeps/i386/dl-machine.h: Likewise.
52163 * sysdeps/ia64/dl-machine.h: Likewise.
52164 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52165 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52166 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52167 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52168 * sysdeps/sh/dl-machine.h: Likewise.
52169 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52170 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52171 * sysdeps/unix/i386/sysdep.S: Likewise.
52172 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52173 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52174 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52175 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52176 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52177 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52178 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52179 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52180 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52182 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52183 * sysdeps/x86_64/dl-machine.h: Likewise.
52184 * tls.make.c: Likewise.
52185
3ce1f295
UD
52186 * configure.in: Remove --with-__thread option. Make tests for
52187 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52188 tls_model attribute fail if no support is available. Remove
52189 USE_IN_LIBIO.
52190 * Makeconfig: Adjust for dropped configure option. All features are
52191 now mandatory.
52192 * Makerules: Likewise.
52193 * Versions.def: Likewise.
52194 * argp/argp-fmtstream.c: Likewise.
52195 * argp/argp-fmtstream.h: Likewise.
52196 * argp/argp-help.c: Likewise.
52197 * assert/assert.c: Likewise.
52198 * config.h.in: Likewise.
52199 * config.make.in: Likewise.
52200 * configure: Likewise.
52201 * configure.in: Likewise.
52202 * csu/Versions: Likewise.
52203 * csu/init.c: Likewise.
52204 * elf/tst-audit2.c: Likewise.
52205 * elf/tst-tls10.c: Likewise.
52206 * elf/tst-tls10.h: Likewise.
52207 * elf/tst-tls11.c: Likewise.
52208 * elf/tst-tls12.c: Likewise.
52209 * elf/tst-tls14.c: Likewise.
52210 * elf/tst-tlsmod11.c: Likewise.
52211 * elf/tst-tlsmod12.c: Likewise.
52212 * elf/tst-tlsmod13.c: Likewise.
52213 * elf/tst-tlsmod13a.c: Likewise.
52214 * elf/tst-tlsmod14a.c: Likewise.
52215 * elf/tst-tlsmod15b.c: Likewise.
52216 * elf/tst-tlsmod16a.c: Likewise.
52217 * elf/tst-tlsmod16b.c: Likewise.
52218 * elf/tst-tlsmod7.c: Likewise.
52219 * elf/tst-tlsmod8.c: Likewise.
52220 * elf/tst-tlsmod9.c: Likewise.
52221 * gmon/gmon.c: Likewise.
52222 * grp/fgetgrent_r.c: Likewise.
52223 * grp/putgrent.c: Likewise.
52224 * hurd/fopenport.c: Likewise.
52225 * include/libc-symbols.h: Likewise.
52226 * include/tls.h: Likewise.
52227 * intl/gettextP.h: Likewise.
52228 * intl/loadinfo.h: Likewise.
52229 * locale/global-locale.c: Likewise.
52230 * locale/localeinfo.h: Likewise.
52231 * mach/devstream.c: Likewise.
52232 * malloc/arena.c: Likewise.
52233 * malloc/set-freeres.c: Likewise.
52234 * misc/err.c: Likewise.
52235 * misc/getttyent.c: Likewise.
52236 * misc/mntent_r.c: Likewise.
52237 * posix/getopt.c: Likewise.
52238 * posix/wordexp.c: Likewise.
52239 * pwd/fgetpwent_r.c: Likewise.
52240 * resolv/Versions: Likewise.
52241 * resolv/res_hconf.c: Likewise.
52242 * shadow/fgetspent_r.c: Likewise.
52243 * shadow/putspent.c: Likewise.
52244 * stdio-common/printf_fphex.c: Likewise.
52245 * stdio-common/tmpfile.c: Likewise.
52246 * stdlib/abort.c: Likewise.
52247 * stdlib/fmtmsg.c: Likewise.
52248 * sunrpc/auth_unix.c: Likewise.
52249 * sunrpc/clnt_perr.c: Likewise.
52250 * sunrpc/clnt_tcp.c: Likewise.
52251 * sunrpc/clnt_udp.c: Likewise.
52252 * sunrpc/clnt_unix.c: Likewise.
52253 * sunrpc/openchild.c: Likewise.
52254 * sunrpc/svc_simple.c: Likewise.
52255 * sunrpc/svc_tcp.c: Likewise.
52256 * sunrpc/svc_udp.c: Likewise.
52257 * sunrpc/svc_unix.c: Likewise.
52258 * sunrpc/xdr.c: Likewise.
52259 * sunrpc/xdr_array.c: Likewise.
52260 * sunrpc/xdr_rec.c: Likewise.
52261 * sunrpc/xdr_ref.c: Likewise.
52262 * sunrpc/xdr_stdio.c: Likewise.
52263
1248c1c4
PB
522642011-09-09 Ulrich Drepper <drepper@gmail.com>
52265
52266 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52267
522682011-07-03 Andreas Jaeger <aj@suse.de>
52269
52270 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52271 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52272 regenerate with gen-libm-tests.pl.
52273
522742010-05-12 Petr Baudis <pasky@suse.cz>
52275
52276 [BZ #11589]
52277 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52278 around j0() zero points by switching to j1().
52279 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52280 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52281 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52282 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52283
f22e1074
UD
522842011-09-09 Ulrich Drepper <drepper@gmail.com>
52285
f19009c1
UD
52286 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52287 instead of 0.
52288 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 52289 instead of 0.
f19009c1
UD
52290 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52291 Patch in part by Pavel Roskin <proski@gnu.org>.
52292
3f8cc204
UD
52293 [BZ #13138]
52294 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52295 realloc.
52296 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52297 Free memory block if necessary.
52298
f22e1074
UD
52299 [BZ #12847]
52300 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52301 be NULL. Don't lock in this case.
52302
0a2349f9
RM
523032011-09-09 Roland McGrath <roland@hack.frob.com>
52304
52305 * elf/elf.h (ELFOSABI_GNU): New macro.
52306 (ELFOSABI_LINUX): Define to that.
52307
f3cdd467
DZ
523082011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52309
52310 * string/strncat.c (strncat): Undef the symbol in case it has been
52311 defined in bits/string.h.
52312
74718d13
UD
523132011-09-09 Ulrich Drepper <drepper@gmail.com>
52314
633e9e0f
UD
52315 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52316
0a2349f9 52317 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
52318 link map.
52319
f9924780
AJ
523202011-08-17 Andreas Jaeger <aj@suse.de>
52321
52322 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52323
7f5517aa
PP
523242011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52325 Ian Lance Taylor <iant@google.com>
52326
52327 * math/libm-test.inc (lround_test): New testcase.
52328 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52329
762011fe
UD
523302011-09-08 Ulrich Drepper <drepper@gmail.com>
52331
92963737
UD
52332 * Makefile: Remove support for automatic cvs check-ins.
52333 * Makerules: Likewise.
52334 * config.make.in: Likewise.
52335 * configure.in: Likewise.
52336 * intl/Makefile: Likewise.
52337 * locale/Makefile: Likewise.
52338 * po/Makefile: Likewise.
52339 * posix/Makefile: Likewise.
52340 * sysdeps/gnu/Makefile: Likewise.
52341 * sysdeps/mach/hurd/Makefile: Likewise.
52342 * sysdeps/sparc/sparc32/Makefile: Likewise.
52343
b0727fd8
JS
52344 [BZ #13118]
52345 * posix/Makefile (bug-regex32-ENV): Define.
52346 Patch by John Stanley <jpsinthemix@verizon.net>.
52347
a0f33f99
UD
52348 * misc/Makefile (headers): Add bits/select2.h.
52349 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52350 * misc/bits/select2.h: New file.
52351 * include/bits/select2.h: New file.
52352 * debug/Makefile (routines): Add fdelt_chk.
52353 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52354 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52355 FD_ISSET.
52356 * debug/fdelt_chk.c: New file.
52357
762011fe
UD
52358 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52359 * wcsmbs/test-wmemcmp.c: Likewise.
52360 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 52361 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
52362
523632011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52364
52365 * string/Makefile (strop-tests): Add memcmp.
52366 * string/test-wmemcmp.c: New file.
52367 * string/test-memcmp.c: Add wmemcmp support.
52368
7f513ec8
RM
523692011-09-08 Roland McGrath <roland@hack.frob.com>
52370
0442afb4
RM
52371 [BZ #13153]
52372 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52373 2011-07-19 change.
52374
7f513ec8
RM
52375 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52376 garbage value in a __mach_port_mod_refs call in the cases of the
52377 task-self and thread-self ports.
52378
a12b2239
ST
523792011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52380
52381 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52382
610f9ab4
AS
523832011-09-08 Andreas Schwab <schwab@redhat.com>
52384
7f513ec8 52385 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 52386
48882a1a
LD
523872011-09-07 Ulrich Drepper <drepper@gmail.com>
52388
b49865be
UD
52389 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52390
fdc86bc9
UD
52391 * elf/dl-libc.c (dlerror_run): Pass back error code from
52392 dl_catch_error.
52393
c966526a
UD
52394 [BZ #13123]
52395 * elf/dl-load.c (lose): Free l_origin if it is valid.
52396
48882a1a
LD
52397 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52398 names.
52399 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52400 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52401 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52402 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52403 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52404 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52405
77a2a8b4
AZ
524062011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52407
52408 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52409 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52410 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52411 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52412 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52413 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52414 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52415 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52416 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52417 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52418
24f579d8
AM
524192011-08-15 Alan Modra <amodra@gmail.com>
52420
52421 [BZ #13092]
52422 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52423 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52424 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52425 ppc_mcount to static-only-routines.
52426 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52427 __mcount_internal.
52428 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52429 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52430
3d4837df
UD
524312011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52432
52433 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52434 for finite and infinity parameters.
52435
22700377
WS
524362011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52437
52438 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52439 and add nop instructions for throughput optimization.
52440 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52441
5025581e
WS
524422011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52443
52444 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52445 aligned copy for power7 with vector-scalar instructions.
52446 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52447
08a300c9
L
524482011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52449
52450 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52451 AVX check.
52452
59178ef9
AS
524532011-09-07 Andreas Schwab <schwab@redhat.com>
52454
52455 [BZ #13144]
52456 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52457 last change.
52458
e38ba7ab
UD
524592011-09-07 Ulrich Drepper <drepper@gmail.com>
52460
52461 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52462 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52463 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52464 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52465 clock_gettime.
52466
d53a73ac
UD
524672011-09-06 Ulrich Drepper <drepper@gmail.com>
52468
fc8bffcc
UD
52469 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52470 Forgot to demangle the pointer.
52471
ceaa0c5d
UD
52472 * sysdeps/i386/sysdep.h: Define atom_text_section.
52473 * sysdeps/x86_64/sysdep.h: Likewise.
52474 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52475 section with atom_text_section.
52476 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52477 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52478 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52479 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52480 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52481
a77d3c17
UD
52482 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52483 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52484 already be defined. Change to take two parameters and don't assign
52485 result to variable. Adjust all users.
52486 Define INTERNAL_GETTIME if not already defined.
52487 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52488 call.
52489 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52490 HAVE_CLOCK_GETTIME_VSYSCALL.
52491 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52492
d53a73ac
UD
52493 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52494 gettimeofday vsyscall, just use time.
52495
a8f84144
AS
524962011-09-06 Andreas Schwab <schwab@redhat.com>
52497
52498 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52499 <errno.h>.
52500
ef606249
UD
525012011-09-06 Ulrich Drepper <drepper@gmail.com>
52502
52503 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52504 syscall on x86-64.
52505 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52506 syscall.
52507 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52508 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52509 syscall if possible.
52510
6585cb60
UD
525112011-09-05 Ulrich Drepper <drepper@gmail.com>
52512
52513 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52514 e_ident. Don't pass to find_mapsXX.
52515 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52516
a5f524e4
LD
525172011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52518
52519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52520 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52521 * sysdeps/x86_64/multiarch/strchr.S: Update.
52522 Check bit_slow_BSF bit.
52523 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52524 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52525 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52526
554881ef
UD
525272011-09-05 Ulrich Drepper <drepper@gmail.com>
52528
d96de963
UD
52529 [BZ #13134]
52530 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52531 before glibc 2.15.
52532 (tryshell): Define.
52533 (__spawni): Change last parameter to be flag. Test
52534 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52535 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52536 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52537 * posix/spawni.c: Likewise.
52538 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52539 * posix/spawnp.c: Likewise. Change normal version to use
52540 SPAWN_XFLAGS_USE_PATH.
52541 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52542 SPAWN_XFLAGS_TRY_SHELL.
52543
d48e5868
UD
52544 [BZ #13150]
52545 * posix/glob.h: Remove gcc 1.x support.
52546
554881ef
UD
52547 [BZ #13068]
52548 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52549
693fb948
LD
525502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52551
52552 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52553 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52554 strrchr-sse2-bsf
52555 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52556 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52557 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52558 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52559 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52560 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52561
1b48c537
UD
525622011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52563
49d42c37
UD
52564 * sysdeps/x86_64/wcscmp.S: New file.
52565
1b48c537
UD
52566 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52567 wcscmp-c wcscmp-sse2
52568 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52569 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52570 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52571 * wcsmbs/wcscmp.c: Allow renaming.
52572
15c95c5d
DM
525732011-09-05 David S. Miller <davem@davemloft.net>
52574
52575 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52576 stack slot, rather than the struct return pointer slot.
52577 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52578 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52580 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52581
2f0ad8f3
UD
525822011-09-05 Ulrich Drepper <drepper@gmail.com>
52583
d88ae418
UD
52584 * po/ja.po: Update from translation team.
52585
2f0ad8f3
UD
52586 [BZ #13144]
52587 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52588 kernel in 64-bit binaries.
52589
5f4318d1
DM
525902011-09-01 David S. Miller <davem@davemloft.net>
52591
52592 * elf/elf.h (HWCAP_SPARC_*): Move to..
52593 * sysdeps/sparc/sysdep.h: this new file and add new values.
52594 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52595 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52596 _DL_HWCAP_COUNT to 24.
52597 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52598 entries.
52599 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52600 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52601 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52602 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52603 instead of magic constants.
52604 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52605
3ba57516
DM
526062011-08-31 David S. Miller <davem@davemloft.net>
52607
52608 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52609 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52610 Reimplement to do errno handling inline.
52611 (SYSCALL_ERROR_HANDLER): New macro.
52612 (__SYSCALL_STRING): Do not do errno handling in asm.
52613 (__CLONE_SYSCALL_STRING): Delete.
52614 (__INTERNAL_SYSCALL_STRING): Delete.
52615 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52616 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52617 (PSEUDO): Reimplement to do errno handling inline.
52618 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52619 (SYSCALL_ERROR_HANDLER): New macro.
52620 (__SYSCALL_STRING): Do not do errno handling in asm.
52621 (__CLONE_SYSCALL_STRING): Delete.
52622 (__INTERNAL_SYSCALL_STRING): Delete.
52623 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52624 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52625 i386.
52626 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52627 (inline_syscall*): Add 'err' argument.
52628 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52629 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52630 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52631 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52632
52633 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52634 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52635
2bc17433
AS
526362011-08-30 Andreas Schwab <schwab@redhat.com>
52637
52638 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52639
fbeb5f4d
JO
526402011-08-29 Jiri Olsa <jolsa@redhat.com>
52641
52642 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52643 directive.
52644
ad69cc26
DM
526452011-08-24 David S. Miller <davem@davemloft.net>
52646
52647 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52648
39dd69df
AS
526492011-08-24 Andreas Schwab <schwab@redhat.com>
52650
52651 * elf/Makefile: Add rules to build and run unload8 test.
52652 * elf/unload8.c: New file.
52653 * elf/unload8mod1.c: New file.
52654 * elf/unload8mod1x.c: New file.
52655 * elf/unload8mod2.c: New file.
52656 * elf/unload8mod3.c: New file.
52657
52658 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52659 it wasn't used.
52660
2c0b250a
DM
526612011-08-23 David S. Miller <davem@davemloft.net>
52662
52663 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52664 subtract stack bias.
52665 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52666 %sp not %fp in calculations.
52667 (_JMPBUF_UNWINDS_ADJ): Likewise.
52668
22044b48
DM
52669 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52670 (aio_suspend): Call it to force an exception region around the
52671 AIO_MISC_WAIT() invocation.
52672
2cae4995
AS
526732011-08-23 Andreas Schwab <schwab@redhat.com>
52674
52675 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52676 backslash.
52677
873a772e
AJ
526782011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52679
52680 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52681 protection macro.
52682 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52683 and <dl-machine.h>.
52684 (Elf64_FuncDesc): Remove.
52685
25ad0df1
DM
526862011-08-22 David S. Miller <davem@davemloft.net>
52687
52688 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52689 sigaltstack check, add missing cfi directives.
52690 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52691 missing cfi directives, and sigaltstack handling.
52692
e888bcbe
AS
526932011-08-16 Andreas Schwab <schwab@redhat.com>
52694
52695 [BZ #11724]
52696 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52697 object is seen twice.
52698 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52699
52700 * elf/Makefile (distribute): Add tst-initorder2.c.
52701 (tests): Add tst-initorder2.
52702 (modules-names): Add tst-initorder2a tst-initorder2b
52703 tst-initorder2c tst-initorder2d. Add rules to build them.
52704 ($(objpfx)tst-initorder2.out): New rule.
52705 * elf/tst-initorder2.c: New file.
52706 * elf/tst-initorder2.exp: New file.
52707
87162f46
AS
527082011-08-22 Andreas Schwab <schwab@redhat.com>
52709
70538b7f
AS
52710 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52711
f55ffe58
AS
52712 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52713 dependencies back to end of function.
52714
87162f46
AS
52715 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52716 $(elfobjdir)/ld.so.
52717
91b392a4
UD
527182011-08-21 Ulrich Drepper <drepper@gmail.com>
52719
52720 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52721 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52722 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52723 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52724 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52725 of __vdso_gettimeofday.
52726 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52727 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52728 attribute_hidden.
52729 (_libc_vdso_platform_setup): Remove initialization of
52730 __vdso_gettimeofday and __vdso_time.
52731
5c43483f
UD
527322011-08-20 Ulrich Drepper <drepper@gmail.com>
52733
775a77e7
UD
52734 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52735 and fgetc_unlocked.
52736 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52737 getc_unlocked.
89f447ed 52738
49c74ba9
UD
52739 * elf/dl-open.c (add_to_global): Report additions to the global scope
52740 for LD_DEBUG=scopes.
52741 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 52742 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 52743
5c43483f
UD
52744 [BZ #13114]
52745 * stdio-common/Makefile (tests): Add bug24.
52746 * stdio-common/bug24.c: New file.
52747
a101b025
AJ
527482011-08-19 Andreas Jaeger <aj@suse.de>
52749
52750 [BZ #13114]
52751 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52752 non-existant file when using close-on-exec mode.
52753
c88f1766
UD
527542011-08-20 Ulrich Drepper <drepper@gmail.com>
52755
0276a718
UD
52756 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52757 the very first instruction.
52758
c88f1766
UD
52759 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52760 the CFI state in the end.
52761 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52762 inclusion of dl-trampoline.h.
52763 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52764
51ccffa0
AS
527652011-08-19 Andreas Schwab <schwab@redhat.com>
52766
94d7165f
AS
52767 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52768 expectations for long double.
52769
51ccffa0
AS
52770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52771 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52772
fd708658 527732011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
52774
52775 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52776 artificual limit depends upon the system page size.
52777
44f0a71e
UD
527782011-08-17 Ulrich Drepper <drepper@gmail.com>
52779
52780 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52781 * resolv/Makefile: Define CFLAGS-libresolv.
52782
8de79a24
AS
527832011-08-17 Andreas Schwab <schwab@redhat.com>
52784
52785 * nss/makedb.c (compute_tables): Make variables used in nested
52786 function static.
52787
27724598
UD
527882011-08-17 Ulrich Drepper <drepper@gmail.com>
52789
c5305d88
UD
52790 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52791 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52792 if buffer was too small.
52793
27724598
UD
52794 * elf/pldd.c (main): Attach to all threads in the process.
52795 Rewrite /proc handling to use *at functions.
52796
076fe015
UD
527972011-08-16 Ulrich Drepper <drepper@gmail.com>
52798
174baab3
UD
52799 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52800 specifies first scope to show.
52801 (dl_open_worker): Update callers. Move printing scope of new
52802 object to before the relocation.
44f0a71e 52803 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
52804 * sysdeps/generic/ldsodefs.h: Update declaration.
52805
076fe015
UD
52806 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52807 string for the scope number.
52808
a60df2c3
UD
528092011-08-14 Ulrich Drepper <drepper@gmail.com>
52810
52811 * nscd/servicescache.c (cache_addserv): Make sure written is always
52812 initialized.
52813
5e4287d1
RM
528142011-08-14 Roland McGrath <roland@hack.frob.com>
52815
85ae0589
RM
52816 * sysdeps/i386/i486/bits/atomic.h
52817 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52818 statement expression, so as to suppress "set but not used" warning.
52819 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52820
69f63097
RM
52821 * string/strncat.c (STRNCAT): Use prototype definition.
52822
675456ef
RM
52823 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52824 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52825 -Iprograms here.
52826 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52827 (localedef-modules): Add localedef.
52828 (locale-modules): Add locale.
52829
5e4287d1
RM
52830 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52831 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52832 to avoid a warning.
52833
9c96ff23
DM
528342011-08-14 David S. Miller <davem@davemloft.net>
52835
52836 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52837 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52838
f9ddf089
UD
528392011-08-13 Ulrich Drepper <drepper@gmail.com>
52840
44f0a71e 52841 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
52842 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52843 * elf/rtld.c (dl_main): Set l_name of vDSO.
52844 Call _dl_show_scope when DL_DEBUG_SCOPES.
52845 (process_dl_debug): Recognize scopes flag and also set it for all.
52846 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52847 Declare _dl_show_scope.
52848
1dc27704
UD
52849 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52850 (do_dlopen): Pass caller_dlopen to dl_open.
52851 (__libc_dlopen_mode): Initialize caller_dlopen.
52852
f9ddf089
UD
52853 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52854 of libc. Make tolower call locale-independent. Optimize a bit by
52855 using isdigit instead of isalnum.
52856 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52857
9ac533d3
UD
528582011-08-12 Ulrich Drepper <drepper@gmail.com>
52859
52860 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52861 was a dependency or dynamically loaded.
52862
89edf2e9
UD
528632011-08-11 Ulrich Drepper <drepper@gmail.com>
52864
8e999d29
UD
52865 * intl/l10nflist.c: Allow architecture-specific pop function.
52866 * sysdeps/x86_64/l10nflist.c: New file.
52867
89edf2e9
UD
52868 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52869 classification.
52870
14d96785
AS
528712011-08-10 Andreas Schwab <schwab@redhat.com>
52872
52873 * include/dirent.h: Add libc_hidden_proto for scandirat and
52874 scandirat64. Don't declare __scandirat64.
52875 * dirent/scandirat.c: Add libc_hidden_def.
52876 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52877 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52878
6761ac04
DM
528792011-08-10 David S. Miller <davem@davemloft.net>
52880
52881 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52882 enum.
52883 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52884 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52885 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52886
c55fbd1e
UD
528872011-08-09 Ulrich Drepper <drepper@gmail.com>
52888
52889 * Versions.def [libc]: Add GLIBC_2.15.
52890 * dirent/Makefile (routines): Add scandirat and scandirat64.
52891 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52892 GLIBC_2.15.
52893 * dirent/dirent.h: Declare scandirat and scandirat64.
52894 * dirent/scandirat.c: New file.
52895 * dirent/scandirat64.c: New file.
52896 * sysdeps/wordsize-64/scandirat.c: New file.
52897 * sysdeps/wordsize-64/scandirat64.c: New file.
52898 * dirent/opendir.c: Define opendirat.
52899 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
52900 using scandirat.
52901 * dirent/scandir64.c: Adjust for scandir.c change.
52902 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
52903 __scandirat64, and __scandir_cancel_handler.
52904 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
52905 additional parameter and use openat instead of open (outside of ld.so).
52906 Add new __opendir as wrapper around __opendirat.
52907 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52908 here without requiring old scandirat implementation.
52909
879165f2
UD
529102011-08-08 Ulrich Drepper <drepper@gmail.com>
52911
52912 * dirent/scandir.c (cancel_handler): Renamed to
52913 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
52914 defined. Adjust users.
52915 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52916 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52917
cb7e923b
UD
529182011-08-04 Ulrich Drepper <drepper@gmail.com>
52919
16292edd
UD
52920 * string/test-string.h (IMPL): Use __STRING to expand name and then
52921 stringify it.
52922
cb7e923b
UD
52923 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
52924 of cleanups.
52925
cff82933
LD
529262011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52927
52928 * string/Makefile: Update.
52929 (strop-tests): Append strncat.
52930 * string/test-wcscmp.c: New file.
52931 New comprehensive test for wcscmp.
52932 * string/test-strcmp.c: Update.
52933 (WIDE): New define.
52934
9be9bfcc
AS
529352011-07-22 Andreas Schwab <schwab@redhat.com>
52936
52937 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52938 line.
52939
2e96f1c7
AS
529402011-07-26 Andreas Schwab <schwab@redhat.com>
52941
52942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52943 encoding to ACE if AI_IDN.
52944
85188888
JJ
529452011-08-01 Jakub Jelinek <jakub@redhat.com>
52946
52947 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52948 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52949
5fa16e9b
LD
529502011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52951
52952 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52953 Fix overflow bug in strncat.
52954 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52955
52956 * string/test-strncat.c: Update.
52957 Add new tests for checking overflow bugs.
52958
529592011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52960
52961 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52962 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52963 * sysdeps/i386/i686/multiarch/strcat.S: New file.
52964 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52965 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52966 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52967 * sysdeps/i386/i686/multiarch/strncat.S: New file.
52968 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52969 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52970
52971 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52972 (USE_AS_STRCAT): Define.
52973 Add strcat and strncat support.
52974 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52975
8c1a459f
AS
529762011-07-25 Andreas Schwab <schwab@redhat.com>
52977
52978 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52979 __n bigger than INT_MAX+1.
52980 (__strncmp_g): Likewise.
52981
bba33c28
UD
529822011-07-23 Ulrich Drepper <drepper@gmail.com>
52983
798be72d
UD
52984 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52985 * libio/stido.h: Likewise.
52986
8accd4dc
UD
52987 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52988 (AF_NFC): Define.
52989 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52990 (AF_NFC): Define.
52991
cbff0d96
UD
52992 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52993 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52994 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52995 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52996 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52997
9191c04a
UD
52998 [BZ #13021]
52999 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53000 installed.
53001
bba33c28
UD
53002 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53003 typo.
53004 (_dl_x86_64_save_sse): Likewise.
53005
90f139dd
UD
530062011-07-22 Ulrich Drepper <drepper@gmail.com>
53007
1aae088a
UD
53008 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53009 OSXSAVE.
53010 (_dl_x86_64_save_sse): Likewise.
53011
8e2045f5
UD
53012 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53013
90f139dd
UD
53014 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53015
1d002f25
AS
530162011-07-21 Andreas Schwab <schwab@redhat.com>
53017
53018 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53019 change.
53020 (_dl_x86_64_save_sse): Use correct AVX check.
53021
21137f89
UD
530222011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53023
53024 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53025 bug in strncpy/strncat.
53026 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53027
a65c0b7a
UD
530282011-07-21 Ulrich Drepper <drepper@gmail.com>
53029
53030 * string/tester.c (test_strcat): Add tests for different alignments
53031 of source and destination.
53032 (test_strncat): Likewise.
53033
6986b98a
UD
530342011-07-20 Ulrich Drepper <drepper@gmail.com>
53035
90bb2039
UD
53036 [BZ #12852]
53037 * posix/glob.c (glob): Check passed in values before using them in
53038 expressions to avoid some overflows.
53039 (glob_in_dir): Likewise.
53040
5644ef54
UD
53041 [BZ #13007]
53042 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53043 check for AVX enablement so that we don't crash with old kernels and
53044 new hardware.
53045 * elf/tst-audit4.c: Add same checks here.
53046 * elf/tst-audit6.c: Likewise.
53047
53048 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 53049
bfc9dc9b
AS
530502011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53051
53052 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53053
702e64bb
UD
530542011-07-20 Ulrich Drepper <drepper@gmail.com>
53055
53056 * po/cs.po: Update from translation team.
53057 * po/bg.po: Likewise.
53058
295e904f
MP
530592011-07-12 Marek Polacek <mpolacek@redhat.com>
53060
53061 * misc/sys/cdefs.h: Add support for const attribute.
53062 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53063 to gnu_dev_{major,minor,makedev} functions.
53064
3ff94596
MP
530652011-07-20 Marek Polacek <mpolacek@redhat.com>
53066
53067 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53068
28b59fca
AS
530692011-07-20 Andreas Schwab <schwab@redhat.com>
53070
53071 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53072 strlen results.
53073
19df733e
AK
530742011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53075
53076 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53077 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53078 register in order to avoid conflicts with the soft frame pointer
53079 being held in r11 when necessary.
53080 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53081 (INTERNAL_VSYSCALL_NCS): Likewise.
53082
c8835729
MP
530832011-07-14 Marek Polacek <mpolacek@redhat.com>
53084
53085 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53086 * elf/dl-fini.c (_dl_fini): Adjust caller.
53087 * elf/dl-close.c (_dl_close_worker): Likewise.
53088 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53089
b902330c
MP
530902011-07-15 Marek Polacek <mpolacek@redhat.com>
53091
8991e135
MP
53092 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53093 "aux_cache->nlibs < 0".
53094
b902330c
MP
53095 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53096 in the reload-count case.
53097
99710781
LD
530982011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53099
53100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53101 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53102 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53103 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53104 * sysdeps/x86_64/multiarch/strcat.S: New file.
53105 * sysdeps/x86_64/multiarch/strncat.S: New file.
53106 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53107 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53108 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53109 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53110 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53111 (USE_AS_STRCAT): Define.
53112 Add strcat and strncat support.
53113 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53114 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53115 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53116 * string/strncat.c: Update.
53117 (USE_AS_STRNCAT): Define.
53118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53119 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53120 and i7.
53121 * sysdeps/x86_64/multiarch/init-arch.h
53122 (bit_Prefer_PMINUB_for_stringop): New.
53123 (index_Prefer_PMINUB_for_stringop): Likewise.
53124 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53125 bit_Prefer_PMINUB_for_stringop.
53126
7dc6bd90
UD
531272011-07-19 Ulrich Drepper <drepper@gmail.com>
53128
53129 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53130 buffer64.
53131 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53132 of casting of buffer.
53133 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53134 buffer32 and buffer64.
53135 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53136 writes instead of casting of buffer.
53137 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53138 buffer32.
53139 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53140 casting of buffer.
53141
e0e72284
AS
531422011-07-19 Andreas Schwab <schwab@redhat.com>
53143
53144 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53145
feb1eb0b
UD
531462011-07-19 Ulrich Drepper <drepper@gmail.com>
53147
53148 * nscd/nscd.c (termination_handler): Don't do anything for a database
53149 if it has not yet been initialized.
53150
298711ff
UD
531512011-07-18 Ulrich Drepper <drepper@gmail.com>
53152
53153 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53154
531552011-07-15 Marek Polacek <mpolacek@redhat.com>
53156
53157 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53158
f9d68389
UD
531592011-07-18 Ulrich Drepper <drepper@gmail.com>
53160
53161 * po/nl.po: Update from translation team.
53162 * po/sv.po: Likewise.
53163
db290cf5
RM
531642011-07-16 Roland McGrath <roland@hack.frob.com>
53165
53166 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53167 now disallowed by GCC.
5c550700 53168
fd5e21c7
RM
53169 * configure.in (use-default-link): Default to yes if a test -shared
53170 link meets our qualifications.
53171 * configure: Regenerated.
53172
5c550700
RM
53173 * config.make.in (output-format): New variable.
53174 * configure.in: Check for ld --print-output-format support.
53175 * configure: Regenerated.
53176 * Makerules ($(common-objpfx)format.lds)
53177 [$(output-format) != unknown]: Just use $(output-format),
53178 instead of the linker-script munging.
53179
9fa2c032
RM
531802011-07-14 Roland McGrath <roland@hack.frob.com>
53181
a6928d51
RM
53182 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53183 of $(common-objpfx)shlib.lds.
53184 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53185
661607b3
RM
53186 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53187 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53188
9fa2c032
RM
53189 * configure.in (-z relro check): Adjust test code to add a large
53190 writable data section after it.
53191 * configure: Regenerated.
53192
defe9061
RM
531932011-07-11 Roland McGrath <roland@hack.frob.com>
53194
53195 * configure.in (-z relro check): Fix test code to make the variable
53196 truly const.
53197 * configure: Regenerated.
53198
319b9ad4
UD
531992011-07-11 Ulrich Drepper <drepper@gmail.com>
53200
53201 * nscd/nscd.h (struct traced_file): Define.
53202 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53203 elements. Add traced_files.
53204 (inotify_fd): Declare.
53205 (register_traced_file): Declare.
53206 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53207 (inotify_fd): Export.
53208 (resolv_conf_descr): Remove.
53209 (nscd_init): Move inotify descriptor creation to main.
53210 Don't register files for notification here.
53211 (register_traced_file): New function.
53212 (invalidate_cache): Don't use reset_res to determine whether to call
53213 res_init, go through the list of registered files.
53214 (main_loop_poll): The inotify descriptors are now stored in the
53215 structures for the traced files.
53216 (main_loop_epoll): Likewise
53217 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53218 to __nss_disable_nscd.
53219 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53220 for a database anymore. Check the records for all the registered
53221 files instead.
53222 * nss/Makefile (libnss_files-routines): Add files-init.
53223 (libnss_db-routines): Add db-init.
53224 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53225 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53226 * nss/nss_db/db-init.c: New file.
53227 * nss/nss_files/files-init.c: New file.
53228 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53229 __nss_lookup_function.
53230 (__nss_lookup_function): Call nss_load_library.
53231 (nss_load_all_libraries): New function.
53232 (__nss_disable_nscd): Take parameter with callback function for files
53233 to register. Set is_nscd. Load all the DSOs for the NSS modules
53234 used for the cached services.
53235 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53236 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53237 options for features to all the files in nscd.
53238
53239 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53240
23bee3e8
RM
532412011-07-10 Roland McGrath <roland@hack.frob.com>
53242
53243 * csu/elf-init.c (__libc_csu_init): Comment typo.
53244
46a5b7f0
UD
532452011-07-09 Ulrich Drepper <drepper@gmail.com>
53246
53247 * po/pl.po: Update from translation team.
53248 * po/ja.po: Likewise.
53249 * po/ru.po: Likewise.
53250 * po/ko.po: Likewise.
53251 * po/fr.po: Likewise.
53252
d30cf5bb
RM
532532011-07-09 Roland McGrath <roland@hack.frob.com>
53254
113ddea4
RM
53255 * configure.in (.ctors/.dtors header and trailer check):
53256 Use an empirical test on a built program.
53257 * configure: Regenerated.
53258
574920b4
RM
53259 * configure.in (-z relro check): Use an empirical test on a built DSO.
53260 Detect, but do not require, on ia64.
53261 * configure: Regenerated.
53262
d30cf5bb
RM
53263 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53264 Update tests that use readelf to use $READELF instead.
53265 * configure: Regenerated.
53266
8538fdb3
UD
532672011-07-08 Ulrich Drepper <drepper@gmail.com>
53268
53269 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53270 if the result is not used.
53271
04d08991
AJ
532722011-07-05 Andreas Jaeger <aj@suse.de>
53273
53274 [BZ#9696]
53275 * stdlib/tst-strtod.c: Add testcase.
53276
de283087
AD
532772011-07-07 Ulrich Drepper <drepper@gmail.com>
53278
4e5f31c8 53279 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 53280 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
53281 The latter has a higher limit. Take additional parameter to pass to
53282 the new function.
53283 (__pathconf): Pass file to __statfs_link_max.
53284 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53285 __statfs_link_max.
53286 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53287 __statfs_link_max.
53288
de283087
AD
53289 [BZ #12868]
53290 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53291 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53292 Handle Lustre.
53293 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53294 (__statfs_filesize_max): Likewise.
53295 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53296
c75fa153
AJ
532972011-07-05 Andreas Jaeger <aj@suse.de>
53298
53299 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53300
1a544854
UD
533012011-07-06 Marek Polacek <mpolacek@redhat.com>
53302
53303 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53304 `status' variable.
53305 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53306 Likewise.
53307
6f0eec67
UD
533082011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53309
53310 * Makefile (strop-tests): Add strncat.
53311 * string/test-strncat.c: New file.
53312
aae30307
UD
533132011-06-30 Marek Polacek <mpolacek@redhat.com>
53314
53315 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53316
c0cfb5eb
UD
533172011-06-21 Andreas Jaeger <aj@suse.de>
53318
53319 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53320 Copy rule from iconvdata/Makefile.
53321
01636b21
UD
533222011-07-06 Ulrich Drepper <drepper@gmail.com>
53323
53324 [BZ #12922]
53325 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53326 but no long options are defined, just return 'W'.
53327
9895c8bc
UD
533282011-06-22 Marek Polacek <mpolacek@redhat.com>
53329
53330 [BZ #9696]
53331 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53332
5d4cf042
UD
533332011-07-06 Ulrich Drepper <drepper@gmail.com>
53334
53335 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53336 netgroups to read.
960e5535 53337 (innetgr): Likewise.
5d4cf042 53338
751eb97e
RM
533392011-07-05 Roland McGrath <roland@hack.frob.com>
53340
53341 * config.make.in (install_root): Default to $(DESTDIR).
53342
f15f1e45
UD
533432011-07-05 Ulrich Drepper <drepper@gmail.com>
53344
53345 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53346
4e34ac6a
RM
533472011-07-02 Roland McGrath <roland@hack.frob.com>
53348
5e9b6af4
RM
53349 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53350
84f9ea0f
RM
53351 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53352 containing directory rather than embedding absolute directory names.
53353
ea5ee9f7
RM
53354 * scripts/check-local-headers.sh: Rewritten using awk.
53355 Match by word, not by line. Print error messages for matches.
53356 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53357
1b74661a
RM
53358 * Makerules [shlib-lds-flags empty]:
53359 ($(common-objpfx)libc_pic.opts): New target.
53360 ($(common-objpfx)libc_pic.os.clean): New target.
53361 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53362
53363 * config.make.in (OBJCOPY): New variable.
53364 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53365 * configure: Regenerated.
53366
f781ef40
RM
53367 * config.make.in (use-default-link): New variable.
53368 * configure.in (use_default_link): Grok --with-default-link to set it.
53369 * configure: Regenerated.
53370 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53371 (shlib-lds, shlib-lds-flags): Define to empty.
53372
2d4fa81e
RM
53373 * Makerules (shlib-lds): New variable.
53374 (shlib-lds-flags): New variable.
53375 (build-shlib, build-moduile, build-module-asneeded): Use it.
53376 ($(common-objpfx)libc.so): Use $(shlib-lds).
53377 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53378 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53379
31fffa6b
RM
53380 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53381 DT_FLAGS/DT_FLAGS_1 with zero flags.
53382
4e34ac6a
RM
53383 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53384 linker script munging.
53385
fcfc776b
UD
533862011-07-02 Ulrich Drepper <drepper@gmail.com>
53387
53388 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53389 as 128-bit value.
53390 * crypt/sha512.c (sha512_process_block): Perform total addition using
53391 128-bit if possible.
53392 (__sha512_finish_ctx): Likewise.
53393 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53394 as 64-bit value.
53395 * crypt/sha256.c (SWAP64): Define.
53396 (sha256_process_block): Perform total addition using 64-bit if
53397 possible.
53398 (__sha256_finish_ctx): Likewise.
53399
99231d9a
UD
534002011-07-01 Ulrich Drepper <drepper@gmail.com>
53401
53402 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53403 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53404 * nscd/hstcache.c (cache_addhst): Likewise.
53405 * nscd/grpcache.c (cache_addgr): Likewise.
53406 * nscd/aicache.c (addhstaiX): Likewise
53407 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53408
445b4a53
TK
534092011-07-01 Thorsten Kukuk <kukuk@suse.de>
53410
53411 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53412 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53413 * nscd/hstcache.c (cache_addhst): Likewise.
53414 * nscd/grpcache.c (cache_addgr): Likewise.
53415 * nscd/aicache.c (addhstaiX): Likewise
53416
6d4d8e8e
AS
534172011-07-01 Andreas Schwab <schwab@redhat.com>
53418
53419 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53420 domain only when needed.
53421
89f654c5
AS
534222011-06-30 Andreas Schwab <schwab@redhat.com>
53423
53424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53425 is always restored.
53426
cf3b23ff
UD
534272011-06-29 Ulrich Drepper <drepper@gmail.com>
53428
53429 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53430 are re-adding the entry.
53431 * nscd/servicescache.c (cache_addserv): Likewise.
53432
751626f9
AJ
534332011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53434
53435 * sysdeps/generic/dl-irel.h: fix protection against multiple
53436 inclusions.
53437 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53438
9113ea1f
UD
534392011-06-28 Ulrich Drepper <drepper@gmail.com>
53440
5c0b8d90
UD
53441 [BZ #12935]
53442 * malloc/memusage.sh: Fix quoting in message.
53443 * debug/xtrace.sh: Likewise.
53444
9113ea1f
UD
53445 * configure.in: Remove support for --experimental-malloc option, make
53446 it the default.
53447 * config.make.in: Likewise.
53448 * malloc/Makefile: Likewise.
53449
a4172181
AS
534502011-06-27 Andreas Schwab <schwab@redhat.com>
53451
53452 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53453 two-byte characters.
53454
78a7eee7
RM
534552011-06-27 Roland McGrath <roland@hack.frob.com>
53456
62bede13
RM
53457 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53458 AC_CACHE_CHECK invocation.
53459 * configure: Regenerated.
53460
78a7eee7
RM
53461 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53462
5ce33a62
UD
534632011-06-27 Ulrich Drepper <drepper@gmail.com>
53464
034807a9
UD
53465 [BZ #12350]
53466 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53467 bit from old_res_options.
53468
4902da17
UD
53469 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53470
5ce33a62
UD
53471 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53472 value type for setfct.
53473
c2344f56
L
534742011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53475
53476 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53477 __gettimeofday instead of gettimeofday.
53478
68468076
UD
534792011-06-26 Ulrich Drepper <drepper@gmail.com>
53480
53481 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53482
acb0d739
L
534832011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53484
53485 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53486
53487 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53488 info.
53489
8912479f
L
534902011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53491
53492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53493 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53494 strcpy-sse2-unaligned strncpy-sse2-unaligned
53495 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53496 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53497 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53498 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53499 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53500 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53501 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53502 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53503 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53504 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53505 (STRCPY): Support SSE2 and SSSE3 versions.
53506
d5495a11
UD
535072011-06-24 Ulrich Drepper <drepper@gmail.com>
53508
53509 [BZ #12874]
53510 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53511 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53512 kernels which artificially limit size of requests.
53513
0b1cbaae
L
535142011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53515
53516 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53517 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53518 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53519 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53520 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53521 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53522 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53523 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53524 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53525 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53526 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53527 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53528 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53529 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53530 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53532 Enable unaligned load optimization for Intel Core i3, i5 and i7
53533 processors.
53534 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53535 Define.
53536 (index_Fast_Unaligned_Load): Define.
53537 (HAS_FAST_UNALIGNED_LOAD): Define.
53538
07f494a0
MP
535392011-06-23 Marek Polacek <mpolacek@redhat.com>
53540
53541 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53542
fa3fc0fe
UD
535432011-06-22 Ulrich Drepper <drepper@gmail.com>
53544
53545 [BZ #12907]
53546 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53547 until it is clear that the information is realy needed.
53548 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53549
e12df166
AS
535502011-06-22 Andreas Schwab <schwab@redhat.com>
53551
53552 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53553
852eb34d
UD
535542011-06-22 Ulrich Drepper <drepper@gmail.com>
53555
84e2a551
UD
53556 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53557 /sys/devices/system/cpu/online if it is usable.
53558
852eb34d
UD
53559 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53560 reading the information from the /proc filesystem to once a second.
53561
6e502e19
UD
535622011-06-21 Andreas Jaeger <aj@suse.de>
53563
53564 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53565 NULL after inclusion of kernel headers.
53566
75d39ff2
UD
535672011-06-21 Ulrich Drepper <drepper@gmail.com>
53568
51f9aa6a
UD
53569 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53570 calls to internal_setent.
53571
c0244a9d
UD
53572 [BZ #12885]
53573 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53574 addresses using gethostbyname4_r ignore IPv4 addresses.
53575
c5e3c2ae
UD
53576 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53577 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53578
75d39ff2
UD
53579 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53580
42675c6f
DM
535812011-06-20 David S. Miller <davem@davemloft.net>
53582
53583 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53584 inclusions.
53585 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53586
53587 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53588 (elf_irel): Use it.
53589 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53590 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53591 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53592 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53593 * sysdeps/x86_64/dl-irel.h: Likewise.
53594
53595 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53596 * elf/dl-sym.c: Likewise.
53597
57912a71
UD
535982011-06-15 Ulrich Drepper <drepper@gmail.com>
53599
53600 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53601 need to dereference resplen2.
53602
ee22793d
AS
536032011-06-14 Andreas Schwab <schwab@redhat.com>
53604
53605 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53606
a9e836b0
UD
536072011-06-15 Ulrich Drepper <drepper@gmail.com>
53608
77fb9117
UD
53609 * Makeconfig: Define vardbdir and inst_vardbdir.
53610 * nss/Makefile: Add rules to install db-Makefile.
53611
40c1b22c
UD
53612 * nss/nss_db/db-XXX.c: Cleanup.
53613
9f2da732
UD
53614 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53615 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53616 GLIBC_PRIVATE.
53617 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53618 * nss/makedb.c: Implement -g option to specify that value strings
53619 are generated and should not be added to table iterated over for
53620 get*ent calls.
53621 * nss/nss_db/db-initgroups.c: New file.
53622
82e9a1f7
UD
53623 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53624 interface.
53625
c41af17e
UD
53626 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53627 (internal_getgrouplist): Adjust to name change.
53628 Update use_initgroups_entry if this is not the first call.
53629 * nss/databases.def: Add initgroups entry.
53630
a9e836b0
UD
53631 * nss/makedb.c (compute_tables): Check result of multiple hash table
53632 sizes to minimize maximum chain length.
53633
2666d441
UD
536342011-06-14 Ulrich Drepper <drepper@gmail.com>
53635
53636 * Versions.def: Add entry for libnss_db.
53637 * shlib-versions: Likewise.
53638 * nss/Makefile: Add rules to build libnss_db.
53639 * nss/Versions: Add libnss_db information. Organize libnss_files
53640 entries better.
53641 * nss/db-Makefile: Add gshadow support. Change rules for the new
53642 makedb progra. Some minor improvements to generate smaller files.
53643 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53644 here from...
53645 * nss/makedb.c: ...here.
53646 Improve database format to be smaller and require less memory at
53647 runtime.
53648 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53649 db anymore.
53650 * nss/nss_db/db-netgrp.c: Likewise.
53651 * nss/nss_db/db-open.c: Likewise.
53652 * nss/nss_files/flies-XXX.x: Adjust comments.
53653 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53654 * nss/nss_files/files-grp.c: Likewise.
53655 * nss/nss_files/files-hosts.c: Likewise.
53656 * nss/nss_files/files-network.c: Likewise.
53657 * nss/nss_files/files-proto.c: Likewise.
53658 * nss/nss_files/files-pwd.c: Likewise.
53659 * nss/nss_files/files-rpc.c: Likewise.
53660 * nss/nss_files/files-service.c: Likewise.
53661 * nss/nss_files/files-sgrp.c: Likewise.
53662 * nss/nss_files/files-spwd.c: Likewise.
53663 * nss/nss_db/db-alias.c: Removed.
53664 * nss/nss_db/dummy-db.h: Removed.
53665
9ee76b5a
UD
536662011-06-02 Ulrich Drepper <drepper@gmail.com>
53667
53668 * nss/makedb.c: Rewritten to not use database library.
53669 * nss/Makefile: Update to build new makedb program.
53670
c71ca1f8
AJ
536712011-06-14 Andreas Jaeger <aj@suse.de>
53672
53673 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53674 memset declaration.
53675
3154bfb8
UD
536762011-06-10 Andreas Schwab <schwab@redhat.com>
53677
53678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53679 tmpbuf.
53680
b350afab
RM
536812011-06-10 Roland McGrath <roland@hack.frob.com>
53682
decd4e50
RM
53683 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53684 * elf/Makefile ($(objpfx)ld.so): Likewise.
53685
5615eaf2
RM
53686 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53687 Don't list ld.so twice in dependencies.
53688
53689 * posix/bug-regex31.c: Include <stdlib.h>.
53690
53691 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53692
53693 * nis/nss_compat/compat-spwd.c
53694 (getspent_next_nss_netgr): Remove unused variable.
53695 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53696
53697 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53698 nonmembers" output to use the right array.
53699
53700 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53701
53702 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53703
53704 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53705 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53706 * catgets/gencat.c (read_input_file): Likewise.
53707 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53708
53709 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53710 variable definition inside #if's controlling its use.
53711
53712 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53713
53714 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53715
53716 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53717
53718 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53719 unreachable code.
53720
53721 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53722
b68e08db
RM
53723 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53724 * configure: Regenerated.
53725
b350afab
RM
53726 * Makerules: Revert last change.
53727 * elf/Makefile: Likewise.
53728
28368601
RM
537292011-06-09 Roland McGrath <roland@hack.frob.com>
53730
53731 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53732 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53733 (reloc-link): Likewise.
53734
11988f8f
UD
537352011-06-09 Ulrich Drepper <drepper@gmail.com>
53736
53737 * elf/Makefile: Add rules to build pldd.
53738 * elf/pldd.c: New file.
53739 * elf/pldd-xx.c: New file.
53740
e80fab37
UD
537412011-06-07 Ulrich Drepper <drepper@gmail.com>
53742
53743 * version.h: Update for 2.15 development version.
53744
9b849836
DM
537452011-06-07 David S. Miller <davem@davemloft.net>
53746
53747 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53748 ifuncs.
53749 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53750 elf_machine_lazy_rel): Likewise.
53751 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53752 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53753 elf_machine_lazy_rel): Likewise.
53754 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53755 dl_hwcap via passed in argument.
53756 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53757 Likewise.
53758
5a31b283
AK
537592011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53760
53761 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53762
069e52f8
RM
537632011-06-06 Roland McGrath <roland@hack.frob.com>
53764
53765 [BZ #12849]
53766 * manual/fdl-1.1.texi: New file, verbatim from:
53767 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53768 * manual/lgpl-2.1.texi: New file, verbatim from:
53769 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53770 * manual/Makefile (licenses): New variable, list those new file names.
53771 (texis): Use it.
53772 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53773
53774 * manual/fdl.texi: File removed.
53775 * manual/lesser.texi: File removed.
53776 * manual/libc.texinfo (Copying, Documentation License):
53777 Use new @include file names, put @appendix directive before @include.
53778
f16846a5
JJ
537792011-06-04 Jakub Jelinek <jakub@redhat.com>
53780
53781 [BZ #12841]
53782 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53783 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53784 (mq_open): Add __NTH.
53785
3d29045b
L
537862011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53787
53788 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53789 Assume Intel Core i3/i5/i7 processor if AVX is available.
53790
8c297311
UD
537912011-05-31 Ulrich Drepper <drepper@gmail.com>
53792
53793 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53794 typo.
53795
c8fc0c91
UD
537962011-05-31 Andreas Schwab <schwab@redhat.com>
53797
53798 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53799 memory. Use alloca_account. Fix memory leak when retrying.
53800
5b27a807
UD
538012011-05-31 Ulrich Drepper <drepper@gmail.com>
53802
356f8bc6
UD
53803 * version.h (RELEASE): Bump for 2.14 release.
53804 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53805
5b27a807
UD
53806 * config.make.in (RANLIB): Remove entry.
53807
01f16ab0
UD
538082011-05-30 Ulrich Drepper <drepper@gmail.com>
53809
41fce8bd
UD
53810 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53811 (libc.pot): Work around missing support for .ksh extension in xgettext.
53812
4769ae77
UD
53813 [BZ #12684]
53814 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53815 if both request failed.
53816 (send_dg): In case of server errors clear resplen or *resplen2.
53817
6b1e7d19
UD
53818 [BZ #12454]
53819 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53820 when there are multiple maps.
53821 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53822 (_dl_fini): Remove test here.
53823
01f16ab0
UD
53824 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53825
b1ebd700
UD
538262011-05-29 Ulrich Drepper <drepper@gmail.com>
53827
7ae22829
UD
53828 [BZ #12350]
53829 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53830 bit from old_res_options.
53831 (gaih_inet): Likewise.
53832
553149f6 53833 [BZ #11099]
18a84741 53834 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
53835 as signed.
53836
652ffab1
UD
53837 * resolv/res_init.c (res_setoptions): Make the code more compact.
53838
16985fd0
UD
53839 [BZ #11558]
53840 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53841 set RES_USEVC.
53842
0464f746
UD
53843 [BZ #11634]
53844 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53845
7d17596c
UD
53846 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53847
cf6bbbd7
UD
53848 [BZ #11781]
53849 * malloc/malloc.h: Declare malloc hook variables as volatile.
53850
13f1ab36
UD
53851 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53852 in last patch.
53853
b1ebd700
UD
53854 [BZ #11799]
53855 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 53856 raise in the comment.
80e2212d
UD
53857 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53858 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53859 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 53860
ce67228d
UD
538612011-05-28 Ulrich Drepper <drepper@gmail.com>
53862
8887a920
UD
53863 [BZ #12811]
53864 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53865 grow the buffers more if it already has to be sufficient.
53866 (build_wcs_upper_buffer): Likewise.
53867 * posix/regexec.c (check_matching): Likewise.
53868 (clean_state_log_if_needed): Likewise.
53869 (extend_buffers): Don't enlarge buffers beyond size of the input
53870 buffer.
53871 Patches mostly by Emil Wojak <emil@wojak.eu>.
53872 * posix/bug-regex32.c: New file.
53873 * posix/Makefile (tests): Add bug-regex32.
53874
4f031072
UD
53875 * locale/findlocale.c (_nl_find_locale): Return right away if
53876 _nl_explode_name failed.
53877 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53878
d0478f0c
UD
53879 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53880
de81b246
UD
53881 * debug/xtrace.sh: Unify messages.
53882 * malloc/memusage.sh: Likewise.
53883
c738465a
UD
53884 [BZ #12813]
53885 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53886 time symbol from vDSO. Substitute with vsyscall if not available.
53887 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53888 __vdso_time.
53889
f1f929d7
UD
53890 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53891 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53892 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53893 Add sendmmsg and internal_sendmmsg.
53894 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53895 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53896 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53897
ce67228d
UD
53898 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53899 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53900 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53901
e57420c6
UD
539022011-05-27 Ulrich Drepper <drepper@gmail.com>
53903
a8509ca5
UD
53904 [BZ #12813]
53905 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53906 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
53907 available.
53908 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53909 __vdso_getcpu.
53910
e57420c6
UD
53911 [BZ #12814]
53912 * iconvdata/Makefile (tests): Add bug-iconv9.
53913 * iconvdata/bug-iconv9.c: New file.
53914
4d07db15
AS
539152011-05-27 Andreas Schwab <schwab@redhat.com>
53916
53917 [BZ #12814]
53918 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53919
ea486f69
JJ
539202011-05-25 Jakub Jelinek <jakub@redhat.com>
53921
53922 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53923 (struct user_regs_struct): Change intcs field back to cs.
53924
6f038433
UD
539252011-05-25 Ulrich Drepper <drepper@gmail.com>
53926
53927 * po/ja.po: Update from translation team.
53928
67f86a25
UD
539292011-05-23 Ulrich Drepper <drepper@gmail.com>
53930
53931 [BZ #12795]
53932 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53933 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53934
def7fbd6
AS
539352011-05-20 Andreas Schwab <schwab@redhat.com>
53936
53937 * stdlib/longlong.h: Update from GCC.
53938
f50ef8f1
AS
539392011-05-23 Andreas Schwab <schwab@redhat.com>
53940
53941 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53942 parameter name.
53943 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53944 Add parameter name.
53945 (__sysconf): Pass it down.
53946
de7ce8f1
UD
539472011-05-22 Ulrich Drepper <drepper@gmail.com>
53948
f2962a71
UD
53949 [BZ #12671]
53950 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53951 some situations.
53952 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53953 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53954 add in in __libc_use_alloca calls. Adjust callers.
53955 (glob): Use malloc in some situations.
53956
de7ce8f1
UD
53957 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53958 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53959 pltexit.
53960
aec84f53
UD
539612011-05-21 Ulrich Drepper <drepper@gmail.com>
53962
05bb4a68
UD
53963 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53964 and CLOCK_BOOTTIME_ALARM.
53965
7ea72f99
UD
53966 [BZ #12782]
53967 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53968 is returned.
53969
7e4afad5
UD
53970 * string/_strerror.c (__strerror_r): Print negative errors as signed
53971 numbers.
53972
8e211fec
UD
53973 [BZ #12777]
53974 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53975 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53976 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53977
f7d82dc9
UD
53978 * configure.in: Fix typo in redirection and correct removal of test
53979 files in two cases.
53980
cc9e536d
UD
53981 [BZ #12788]
53982 * locale/setlocale.c (new_composite_name): Fix test to check for
53983 identical name of all categories.
53984
aec84f53
UD
53985 [BZ #12792]
53986 * libio/filedoalloc.c (local_isatty): New function.
53987 (_IO_file_doallocate): Use local_isatty.
53988 * stdio-common/perror.c (perror): In case a new stream is used
53989 forward the stream error.
53990 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53991 error flag.
53992
78e64fdc
RT
539932011-05-20 Ulrich Drepper <drepper@gmail.com>
53994
34a9094f
UD
53995 [BZ #11869]
53996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53997 alloca.
53998 * include/alloca.h (extend_alloca_account): Define.
53999
78e64fdc
RT
54000 [BZ #11857]
54001 * posix/regex.h: Fix comments with documentation of user-accessible
54002 fields after compilation and describe correct free'ing of pattern
54003 after re_compile_pattern.
54004 Patch by Reuben Thomas <rrt@sc3d.org>.
54005
457bddfc
RA
540062011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54007
54008 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54009 and -mno-altivec to prevent the compiler from using Altivec and/or
54010 VSX instructions when the corresponding registers are not available.
54011
a4527b51
AS
540122011-05-19 Andreas Schwab <schwab@redhat.com>
54013
54014 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54015
ed690b2f
UD
540162011-05-19 Ulrich Drepper <drepper@gmail.com>
54017
54018 * libio/freopen.c (freopen): Use __dup2, not dup2.
54019 * libio/freopen64.c (freopen64): Likewise.
54020
8db73634
L
540212011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54022
54023 [BZ #12775]
54024 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54025 * math/Makefile (tests): Add test-powl.
54026 (CFLAGS-test-powl.c): Define.
54027 * math/test-powl.c: New file.
54028
0a197a9d
L
540292011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54030
54031 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54032
ee30c380
UD
540332011-05-17 Ulrich Drepper <drepper@gmail.com>
54034
54035 [BZ #11837]
54036 * iconvdata/gb18030.c: Update to GB18020-2005.
54037
6ce75379
UD
540382011-05-16 Ulrich Drepper <drepper@gmail.com>
54039
a4b89fd8
AR
54040 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54041 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54042 Patch by Aharon Robbins <arnold@skeeve.com>.
54043
ea389b12
UD
54044 [BZ #11892]
54045 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54046 on the stack.
54047
68a3f91f
UD
54048 [BZ #11895]
54049 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54050 through underflows.
54051
15cc7dd1
UD
54052 [BZ #12766]
54053 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54054 point to strings before performing equality test for error_one_per_line
54055 mode.
54056
f3799213
UD
54057 [BZ #11697]
54058 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54059
d79a9c94
UD
54060 [BZ #11820]
54061 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54062 (struct user_fpregs_struct): Avoid __uint*_t types.
54063
56e5eb46
UD
54064 [BZ #6420]
54065 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54066 symbol info. Use it instead of calling _dl_addr locally.
54067 (lock_and_info): New function.
54068 (tr_freehook): Call lock_and_info and pass symbol info as additional
54069 parameter to tr_where.
54070 (tr_mallochook): Likewise.
54071 (tr_reallochook): Likewise.
54072 (tr_memalignhook): Likewise.
54073
6ce75379
UD
54074 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54075 used and couldn't be at all thread-safe.
54076
f8a3b5bf
UD
540772011-05-15 Ulrich Drepper <drepper@gmail.com>
54078
94b7cc37
UD
54079 * libio/freopen.c (freopen): Don't close old file descriptor
54080 before the new one is opened. Instead dup the new file descriptor
54081 to the old one after the new stream is created.
54082 * libio/freopen64.c (freopen64): Likewise.
54083 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54084 * libio/fileops.c (_IO_new_file_close_it): Handle new
54085 _IO_FLAGS2_NOCLOSE flag.
54086 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54087 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54088 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54089 _IO_FLAGS2_NOCLOSE flag.
54090 * include/unistd.h: Add hidden_proto for dup3.
54091 Define __have_dup3.
54092 * io/dup3.c: Define hidden symbol.
54093 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54094
bd25564e
UD
54095 [BZ #7101]
54096 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54097 when an incomplete long option is used.
54098 * posix/tst-getopt_long1.c: New file.
54099 * posix/Makefile (tests): Add tst-getopt_long1.
54100
c84cfef4
UD
54101 [BZ #10138]
54102 * scripts/config.guess: Update from autoconf-2.68.
54103 * scripts/config.sub: Likewise.
54104
3b85df27
UD
54105 [BZ #10157]
54106 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54107 tests into ...
54108 (has_cpuclock): ...this. New function.
54109 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54110 macro here based on has_cpuclock code.
54111
15a856b1
UD
54112 [BZ #10149]
54113 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54114 First byte (not low byte) is now always NUL.
54115 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54116
05f399e6
UD
54117 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54118 Use non-cancelable interfaces.
54119
10a52685 54120 [BZ #9809]
94ecc67d
UD
54121 * locale/iso-639.def: Add entry for Sorani.
54122
f8a3b5bf
UD
54123 [BZ #11901]
54124 * include/stdlib.h: Move include protection to the right place.
54125 Define abort_msg_s. Declare __abort_msg with it.
54126 * stdlib/abort.c (__abort_msg): Adjust type.
54127 * assert/assert.c (__assert_fail_base): New function. Majority
54128 of code from __assert_fail. Allocate memory for __abort_msg with
54129 mmap.
54130 (__assert_fail): Now call __assert_fail_base.
54131 * assert/assert-perr.c: Remove bulk of implementation. Use
54132 __assert_fail_base.
54133 * include/assert.hL Declare __assert_fail_base.
54134 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54135 mmap.
54136 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54137
1af4e298
UD
541382011-05-14 Ulrich Drepper <drepper@gmail.com>
54139
f8a3b5bf 54140 [BZ #11952]
d26dfc60
MG
54141 [BZ #12453]
54142 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54143 until all modules are registered in the DTV.
54144 * elf/Makefile: Add rules to build and run tst-tls19.
54145 * elf/tst-tls19.c: New file.
54146 * elf/tst-tls19mod1.c: New file.
54147 * elf/tst-tls19mod2.c: New file.
54148 * elf/tst-tls19mod3.c: New file.
54149 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54150
2fc54d6f
UD
54151 [BZ #12083]
54152 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54153 correctly.
54154
98d76b46
UD
54155 [BZ #12601]
54156 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54157 two-byte sequence errors.
54158 * iconvdata/Makefile (tests): Add bug-iconv8.
54159 * iconvdata/bug-iconv8.c: New file.
54160
da3c19ef
UD
54161 [BZ #12626]
54162 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54163 buf2 definition.
54164
ca408c15
UD
54165 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54166
d6f67f7d
UD
54167 [BZ #12432]
54168 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54169 (dummy_getcfa): New function.
54170 (init): Get _Unwind_GetCFA address, use dummy if not found.
54171 (backtrace_helper): In recursion check, also check whether CFA changes.
54172 (__backtrace): Completely initialize arg.
54173
1af4e298 54174 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
54175 storing incomplete byte sequence in state object. Avoid testing for
54176 guaranteed too small input if we know there is enough data available.
1af4e298 54177
da62f81b
AS
541782011-05-11 Andreas Schwab <schwab@redhat.com>
54179
54180 * Makeconfig (+link-pie): Indent.
54181 * Rules (binaries-pie): Define if $(have-fpie) and
54182 $(build-shared).
54183 (binaries-shared): Also filter out $(binaries-pie).
54184 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54185 * nscd/Makefile (others-pie): Add nscd.
54186 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54187 ($(objpfx)nscd): Remove command override.
54188 * login/Makefile (others-pie): Add pt_chown.
54189 ($(objpfx)pt_chown): Remove command override.
54190 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54191 remove command overrides.
54192
fcabc0f8
UD
541932011-05-13 Ulrich Drepper <drepper@gmail.com>
54194
20030ae6
UD
54195 * libio/tst_putwc.c: Fix error messages.
54196
fcabc0f8
UD
54197 [BZ #12724]
54198 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54199 currently writing and seek to current position when not.
54200 * libio/Makefile (tests): Add bug-fclose1.
54201 * libio/bug-fclose1.c: New file.
54202
320a5dc0
PB
542032011-05-12 Ulrich Drepper <drepper@gmail.com>
54204
54205 [BZ #12511]
54206 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54207 don't set DF_1_NODELETE here.
54208 (do_lookup_x): When entering new entry test for copy relocation
54209 and if necessary set DF_1_NODELETE flag.
54210 * elf/tst-unique4.cc: New file.
54211 * elf/tst-unique4.h: New file.
54212 * elf/tst-unique4lib.cc: New file.
54213 * elf/Makefile: Add rules to build and run tst-unique4.
54214 Patch by Piotr Bury <pbury@goahead.com>.
54215
22836f52
UD
542162011-05-11 Ulrich Drepper <drepper@gmail.com>
54217
f574184a
UD
54218 [BZ #12052]
54219 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54220
e1fb097f
UD
54221 [BZ #12625]
54222 * misc/mntent_r.c (addmntent): Flush the stream after the output
54223
22836f52
UD
54224 [BZ #12393]
54225 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54226 (is_trusted_path_normalize): Skip initial colon. Append slash
54227 to empty buffer. Duplicate is_trusted_path code but allow
54228 constructed patch to be prefix.
54229 (is_dst): Allow $ORIGIN followed by /.
54230 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54231 Correct testing of result of is_trusted_path_normalize
54232 (decompose_rpath): Fix warning.
54233
7b3b0b2a
UD
542342011-05-10 Ulrich Drepper <drepper@gmail.com>
54235
54236 [BZ #11257]
54237 * grp/initgroups.c (internal_getgrouplist): When we found the service
54238 list through the initgroups entry in nsswitch.conf do not always
54239 continue on a successful lookup. Don't always use the
eac80ce2 54240 __nss_group_database value if it is set.
7b3b0b2a
UD
54241 * nss/nsswitch.conf (initgroups): Change action for successful db
54242 lookup to continue for compatibility.
54243
2a81eaa5
UD
542442011-05-09 Ulrich Drepper <drepper@gmail.com>
54245
be97a69e
UD
54246 [BZ #11532]
54247 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54248 and CP774 modules.
54249 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54250 and CP774 modules.
54251 * iconvdata/tst-tables.sh: Likewise.
54252 * iconvdata/cp770.c: New file.
54253 * iconvdata/cp771.c: New file.
54254 * iconvdata/cp772.c: New file.
54255 * iconvdata/cp773.c: New file.
54256 * iconvdata/cp774.c: New file.
54257 * iconvdata/testdata/CP770: New file.
54258 * iconvdata/testdata/CP770..UTF8: New file.
54259 * iconvdata/testdata/CP771: New file.
54260 * iconvdata/testdata/CP771..UTF8: New file.
54261 * iconvdata/testdata/CP772: New file.
54262 * iconvdata/testdata/CP772..UTF8: New file.
54263 * iconvdata/testdata/CP773: New file.
54264 * iconvdata/testdata/CP773..UTF8: New file.
54265 * iconvdata/testdata/CP774: New file.
54266 * iconvdata/testdata/CP774..UTF8: New file.
54267
54268 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54269 END CHARMAP line.
54270 * iconvdata/gen-8bit-gap.sh: Likewise.
54271 * iconvdata/gen-8bit.sh: Likewise.
54272
c1e9e399
UD
54273 * locale/iso-639.def: Add ary entry.
54274
24c55fb3 54275 [BZ #11258]
96b4b1b0
UD
54276 * locale/C-translit.h.in: Add U20A1 transliteration.
54277
bdc2f971
KB
54278 [BZ #12178]
54279 * locale/iso-639.def: Add wae entry.
54280 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54281
2952b117
UD
54282 [BZ #12545]
54283 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54284 for n.
54285
2a81eaa5
UD
54286 [BZ #12711]
54287 * locale/C-translit.h.in: Add entry for U20B9.
54288 Patch by pravin.d.s@gmail.com.
54289
28377d1b
UD
542902011-05-08 Ulrich Drepper <drepper@gmail.com>
54291
7fb90fb8
UD
54292 [BZ #12713]
54293 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54294 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
54295 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54296 in rtld. Use *stat64.
7fb90fb8 54297 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 54298 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 54299 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
54300 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54301 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54302 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54303 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54304 __fstatat64 macros.
7fb90fb8
UD
54305 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54306 * dirent/rewinddir.c: Add libc_hidden_def.
54307 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 54308 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 54309
28377d1b
UD
54310 * include/dirent.h (__alloc_dir): Add flags parameter.
54311 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54312 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54313 __alloc_dir.
54314 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54315 from fdopendir if O_CLOEXEC is already set.
54316
66bdbaa4
AM
543172011-03-15 Alan Modra <amodra@gmail.com>
54318
54319 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54320 l_tls_firstbyte_offset non-zero. Save padding offset in
54321 l_tls_firstbyte_offset for later use.
54322 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54323 freeing static tls block.
54324
95721191
JN
543252011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54326
54327 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54328 where #ifdef was intended. The intent is to prevent ARG_MAX from
54329 being defined by the kernel headers.
54330
f87dfb1f
UD
543312011-05-07 Ulrich Drepper <drepper@gmail.com>
54332
54333 [BZ #12734]
54334 * resolv/resolv.h: Define RES_NOTLDQUERY.
54335 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54336 no-tld-query and set RES_NOTLDQUERY.
54337 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54338 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54339 modern BIND to search name as TLD unless forbidden.
54340
47c3cd7a
UD
543412011-05-07 Petr Baudis <pasky@suse.cz>
54342 Ulrich Drepper <drepper@gmail.com>
54343
54344 [BZ #12393]
54345 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54346 (is_trusted_path): ...to here.
c1e9ea35 54347 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 54348 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 54349 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 54350
8a35c912
PP
543512011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54352
54353 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54354 __BEGIN/__END_DECLS.
54355
acd41f47
UD
543562011-05-06 Ulrich Drepper <drepper@gmail.com>
54357
54358 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54359 NSS_STATUS_NOTFOUND if no record was found.
54360
597df647
AS
543612011-05-05 Andreas Schwab <schwab@redhat.com>
54362
54363 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54364 (headers-not-in-tirpc): Remove rpc/netdb.h
54365 * resolv/netdb.h: Revert last change.
54366
b9af1301
PP
543672011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54368
54369 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54370 circular dependency between libgcc.a and libc.a.
54371
4e34d5f5
AS
543722011-05-05 Andreas Schwab <schwab@redhat.com>
54373
54374 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54375 * nis/Makefile: Don't install rpcsvc/*.
54376 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54377 instead of <rpc/types.h>.
54378 (MAXHOSTNAMELEN): Define.
54379
00ee369c
AS
543802011-05-03 Andreas Schwab <schwab@redhat.com>
54381
54382 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54383
0b592a30
MB
543842011-04-28 Maciej Babinski <mbabinski@google.com>
54385
54386 [BZ #12714]
54387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54388 gethostbyname4_r when IPv6 results are possible.
54389
6e04cbbe
UD
543902011-05-02 Ulrich Drepper <drepper@gmail.com>
54391
54392 [BZ #12723]
54393 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54394 _PC_PIPE_BUF handling.
54395
e4ecafe0
BH
543962011-04-30 Bruno Haible <bruno@clisp.org>
54397
54398 [BZ #12717]
54399 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54400 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54401 to 'int'.
54402 * inet/getnameinfo.c (getnameinfo): Likewise.
54403
125ee683
UD
544042011-04-29 Ulrich Drepper <drepper@gmail.com>
54405
54406 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54407 to groups setting in database lookup.
54408 * nss/nsswitch.conf: Add initgroups entry.
54409
b722481a
EB
544102011-04-22 Ulrich Drepper <drepper@gmail.com>
54411
54412 [BZ #12685]
54413 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54414 mode string.
54415 Patch by Eric Blake <eblake@redhat.com>.
54416
4df46dbd
L
544172011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54418
54419 * sunrpc/Makefile (need-export-routines): Add svc_run.
54420 (routines): Remove svc_run.
54421 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54422 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54423 * sunrpc/svc_run.c (svc_run): Likewise.
54424 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54425
e84142d2
UD
544262011-04-21 Ulrich Drepper <drepper@gmail.com>
54427
54428 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54429 problem in reallocation in last patch.
54430
877175d8
UD
544312011-04-20 Ulrich Drepper <drepper@gmail.com>
54432
54433 * sunrpc/Makefile: Move inclusion of Rules.
54434
ab8eed78
UD
544352011-04-19 Ulrich Drepper <drepper@gmail.com>
54436
54437 * nss/nss_files/files-initgroups.c: New file.
54438 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54439 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54440 _nss_files_initgroups_dyn.
54441
e3d8f584
RS
544422011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54443
54444 * elf/elf.h (R_ARM_IRELATIVE): Define.
54445
af190f45
UD
544462011-04-19 Ulrich Drepper <drepper@gmail.com>
54447
54448 * po/ru.po: Update from translation team.
54449
53cf59ef
UD
544502011-04-17 Ulrich Drepper <drepper@gmail.com>
54451
54452 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54453 dependencies.
54454
4c559bcd
MF
544552011-02-06 Mike Frysinger <vapier@gentoo.org>
54456
54457 [BZ #12653]
54458 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54459 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54460 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54461 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54462 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54463
4420675c
AS
544642011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54465
54466 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54467 differing bytes.
54468 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54469 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54470 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54471
75ea32ab
UD
544722011-04-17 Ulrich Drepper <drepper@gmail.com>
54473
54474 [BZ #12420]
54475 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54476 storing it.
54477 * stdlib/bug-getcontext.c: New file.
54478 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54479
27390476
AK
544802011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54481
54482 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54483 instructions into .machine "z9-109".
54484 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54485 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54486
10442705
AK
544872011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54488
54489 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54490 between environment variables and auxiliary vector.
54491
7b57bfe5
UD
544922011-04-16 Ulrich Drepper <drepper@gmail.com>
54493
54494 * Makefile: Add rules to build linkobj/libc.so.
54495 * include/libc-symbols.h: Define libc_hidden_nolink.
54496 * include/rpc/auth.h: Mark functions which are to be hidden.
54497 * include/rpc/auth_des.h: Likewise.
54498 * include/rpc/auth_unix.h: Likewise.
54499 * include/rpc/clnt.h: Likewise.
54500 * include/rpc/des_crypt.h: Likewise.
54501 * include/rpc/key_prot.h: Likewise.
54502 * include/rpc/pmap_clnt.h: Likewise.
54503 * include/rpc/pmap_prot.h: Likewise.
54504 * include/rpc/pmap_rmt.h: Likewise.
54505 * include/rpc/rpc_msg.h: Likewise.
54506 * include/rpc/svc.h: Likewise.
54507 * include/rpc/svc_auth.h: Likewise.
54508 * include/rpc/xdr.h: Likewise.
54509 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54510 * nss/Makefile: Likewise.
54511 * sunrpc/Makefile: Don't install headers. Build library with normal
54512 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54513 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54514 for the compat linking library. Remove use of INTDEF/INTUSE.
54515 * sunrpc/auth_none.c: Likewise.
54516 * sunrpc/auth_unix.c: Likewise.
54517 * sunrpc/authdes_prot.c: Likewise.
54518 * sunrpc/authuxprot.c: Likewise.
54519 * sunrpc/clnt_gen.c: Likewise.
54520 * sunrpc/clnt_perr.c: Likewise.
54521 * sunrpc/clnt_raw.c: Likewise.
54522 * sunrpc/clnt_simp.c: Likewise.
54523 * sunrpc/clnt_tcp.c: Likewise.
54524 * sunrpc/clnt_udp.c: Likewise.
54525 * sunrpc/clnt_unix.c: Likewise.
54526 * sunrpc/des_crypt.c: Likewise.
54527 * sunrpc/des_soft.c: Likewise.
54528 * sunrpc/get_myaddr.c: Likewise.
54529 * sunrpc/key_call.c: Likewise.
54530 * sunrpc/key_prot.c: Likewise.
54531 * sunrpc/netname.c: Likewise.
54532 * sunrpc/pm_getmaps.c: Likewise.
54533 * sunrpc/pm_getport.c: Likewise.
54534 * sunrpc/pmap_clnt.c: Likewise.
54535 * sunrpc/pmap_prot.c: Likewise.
54536 * sunrpc/pmap_prot2.c: Likewise.
54537 * sunrpc/pmap_rmt.c: Likewise.
54538 * sunrpc/publickey.c: Likewise.
54539 * sunrpc/rpc_cmsg.c: Likewise.
54540 * sunrpc/rpc_common.c: Likewise.
54541 * sunrpc/rpc_dtable.c: Likewise.
54542 * sunrpc/rpc_prot.c: Likewise.
54543 * sunrpc/rpc_thread.c: Likewise.
54544 * sunrpc/rtime.c: Likewise.
54545 * sunrpc/svc.c: Likewise.
54546 * sunrpc/svc_auth.c: Likewise.
54547 * sunrpc/svc_authux.c: Likewise.
54548 * sunrpc/svc_raw.c: Likewise.
54549 * sunrpc/svc_run.c: Likewise.
54550 * sunrpc/svc_simple.c: Likewise.
54551 * sunrpc/svc_tcp.c: Likewise.
54552 * sunrpc/svc_udp.c: Likewise.
54553 * sunrpc/svc_unix.c: Likewise.
54554 * sunrpc/svcauth_des.c: Likewise.
54555 * sunrpc/xcrypt.c: Likewise.
54556 * sunrpc/xdr.c: Likewise.
54557 * sunrpc/xdr_array.c: Likewise.
54558 * sunrpc/xdr_float.c: Likewise.
54559 * sunrpc/xdr_intXX_t.c: Likewise.
54560 * sunrpc/xdr_mem.c: Likewise.
54561 * sunrpc/xdr_rec.c: Likewise.
54562 * sunrpc/xdr_ref.c: Likewise.
54563 * sunrpc/xdr_sizeof.c: Likewise.
54564 * sunrpc/xdr_stdio.c: Likewise.
54565
e6c61494
UD
545662011-04-10 Ulrich Drepper <drepper@gmail.com>
54567
54568 [BZ #12650]
54569 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54570 * sysdeps/ia64/dl-tls.h: Likewise.
54571 * sysdeps/powerpc/dl-tls.h: Likewise.
54572 * sysdeps/s390/dl-tls.h: Likewise.
54573 * sysdeps/sh/dl-tls.h: Likewise.
54574 * sysdeps/sparc/dl-tls.h: Likewise.
54575 * sysdeps/x86_64/dl-tls.h: Likewise.
54576 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54577
34fe483e
AS
545782011-03-14 Andreas Schwab <schwab@redhat.com>
54579
54580 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54581 rpath element also skip the following colon.
54582 (expand_dynamic_string_token): Add is_path parameter and pass
54583 down to DL_DST_REQUIRED and _dl_dst_substitute.
54584 (decompose_rpath): Call expand_dynamic_string_token with
54585 non-zero is_path. Ignore empty rpaths.
54586 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54587 with zero is_path.
54588
f12a32e6
AS
545892011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54590
54591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54592 Make cancelable.
54593
38a7d692
UD
545942011-04-09 Ulrich Drepper <drepper@gmail.com>
54595
54596 [BZ #12655]
54597 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54598 Patch by Filipe David Manana <fdmanana@apache.org>.
54599
e451d22b
AS
546002011-04-07 Andreas Schwab <schwab@redhat.com>
54601
54602 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54603 Maintain aligned stack.
54604 (CHECK_RSP): Remove unused macro.
54605
dedc7c7b
UD
546062011-04-03 Ulrich Drepper <drepper@gmail.com>
54607
54608 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54609 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54610
94521213
UD
546112011-04-02 Ulrich Drepper <drepper@gmail.com>
54612
54613 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54614
8cb700c0 54615 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 54616
0354e355
L
546172011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54618
54619 [BZ #12518]
54620 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54621 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54622 * sysdeps/x86_64/memmove.c: New file.
54623 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54624 (memcpy): Renamed to ...
54625 (__new_memcpy): This.
54626 (memcpy): Provide GLIBC_2_14 memcpy.
54627 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54628 (memcpy): Provide GLIBC_2_2_5 memcpy.
54629
8593482f
UD
546302011-04-01 Ulrich Drepper <drepper@gmail.com>
54631
54632 [BZ #12631]
54633 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54634
81a5726b
AS
546352011-03-30 Andreas Schwab <schwab@redhat.com>
54636
54637 * misc/syncfs.c: New file.
54638 * misc/Makefile (routines): Add syncfs.
54639 * posix/unistd.h: Declare syncfs.
54640 * sysdeps/unix/syscalls.list: Add syncfs.
54641
00e5419f
AS
546422011-04-01 Andreas Schwab <schwab@redhat.com>
54643
54644 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54645 open_by_handle_at.
54646 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54647 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54648 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54649 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54650 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54651 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54652 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54653
748876bf
UD
546542011-04-01 Ulrich Drepper <drepper@gmail.com>
54655
658e451d
UD
54656 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54657 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54658 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54659 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54660 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54661 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54662 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54663
748876bf
UD
54664 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54665 sync_file_range.c with -fexceptions.
54666 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54667 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54668 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54669 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54670 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54671 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54672 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
54673 sync_file_range as cancellation point
54674 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54675 now a wrapper around __call_sync_file_range with cancellation handling.
54676 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54677 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54678 function name to __call_sync_file_range.
54679 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54680 Add call_sync_file_range.
748876bf 54681
6e63d5e1
AS
546822011-04-01 Andreas Schwab <schwab@redhat.com>
54683
54684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 54685 bits/timex.h.
6e63d5e1 54686
46998f74
UD
546872011-04-01 Ulrich Drepper <drepper@gmail.com>
54688
4c1423ed
UD
54689 * iconv/iconv.h: Fix typo in comment.
54690 * io/fcntl.h: Likewise.
54691 * libio/stdio.h: Likewise.
54692 * posix/spawn.h: Likewise.
54693 * posix/unistd.h: Likewise.
54694 * stdlib/stdlib.h: Likewise.
54695 * time/time.h: Likewise.
54696 * wcsmbs/wchar.h: Likewise.
54697
158648c0
UD
54698 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54699 open_by_handle): Add.
54700 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54701 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54702 Augment a few comments.
54703 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54704 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54705 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54706 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54707 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54708 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54709 open_by_handle.
54710
46998f74
UD
54711 * io/fcntl.h (AT_EMPTY_PATH): Define.
54712
83fe108b
UD
547132011-03-30 Ulrich Drepper <drepper@gmail.com>
54714
54715 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54716 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54717 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54718 to...
54719 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
54720 * Versions.def: Add GLIBC_2.14.
54721 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54722 Export.
83fe108b 54723
bb242059
UD
547242011-03-22 Ulrich Drepper <drepper@gmail.com>
54725
54726 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54727 round counter.
54728 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54729
c97a1282
L
547302011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54731
54732 [BZ #12597]
54733 * string/test-strncmp.c (do_page_test): New function.
54734 (check2): Likewise.
54735 (test_main): Call check2.
54736 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54737
2a115601
UD
547382011-03-20 Ulrich Drepper <drepper@gmail.com>
54739
54740 [BZ #12587]
54741 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54742 Handle cache information in CPU leaf 4.
54743 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54744
8126d904
UD
547452011-03-18 Ulrich Drepper <drepper@gmail.com>
54746
042c49c6 54747 [BZ #12583]
8126d904
UD
54748 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54749 character representation.
54750 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54751
ccfe366e
RA
547522011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54753
54754 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54755 END(__isnan) to END(__isnanf) to match function entry point/label
54756 EALIGN(__isnanf,...).
54757
c6e13027
JJ
547582011-03-10 Jakub Jelinek <jakub@redhat.com>
54759
54760 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54761
33f85a3f
UD
547622011-03-10 Ulrich Drepper <drepper@gmail.com>
54763
028478fa
UD
54764 [BZ #12510]
54765 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54766 copy from the symbol referenced in the relocation to initialize the
54767 used variable.
54768 Patch by Piotr Bury <pbury@goahead.com>.
54769 * elf/Makefile: Add rules to build and tst-unique3.
54770 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54771 * elf/tst-unique3.cc: New file.
54772 * elf/tst-unique3.h: New file.
54773 * elf/tst-unique3lib.cc: New file.
54774 * elf/tst-unique3lib2.cc: New file.
54775
33f85a3f
UD
54776 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54777
03592fc7
MF
547782011-03-10 Mike Frysinger <vapier@gentoo.org>
54779
54780 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54781 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54782 to _start.
03592fc7 54783
6a5ee102
UD
547842011-03-06 Ulrich Drepper <drepper@gmail.com>
54785
54786 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54787 to-be-loaded object along a path to loader is ld.so.
54788
7e4ba49c
HJ
547892011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54790 Ulrich Drepper <drepper@gmail.com>
54791
54792 * sysdeps/x86_64/memset.S: After aligning destination, code
54793 branches to different locations depending on the value of
54794 misalignment, when multiarch is enabled. Fix this.
54795
547962011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54797
54798 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54799 Set _x86_64_preferred_memory_instruction for AMD processsors.
54800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54801 Set bit_Prefer_SSE_for_memop for AMD processors.
54802
13a804de
UD
548032011-03-04 Ulrich Drepper <drepper@gmail.com>
54804
54805 * libio/fmemopen.c (fmemopen): Optimize a bit.
54806
9d25c392
AS
548072011-03-03 Andreas Schwab <schwab@redhat.com>
54808
54809 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54810
a5543c6a
RM
548112011-03-03 Roland McGrath <roland@redhat.com>
54812
54813 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54814
012d35f7
DM
548152011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54816
7e4ba49c 54817 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
54818 __bzero_ultra1 instead of __memset_ultra1.
54819
4bff6e01
AS
548202011-02-23 Andreas Schwab <schwab@redhat.com>
54821 Ulrich Drepper <drepper@gmail.com>
54822
54823 [BZ #12509]
54824 * include/link.h (struct link_map): Add l_orig_initfini.
54825 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54826 returning unsuccessfully.
54827 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54828 close of a file loaded at startup, restore the original l_initfini
54829 list.
54830 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54831 list, store the pointer.
54832 * elf/Makefile ($(objpfx)noload-mem): New rule.
54833 (noload-ENV): Define.
54834 (tests): Add $(objpfx)noload-mem.
54835 * elf/noload.c: Include <memcheck.h>.
54836 (main): Call mtrace. Close all opened handles.
54837
f2092faf
AS
548382011-02-17 Andreas Schwab <schwab@redhat.com>
54839
54840 [BZ #12454]
54841 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54842 dependencies are missing.
54843
6c8a2e88
ST
548442011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54845
f2092faf 54846 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
54847 Hurd needs munmap.
54848 * sysdeps/mach/hurd/ifreq.h: New file.
54849
84a42118
PB
548502011-01-27 Petr Baudis <pasky@suse.cz>
54851 Ulrich Drepper <drepper@gmail.com>
54852
071f805e 54853 [BZ 12445]#
84a42118
PB
54854 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54855 to extend_alloca().
54856 * stdio-common/bug23.c: New file.
54857 * stdio-common/Makefile (tests): Add bug23.
54858
e23fe25b
AS
548592010-09-28 Andreas Schwab <schwab@redhat.com>
54860 Ulrich Drepper <drepper@gmail.com>
54861
54862 [BZ #12489]
54863 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54864 before performing relro protection. At old place add assertion
54865 to make sure nothing changed.
54866
d3f02e10
NS
548672011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54868 Glauber de Oliveira Costa <glommer@gmail.com>
54869
54870 * elf/elf.h: Add new ARM TLS relocs.
54871
d55fd7a5
RA
548722011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54873
54874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54875 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54876 cast from r3.
54877 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54878 'tests' variable.
54879 * sysdeps/wordsize-64/tst-writev.c: New file.
54880
2206397e
RA
548812011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54882
54883 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54884 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54885 insns in _dl_start to prevent a TOC reference before relocs are
54886 resolved.
54887
e9433893
UD
548882011-02-15 Ulrich Drepper <drepper@gmail.com>
54889
54890 [BZ #12469]
54891 * Makeconfig: Remove RANLIB definition.
54892 * Makerules: Don't use RANLIB.
54893 * aclocal.m4: Remove ranlib test.
54894 * configure.in: No need to check for ranlib.
54895 * elf/rtld-Rules: Don't use RANLIB.
54896
f75286c6
ST
548972011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
54898
8e31c82d
ST
54899 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54900 protection macro.
54901 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54902 inclusion protection macro.
54903
f75286c6
ST
54904 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54905 SIGRTMIN and SIGRTMAX and print information in that case only when
54906 SIGRTMIN is defined.
54907
c1d0e639
JJ
549082011-02-11 Jakub Jelinek <jakub@redhat.com>
54909
54910 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54911 arginfo fn returning -1.
54912
54913 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54914 and thousands string is zero terminated.
54915
edf9294e
AS
549162011-02-03 Andreas Schwab <schwab@redhat.com>
54917
54918 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54919 sysdeps/unix/sysv/linux/bits/socket.h.
54920
2b7e92df
ST
549212011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
54922
edf9294e
AS
54923 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54924 (__CPU_COUNT): Remove old macros.
54925 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54926 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54927 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
54928 (__sched_cpualloc, __sched_cpufree): Add declarations.
54929
a4c7ea7b
UD
549302011-02-05 Ulrich Drepper <drepper@gmail.com>
54931
54932 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54933 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54934 * nscd/aicache.c (addhstaiX): Return timeout of added value.
54935 (readdhstai): Return value of addhstaiX call.
54936 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54937 (addgrbyX): Return value returned by cache_addgr.
54938 (readdgrbyname): Return value returned by addgrbyX.
54939 (readdgrbygid): Likewise.
54940 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54941 (addpwbyX): Return value returned by cache_addpw.
54942 (readdpwbyname): Return value returned by addhstbyX.
54943 (readdpwbyuid): Likewise.
54944 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54945 (addservbyX): Return value returned by cache_addserv.
54946 (readdservbyname): Return value returned by addservbyX:
54947 (readdservbyport): Likewise.
54948 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54949 (addhstbyX): Return value returned by cache_addhst.
54950 (readdhstbyname): Return value returned by addhstbyX.
54951 (readdhstbyaddr): Likewise.
54952 (readdhstbynamev6): Likewise.
54953 (readdhstbyaddrv6): Likewise.
54954 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54955 (readdinitgroups): Return value returned by addinitgroupsX.
54956 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54957 (prune_cache): Keep track of timeout value of re-added entries.
54958 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54959 * nscd/nscd.h: Adjust prototypes of readd* functions.
54960
a0bf67cc
RM
549612011-02-04 Roland McGrath <roland@redhat.com>
54962
54963 * nis/nis_server.c (nis_servstate): Use the right name for 0.
54964 (nis_stats): Likewise.
54965 * nis/nis_modify.c (nis_modify): Likewise.
54966 * nis/nis_remove.c (nis_remove): Likewise.
54967 * nis/nis_add.c (nis_add): Likewise.
54968
54969 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54970
54971 * posix/fnmatch_loop.c: Add some consts.
54972
54973 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54974
435b95eb
L
549752011-02-02 H.J. Lu <hongjiu.lu@intel.com>
54976
54977 [BZ #12460]
54978 * config.make.in (config-cflags-novzeroupper): Define.
54979 * configure.in: Substitute libc_cv_cc_novzeroupper.
54980 * elf/Makefile (AVX-CFLAGS): Define.
54981 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54982 (CFLAGS-tst-auditmod4a.c): Likewise.
54983 (CFLAGS-tst-auditmod4b.c): Likewise.
54984 (CFLAGS-tst-auditmod6b.c): Likewise.
54985 (CFLAGS-tst-auditmod6c.c): Likewise.
54986 (CFLAGS-tst-auditmod7b.c): Likewise.
54987 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54988
8517b15e
UD
549892011-02-02 Ulrich Drepper <drepper@gmail.com>
54990
54991 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54992 function to the callback.
54993 Patch partly by Jiri Olsa <jolsa@redhat.com>.
54994
10a656fe
AS
549952011-02-02 Andreas Schwab <schwab@redhat.com>
54996
54997 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54998 of errno.
54999
968dad0a
UD
550002011-01-19 Ulrich Drepper <drepper@gmail.com>
55001
9f94d2ea 55002 [BZ #11724]
968dad0a
UD
55003 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55004 of constructors.
55005 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55006 of destructors.
55007 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55008
55009 [BZ #11724]
55010 * elf/Makefile: Add rules to build and run new test.
55011 * elf/tst-initorder.c: New file.
55012 * elf/tst-initorder.exp: New file.
55013 * elf/tst-initordera1.c: New file.
55014 * elf/tst-initordera2.c: New file.
55015 * elf/tst-initordera3.c: New file.
55016 * elf/tst-initordera4.c: New file.
55017 * elf/tst-initorderb1.c: New file.
55018 * elf/tst-initorderb2.c: New file.
55019 * elf/tst-order-a1.c: New file.
55020 * elf/tst-order-a2.c: New file.
55021 * elf/tst-order-a3.c: New file.
55022 * elf/tst-order-a4.c: New file.
55023 * elf/tst-order-b1.c: New file.
55024 * elf/tst-order-b2.c: New file.
55025 * elf/tst-order-main.c: New file.
55026 New test case by George Gensure <werkt0@gmail.com>.
55027
86e92359
UD
550282010-10-01 Andreas Schwab <schwab@redhat.com>
55029
55030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55031 decoding ACE if AI_CANONIDN.
55032
5d5732b0
UD
550332011-01-18 Ulrich Drepper <drepper@gmail.com>
55034
55035 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55036
a77e8cbc
UD
550372011-01-17 Ulrich Drepper <drepper@gmail.com>
55038
6392473f
UD
55039 * version.h (RELEASE): Bump for 2.13 release.
55040 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55041
620a0529
UD
55042 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55043
18ba70a5
UD
55044 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55045 MADV_NOHUGEPAGE.
32465c3e
UD
55046 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55047 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55048 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55049 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55050 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55051 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55052
c0dafcf1
UD
55053 * posix/getconf.c: Update copyright year.
55054 * catgets/gencat.c: Likewise.
55055 * csu/version.c: Likewise.
55056 * debug/catchsegv.sh: Likewise.
55057 * debug/xtrace.sh: Likewise.
55058 * elf/ldconfig.c: Likewise.
55059 * elf/ldd.bash.in: Likewise.
55060 * elf/sprof.c (print_version): Likewise.
55061 * iconv/iconv_prog.c: Likewise.
55062 * iconv/iconvconfig.c: Likewise.
55063 * locale/programs/locale.c: Likewise.
55064 * locale/programs/localedef.c: Likewise.
55065 * malloc/memusage.sh: Likewise.
55066 * malloc/mtrace.pl: Likewise.
55067 * nscd/nscd.c (print_version): Likewise.
55068 * nss/getent.c: Likewise.
55069
a77e8cbc
UD
55070 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55071 PF_CAIF, and PF_ALG.
55072 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55073
77e8bddf
AS
550742011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55075
1f20b93a
AS
55076 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55077 (modules-names): Use them.
55078 (ifunc-test-modules, ifunc-pie-tests): Define.
55079 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55080 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55081 (test-extras): Likewise.
55082 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55083 $(compile-command.c).
55084 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55085 (all-built-dso): Define.
55086 (check-textrel.out, check-execstack.out): Depend on it.
55087
77e8bddf
AS
55088 * configure.in: Don't override --enable-multi-arch.
55089
bc425b33
UD
550902011-01-15 Ulrich Drepper <drepper@gmail.com>
55091
55092 [BZ #6812]
55093 * nscd/hstcache.c (tryagain): Define.
55094 (cache_addhst): Return tryagain not notfound for temporary errors.
55095 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55096 failed.
55097
794c3ad3
UD
550982011-01-14 Ulrich Drepper <drepper@gmail.com>
55099
70181fdd
UD
55100 [BZ #10563]
55101 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55102 to make the syscall.
55103 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55104
794c3ad3
UD
55105 [BZ #12378]
55106 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55107 and fall back to matching as normal character if the string ends before
55108 the matching ']' is found. This is what POSIX requires.
55109 * posix/testfnm.c: Adjust test result.
55110 * posix/globtest.sh: Adjust test result. Add new test.
55111 * posix/tst-fnmatch.input: Likewise.
55112 * posix/tst-fnmatch2.c: Add new test.
55113
68dc9497
AS
551142010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55115
55116 * elf/Makefile (check-execstack): Revert last change. Depend on
55117 check-execstack.h.
55118 (check-execstack.h): New target.
55119 (generated): Add check-execstack.h.
55120 * elf/check-execstack.c: Include "check-execstack.h".
55121 (main): Revert last change.
55122 (handle_file): Return zero if GNU_STACK is absent and
55123 DEFAULT_STACK_PERMS doesn't include PF_X.
55124
451f001b
UD
551252011-01-13 Ulrich Drepper <drepper@gmail.com>
55126
cfa28e56
UD
55127 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55128 in child fails because the descriptor is already closed.
8cf8ce17
UD
55129 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55130 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55131 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 55132
1086d70d
UD
55133 [BZ #12397]
55134 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55135 syscall.
55136
451f001b
UD
55137 [BZ #10484]
55138 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55139 temporary buffer used to handle multi lookups locally.
a85b5cb4 55140 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 55141
08769175
UD
551422011-01-12 Ulrich Drepper <drepper@gmail.com>
55143
55144 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55145 loader is ld.so.
55146
5e49c52e
UD
551472011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55148
55149 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55150 alignment for SSE2.
55151
60522a5f
UD
551522011-01-12 Ulrich Drepper <drepper@gmail.com>
55153
55154 [BZ #12394]
55155 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55156 characters. When rounding increased number of integer digits recompute
55157 number of groups.
55158 * stdio-common/tst-grouping.c: New file.
55159 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55160
f257bbd7
UD
551612011-01-09 Ulrich Drepper <drepper@gmail.com>
55162
55163 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55164 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55165
55166 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55167 void.
55168 * bits/select.h: Likewise.
55169
fa9c15cb
UD
551702011-01-08 Ulrich Drepper <drepper@gmail.com>
55171
55172 * po/ja.po: Update from translation team.
55173
16c2895f
DM
551742011-01-04 David S. Miller <davem@sunset.davemloft.net>
55175
55176 [BZ #11155]
55177 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55178 implementation just like for lxstat, fxstatat, et al.
55179
2543fef2
JM
551802010-12-27 Jim Meyering <meyering@redhat.com>
55181
55182 [BZ #12348]
55183 * posix/regexec.c (build_trtable): Return failure indication upon
55184 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55185
98727dbe
UD
551862010-12-25 Ulrich Drepper <drepper@gmail.com>
55187
5bd6dc5c
UD
55188 [BZ #12201]
55189 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55190 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55191 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55192 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55193
97983464
UD
55194 [BZ #12207]
55195 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55196
98727dbe
UD
55197 [BZ #12204]
55198 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55199 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55200
4a531bb0
L
552012010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55202
55203 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55204 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55205 script has SORT_BY_INIT_PRIORITY.
55206 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55207 NO_CTORS_DTORS_SECTIONS is defined.
55208 * elf/soinit.c: Likewise.
55209 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55210 NO_CTORS_DTORS_SECTIONS is defined.
55211 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55212 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55213 * sysdeps/sh/init-first.c: Likewise.
55214 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55215
07eb4b71
UD
552162010-12-24 Ulrich Drepper <drepper@gmail.com>
55217
55218 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55219 always use the slow path.
55220
30950a5f
RA
552212010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55222
55223 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55224 similar rule which adds the sysdep directories to the header search in
55225 order to pick up the correct platform stackinfo.h.
55226 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55227 perform test if it is, otherwise return successfully without testing.
55228 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55229 DEFAULT_STACK_PERMS define in stackinfo.h.
55230 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55231 defined in stackinfo.h.
55232 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55233 DEFAULT_STACK_PERMS defined in stackinfo.h.
55234 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55235 * sysdeps/ia64/stackinfo.h: Likewise.
55236 * sysdeps/s390/stackinfo.h: Likewise.
55237 * sysdeps/sh/stackinfo.h: Likewise.
55238 * sysdeps/sparc/stackinfo.h: Likewise.
55239 * sysdeps/x86_64/stackinfo.h: Likewise.
55240 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55241 PF_X for powerpc64. Retain PF_X for powerpc32.
55242
db753e2c
UD
552432010-12-19 Ulrich Drepper <drepper@gmail.com>
55244
14b697f7
UD
55245 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55246 accurately.
db753e2c
UD
55247 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55248 GETDENTS_64BIT_ALIGNED.
55249
28300719
UD
552502010-12-14 Ulrich Drepper <dreper@gmail.com>
55251
14b697f7 55252 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 55253
4f197237
AS
552542010-12-10 Andreas Schwab <schwab@redhat.com>
55255
dbb0472f
AS
55256 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55257 _GNU_SOURCE.
55258
4f197237
AS
55259 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55260 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55261 Remove __restrict.
55262 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55263 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55264
fb88ac72
UD
552652010-12-09 Ulrich Drepper <drepper@gmail.com>
55266
55267 [BZ #11655]
55268 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55269 are initialized.
55270
42acbb92
JJ
552712010-12-09 Jakub Jelinek <jakub@redhat.com>
55272
55273 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55274
c038d98d
UD
552752010-12-03 Ulrich Drepper <drepper@gmail.com>
55276
55277 * po/it.po: Update from translation team.
55278
3a4a2499
L
552792010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55280
55281 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55282 unused codes.
55283
1e24cf6e
UD
552842010-11-30 Ulrich Drepper <drepper@gmail.com>
55285
55286 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55287
a7690819
AS
552882010-11-24 Andreas Schwab <schwab@redhat.com>
55289
55290 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55291 specially.
55292 (gaih_getanswer_slice): Likewise.
55293
3bf8d1b1
JJ
552942010-10-20 Jakub Jelinek <jakub@redhat.com>
55295
55296 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55297
6db52fbb
PB
552982010-05-31 Petr Baudis <pasky@suse.cz>
55299
55300 [BZ #11149]
55301 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55302 silently even in the chroot mode.
55303
eaca7569
UD
553042010-11-22 Ulrich Drepper <drepper@gmail.com>
55305
55306 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55307 last patch a bit. Pretty printing
55308
3056dcdb
UD
553092010-05-31 Petr Baudis <pasky@suse.cz>
55310
55311 [BZ #10085]
55312 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55313 initialization of skip_initgroups_dyn.
55314
cf7c9078
UD
553152010-11-19 Ulrich Drepper <drepper@gmail.com>
55316
55317 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55318 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55319
a1fb5e3e
UD
553202010-11-16 Ulrich Drepper <drepper@gmail.com>
55321
55322 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55323
3540d66b
AS
553242010-11-11 Andreas Schwab <schwab@redhat.com>
55325
55326 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55327 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55328 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55329 ($(objpfx)tst-fnmatch-mem): New rule.
55330 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55331 * posix/tst-fnmatch.c (main): Call mtrace.
55332
13b69574
L
553332010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55334
55335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55336 Support Intel processor model 6 and model 0x2c.
55337
da93d214
LM
553382010-11-10 Luis Machado <luisgpm@br.ibm.com>
55339
55340 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55341 signed comparison.
55342
8ca52c6e
L
553432010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55344
55345 [BZ #12205]
55346 * string/test-strncasecmp.c (check_result): New function.
55347 (do_one_test): Use it.
55348 (check1): New function.
55349 (test_main): Use it.
55350 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55351 Support strcasecmp and strncasecmp.
55352
69da074d
UD
553532010-11-08 Ulrich Drepper <drepper@gmail.com>
55354
55355 [BZ #12194]
55356 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55357 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55358
ff02d528
L
553592010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55360
55361 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55362 IFUNC support.
55363 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55364 memset-x86-64.
55365 * sysdeps/x86_64/multiarch/bzero.S: New file.
55366 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55367 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55368 * sysdeps/x86_64/multiarch/memset.S: New file.
55369 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55371 Set bit_Prefer_SSE_for_memop for Intel processors.
55372 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55373 Define.
55374 (index_Prefer_SSE_for_memop): Define.
55375 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55376
344d0b54
LM
553772010-11-04 Luis Machado <luisgpm@br.ibm.com>
55378
55379 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55380 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55381
c0dde15b
UD
553822010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55383
55384 [BZ #12191]
55385 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55386 (__x86_64_raw_data_cache_size_half): Likewise.
55387 (__x86_64_raw_shared_cache_size): Likewise.
55388 (__x86_64_raw_shared_cache_size_half): Likewise.
55389
55390 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55391 (__x86_64_raw_data_cache_size_half): Likewise.
55392 (__x86_64_raw_shared_cache_size): Likewise.
55393 (__x86_64_raw_shared_cache_size_half): Likewise.
55394 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55395 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55396 and __x86_64_raw_shared_cache_size_half. Round
55397 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55398 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55399 to multiple of 256 bytes.
55400
0e516e0e
MS
554012010-11-03 Ulrich Drepper <drepper@gmail.com>
55402
55403 [BZ #12167]
55404 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55405 of inacessible symlinks. Verify result of symlink before returning it.
55406 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55407 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55408
0e012e87
ER
554092010-10-28 Erich Ritz <erichritz@gmail.com>
55410
55411 * math/math.h (isinf): Fix typo in comment.
55412
de0ff7bc
UD
554132010-11-01 Ulrich Drepper <drepper@gmail.com>
55414
55415 * po/da.po: Update from translation team.
55416
fa41c84d
UD
554172010-10-26 Ulrich Drepper <drepper@gmail.com>
55418
55419 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55420 is added to the list.
55421
f0967738
AK
554222010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55423 Ulrich Drepper <drepper@gmail.com>
55424
55425 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55426 the global list here. Move code to...
55427 (_dl_add_to_namespace_list): ...here. New function.
55428 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55429 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55430 * elf/dl-load.c (lose): Don't remove the element from the list.
55431 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55432 (_dl_map_object): Likewise.
55433
554342010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
55435
55436 [BZ #12159]
55437 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55438 into all bytes of SSE register.
55439 Patch by Richard Li <richardpku@gmail.com>.
55440
f0967738 554412010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
55442
55443 [BZ #12140]
55444 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55445 perturbing.
55446
d0b9e94f
MB
554472010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55448
55449 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55450 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55451 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55452 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55454 submachine.
55455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55456
8e9f92e9
AS
554572010-10-22 Andreas Schwab <schwab@redhat.com>
55458
55459 * include/dlfcn.h (__RTLD_SECURE): Define.
55460 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55461 mode & __RTLD_SECURE instead.
55462 (open_path): Rename preloaded parameter to secure.
55463 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55464 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55465 * elf/dl-deps.c (openaux): Likewise.
55466 * elf/rtld.c (struct map_args): Remove is_preloaded.
55467 (map_doit): Don't use it.
55468 (dl_main): Likewise.
55469 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55470 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55471
bc96fbda
AS
554722010-09-09 Andreas Schwab <schwab@redhat.com>
55473
55474 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55475 (sysd-rules-targets): Remove duplicates.
55476 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55477 rtld-%.$o dependency.
55478
22cd1c9b
AS
554792010-10-18 Andreas Schwab <schwab@redhat.com>
55480
55481 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55482 _dl_map_object do it.
55483
18edac48
UD
554842010-10-19 Ulrich Drepper <drepper@gmail.com>
55485
55486 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55487 fast fma builtins, define the macros in the C99 standard.
55488 (FP_FAST_FMAF): Likewise.
55489 (FP_FAST_FMAL): Likewise.
55490 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55491
55492 * bits/mathdef.h: Update copyright year.
55493 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55494
d2050124
MM
554952010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55496
55497 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55498 builtins, define the macros in the C99 standard.
55499 (FP_FAST_FMAF): Likewise.
55500 (FP_FAST_FMAL): Likewise.
55501 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55502 multiply/add.
55503 (FP_FAST_FMAF): Likewise.
55504
475facd1
JJ
555052010-10-15 Jakub Jelinek <jakub@redhat.com>
55506
55507 [BZ #3268]
55508 * math/libm-test.inc (fma_test): Some new testcases.
55509 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55510 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55511 y and infinite z. Do multiplication by C already in long double.
55512 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55513 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55514 y and infinite z. Do bitwise or of inexact bit into u.d.
55515 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55516 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55517 * sysdeps/i386/fpu/s_fma.S: Removed.
55518 * sysdeps/i386/fpu/s_fmal.S: Removed.
55519
7c08a05c
JJ
555202010-10-16 Jakub Jelinek <jakub@redhat.com>
55521
55522 [BZ #3268]
55523 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55524 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55525 computation is not scheduled after fetestexcept. Fix value
55526 of minimum denormal long double.
55527
f3f7372d
JJ
555282010-10-14 Jakub Jelinek <jakub@redhat.com>
55529
55530 [BZ #3268]
55531 * math/libm-test.inc (fma_test): Add some more tests.
55532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55533 correctly.
55534
14d43591
AS
555352010-10-15 Andreas Schwab <schwab@redhat.com>
55536
55537 * scripts/data/localplt-s390-linux-gnu.data: New file.
55538 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55539
5e908464
JJ
555402010-10-13 Jakub Jelinek <jakub@redhat.com>
55541
55542 [BZ #3268]
55543 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55544 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55545 instead of dbl-64.
55546 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55547 inlines.
55548 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55549 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55550 if one of x and y is very large and the other is subnormal.
55551 * sysdeps/s390/fpu/s_fmaf.c: New file.
55552 * sysdeps/s390/fpu/s_fma.c: New file.
55553 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55554 * sysdeps/powerpc/fpu/s_fma.S: New file.
55555 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55556 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55557 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55558
555592010-10-12 Jakub Jelinek <jakub@redhat.com>
55560
55561 [BZ #3268]
55562 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55563 fma tests.
55564 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55565 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55566 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55567 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55568 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55569 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55570 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55571
b833d51f
UD
555722010-10-12 Ulrich Drepper <drepper@redhat.com>
55573
55574 [BZ #12078]
55575 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55576 * posix/bug-regex31.input: Add test case.
55577
1751705d
UD
555782010-10-11 Ulrich Drepper <drepper@gmail.com>
55579
e9b9cbf5
UD
55580 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55581 * posix/bug-regex31.input: New file.
55582
55583 [BZ #12078]
55584 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55585 (parse_sub_exp): Fix last change, use postorder.
55586
ef06edbe
UD
55587 * posix/bug-regex31.c: New file.
55588 * posix/Makefile: Add rules to build and run bug-regex31.
55589
a129c80d
UD
55590 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55591
55592 [BZ #12078]
55593 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55594
b76b818e
UD
55595 [BZ #12108]
55596 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55597 to have entries in sys_siglist.
55598
1751705d
UD
55599 [BZ #12093]
55600 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55601 be NULL.
55602
9ff8d36f
JJ
556032010-10-07 Jakub Jelinek <jakub@redhat.com>
55604
55605 [BZ #3268]
55606 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55607 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55608 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55609 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55610 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55611 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55612 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55613 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55614 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55615 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55616 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55617 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55618 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55619 * math/ftestexcept.c (fetestexcept): Likewise.
55620 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55621 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55622 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55623 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55624 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55625 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55626 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55627
af325969
UD
556282010-10-11 Ulrich Drepper <drepper@gmail.com>
55629
c579b202 55630 [BZ #12107]
af325969
UD
55631 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55632 newline.
55633
67a67b95
UD
556342010-10-06 Ulrich Drepper <drepper@gmail.com>
55635
55636 * string/bug-strstr1.c: New file.
55637 * string/Makefile: Add rules to build and run bug-strstr1.
55638
5fb308bc
EB
556392010-10-05 Eric Blake <eblake@redhat.com>
55640
55641 [BZ #12092]
55642 * string/str-two-way.h (two_way_long_needle): Always clear memory
55643 when skipping input due to the shift table.
55644
45db99c7
UD
556452010-10-03 Ulrich Drepper <drepper@gmail.com>
55646
3b111893
UD
55647 [BZ #12005]
55648 * malloc/mcheck.c: Handle large requests.
55649
45db99c7
UD
55650 [BZ #12077]
55651 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55652 for strncmp and strncasecmp.
55653 * string/stratcliff.c: Add tests for strcmp and strncmp.
55654 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55655
cf7a1eb8
NI
556562010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55657
55658 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55659 __set_fpscr.
55660
6484ba5e
AJ
556612010-09-30 Andreas Jaeger <aj@suse.de>
55662
55663 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55664 (CGROUP_SUPER_MAGIC): Define.
55665 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55666 Handle btrfs and cgroup file systems.
55667 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55668 Likewise.
55669
91c42559
LM
556702010-09-27 Luis Machado <luisgpm@br.ibm.com>
55671
55672 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55673 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55674
87a97932
AK
556752010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55676
55677 [BZ #12067]
55678 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55679 trying to locate the ELF header.
55680
c21cc9bc
AS
556812010-09-27 Andreas Schwab <schwab@redhat.com>
55682
55683 [BZ #11611]
55684 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55685 Mask out sign-bit copies when constructing f_fsid.
55686
315970f6
PB
556872010-09-24 Petr Baudis <pasky@suse.cz>
55688
55689 * debug/stack_chk_fail_local.c: Add missing licence exception.
55690 * debug/warning-nop.c: Likewise.
55691
1ac7a2c7
JM
556922010-09-15 Joseph Myers <joseph@codesourcery.com>
55693
55694 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55695 implementing getdents64 using getdents syscall, set d_type if
55696 __ASSUME_GETDENTS32_D_TYPE.
55697
56801c50
AS
556982010-09-16 Andreas Schwab <schwab@redhat.com>
55699
55700 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55701 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55702
dda51327
UD
557032010-09-21 Ulrich Drepper <drepper@redhat.com>
55704
55705 [BZ #12037]
55706 * posix/unistd.h: Undo change of feature selection for ftruncate from
55707 2010-01-11.
55708
8ffcee4a
UD
557092010-09-20 Ulrich Drepper <drepper@redhat.com>
55710
a545ecd9 55711 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
55712 detection.
55713
e24f0a8b
AS
557142010-09-20 Andreas Schwab <schwab@redhat.com>
55715
55716 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55717 fanotify_mark.
55718 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55719
7291c56f
AS
557202010-09-14 Andreas Schwab <schwab@redhat.com>
55721
55722 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55723 variables after CHECK_SP call.
55724 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55725
bc5fb037
AS
557262010-09-13 Andreas Schwab <schwab@redhat.com>
55727 Ulrich Drepper <drepper@redhat.com>
55728
55729 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55730 re-relocationg ld.so.
55731 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55732 _dl_init_paths call.
55733 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55734 here anymore.
55735
e66e7419
UD
557362010-09-14 Ulrich Drepper <drepper@redhat.com>
55737
55738 * resolv/res_init.c (__res_vinit): Count the default server we added.
55739
c044aa75
CLT
557402010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55741 Ulrich Drepper <drepper@redhat.com>
55742
55743 [BZ #11968]
55744 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55745 (____longjmp_chk): Use %ebx for saving value across system call.
55746 Add unwind info.
55747
32cf4069
AS
557482010-09-06 Andreas Schwab <schwab@redhat.com>
55749
55750 * manual/Makefile: Don't mix pattern rules with normal rules.
55751
817328ee
AS
557522010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55753
55754 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55755 operation.
55756 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55757 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55758 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55759 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55760 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55761 Likewise.
55762
29fddf61
UD
557632010-09-04 Ulrich Drepper <drepper@redhat.com>
55764
55765 [BZ #11979]
55766 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55767 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55768
0959ffc9
UD
557692010-09-02 Ulrich Drepper <drepper@redhat.com>
55770
55771 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55772 * sysdeps/x86_64/addmul_1.S: Likewise.
55773 * sysdeps/x86_64/lshift.S: Likewise.
55774 * sysdeps/x86_64/mul_1.S: Likewise.
55775 * sysdeps/x86_64/rshift.S: Likewise.
55776 * sysdeps/x86_64/sub_n.S: Likewise.
55777 * sysdeps/x86_64/submul_1.S: Likewise.
55778
ece29840
ST
557792010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55780
0959ffc9
UD
55781 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55782 Define __sched_param instead of SCHED_* and sched_param when
ece29840 55783 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 55784 * bits/sched.h [__need_schedparam]
ece29840 55785 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
55786 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55787 (__defined_schedparam): Define to 1.
ece29840
ST
55788 (__sched_param): New structure, identical to sched_param.
55789 (__need_schedparam): Undefine.
55790
e53a31fe
MF
557912010-08-31 Mike Frysinger <vapier@gentoo.org>
55792
fdc0c10d
MF
55793 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55794 (epoll_create1): Declare.
55795
e53a31fe
MF
55796 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55797
a726d796
AS
557982010-08-31 Andreas Schwab <schwab@redhat.com>
55799
55800 [BZ #7066]
55801 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55802 shifting retval into place.
55803
2f3e3dc7
UD
558042010-09-01 Ulrich Drepper <drepper@redhat.com>
55805
f2933da9
UD
55806 * nis/rpcsvc/nis.h: Update copyright notice.
55807 * nis/rpcsvc/nis.x: Likewise.
55808 * nis/rpcsvc/nis_callback.h: Likewise.
55809 * nis/rpcsvc/nis_callback.x: Likewise.
55810 * nis/rpcsvc/nis_object.x: Likewise.
55811 * nis/rpcsvc/nis_tags.h: Likewise.
55812 * nis/rpcsvc/yp.h: Likewise.
55813 * nis/rpcsvc/yp.x: Likewise.
55814 * nis/rpcsvc/ypupd.h: Likewise.
55815 * nis/yp_xdr.c: Likewise.
55816 * nis/ypupdate_xdr.c: Likewise.
55817
2f3e3dc7
UD
55818 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55819 mainly the body of pmap_getport. Add parameters to specify timeouts.
55820 (pmap_getport): Use __libc_rpc_getport.
55821 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55822 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55823 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55824
f3dcc2f9
AS
558252010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55826
55827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55828 fanotify_mark.
55829
6d34eb5b
RM
558302010-08-27 Roland McGrath <roland@redhat.com>
55831
55832 * sysdeps/i386/i686/multiarch/Makefile
55833 (CFLAGS-varshift.c): New variable.
55834
9ea3de11
UD
558352010-08-27 Ulrich Drepper <drepper@redhat.com>
55836
c96d23fc
UD
55837 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55838 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55839
9ea3de11
UD
55840 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55841
55842 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55843
623aac7f
L
558442010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55845
55846 * sysdeps/x86_64/strlen.S: Unroll the loop.
55847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55848 strlen-sse2 strlen-sse2-bsf.
55849 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55850 __strlen_no_bsf if bit_Slow_BSF is set.
55851 (__strlen_sse42): Removed.
55852 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55853 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55854
8b2b7715
RM
558552010-08-25 Roland McGrath <roland@redhat.com>
55856
55857 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55858 * sysdeps/x86_64/multiarch/varshift.c: New file.
55859 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55860 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55861 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55862 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55863
e73015f2
L
558642010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55865
55866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55867 strlen-sse2 strlen-sse2-bsf.
55868 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55869 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55870 (__strlen_sse2): Removed.
55871 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55872 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55874 bit_Slow_BSF for Atom.
55875 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55876 (index_Slow_BSF): Define.
55877 (HAS_SLOW_BSF): Define.
55878
df24a73e
UD
558792010-08-25 Ulrich Drepper <drepper@redhat.com>
55880
55881 [BZ #10851]
55882 * resolv/res_init.c (__res_vinit): When no server address at all
55883 is given default to loopback.
55884
f2ac4868
RM
558852010-08-24 Roland McGrath <roland@redhat.com>
55886
09055553
RM
55887 * configure.in: Remove config-name.h generation.
55888 * configure: Regenerated.
55889 * config-name.in: File removed.
55890 * scripts/config-uname.sh: New file.
55891 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55892 ($(objdir)config-name.h): New target.
55893
f2ac4868
RM
55894 * sunrpc/rpc_parse.h: Avoid nested comment.
55895
73f27d5e
RH
558962010-08-24 Richard Henderson <rth@redhat.com>
55897 Ulrich Drepper <drepper@redhat.com>
55898 H.J. Lu <hongjiu.lu@intel.com>
55899
55900 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55902 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55903 Replace _mm_srli_si128 with __m128i_shift_right. Replace
55904 _mm_alignr_epi8 with _mm_loadu_si128.
55905 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55906 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55907 (__m128i_shift_right): Removed.
55908 * sysdeps/i386/i686/multiarch/varshift.h: New file.
55909 * sysdeps/i386/i686/multiarch/varshift.S: New file.
55910 * sysdeps/x86_64/multiarch/varshift.h: New file.
55911 * sysdeps/x86_64/multiarch/varshift.S: New file.
55912
84b9230c
MF
559132010-08-21 Mike Frysinger <vapier@gentoo.org>
55914
55915 * configure.in: Move assembler checks to before sysdep dir checking.
55916
9bbd0ddc
PB
559172010-08-20 Petr Baudis <pasky@suse.cz>
55918
55919 * LICENSES: Sync the sunrpc license.
55920
9da4bb31
UD
559212010-08-19 Ulrich Drepper <drepper@redhat.com>
55922
a7ab6ec8
UD
55923 * sunrpc/auth_des.c: Update copyright notice once again.
55924 * sunrpc/auth_none.c: Likewise.
55925 * sunrpc/auth_unix.c: Likewise.
55926 * sunrpc/authdes_prot.c: Likewise.
55927 * sunrpc/authuxprot.c: Likewise.
55928 * sunrpc/bindrsvprt.c: Likewise.
55929 * sunrpc/clnt_gen.c: Likewise.
55930 * sunrpc/clnt_perr.c: Likewise.
55931 * sunrpc/clnt_raw.c: Likewise.
55932 * sunrpc/clnt_simp.c: Likewise.
55933 * sunrpc/clnt_tcp.c: Likewise.
55934 * sunrpc/clnt_udp.c: Likewise.
55935 * sunrpc/clnt_unix.c: Likewise.
55936 * sunrpc/des_crypt.c: Likewise.
55937 * sunrpc/des_soft.c: Likewise.
55938 * sunrpc/get_myaddr.c: Likewise.
55939 * sunrpc/getrpcport.c: Likewise.
55940 * sunrpc/key_call.c: Likewise.
55941 * sunrpc/key_prot.c: Likewise.
55942 * sunrpc/openchild.c: Likewise.
55943 * sunrpc/pm_getmaps.c: Likewise.
55944 * sunrpc/pm_getport.c: Likewise.
55945 * sunrpc/pmap_clnt.c: Likewise.
55946 * sunrpc/pmap_prot.c: Likewise.
55947 * sunrpc/pmap_prot2.c: Likewise.
55948 * sunrpc/pmap_rmt.c: Likewise.
55949 * sunrpc/rpc/auth.h: Likewise.
55950 * sunrpc/rpc/auth_unix.h: Likewise.
55951 * sunrpc/rpc/clnt.h: Likewise.
55952 * sunrpc/rpc/des_crypt.h: Likewise.
55953 * sunrpc/rpc/key_prot.h: Likewise.
55954 * sunrpc/rpc/netdb.h: Likewise.
55955 * sunrpc/rpc/pmap_clnt.h: Likewise.
55956 * sunrpc/rpc/pmap_prot.h: Likewise.
55957 * sunrpc/rpc/pmap_rmt.h: Likewise.
55958 * sunrpc/rpc/rpc.h: Likewise.
55959 * sunrpc/rpc/rpc_des.h: Likewise.
55960 * sunrpc/rpc/rpc_msg.h: Likewise.
55961 * sunrpc/rpc/svc.h: Likewise.
55962 * sunrpc/rpc/svc_auth.h: Likewise.
55963 * sunrpc/rpc/types.h: Likewise.
55964 * sunrpc/rpc/xdr.h: Likewise.
55965 * sunrpc/rpc_clntout.c: Likewise.
55966 * sunrpc/rpc_cmsg.c: Likewise.
55967 * sunrpc/rpc_common.c: Likewise.
55968 * sunrpc/rpc_cout.c: Likewise.
55969 * sunrpc/rpc_dtable.c: Likewise.
55970 * sunrpc/rpc_hout.c: Likewise.
55971 * sunrpc/rpc_main.c: Likewise.
55972 * sunrpc/rpc_parse.c: Likewise.
55973 * sunrpc/rpc_parse.h: Likewise.
55974 * sunrpc/rpc_prot.c: Likewise.
55975 * sunrpc/rpc_sample.c: Likewise.
55976 * sunrpc/rpc_scan.c: Likewise.
55977 * sunrpc/rpc_scan.h: Likewise.
55978 * sunrpc/rpc_svcout.c: Likewise.
55979 * sunrpc/rpc_tblout.c: Likewise.
55980 * sunrpc/rpc_util.c: Likewise.
55981 * sunrpc/rpc_util.h: Likewise.
55982 * sunrpc/rpcinfo.c: Likewise.
55983 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55984 * sunrpc/rpcsvc/key_prot.x: Likewise.
55985 * sunrpc/rpcsvc/klm_prot.x: Likewise.
55986 * sunrpc/rpcsvc/mount.x: Likewise.
55987 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55988 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55989 * sunrpc/rpcsvc/rex.x: Likewise.
55990 * sunrpc/rpcsvc/rstat.x: Likewise.
55991 * sunrpc/rpcsvc/rusers.x: Likewise.
55992 * sunrpc/rpcsvc/sm_inter.x: Likewise.
55993 * sunrpc/rpcsvc/spray.x: Likewise.
55994 * sunrpc/rpcsvc/yppasswd.x: Likewise.
55995 * sunrpc/rtime.c: Likewise.
55996 * sunrpc/svc.c: Likewise.
55997 * sunrpc/svc_auth.c: Likewise.
55998 * sunrpc/svc_authux.c: Likewise.
55999 * sunrpc/svc_raw.c: Likewise.
56000 * sunrpc/svc_run.c: Likewise.
56001 * sunrpc/svc_simple.c: Likewise.
56002 * sunrpc/svc_tcp.c: Likewise.
56003 * sunrpc/svc_udp.c: Likewise.
56004 * sunrpc/svc_unix.c: Likewise.
56005 * sunrpc/svcauth_des.c: Likewise.
56006 * sunrpc/xcrypt.c: Likewise.
56007 * sunrpc/xdr.c: Likewise.
56008 * sunrpc/xdr_array.c: Likewise.
56009 * sunrpc/xdr_float.c: Likewise.
56010 * sunrpc/xdr_mem.c: Likewise.
56011 * sunrpc/xdr_rec.c: Likewise.
56012 * sunrpc/xdr_ref.c: Likewise.
56013 * sunrpc/xdr_sizeof.c: Likewise.
56014 * sunrpc/xdr_stdio.c: Likewise.
56015
9da4bb31
UD
56016 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56017 handling.
56018
bdaa77bc
AS
560192010-08-19 Andreas Schwab <schwab@redhat.com>
56020
56021 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56022
fe2f79db
LM
560232010-08-19 Luis Machado <luisgpm@br.ibm.com>
56024
56025 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56026 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56027 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56028 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56029 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56030 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56031 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56032 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56033 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56034 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56035 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56036 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56037 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56038 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56039
b9b42ee0
AB
560402010-07-26 Anton Blanchard <anton@samba.org>
56041
56042 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56043 * malloc/arena.c (heap_trim): Likewise.
56044
1c06ba31
UD
560452010-08-16 Ulrich Drepper <drepper@redhat.com>
56046
56047 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56048 here. Not...
56049 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56050 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56051
f8392f40
L
560522010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56053
56054 * sysdeps/i386/elf/Makefile: New file.
56055
3162f12e
AS
560562010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56057
56058 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56059 from fanotify_init.
56060 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56061 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56062
28c90b2c
UD
560632010-08-15 Ulrich Drepper <drepper@redhat.com>
56064
56065 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56066 of strncasecmp_l.
1feccb6c 56067 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 56068
ca6bb004
UD
560692010-08-14 Ulrich Drepper <drepper@redhat.com>
56070
e9f82e0d
UD
56071 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56072 strncase_l-nonascii.
56073 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56074 Add strncase_l-ssse3.
56075 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56076 * sysdeps/x86_64/strcmp.S: Likewise.
56077 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56078 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56079 * sysdeps/x86_64/strncase.S: New file.
56080 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56081 * sysdeps/x86_64/strncase_l.S: New file.
56082 * string/Makefile (strop-tests): Add strncasecmp.
56083 * string/test-strncasecmp.c: New file.
56084
56085 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56086 warning.
56087
ca6bb004
UD
56088 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56089 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56090
052fa7b3
AS
560912010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56092
56093 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56094
962dba78
UD
560952010-08-12 Ulrich Drepper <drepper@redhat.com>
56096
56097 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56098 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56099 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56100
bebff237
AM
561012010-05-01 Alan Modra <amodra@gmail.com>
56102
56103 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56104 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56105 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56106 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56107 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56108 tidying. Don't tail-call __sigjmp_save for static lib.
56109 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56110 save location.
56111 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56112 (CALL_MCOUNT): Add eh info, and nop after bl.
56113 (TAIL_CALL_SYSCALL_ERROR): New macro.
56114 (PSEUDO_RET): Use it.
56115 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56116 Correct save location of integer regs and cr.
56117 (_dl_profile_resolve): Correct cr save location. Delete nops
56118 after bl when SHARED. Reduce cfi size a little by better
56119 placement of cfi directives.
56120 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56121 make a stack frame. Instead use parm save area as a temp.
56122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56123 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56125 Don't make a stack frame for parent, use parm save area.
56126 Increase child stack frame to 112 bytes. Don't save unused reg,
56127 and adjust reg usage. Set up cfi on error recovery and
56128 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56130 (__makecontext): Add dummy nop after jump to exit.
56131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56132 Use correct parm save area and cr save, reduce stack frame.
56133 Correct cfi for possible PSEUDO_RET frame setup.
56134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56135 Branch to local label emitted by PSEUDO_RET rather than
56136 __syscall_error.
56137
02637374
AS
561382010-08-12 Andreas Schwab <schwab@redhat.com>
56139
56140 [BZ #11904]
56141 * locale/programs/locale.c (print_assignment): New function.
56142 (show_locale_vars): Use it.
56143
c3e2f19b
UD
561442010-08-11 Ulrich Drepper <drepper@redhat.com>
56145
3cdaa6ad
UD
56146 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56147 field.
56148 (struct statfs64): Likewise.
56149 (_STATFS_F_FLAGS): Define.
56150 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56151 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56152 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56153 (ST_VALID): Define locally.
56154 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56155 __statvfs_getflags, use the provided value.
56156 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56157 __ASSUME_STATFS_F_FLAGS.
56158
754f7da3
UD
56159 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56160
10b3bedc
UD
56161 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56162 Add sys/fanotify.h.
56163 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56164 fanotify_mask for GLIBC_2.13.
56165 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56166 fanotify_init and fanotify_mark.
56167 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56168 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56169
c08fb0d7
UD
56170 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56171 Add prlimit.
56172 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56173 prlimit64 for GLIBC_2.13.
56174 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56175 prlimit64.
56176 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56177 syscall.
56178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56179 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56180 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56181 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56182 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56183 add prlimit alias.
56184 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56185
15bac72b
UD
56186 [BZ #11903]
56187 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56188 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56189
c3e2f19b
UD
56190 * nss/Makefile: Add rules to build and run tst-nss-test1.
56191 * shlib-versions: Add entry for libnss_test1.
56192 * nss/nss_test1.c: New file.
56193 * nss/tst-nss-test1.c: New file.
56194
56195 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56196 (__nss_configure_lookup): Set appropriate entry in
56197 __nss_configure_lookup to true.
56198 * nss/nsswitch.h: Define enum with indeces of databases in
56199 databases and __nss_database_custom arrays. Declare
56200 __nss_database_custom.
56201 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56202 to avoid using nscd when custom rules are installed.
56203 * nss/getXXbyYY_r.c: Likewise.
56204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56205
56206 * nss/nss_files/files-parse.c: Whitespace fixes.
56207
f15ce4d8
UD
562082010-08-09 Ulrich Drepper <drepper@redhat.com>
56209
56210 [BZ #11883]
56211 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56212 * posix/fnmatch_loop.c: Likewise.
56213
d22e4cc9
AK
562142010-07-17 Andi Kleen <ak@linux.intel.com>
56215
56216 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56217 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56218 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56219 * Versions.def [GLIBC_2.13]: Add.
56220
805bc17d
UD
562212010-08-06 Ulrich Drepper <drepper@redhat.com>
56222
56223 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56224 Also fail if tpwd after pwuid call is NULL.
56225
5a42321d
ST
562262010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56227
56228 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56229 when converting to ms.
56230
fd3ebeda
ST
562312010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56232
56233 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56234 EOPNOTSUPP errors with ENOTTY.
56235 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56236 EOPNOTSUPP errors with ENOTTY.
56237
73507d3a
UD
562382010-07-31 Ulrich Drepper <drepper@redhat.com>
56239
56240 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56241 Add strcasecmp_l-ssse3.
56242 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56243 strcasecmp.
56244 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56245 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56246 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56247
fe36dd02
UD
562482010-07-30 Ulrich Drepper <drepper@redhat.com>
56249
66f6765a
UD
56250 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56251
42e08a54
UD
56252 * string/Makefile (strop-tests): Add strcasecmp.
56253 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56254 strcasecmp_l-nonascii.
56255 (gen-as-const-headers): Add locale-defines.sym.
56256 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56257 * sysdeps/x86_64/strcasecmp.S: New file.
56258 * sysdeps/x86_64/strcasecmp_l.S: New file.
56259 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56260 * sysdeps/x86_64/locale-defines.sym: New file.
56261 * string/test-strcasecmp.c: New file.
56262
fe36dd02
UD
56263 * string/test-strcasestr.c: Test both ends of the range of characters.
56264 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56265
48cbc0d6
RM
562662010-07-29 Roland McGrath <roland@redhat.com>
56267
76e6d6bc 56268 [BZ #11856]
48cbc0d6
RM
56269 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56270
880113d9
UD
562712010-07-27 Ulrich Drepper <drepper@redhat.com>
56272
56273 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56274 for ld.so.
56275
deb9cabb
AS
562762010-07-27 Andreas Schwab <schwab@redhat.com>
56277
56278 * manual/memory.texi (Malloc Tunable Parameters): Document
56279 M_PERTURB.
56280
1c7570ff
RM
562812010-07-26 Roland McGrath <roland@redhat.com>
56282
56283 [BZ #11840]
56284 * configure.in (-fgnu89-inline check): Set and substitute
56285 gnu89_inline, not libc_cv_gnu89_inline.
56286 * configure: Regenerated.
56287 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56288
24fb0f88
UD
562892010-07-26 Ulrich Drepper <drepper@redhat.com>
56290
56291 * string/test-strnlen.c: New file.
56292 * string/Makefile (strop-tests): Add strnlen.
56293 * string/tester.c (test_strnlen): Add a few more test cases.
56294 * string/tst-strlen.c: Better error reporting.
56295
56296 * sysdeps/x86_64/strnlen.S: New file.
56297
8e96b93a
UD
562982010-07-24 Ulrich Drepper <drepper@redhat.com>
56299
56300 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56301 lower-latency instructions.
56302
dbc676d4
UD
563032010-07-23 Ulrich Drepper <drepper@redhat.com>
56304
56305 * string/test-strcasestr.c: New file.
56306 * string/test-strstr.c: New file.
56307 * string/Makefile (strop-tests): Add strstr and strcasestr.
56308 * string/str-two-way.h: Don't undefine MAX.
56309 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56310
f6a31e0e
AS
563112010-07-21 Andreas Schwab <schwab@redhat.com>
56312
56313 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56314 strcasestr-nonascii.
56315 (CFLAGS-strcasestr-nonascii.c): Define.
56316 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56317 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56318 Remove unused attribute.
56319
5dbc3b6c
RM
563202010-07-20 Roland McGrath <roland@redhat.com>
56321
56322 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56323 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56324 ld.so.cache was broken. With it, there is no way to disable dsocaps
56325 like LD_HWCAP_MASK can disable hwcaps.
56326
23d101d8
EPM
563272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56328
56329 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56330
cc9f2e47
UD
563312010-07-16 Ulrich Drepper <drepper@redhat.com>
56332
56333 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56334 call in strcasestr.
56335 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56336 __strcasestr_sse42_nonascii.
56337 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56338 strcasestr-nonascii.c.
56339 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56340
77c1b069
LM
563412010-06-15 Luis Machado <luisgpm@br.ibm.com>
56342
56343 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56344 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56345 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56346 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56347
440566c3
UD
563482010-07-09 Ulrich Drepper <drepper@redhat.com>
56349
56350 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56351 fcntl.
56352
5be9d05d
AS
563532010-07-06 Andreas Schwab <schwab@redhat.com>
56354
c30b7ee2 56355 [BZ #11577]
5be9d05d
AS
56356 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56357 dl_signal_cerror.
56358
8a492a67
UD
563592010-07-06 Ulrich Drepper <drepper@redhat.com>
56360
56361 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56362 _PC_PIPE_BUF using F_GETPIPE_SZ.
56363
713df3d5
RM
563642010-07-05 Roland McGrath <roland@redhat.com>
56365
56366 * manual/arith.texi (Rounding Functions): Fix rint description
56367 implicit in round description.
56368
702e8f14
UD
563692010-07-02 Ulrich Drepper <drepper@redhat.com>
56370
56371 * elf/Makefile: Fix linking for a few tests to make recent linker
56372 happy.
56373
52ed8be9
AS
563742010-06-30 Andreas Schwab <schwab@redhat.com>
56375
56376 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56377 $(common-objpfx)libc_nonshared.a.
56378
f47c9a11
LM
563792010-06-21 Luis Machado <luisgpm@br.ibm.com>
56380
56381 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56382 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56383 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56384 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56385 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56386 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56387 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56388 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56403 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56404 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56405 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56406 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56407 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56408 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56409 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56410 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56411 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56412 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56413 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56414 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56429
6fb8cbcb
L
564302010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56431
56432 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56433 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56434 * string/memmove.c (memmove): Renamed to ...
56435 (MEMMOVE): ...this. Default to memmove.
56436 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56437 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56438 (END_CHK): Define.
56439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56440 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56441 mempcpy-ssse3-back memmove-ssse3-back.
56442 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56443 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56444 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56445 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56446 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56447 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56448 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56449 * sysdeps/x86_64/multiarch/memmove.c: New file.
56450 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56451 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56452 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56453 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56454 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56455 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56456 Define.
56457 (index_Fast_Copy_Backward): Define.
56458 (HAS_ARCH_FEATURE): Define.
56459 (HAS_FAST_REP_STRING): Define.
56460 (HAS_FAST_COPY_BACKWARD): Define.
56461
4e733bac 564622010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
56463
56464 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56465 Restore proper fallback handling.
56466
63c4ed22
UD
564672010-06-19 Ulrich Drepper <drepper@redhat.com>
56468
ac2b484c
UD
56469 [BZ #11701]
56470 * posix/group_member.c (__group_member): Correct checking loop.
56471
63c4ed22
UD
56472 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56473 OOM in getpwuid_r correctly. Return error number when the caller
56474 should return, otherwise -1.
56475 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56476 call returning > 0 value.
56477 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56478
765ade4b
AS
564792010-06-07 Andreas Schwab <schwab@redhat.com>
56480
56481 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56482 libc_nonshared.a from targets in modules-names.
56483
80da2e09
KS
564842010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56485
56486 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56487 requires it.
56488
158db122
LM
564892010-06-10 Luis Machado <luisgpm@br.ibm.com>
56490
56491 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56492 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56493 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56495
caa78cf8
AS
564962010-06-02 Andreas Schwab <schwab@redhat.com>
56497
56498 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56499
b2ef2c01
UD
565002010-06-14 Ulrich Drepper <drepper@redhat.com>
56501
56502 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56503 and F_GETPIPE_SZ.
56504 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56505 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56506 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56507 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56508 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56509 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56510
fbd643b6
RM
565112010-06-14 Roland McGrath <roland@redhat.com>
56512
56513 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56514
f32f2869
JJ
565152010-06-07 Jakub Jelinek <jakub@redhat.com>
56516
56517 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56518 __REDIRECT followed by __THROW.
56519 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56520 * posix/getopt.h (getopt): Likewise.
56521
2a50c078
EPM
565222010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56523
56524 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56525 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56526 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56527 in AT_FLAGS.
56528 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56529 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56530
eb5ad2eb
LM
565312010-05-28 Luis Machado <luisgpm@br.ibm.com>
56532
56533 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56534
3c88fe1e
L
565352010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56536
56537 [BZ #11640]
56538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56539 Properly check family and model.
56540
d2f73151
TY
565412010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56542
56543 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56544
ebd2e13d
LM
565452010-05-24 Luis Machado <luisgpm@br.ibm.com>
56546
56547 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56548
b32b8b45
UD
565492010-05-21 Ulrich Drepper <drepper@redhat.com>
56550
56551 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56552 symbol reference.
56553
9acbe24d
AS
565542010-05-19 Andreas Schwab <schwab@redhat.com>
56555
56556 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56557 symbol reference.
56558
f0ccf6ea
AS
565592010-05-21 Andreas Schwab <schwab@redhat.com>
56560
3d04ff3a
AS
56561 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56562 and internal_recvmmsg.
56563 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56564 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56565 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56566 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56567
f0ccf6ea
AS
56568 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56569 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56570 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56571
5b08ac57
AS
565722010-05-20 Andreas Schwab <schwab@redhat.com>
56573
56574 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56575
4828935d
LM
565762010-05-17 Luis Machado <luisgpm@br.ibm.com>
56577
56578 POWER7 optimizations.
56579 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56580 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56581
373d545e
UD
565822010-05-19 Ulrich Drepper <drepper@redhat.com>
56583
56584 * version.h: Update for 2.13 development version.
56585
21a2b1ae
AS
565862010-05-12 Andrew Stubbs <ams@codesourcery.com>
56587
56588 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56589 exceptions. Return 0.
56590
3f7dcb2b
RM
565912010-05-07 Roland McGrath <roland@redhat.com>
56592
56593 * elf/ldconfig.c (main): Add a const.
56594
5f24d53a 565952010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 56596
a160f8d8
UD
56597 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56598 (args_options): Add no-idn option.
56599 (ahosts_keys_int): Add idn_flags to ai_flags.
56600 (parse_option): Handle 'i' option to clear idn_flags.
56601
5f24d53a
UD
56602 * malloc/malloc.c (_int_free): Possible race in the most recently
56603 added check. Only act on the data if no current modification
56604 happened.
265bb1ce
UD
56605
56606See ChangeLog.17 for earlier changes.